connections

Standalone Tomcat 6.0.* + 20,000 simultaneous connections

Does anyone know how to configure Tomcat 6.0 as a standalone web server (on Windows XP) that can handle 20,000 simultaneous connections? Please help me. ...

How provide own Sent Messages in Interface Builder

I cannot find documents about the way, in which Interface Builder determines the Sent Message outlets for the graphical connections between components triggering events and messages of other components. I want to generate components encapsulating Finite State Automata. The input part is simple, just define IBAction messages and you can c...

Disappearing MySQL connections in PHP

I'm writing a script in php which updates my database with certain xml information every 30 seconds. (I'm not allowed any other scripting language, and I find php an easy language to work with anyway) However, because this php script can run for several minutes my mysql database tends to fall away. A lot. So I started to use link ident...

C# Socket.Listen(MAX_CONNECTIONS);

i need some help with socket.listen. my max_connections is set to 1. but even after a client is connected if another client tries to connect, on the client side it says it has connected although the server does not report anything new. my app is between one server and one client. and if any other client tries to connect while there is ...

Closing SQL connections (NHibernate)

I have a test console app that is executing sql scripts to create a database and its tables, then inserting data. I use DAO to create, retrieve, update, and delete from the tables and then try and drop the database, but it can't because it says it is currently in use. How do I kill the connection? Through debugging and running a sql scri...

HttpsURLConnection and intermittent connections

I'm hoping someone could help me out with intermittent connections I'm getting using code with HttpsURLConnection. The code I'm using is below: HttpsURLConnection conn = (HttpsURLConnection) url.openConnection(); conn.setReadTimeout(10 * 1000); if conn.getResponseCode() != 200) { Log.v(TAG, "error code:" + c...

I can't seem to connecting any of my IBOutlets between IB and XCode.

I created a new iPhone project using the built-in "tab bar" template. I put a few sliders, labels, textfields in the view. I added in needed code for: "IBOutlet, @property, @synthesize, and release" for the above UI objects. It saves and compiles without any errors or warnings. I try to hook-up my connections with control-drag, but d...

Android SDK installation error - "no buffer space available (maximum connections reached?): recv failed

Hello I am trying to get my environment setup to develop an android app so I downloaded the SDK (http://developer.android.com/sdk/installing.html). After unpacking the files and running the SDK Setup.exe, the Android SDK and AVD manager opens up. During the installation process, I got an error stating the following: Failed to fetch ...

Is it possible to download Android SDK components without using the Android SDK management utility?

During the installation of my Android SDK, I am getting stuck during the process where the manager goes out and downloads all the revisions of the APIs and the SDKs. It is potentially due to a socket issue that typically occurs when a database query is called and there are a large number of TCP connections... according to googling my er...

.NET/WMI how to monitor activity on a windows share?

I refer to this: http://stackoverflow.com/questions/1448384/monitor-windows-share I am opening a new thread because I feel that thread is very unclear in both question and content. I am in Windows XP using .NET 2.0 VS2008 C# and managed C++. The question is how exactly to monitor the number and nature of open connections to a windows...

Best practice to find out the closest AD server in the netwrok and to find if the server is dead.

Whats the best way of finding the closest server in the network from the list of servers. I have 2 servers in different locations and through code I want to connect to the one which is closest to where the application is deployed (in terms of connection time). Also whats the best way to find out if a server is down keeping in mind that...

MaxUserPort setting not being used by windows 2003 server?

i am using MaxUserPort setting (with 65000 as its value) in the registry on one of my servers (windows 2003 server). this was done to enable the box to handle a certain load profile. the setting has been working fine, along with the TcpTimedWaitDelay setting set at 30. i have setup the same settings on another windows 2003 server box, ...

WCF with MANY database connections

I'm working in the development of an ERP type .Net WinForms application consuming a WCF service. It's to be used by many small companies (in the range of 100-200). Database is SQL Server 2008 and the service will be hosted as a Windows service. Even thought there will be a single DB Server, our customer insists in having separate datab...

Identifying connections and active SQL in SQL Server

How do I see the currently executing SQL statements in SQL Server? I've poked around in SQL Server Management Studio, but I don't see anything "canned". ...

.Net opening and closing database connections

I designed the data access portion of our framework so that every time a business object needs to interact with the database it would have to open a connection, invoke the data access layer (to execute the query), and then close the connection. Then if it needed to run in a transaction it would open the connection, begin the transaction,...

How can I check the mysql connection for a user/password using batch/shell script

Hi, How can I check the mysql connection for a user/password using batch/shell script? I've user name and password, and I need to authenticate whether they are correct or not, but how? I tried this way: I've created a batch file "run.bat" with "mysql -u User--password=UserPassword < commands.sql" "commands.sql" file contains "\q" Wh...

Java multiple connections downloading file

Hello friends, I was wanting to add multiple connections in the code below to be able to download files faster. Could someone help me? Thanks in advance. public void run() { RandomAccessFile file = null; InputStream stream = null; try { // Open connection to URL. HttpURLConnection connection = ...

ASP.Net File Upload Network Issue

I have tried both the .net FileUpload control and the ajax Asyncfileuploadcontrol to upload a file less than 500kb. It seems that when I tried to go through my wireless router (att.bellsouth) that the uploads always fail, however when I plug my droid into my laptop and use my pda connection it works perfectly fine. I'm wondering if t...

Intermittent "No Database Selected" in PHP/MySQL?

Have a PHP/MySQL form with a dropdown box containing a list of 350 names. When any random name is selected, sometimes it works & displays info about that name from the database, and sometimes the form gives the error "No Database Selected". Here's what I've tried, pretty much grasping at straws as I'm not a programmer: Increasing max...

Can you Export/Import Flex (4) Data Services?

Flex newb here. I'm working in flashbuilder 4 (flex4?), and am being asked to create the client-side data services integration 'layer' in a flex app. There is another team working on the actual UI/Presentation. Both parts must be deployed in a single swf. If I use the data/services wizard to build out my service connections (and gene...