• Post Reply Bookmark Topic Watch Topic
  • New Topic

Error establishing Socket

 
saravana R rajan J
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.
 
Jeanne Boyarsky
author & internet detective
Sheriff
Posts: 36032
432
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.
 
Jan Cumps
Bartender
Posts: 2620
14
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
 
my overalls have superpowers - they repel people who think fashion is important. Tiny ad:
the new thread boost feature brings a LOT of attention to your favorite threads
https://coderanch.com/t/674455/Thread-Boost-feature
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!