JBoss Community

Re: WorkerThread exception occured .... InvocationTargetException / SocketTimeoutException

created by red Car in JBoss Remoting - View the full discussion

Hallo,

 

now I have recognized the problem:

The client instantiates a connection to the SFSB and holds it. Each call to this bean starts a new WorkerThread on the server with a new TCP/IP-Port.

Because on the server-machine are running a lot of progs with many ports, I can run in a situation relative quickly, when a workerthread wants to

hire an used port from another process. This will throw an InvocationTargetException and SocketTimeout Exception on the server, because he can not open his

prefered port.

 

Is there any possibility to set the range for workerthread-ports in a higher direction?

Or is there any other possibility to avoid port-conflicts?

 

Werner

Reply to this message by going to Community

Start a new discussion in JBoss Remoting at Community