Funny that you ask that, we just spent a few weeks debugging the same error
in our performance testing (we deploy to servers running Windows for this
application).

After much Google searching by all of us, our very astute WebSphere support
guy found this article (sorry, I don't know where he found it, so can't
give it proper attribution):

(See attached file: WindowsPortConfig.doc)

Basically, it was a Windows operating system default setting limitation.
He also commented that he had searched the Microsoft Web site, and had some
indications that the default value for MaxUserPort is set to 5000.

Hope this is helpful,

Meghan

_________________________________
Meghan Pietila
Java Middleware Architect
Sales & Service Management Program
US Bank



                                                                                
                                                       
                      "Bromberg, Dirk -                                         
                                                       
                      encoway"                 To:       
[email protected]                                                       
                      <[EMAIL PROTECTED]        cc:                             
                                                        
                      .de>                     Subject:  Axis 1.3 Address 
already in use: connect-> java.net.BindException             
                                                                                
                                                       
                      11/08/2005 07:10                                          
                                                       
                      AM                                                        
                                                       
                      Please respond to                                         
                                                       
                      axis-user                                                 
                                                       
                                                                                
                                                       
                                                                                
                                                       




Hello,

I've setup a webservice using tomcat and axis 1.3 via ant.

It is a simple object with a method. When I call it thousand times (e.g.
in a loop) than sometimes I get this exception:

------------------------------------------------------------
AxisFault
 faultCode:
{http://schemas.xmlsoap.org/soap/envelope/}Server.userException
 faultSubcode:
 faultString: java.net.BindException: Address already in use: connect
 faultActor:
 faultNode:
 faultDetail:

{http://xml.apache.org/axis/}stackTrace:java.net.BindException:
Address already in use: connect
             at java.net.PlainSocketImpl.socketConnect(Native Method)
-----------------------------------------------------------


after it the service works like before...


Must I close something or synchronize the service method?


Thanks

Dirk




------------------------------------------------------------------------------
Electronic Privacy Notice. This e-mail, and any attachments, contains 
information that is, or may be, covered by electronic communications privacy 
laws, and is also confidential and proprietary in nature. If you are not the 
intended recipient, please be advised that you are legally prohibited from 
retaining, using, copying, distributing, or otherwise disclosing this 
information in any manner. Instead, please reply to the sender that you have 
received this communication in error, and then immediately delete it. Thank you 
in advance for your cooperation.
==============================================================================

Attachment: WindowsPortConfig.doc
Description: MS-Word document

Reply via email to