Good day,
I'm trying to get the IIOPTunnel working on Websphere 6, but I only got it working half way. The client to server connection is working correctly, however the response is constantly throwing an socket timeout exception (after 3 minutes). I'm running both the client and server on the same machine, and there are no firewalls active that might prevent access.
Here's the summary:
Server-side:
Included the IIOPTunnel
servlet in my ear and deployed the application. The application is running correctly and I can access the IIOPTunnel servlet. I add the following property to the ORB configuration:
com.ibm.CORBA.FragmentSize=0
Client-side:
I've added the following properties to the launcher using the -D options:
com.ibm.CORBA.ForceTunnel=ALWAYS
com.ibm.CORBA.TunnelAgentURL=http://myserver:9080/iioptunnel/IIOPTunnel
com.ibm.CORBA.FragmentSize=0
When starting the client and logging in, I can see the client has contacted the server and the server is processing the request. However, the reply of the server constantly throws the following exception (after the 3 minute timeout)
[1/8/08 10:58:08:774 CET] 0000003b ORBRas E com.ibm.CORBA.services.redirector.Redirector handleReply WebContainer : 1 ORBX0360E: handleReply(): IOException occurred while redirecting the server reply packet back to the client. Exception=java.net.SocketTimeoutException: Read timed out. java.net.SocketTimeoutException: Read timed out
at java.net.SocketInputStream.socketRead0(Native Method)
at java.net.SocketInputStream.read(SocketInputStream.java:153)
at com.ibm.CORBA.services.redirector.Redirector.readFully(Redirector.java:487)
at com.ibm.CORBA.services.redirector.Redirector.handleReply(Redirector.java:338)
at com.ibm.CORBA.services.redirector.Redirector.handle(Redirector.java:221)
at com.ibm.CORBA.services.IIOPTunnelServlet.service(IIOPTunnelServlet.java:213)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
at com.ibm.ws.webcontainer.servlet.ServletWrapper.service(ServletWrapper.java:1572)
[...]
I have searched for possible solutions and found one, to add the following property to your client config:
com.ibm.CORBA.enableClientCallbacks=true
However, the problem is not solved...
Does anyone have any experience setting this up?
thanks in advance,
arthur