|
From: Eduardo F. <efr...@in...> - 2002-08-06 14:21:46
|
Hi, I'm trying to run the NamingService example ins.Client but I keep getting an exception when the client tries to narrow the NameService reference initial_context_obj (which it gets OK) to the _initial_context: I'm new to OpenORB so this is probably a simple configuration issue. I really read the manuals and all the archives but couldn't find any clue. When launching the management board and try to connect to the NameServer it also gets the same exception. The stack trace is: ======================================= org.omg.CORBA.TRANSIENT: minor code: 2 completed: No at org.openorb.CORBA.Delegate$RequestState.findNextBinding(Delegate.java:2320) at org.openorb.CORBA.Delegate$RequestState.failoverFatal(Delegate.java:2407) at org.openorb.CORBA.Delegate$RequestState.receiveSystemException(Delegate.java :2471) at org.openorb.CORBA.Delegate$RequestState.access$000(Delegate.java:1594) at org.openorb.CORBA.Delegate.request(Delegate.java:911) at org.openorb.CORBA.Delegate.is_a(Delegate.java:550) at org.omg.CORBA.portable.ObjectImpl._is_a(ObjectImpl.java:114) at org.omg.CosNaming.NamingContextExtHelper.narrow(NamingContextExtHelper.java: 97) at ins.Client.<init>(Client.java:58) at ins.Client.main(Client.java:40) Exception in thread "main" ======================================= I'm using JDK 1.3.1, the default configuration files (only changed the debug settings) with the debug profile, the CLASSPATH includes all possible needed jar files and I added the ORBClass and ORBSingletonClass options so as to be sure there is no mix-up. I even tried putting all classes in the Xbootclasspath option so as to be sure but it didn't help either. The NameServer is launched by: java [ORBClass & ORBSingletonClass options] org.openorb.ins.Server -default -shutdown The example is launched by: java [ORBClass & ORBSingletonClass options] ins.Client -ORBProfile=debug You'll find the execution trace below. Thanks for any help, Eduardo [main] [DEBUG] (orb): ----------------------------------------------------------------- OpenORB openorb.debug.level=MEDIUM (OFF(0)/LOW(1)/MEDIUM(2)/HIGH(3)) ----------------------------------------------------------------- [main] [DEBUG] (orb): corba.major=2 [main] [DEBUG] (orb): corba.minor=4 [main] [DEBUG] (orb): corba.minor.change=2 [main] [DEBUG] (orb): corba.version=2.4.2 [main] [DEBUG] (orb): file.encoding=Cp1252 [main] [DEBUG] (orb): file.encoding.pkg=sun.io [main] [DEBUG] (orb): file.separator=\ [main] [DEBUG] (orb): iiop.allowBidir=true [main] [DEBUG] (orb): iiop.biDirOnlyServer=false [main] [DEBUG] (orb): iiop.boostReceivePriority=true [main] [DEBUG] (orb): iiop.CDRInputStreamClass=org.openorb.iiop.CDRInputStream [main] [DEBUG] (orb): iiop.CDROutputStreamClass=org.openorb.iiop.CDROutputStream [main] [DEBUG] (orb): iiop.clientNoDelay=true [main] [DEBUG] (orb): iiop.hostname= [main] [DEBUG] (orb): iiop.listenAddress=0.0.0.0 [main] [DEBUG] (orb): iiop.port=0 [main] [DEBUG] (orb): iiop.publishIP=auto [main] [DEBUG] (orb): iiop.serverNoDelay=true [main] [DEBUG] (orb): iiop.TransportClientInitializerClass=org.openorb.iiop.IIOPTransportClientIni tializer [main] [DEBUG] (orb): iiop.TransportServerInitializerClass=org.openorb.iiop.IIOPTransportServerIni tializer [main] [DEBUG] (orb): initref.NameService=corbaloc::1.2@localhost:2001/NameService [main] [DEBUG] (orb): line.separator= [main] [DEBUG] (orb): openorb.config=file:/C:/Documents and Settings/gualo.DIMENSION/OpenORB.xml [main] [DEBUG] (orb): openorb.debug.level=MEDIUM [main] [DEBUG] (orb): openorb.debug.trace=DEBUG [main] [DEBUG] (orb): openorb.defaultInitRef=corbaname:rir:#InitialReferences [main] [DEBUG] (orb): openorb.dynany.enable=true [main] [DEBUG] (orb): openorb.home=resource:/org/openorb/ [main] [DEBUG] (orb): openorb.kernel.ORBConnectorClass=org.openorb.CORBA.kernel.OpenORBConnector [main] [DEBUG] (orb): openorb.major=1 [main] [DEBUG] (orb): openorb.minor=3 [main] [DEBUG] (orb): openorb.minor.change=0 [main] [DEBUG] (orb): openorb.profile=debug [main] [DEBUG] (orb): openorb.useStaticThreadGroup=true [main] [DEBUG] (orb): openorb.version=1.3.0 [main] [DEBUG] (orb): org.omg.CORBA.ORBClass=org.openorb.CORBA.ORB [main] [DEBUG] (orb): org.omg.CORBA.ORBSingletonClass=org.openorb.CORBA.ORBSingleton [main] [DEBUG] (orb): path.separator=; [main] [DEBUG] (orb): Profile=debug [main] [DEBUG] (orb): release=OpenORB Version 1.3.0 [main] [DEBUG] (orb): release.tag=OpenORB_1_3_0 [main] [DEBUG] (orb): user.dir=Y:\OpenSource\SourceForge\Projects\OpenORBTests [main] [DEBUG] (orb): user.home=C:\Documents and Settings\gualo.DIMENSION [main] [DEBUG] (orb): user.language=fr [main] [DEBUG] (orb): user.name=gualo [main] [DEBUG] (orb): user.region=FR [main] [DEBUG] (orb): user.timezone= [main] [DEBUG] (orb): version=1.3.0 [main] [DEBUG] (orb): ----------------------------------------------------------------- [main] [DEBUG] (orb): ORB loading. [main] [DEBUG] (orb.ldr#558937): Setting the feature "ORBLoader". [main] [DEBUG] (orb.ldr#558937): Adding initial reference "CodecFactory" to reference table. [main] [DEBUG] (orb.ldr#558937): Setting the feature "CodecFactoryManager". [main] [DEBUG] (orb.ldr#558937): Setting the feature "ServerCPCManager". [main] [DEBUG] (orb.ldr#558937): Setting the feature "ClientCPCManager". [main] [DEBUG] (orb.ldr#558937): Adding initial reference "DynAnyFactory" to reference table. [main] [DEBUG] (orb.ldr#558937): Adding initial reference "TypeCodeFactory" to reference table. [main] [DEBUG] (orb.ldr#558937): Setting the feature "PolicyReconciler". [main] [DEBUG] (orb.ldr#558937): Setting the feature "PolicySetManager". [main] [DEBUG] (orb.ldr#558937): Setting the feature "PolicyFactory". [main] [DEBUG] (orb.ldr#558937): Setting the feature "PolicyFactoryManager". [main] [DEBUG] (orb.ldr#558937): Adding initial reference "ORBPolicyManager" to reference table. [main] [DEBUG] (orb.ldr#558937): Adding initial reference "PolicyCurrent" to reference table. [main] [DEBUG] (orb): init [main] [DEBUG] (orb.ldr#558937): Setting the feature "CodeSetDatabase". [main] [DEBUG] (orb): init [main] [DEBUG] (orb.ldr#558937): Adding initial reference "POACurrent" to reference table. [main] [DEBUG] (orb.ldr#558937): Setting the feature "POADelegate". [main] [DEBUG] (orb.ldr#558937): Resolved initial reference "POACurrent" from reference table. [main] [DEBUG] (orb.ldr#558937): Resolved initial reference "POACurrent" from reference table. [main] [DEBUG] (orb.ldr#558937): Resolved initial reference "POACurrent" from reference table. [main] [DEBUG] (orb.ldr#558937): Adding initial reference "RootPOA" to reference table. [main] [DEBUG] (orb.ldr#558937): Resolved initial reference "POACurrent" from reference table. [main] [DEBUG] (orb.ldr#558937): Resolved initial reference "RootPOA" from reference table. [main] [DEBUG] (orb.ldr#558937): Adding initial reference "PICurrent" to reference table. [main] [DEBUG] (orb.ldr#558937): Setting the feature "PICurrent". [main] [DEBUG] (orb.ldr#558937): Setting the feature "ServerInterceptorManager". [main] [DEBUG] (orb.ldr#558937): Setting the feature "IORInterceptorManager". [main] [DEBUG] (orb.ldr#558937): Resolved initial reference "CodecFactory" from reference table. [main] [DEBUG] (orb.ldr#558937): Resolved initial reference "PolicyCurrent" from reference table. [main] [DEBUG] (orb.ldr#558937): Resolved initial reference "ORBPolicyManager" from reference table. [main] [DEBUG] (orb.ldr#558937): Resolved initial reference "NameService" from InitRef. [main] [DEBUG] (orb.ldr#558937): ClientChannel: (iiop) localhost:2001 request #2 created org.omg.CORBA.TRANSIENT: minor code: 2 completed: No at org.openorb.CORBA.Delegate$RequestState.findNextBinding(Delegate.java:2320) at org.openorb.CORBA.Delegate$RequestState.failoverFatal(Delegate.java:2407) at org.openorb.CORBA.Delegate$RequestState.receiveSystemException(Delegate.java :2471) at org.openorb.CORBA.Delegate$RequestState.access$000(Delegate.java:1594) at org.openorb.CORBA.Delegate.request(Delegate.java:911) at org.openorb.CORBA.Delegate.is_a(Delegate.java:550) at org.omg.CORBA.portable.ObjectImpl._is_a(ObjectImpl.java:114) at org.omg.CosNaming.NamingContextExtHelper.narrow(NamingContextExtHelper.java: 97) at ins.Client.<init>(Client.java:58) at ins.Client.main(Client.java:40) Exception in thread "main" |