• Post Reply Bookmark Topic Watch Topic
  • New Topic

Error establishing Socket  RSS feed

 
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi All,

I am running an application in JBoss server, and the application is written using struts, jbdc.

I am getting this exception, when more number of users logging in. Otherwise it is working fine.

java.sql.SQLException: [Microsoft][SQLServer 2000 Driver for JDBC]Error establishing socket.

Thanks in advance for your replies.
 
author & internet detective
Marshal
Posts: 37698
575
Eclipse IDE Java VI Editor
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Saravana,
Welcome to JavaRanch!

You could be running out of connections. Verify that you are always calling conn.close() in a finally block and not holding connections longer than necessary.
 
Bartender
Posts: 2633
17
C++ Linux Netbeans IDE
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Do you have SQLServer 2000 sp3 installed?
Sp3 resolves several tcp/ip issues.

Regards, Jan
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!