• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Configuring IIOPTunnel on Websphere 6

 
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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
 
Greenhorn
Posts: 3
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I don't know why are you waiting that long for the response, but you can set
com.ibm.CORBA.RequestTimeout to max 300 seconds. Default is 180 seconds.
 
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi,
did you manage to solve the problem? I have exactly the same problem and couldn't find any solution yet.

Regards,

schladel
 
I'm not sure if I approve of this interruption. But this tiny ad checks out:
a bit of art, as a gift, the permaculture playing cards
https://gardener-gift.com
reply
    Bookmark Topic Watch Topic
  • New Topic