|
Problem |
Trying a JNDI lookup and fails. The dumpNameSpace output
shows:
[12/12/05 12:14:48:122 EST] 697676 WsnInitCtxFac < stringToObject
Exception:
org.omg.CORBA.COMM_FAILURE: WRITE_ERROR_SEND_1 minor code: 1229066320
completed: No
at com.ibm.ws.orbimpl.transport.HTTPOutputStream.write(Unknown Source)
at com.ibm.rmi.iiop.IIOPOutputStream.writeTo(IIOPOutputStream.java:283)
at com.ibm.rmi.iiop.Connection.send(Connection.java:1483)
An Object Request Broker (ORB) traces will show something similar to:
12:14:48.120 com.ibm.ws.orbimpl.transport.HTTPOutputStream write)( byte[]
b, int off, int len) P=684753:O=0:CT ORBRas[default] at the beginning of
the method
12:14:48.120 com.ibm.ws.orbimpl.transport.WSHTTPTransportConnection
getTunnelAgentURLString() P=684753:O=0:CT ORBRas[default] the value of the
com.ibm.CORBA.TunnelAgentURLSring=)null
12:14:48.121 com.ibm.ws.orbimpl.transport.HTTPOutputStream write)( byte[]
b, int off, int len) P=684753:O=0:CT ORBRas[default] tunnelAgentURLSring
is null or empty, throwing COMM_FAILURE
12:14:48.121 com.ibm.rmi.corba.Corbaloc$FirstException set:434
P=684753:O=0:CT ORBRas[default] org.omg.CORBA.COMM_FAILURE:
WRITE_ERROR_SEND_1 minor code: 1229066320 completed: No
12:14:48.174 com.ibm.rmi.transport.ListenerThread run:235
LT=1:P=684753:O=0:port=36995 ORBRas[default] Socket closed with shutdown
pending
12:14:48.174 com.ibm.rmi.transport.ListenerThread run:235
LT=0:P=684753:O=0:port=36994 ORBRas[default] Socket closed with shutdown
pending
12:14:48.175 com.ibm.rmi.transport.ListenerThread run:273
LT=1:P=684753:O=0:port=36995 ORBRas[default] ListenerThread shutting
down |
|
Cause |
The "Force tunneling" (com.ibm.CORBA.ForceTunnel) is set
to "WHENREQUIRED", but the "Tunnel agent URL"
(com.ibm.CORBA.TunnelAgentURL) is not set
The ORB traces show something similar to:
getForceTunnel P=684753:O=0:CT ORBRas[default] getForceTunnel() returned
when required |
|
Solution |
Set the "Force tunneling" to "NEVER" (assuming that no
tunnelling is wanted) by adding an entry in orb.properties:
com.ibm.CORBA.ForceTunnel=NEVER on the ORB client side. Note that this
property is NEVER by default on the server side
After setting the above, the ORB traces will show something similar:
getForceTunnel P=705818:O=0:CT ORBRas[default] getForceTunnel() returned
never
and the org.omg.CORBA.COMM_FAILURE is no longer there. |
|
|