Hi,
when I called ic.lookup(...); as described above, I always get a[i] javax.naming.NamingException: Lookup failed for '...' in SerialContext[/i] . I tried several possible names as argument - alwas the same result.
I don't think I have a network problem because on the client side (host1) command line I can connect to the server side (host2) with:
[i] telnet host2 3700[/i]
and get a connection.
When I enable FINE logging on the cient side (host1) I lots of exceptions during the remote call attempt. I hope I got all different kinds of exceptions. Maybe they give a hint:
[i][#|2010-03-29T15:55:10.129+0200|FINE|glassfishv3.0|javax.enterprise.resource.corba.ee.S1AS-ORB.rpc.protocol|_ThreadID=28;_ThreadName=Thread-1;ClassName=
com.sun.corba.ee.impl.interceptors.ClientRequestInfoImpl;MethodName=get_effective_components;|"IOP00100028: (BAD_PARAM) Invalid component Id 31 in porta
ble interceptor"
org.omg.CORBA.BAD_PARAM: vmcid: OMG minor code: 28 completed: No
at com.sun.corba.ee.impl.logging.OMGSystemException.invalidComponentId(OMGSystemException.java:1607)
...
[#|2010-03-29T15:55:10.305+0200|WARNING|glassfishv3.0|javax.enterprise.resource.corba|_ThreadID=30;_ThreadName=Thread-1;|Can not find resource bundle fo
r this logger. class name that failed: com.sun.enterprise.iiop.security.GSSUtils|#]
[#|2010-03-29T15:55:10.393+0200|FINE|glassfishv3.0|javax.enterprise.resource.corba.ee.S1AS-ORB.rpc.protocol|_ThreadID=28;_ThreadName=Thread-1;ClassName=
com.sun.corba.ee.impl.interceptors.ClientRequestInfoImpl;MethodName=get_effective_components;|"IOP00100028: (BAD_PARAM) Invalid component Id 31 in porta
ble interceptor"
org.omg.CORBA.BAD_PARAM: vmcid: OMG minor code: 28 completed: No
at com.sun.corba.ee.impl.logging.OMGSystemException.invalidComponentId(OMGSystemException.java:1607)
...
[#|2010-03-29T15:55:10.408+0200|FINE|glassfishv3.0|javax.enterprise.resource.corba.ee.S1AS-ORB.rpc.protocol|_ThreadID=28;_ThreadName=Thread-1;ClassName=
com.sun.corba.ee.impl.interceptors.ClientRequestInfoImpl;MethodName=get_effective_components;|"IOP00100028: (BAD_PARAM) Invalid component Id 31 in porta
ble interceptor"
org.omg.CORBA.BAD_PARAM: vmcid: OMG minor code: 28 completed: No
at com.sun.corba.ee.impl.logging.OMGSystemException.invalidComponentId(OMGSystemException.java:1607)
...
[#|2010-03-29T15:55:12.107+0200|FINE|glassfishv3.0|javax.enterprise.resource.corba.ee._CORBA_.rpc.presentation|_ThreadID=28;_ThreadName=Thread-1;ClassNa
me=com.sun.corba.ee.impl.presentation.rmi.StubFactoryFactoryDynamicBase;MethodName=createStubFactory;|"IOP01210235: (BAD_OPERATION) ClassNotFoundExcepti
on while attempting to load interface otsidl.JCoordinator"
org.omg.CORBA.BAD_OPERATION: vmcid: SUN minor code: 235 completed: Maybe
at com.sun.corba.ee.impl.logging.ORBUtilSystemException.classNotFound3(ORBUtilSystemException.java:787)
at com.sun.corba.ee.impl.presentation.rmi.StubFactoryFactoryDynamicBase.createStubFactory(StubFactoryFactoryDynamicBase.java:77)
at com.sun.corba.ee.impl.encoding.CDRInputStream_1_0.read_Object(CDRInputStream_1_0.java:881)
...
Caused by: java.lang.ClassNotFoundException: otsidl.JCoordinator (no security manager: RMI class loader disabled)
at sun.rmi.server.LoaderHandler.loadClass(LoaderHandler.java:375)
[#|2010-03-29T15:55:12.802+0200|FINE|glassfishv3.0|javax.enterprise.resource.corba.ee.S1AS-ORB.rpc.protocol|_ThreadID=28;_ThreadName=Thread-1;ClassName=
com.sun.corba.ee.impl.interceptors.PIHandlerImpl;MethodName=cleanupClientPIRequest;|"IOP00010801: (UNKNOWN) Unknown request invocation error"
org.omg.CORBA.UNKNOWN: vmcid: SUN minor code: 801 completed: Maybe
at com.sun.corba.ee.impl.logging.InterceptorsSystemException.unknownRequestInvoke(InterceptorsSystemException.java:939)
at com.sun.corba.ee.impl.logging.InterceptorsSystemException.unknownRequestInvoke(InterceptorsSystemException.java:953)
at com.sun.corba.ee.impl.interceptors.PIHandlerImpl.cleanupClientPIRequest(PIHandlerImpl.java:656)
...
[#|2010-03-29T15:55:12.894+0200|FINE|glassfishv3.0|javax.enterprise.resource.corba.ee._CORBA_.util|_ThreadID=16;_ThreadName=Thread-1;ClassName=com.sun.c
orba.ee.impl.osgi.loader.OSGIListener;MethodName=bundleChanged;|"IOP01210268: (BAD_OPERATION) Received bundle event of type RESOLVED on bundle org.glass
fish.jms.core"
org.omg.CORBA.BAD_OPERATION: vmcid: SUN minor code: 268 completed: No
at com.sun.corba.ee.impl.logging.ORBUtilSystemException.receivedBundleEvent(ORBUtilSystemException.java:1738)
at com.sun.corba.ee.impl.logging.ORBUtilSystemException.receivedBundleEvent(ORBUtilSystemException.java:1762)
at com.sun.corba.ee.impl.osgi.loader.OSGIListener.bundleChanged(OSGIListener.java:352)
...
[/i]
When I enable FINE logging on the server side (host2) I lots of exception during startup. They look like:
[i][#|2010-03-29T15:53:19.776+0200|FINE|glassfishv3.0|javax.enterprise.resource.corba.ee._CORBA_.util|_ThreadID=24;_ThreadName=Thread-1;ClassName=com.sun.c
orba.ee.impl.osgi.loader.OSGIListener;MethodName=insertClasses;|"IOP01210279: (BAD_OPERATION) Inserting exported package org.omg.PortableServer.POAManag
erPackage from bundle org.apache.felix.framework into packageNameMap"
org.omg.CORBA.BAD_OPERATION: vmcid: SUN minor code: 279 completed: No
at com.sun.corba.ee.impl.logging.ORBUtilSystemException.insertBundlePackage(ORBUtilSystemException.java:2058)
[/i]
Any futher ieas?
[Message sent by forum member 'chrishapke']
http://forums.java.net/jive/thread.jspa?messageID=394294