[jacorb-developer] Conflict with loopback connection
Marius Cosma
marius.cosma at computaris.com
Mon Aug 31 10:57:00 CEST 2015
Hi Guys,
I'm a bit stuck with a strange problem. Do you have any hints for the
following scenario?
- One omniORB server listening on loopback interface (127.0.0.1),
on port 10500
- One JacORB proxy which should connect to the omniORB and, at the
same time, listen on the public interface (e.g. 10.8.74.112) and on the same
port 10500
- Under normal circumstances it should be no conflict to have
distinct servers listening on distinct interfaces and same port
- However, I cannot start the JacORB server
- Everything goes fine if I'm using different ports
- The omniORB server runs fine on loopback interface (I can access
it with other clients)
- Both servers are configured to listen on a single interface (they
do not bind on all interfaces)
Snippet from JacORB server log:
20150831 11:29:33.894 [DEBUG] [main ] [tIIOPConnection]: connect to
127.0.0.1:10500 using IIOPLoopback
20150831 11:29:33.895 [DEBUG] [main ] [conn ]:
GIOPConnectionManager: created new
org.jacorb.orb.giop.ServerGIOPConnection at 1926e90
20150831 11:29:33.896 [DEBUG] [main ] [tpool ]: [0/0]
creating new thread
20150831 11:29:33.896 [DEBUG] [geReceptor0] [tpool ]: [0/1] removed
idle thread (job scheduled)
20150831 11:29:33.898 [DEBUG] [main ] [tIIOPConnection]: wrote 12
bytes to 127.0.0.1:10500 using loopback connection
20150831 11:29:33.898 [DEBUG] [geReceptor0] [pbackAcceptor$1]: read 12 bytes
from 127.0.0.1:10500 using loopback connection
20150831 11:29:33.898 [DEBUG] [main ] [tIIOPConnection]: wrote 36
bytes to 127.0.0.1:10500 using loopback connection
20150831 11:29:33.898 [DEBUG] [main ] [tIIOPConnection]: wrote 76
bytes to 127.0.0.1:10500 using loopback connection
20150831 11:29:33.898 [DEBUG] [geReceptor0] [pbackAcceptor$1]: read 112
bytes from 127.0.0.1:10500 using loopback connection
20150831 11:29:33.899 [DEBUG] [main ] [conn ]: wrote GIOP
message of size 92 to ClientGIOPConnection to 127.0.0.1:10500 (ce16ad)
20150831 11:29:33.899 [DEBUG] [geReceptor0] [conn ]: read GIOP
message of size 124 from org.jacorb.orb.giop.ServerGIOPConnection at 1926e90
20150831 11:29:33.902 [DEBUG] [geReceptor0] [listener ]: Received
CodeSetContext. Using ISO8859_1 as TCS and UTF16 as TCSW
20150831 11:29:33.905 [WARN ] [geReceptor0] [listener ]: Received a
request with a non-jacorb object key
20150831 11:29:33.908 [DEBUG] [geReceptor0] [conn ]:
GIOPConnection.sendMessage timeout (millis): 0
20150831 11:29:33.909 [DEBUG] [geReceptor0] [tIIOPConnection]: read 12 bytes
from 127.0.0.1:10500 using loopback connection
20150831 11:29:33.909 [DEBUG] [geReceptor0] [pbackAcceptor$1]: wrote 76
bytes to 127.0.0.1:10500 using loopback connection
20150831 11:29:33.909 [DEBUG] [geReceptor0] [tIIOPConnection]: read 64 bytes
from 127.0.0.1:10500 using loopback connection
20150831 11:29:33.909 [DEBUG] [geReceptor0] [conn ]: wrote GIOP
message of size 76 to org.jacorb.orb.giop.ServerGIOPConnection at 1926e90
20150831 11:29:33.909 [DEBUG] [geReceptor0] [conn ]: read GIOP
message of size 76 from ClientGIOPConnection to 127.0.0.1:10500 (ce16ad)
20150831 11:29:33.913 [DEBUG] [main ] [delegate ]: invoke[<--]:
SystemException
org.omg.CORBA.OBJECT_NOT_EXIST: Server-side Exception: null
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native
Method) ~[?:1.6.0_37]
at
sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAcces
sorImpl.java:39) ~[?:1.6.0_37]
at
sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstruc
torAccessorImpl.java:27) ~[?:1.6.0_37]
at java.lang.reflect.Constructor.newInstance(Constructor.java:513)
~[?:1.6.0_37]
at
org.jacorb.orb.SystemExceptionHelper.read(SystemExceptionHelper.java:222)
~[jacorb-3.6.jar:3.6]
at org.jacorb.orb.ReplyReceiver.getReply(ReplyReceiver.java:458)
~[jacorb-3.6.jar:3.6]
at org.jacorb.orb.Delegate._invoke_internal(Delegate.java:1403)
[jacorb-3.6.jar:3.6]
at org.jacorb.orb.Delegate.invoke_internal(Delegate.java:1171)
[jacorb-3.6.jar:3.6]
at org.jacorb.orb.Delegate.invoke(Delegate.java:1159)
[jacorb-3.6.jar:3.6]
at org.jacorb.orb.Delegate.invokeBuiltin(Delegate.java:2131)
[jacorb-3.6.jar:3.6]
at org.jacorb.orb.Delegate.is_a(Delegate.java:1971)
[jacorb-3.6.jar:3.6]
at org.omg.CORBA.portable.ObjectImpl._is_a(ObjectImpl.java:112)
[?:1.6.0_37]
at com.myproxy.idl.authHelper.narrow(authHelper.java:67)
[myproxy-1.0.jar:?]
at com.myproxy.MyProxy.main(MyProxy.java:207) [myproxy-1.0.jar:?]
Thank you
This email is subject to Computaris email terms of use: http://www.computaris.com/email_terms
More information about the jacorb-developer
mailing list