Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsWhite Papers
Discussion GroupsFirst AidDatabasesJavaBeansGUIJava 3DVirtual MachineCORBASecurityToolsGeneral
Java DirectoryOpen Source ProjectsSample Book ChaptersUser GroupsWeb Resources
Related Topics
Databases.NETMore Topics ...

Java Forum / Tools / June 2004

Tip: Looking for answers? Try searching our database.

JBOSS: TCP connect failed in tcp_connect()

Thread view: 
Pawan - 07 Jun 2004 11:45 GMT
hi,

I am using JBOSS3.2 as an application server. A C++ client spawns 50
threads and each thread make a SOAP request to the a webservice
deployed on JBOSS. At the client side I see many random errors i.e
sometime these disappear, the other time these come...The errors look
like:-

SOAP FAULT: SOAP-ENV:Client
"Unknown error"
Detail: TCP connect failed in tcp_connect()

Please throw some light on the possible cause and the solution.

Thanks,
Pawan
Michael Amling - 07 Jun 2004 15:06 GMT
> hi,
>
[quoted text clipped - 9 lines]
>
> Please throw some light on the possible cause and the solution.

  TCP Server Socket implementations typically have a queue of incoming
connections that the server hasn't yet accepted. Any connections coming
in when that queue is full get rejected by the operating system. The
default queue length is 50 (see 'backlog' in
"http://java.sun.com/j2se/1.3/docs/api/java/net/ServerSocket.html"). So,
if the server socket in question had a queue length shorter than the
default or there were any other connections to it, some could easily get
rejected.

--Mike Amling
Pawan - 08 Jun 2004 05:26 GMT
Thanx Michael ,

When I run the same application on IBM Websphere then there is no such
error even with 200 threads making frequent requests. why this papens
with JBOSS only. Is there any setting in JBOSS to increase the queue
length. If yes then where and how?

regards,
Pawan

> > hi,
> >
[quoted text clipped - 20 lines]
>
> --Mike Amling


Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.