connection

Connection Time Out JDBC-MySQL

I have a Java application running Win 7 connecting to MySQL on the same host. Eclipse IDE shows the following error every time after 8-10mins. The last packet sent successfully to the server was 0 milliseconds ago. The driver has not received any packets from the server. at com.mysql.jdbc.SQLError.createCommunicationsException...

HttpConnection package

I want to download the httpConnection class from apache but I cant find a link, also need to know how to import it and where to put the class files when i have them. ...

Connection refused error

I am writing this message on my iTouch. For a while now I am been getting connection refused error in all my browsers. The weird thing is I still see an instant message, I just can't browse. Can anyone help me? I am really frustrated with this. Thanks in advance ...

Cannot Drop Database after Unit Test

ANSWER: I wasn't clearing my ConnectionPools. The solved scenario is: SetUp: Check to see if the 'TEMP_NUnit' database (SQL Server 2005) exists on the local instance If it exists, drop it. Create a new blank database named 'TEMP_NUnit'. Test: Instantiate the 'Upgrade Database' component. Check that essential properties of compone...

SharePoint & Visual Studio 2010 - Can't create a SharePoint project

Hi, I'm currently in trouble setting up a SharePoint 2010 project. Today, I installed VS2010 on our new SP 2010 test-server with my domain account, which was prompted with administrator rights on the Server and SharePoint before. But now I'm failing to create a SharePoint project in Visual Studio. The SharePoint Customization Wizard te...

PHP:MySQL what if we don't close the opened connections

in PHP + mySQL $conn = mysql_connect("server","user","pass"); mysql_select_db("datbasename"); this is what we do to open a connection. and mysql_close($conn); this is what we do to open a connection. WHAT if we don't close the connections...what are going to be the effects after what CONDITION the opened connections a re automati...

Connection to Entity Framework from SSIS-package script task

From a script task in a SSIS-package I am calling a method in a DLL that uses Entity Framework. And when I´m debugging it stops in the DLL. Error message: "The specified named connection is either not found in the configuration, not intended to be used with the EntityClient provider, or not valid" I had this error before, when I used ...

Building JCoServer without Properties-File

Hello, I got another JCo-related question and hopefully finding help. With JCo you can easily build up a connection like it is explained in the example sheets which came with the JCo-library. Unfortunately, the only way building a connection is handled with a created property file. It wouldn´t be that bad, if there wasn´t any sensible d...

ASP.NET connection strings and DSN connections

Hello, I have a dBase file that I want to set up as a database. I was thinking of setting up an ODBC DSN system connection and connect using this. How do I set this up in an asp.net web.config file and use it <connectionStrings configSource="MyFolder\database.config" /> Inside Database file <connectionStrings> My Connection Here???<...

remote desktop connection programatically simulate windows c++

My question is: How you can create same basic functionality with the remote computer, like using the same mouse, so when i take move on my computer that will appear at same moment on remote computer, like on the team viewer. Can anyone explain what is the philosophy behind all remote desktop shared programs, how i can see what I'm done o...

BlackBerry App Unable to establish Http Connection with Server?

Following is the code that I am using for the HTTP conncetion. HttpConnection connection = null; // InputStream inputstream = null; connection = (HttpConnection) Connector.open("http://www.google.com"); //HTTP Request connection.setRequestMethod(HttpConnection.GET...

State of preexisting connections when using file descriptor passing?

I'm playing around with a webserver, using a unix socket and sendmsg / recvmsg to pass the socket file descriptor to a new server process without losing any requests. While testing it with ab I found that client connections would linger, and apachebench (ab) would show the error: "apr_poll: The timeout specified has expired (70007)". I ...

Simulating Slow Internet Connection

I know this is kind of an odd question. Since I usually develop applications based on the "assumption" that all users have a slow internet connection. But, does anybody think that there is a way to programmatically simulate a slow internet connection, so I can "see" how an application performs under various "connection speeds"? I'm not ...

activerecord create_table like existing table

With Rails/ActiveRecord 2.3.8 I'd like to do: AnyModel.connection.create_table( 'temp_any_model', temporary: true, id: false, options: 'like any_model' ) But AR insists on adding "()" to the generated SQL even though the field list is blank since the table DDL is being cloned, thus resulting in e.g.: ActiveRecord::StatementInvalid: M...

Does MySQL Workbench need server to operate?

I have to solve problem with the database connection. I checked the ip address and port but my pc's host doesnt allow the connection. Do I have to own a server to use MySQL workbench? ...

How to change connection from 3G to wi-fi programmatically using iPhone SDK?

Lets consider that I am connected to internet through 3G in my App. When a wi-fi hot spot seems to be appearing, can I programmatically switch to the wi-fi. Is this vice-versa condition possible? ...

Android unknownhostexception

I have the following code that if not connected to the internet hits the catch but crashes the app with the error in the subject. Is there a graceful way to detect the connection being up or just ignore this? try { GeoPoint center = myMapView.getMapCenter(); double minLat = (double) (center.getLatitudeE6() - (myMapVie...

C# typed Object input/output property connection graph - Quartz Composer style implementation

The first part of the problem is that I don't know if there's a specific name for a system like this :) In my app I need a system to give the user the ability to interconnect object-properties; objects can have inputs and outputs, and inputs of one object can be connected to outputs of other objects. Optionally type-converters can be us...

Lotus Connection API issue

I am working on Lotus Connection. I wanted to fetch the values in AboutMe section and Background section of profiles using the Lotus Connections API. Is it possible to do so. I had gone through the wiki and other help , but could not find any solution Please help if any one got a solution ...

WCF NetTcpBinding and load balancing

Hi, I have two instances of a WCF service exposing NetTcpBinding endpoints in the application tier, which are consumed by the application tier (heavy traffic website). I need to load balanced these instances under a single VIP. Considering the tcpNet connection pooling, it is recommended to configure the load-balancer as sticky IP, and...