geronimo-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ivan <xhh...@gmail.com>
Subject Re: Incorrect level of org.omg.CORBA classes found.
Date Mon, 03 May 2010 13:15:13 GMT
The doc you are checking is of version Geronimo 1.1 ...
For 2.2, please refer here :
https://cwiki.apache.org/GMOxDOC22/quick-start-apache-geronimo-for-the-impatient.html#Quickstart-ApacheGeronimofortheimpatient-Startingtheserver

2010/5/3 Tapas Mishra <mightydreams@gmail.com>

> Refering to this page
>
> https://cwiki.apache.org/GMOxDOC11/quick-start-apache-geronimo-for-the-impatient.html
> I executed this
> java -jar server.jar and got following error
>
> /geronimo-jetty7-javaee5-2.2/bin# java -jar server.jar
> Booting Geronimo Kernel (in Java 1.6.0_18)...
> Starting Geronimo Application Server v2.2
> [*****************                       ]  43%   8s Starting
> org.apache.ger...2010-05-03 05:15:23,139 ERROR [NameService] Incorrect
> level of org.omg.CORBA classes found.
> Likely cause is an incorrect java.endorsed.dirs configuration
> 2010-05-03 05:15:23,141 ERROR [GBeanInstanceState] Error while
> starting; GBean is now in the FAILED state:
>
> abstractName="org.apache.geronimo.configs/j2ee-corba-yoko/2.2/car?ServiceModule=org.apache.geronimo.configs/j2ee-corba-yoko/2.2/car,j2eeType=CORBANameService,name=NameServer"
> org.apache.geronimo.gbean.InvalidConfigurationException: CORBA usage
> requires Yoko CORBA spec classes in java.endorsed.dirs classpath
>        at
> org.apache.geronimo.corba.NameService.doStart(NameService.java:168)
>        at
> org.apache.geronimo.gbean.runtime.GBeanInstance.createInstance(GBeanInstance.java:953)
>        at
> org.apache.geronimo.gbean.runtime.GBeanInstanceState.attemptFullStart(GBeanInstanceState.java:269)
>        at
> org.apache.geronimo.gbean.runtime.GBeanInstanceState.start(GBeanInstanceState.java:103)
>        at
> org.apache.geronimo.gbean.runtime.GBeanInstance.start(GBeanInstance.java:525)
>        at
> org.apache.geronimo.gbean.runtime.GBeanDependency.attemptFullStart(GBeanDependency.java:110)
>        at
> org.apache.geronimo.gbean.runtime.GBeanDependency.addTarget(GBeanDependency.java:145)
>        at
> org.apache.geronimo.gbean.runtime.GBeanDependency$1.running(GBeanDependency.java:119)
>        at
> org.apache.geronimo.kernel.basic.BasicLifecycleMonitor.fireRunningEvent(BasicLifecycleMonitor.java:175)
>        at
> org.apache.geronimo.kernel.basic.BasicLifecycleMonitor.access$300(BasicLifecycleMonitor.java:44)
>        at
> org.apache.geronimo.kernel.basic.BasicLifecycleMonitor$RawLifecycleBroadcaster.fireRunningEvent(BasicLifecycleMonitor.java:253)
>        at
> org.apache.geronimo.gbean.runtime.GBeanInstanceState.attemptFullStart(GBeanInstanceState.java:295)
>        at
> org.apache.geronimo.gbean.runtime.GBeanInstanceState.start(GBeanInstanceState.java:103)
>        at
> org.apache.geronimo.gbean.runtime.GBeanInstanceState.startRecursive(GBeanInstanceState.java:125)
>        at
> org.apache.geronimo.gbean.runtime.GBeanInstance.startRecursive(GBeanInstance.java:539)
>        at
> org.apache.geronimo.kernel.basic.BasicKernel.startRecursiveGBean(BasicKernel.java:377)
>        at
> org.apache.geronimo.kernel.config.ConfigurationUtil.startConfigurationGBeans(ConfigurationUtil.java:456)
>        at
> org.apache.geronimo.kernel.config.KernelConfigurationManager.start(KernelConfigurationManager.java:190)
>        at
> org.apache.geronimo.kernel.config.SimpleConfigurationManager.startConfiguration(SimpleConfigurationManager.java:546)
>        at sun.reflect.GeneratedMethodAccessor22.invoke(Unknown Source)
>        at
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
>        at java.lang.reflect.Method.invoke(Method.java:616)
>        at
> org.apache.geronimo.gbean.runtime.ReflectionMethodInvoker.invoke(ReflectionMethodInvoker.java:34)
>        at
> org.apache.geronimo.gbean.runtime.GBeanOperation.invoke(GBeanOperation.java:130)
>        at
> org.apache.geronimo.gbean.runtime.GBeanInstance.invoke(GBeanInstance.java:816)
>        at
> org.apache.geronimo.gbean.runtime.RawInvoker.invoke(RawInvoker.java:57)
>        at
> org.apache.geronimo.kernel.basic.RawOperationInvoker.invoke(RawOperationInvoker.java:35)
>        at
> org.apache.geronimo.kernel.basic.ProxyMethodInterceptor.intercept(ProxyMethodInterceptor.java:96)
>        at
> org.apache.geronimo.gbean.GBeanLifecycle$$EnhancerByCGLIB$$574e04df.startConfiguration(<generated>)
>        at
> org.apache.geronimo.system.main.EmbeddedDaemon.doStartup(EmbeddedDaemon.java:161)
>        at
> org.apache.geronimo.system.main.EmbeddedDaemon.execute(EmbeddedDaemon.java:78)
>        at
> org.apache.geronimo.kernel.util.MainConfigurationBootstrapper.main(MainConfigurationBootstrapper.java:45)
>        at
> org.apache.geronimo.cli.AbstractCLI.executeMain(AbstractCLI.java:65)
>        at org.apache.geronimo.cli.daemon.DaemonCLI.main(DaemonCLI.java:30)
> Caused by: java.lang.NoSuchMethodError:
>
> org.omg.PortableInterceptor.IORInterceptor_3_0.adapter_manager_state_changed(Ljava/lang/String;S)V
>        at
> org.apache.yoko.orb.OB.PIManager.adapterManagerStateChange(PIManager.java:532)
>        at
> org.apache.yoko.orb.OBPortableServer.POAManager_impl.activate(POAManager_impl.java:221)
>        at
> org.apache.yoko.orb.CosNaming.tnaming.TransientNameService.initialize(TransientNameService.java:131)
>        at
> org.apache.geronimo.yoko.ORBConfigAdapter$1.run(ORBConfigAdapter.java:188)
>        at
> org.apache.geronimo.yoko.ORBConfigAdapter.createNameService(ORBConfigAdapter.java:191)
>        at
> org.apache.geronimo.corba.NameService.doStart(NameService.java:164)
>        ... 33 more
> 2010-05-03 05:15:23,167 ERROR [GBeanInstanceState] Error while
> starting; GBean is now in the FAILED state:
>
> abstractName="org.apache.geronimo.configs/j2ee-corba-yoko/2.2/car?ServiceModule=org.apache.geronimo.configs/j2ee-corba-yoko/2.2/car,j2eeType=CORBANameService,name=NameServer"
> org.apache.geronimo.corba.security.config.ConfigException: Error
> starting transient name service on port 1050
>        at
> org.apache.geronimo.yoko.ORBConfigAdapter.createNameService(ORBConfigAdapter.java:196)
>        at
> org.apache.geronimo.corba.NameService.doStart(NameService.java:164)
>        at
> org.apache.geronimo.gbean.runtime.GBeanInstance.createInstance(GBeanInstance.java:953)
>        at
> org.apache.geronimo.gbean.runtime.GBeanInstanceState.attemptFullStart(GBeanInstanceState.java:269)
>        at
> org.apache.geronimo.gbean.runtime.GBeanInstanceState.start(GBeanInstanceState.java:103)
>        at
> org.apache.geronimo.gbean.runtime.GBeanInstanceState.startRecursive(GBeanInstanceState.java:125)
>        at
> org.apache.geronimo.gbean.runtime.GBeanInstance.startRecursive(GBeanInstance.java:539)
>        at
> org.apache.geronimo.kernel.basic.BasicKernel.startRecursiveGBean(BasicKernel.java:377)
>        at
> org.apache.geronimo.kernel.config.ConfigurationUtil.startConfigurationGBeans(ConfigurationUtil.java:456)
>        at
> org.apache.geronimo.kernel.config.KernelConfigurationManager.start(KernelConfigurationManager.java:190)
>        at
> org.apache.geronimo.kernel.config.SimpleConfigurationManager.startConfiguration(SimpleConfigurationManager.java:546)
>        at sun.reflect.GeneratedMethodAccessor22.invoke(Unknown Source)
>        at
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
>        at java.lang.reflect.Method.invoke(Method.java:616)
>        at
> org.apache.geronimo.gbean.runtime.ReflectionMethodInvoker.invoke(ReflectionMethodInvoker.java:34)
>        at
> org.apache.geronimo.gbean.runtime.GBeanOperation.invoke(GBeanOperation.java:130)
>        at
> org.apache.geronimo.gbean.runtime.GBeanInstance.invoke(GBeanInstance.java:816)
>        at
> org.apache.geronimo.gbean.runtime.RawInvoker.invoke(RawInvoker.java:57)
>        at
> org.apache.geronimo.kernel.basic.RawOperationInvoker.invoke(RawOperationInvoker.java:35)
>        at
> org.apache.geronimo.kernel.basic.ProxyMethodInterceptor.intercept(ProxyMethodInterceptor.java:96)
>        at
> org.apache.geronimo.gbean.GBeanLifecycle$$EnhancerByCGLIB$$574e04df.startConfiguration(<generated>)
>        at
> org.apache.geronimo.system.main.EmbeddedDaemon.doStartup(EmbeddedDaemon.java:161)
>        at
> org.apache.geronimo.system.main.EmbeddedDaemon.execute(EmbeddedDaemon.java:78)
>        at
> org.apache.geronimo.kernel.util.MainConfigurationBootstrapper.main(MainConfigurationBootstrapper.java:45)
>        at
> org.apache.geronimo.cli.AbstractCLI.executeMain(AbstractCLI.java:65)
>        at org.apache.geronimo.cli.daemon.DaemonCLI.main(DaemonCLI.java:30)
> Caused by: org.apache.yoko.orb.CosNaming.tnaming.TransientServiceException:
> Unable to initialize name service
>        at
> org.apache.yoko.orb.CosNaming.tnaming.TransientNameService.initialize(TransientNameService.java:156)
>        at
> org.apache.geronimo.yoko.ORBConfigAdapter$1.run(ORBConfigAdapter.java:188)
>        at
> org.apache.geronimo.yoko.ORBConfigAdapter.createNameService(ORBConfigAdapter.java:191)
>        ... 25 more
> Caused by: org.omg.CORBA.COMM_FAILURE: bind() failed: Address already
> in use  vmcid: 0x41534000  minor code: 8  completed: No
>        at
> org.apache.yoko.orb.OCI.IIOP.Acceptor_impl.<init>(Acceptor_impl.java:542)
>        at
> org.apache.yoko.orb.OCI.IIOP.AccFactory_impl.create_acceptor(AccFactory_impl.java:163)
>        at
> org.apache.yoko.orb.OBPortableServer.POAManagerFactory_impl.create_POAManager(POAManagerFactory_impl.java:252)
>        at
> org.apache.yoko.orb.OB.ORBControl.initializeRootPOA(ORBControl.java:539)
>        at
> org.apache.yoko.orb.OBCORBA.ORB_impl.resolve_initial_references(ORB_impl.java:1098)
>        at
> org.apache.yoko.orb.CosNaming.tnaming.TransientNameService.initialize(TransientNameService.java:130)
>        ... 27 more
> Caused by: java.net.BindException: Address already in use
>        at java.net.PlainSocketImpl.socketBind(Native Method)
>        at
> java.net.AbstractPlainSocketImpl.bind(AbstractPlainSocketImpl.java:336)
>        at java.net.ServerSocket.bind(ServerSocket.java:336)
>        at java.net.ServerSocket.<init>(ServerSocket.java:202)
>        at
> org.apache.yoko.orb.OCI.IIOP.DefaultConnectionHelper.createServerSocket(DefaultConnectionHelper.java:55)
>        at
> org.apache.yoko.orb.OCI.IIOP.Acceptor_impl.<init>(Acceptor_impl.java:532)
>        ... 32 more
> [*****************                       ]  43%   8s Startup failed
> org.apache.geronimo.kernel.config.LifecycleException: start of
> org.apache.geronimo.configs/j2ee-corba-yoko/2.2/car failed
>        at
> org.apache.geronimo.kernel.config.SimpleConfigurationManager.startConfiguration(SimpleConfigurationManager.java:562)
>        at sun.reflect.GeneratedMethodAccessor22.invoke(Unknown Source)
>        at
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
>        at java.lang.reflect.Method.invoke(Method.java:616)
>        at
> org.apache.geronimo.gbean.runtime.ReflectionMethodInvoker.invoke(ReflectionMethodInvoker.java:34)
>        at
> org.apache.geronimo.gbean.runtime.GBeanOperation.invoke(GBeanOperation.java:130)
>        at
> org.apache.geronimo.gbean.runtime.GBeanInstance.invoke(GBeanInstance.java:816)
>        at
> org.apache.geronimo.gbean.runtime.RawInvoker.invoke(RawInvoker.java:57)
>        at
> org.apache.geronimo.kernel.basic.RawOperationInvoker.invoke(RawOperationInvoker.java:35)
>        at
> org.apache.geronimo.kernel.basic.ProxyMethodInterceptor.intercept(ProxyMethodInterceptor.java:96)
>        at
> org.apache.geronimo.gbean.GBeanLifecycle$$EnhancerByCGLIB$$574e04df.startConfiguration(<generated>)
>        at
> org.apache.geronimo.system.main.EmbeddedDaemon.doStartup(EmbeddedDaemon.java:161)
>        at
> org.apache.geronimo.system.main.EmbeddedDaemon.execute(EmbeddedDaemon.java:78)
>        at
> org.apache.geronimo.kernel.util.MainConfigurationBootstrapper.main(MainConfigurationBootstrapper.java:45)
>        at
> org.apache.geronimo.cli.AbstractCLI.executeMain(AbstractCLI.java:65)
>        at org.apache.geronimo.cli.daemon.DaemonCLI.main(DaemonCLI.java:30)
> Caused by: org.apache.geronimo.kernel.config.InvalidConfigException:
> Unknown start exception
>        at
> org.apache.geronimo.kernel.config.ConfigurationUtil.startConfigurationGBeans(ConfigurationUtil.java:522)
>        at
> org.apache.geronimo.kernel.config.KernelConfigurationManager.start(KernelConfigurationManager.java:190)
>        at
> org.apache.geronimo.kernel.config.SimpleConfigurationManager.startConfiguration(SimpleConfigurationManager.java:546)
>        ... 15 more
> Caused by: org.apache.geronimo.gbean.InvalidConfigurationException:
> Configuration org.apache.geronimo.configs/j2ee-corba-yoko/2.2/car
> failed to start due to the following reasons:
>  The service
> ServiceModule=org.apache.geronimo.configs/j2ee-corba-yoko/2.2/car,j2eeType=CORBANameService,name=NameServer
> did not start because Error starting transient name service on port
> 1050
>  The service
> ServiceModule=org.apache.geronimo.configs/j2ee-corba-yoko/2.2/car,j2eeType=CORBABean,name=Server
> did not start because
>
> org.apache.geronimo.configs/j2ee-corba-yoko/2.2/car?ServiceModule=org.apache.geronimo.configs/j2ee-corba-yoko/2.2/car,j2eeType=CORBANameService,name=NameServer
> did not start.
>  The service
> ServiceModule=org.apache.geronimo.configs/j2ee-corba-yoko/2.2/car,j2eeType=CORBABean,name=UnprotectedServer
> did not start because
>
> org.apache.geronimo.configs/j2ee-corba-yoko/2.2/car?ServiceModule=org.apache.geronimo.configs/j2ee-corba-yoko/2.2/car,j2eeType=CORBANameService,name=NameServer
> did not start.
>
>        at
> org.apache.geronimo.kernel.config.ConfigurationUtil.startConfigurationGBeans(ConfigurationUtil.java:485)
>        ... 17 more
> [*****************                       ]  43%   8s Startup failed
>        log4j:WARN No appenders could be found for logger
> (org.eclipse.jetty.util.log).
> log4j:WARN Please initialize the log4j system properly.
>
>
> --
> Tapas
>



-- 
Ivan

Mime
View raw message