geronimo-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jarek Gawor (JIRA)" <j...@apache.org>
Subject [jira] Resolved: (GERONIMO-4612) Incorrect level of org.omg.CORBA classes found. unable to start the server
Date Thu, 02 Apr 2009 14:33:13 GMT

     [ https://issues.apache.org/jira/browse/GERONIMO-4612?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Jarek Gawor resolved GERONIMO-4612.
-----------------------------------

    Resolution: Invalid

First of all, use the shell or batch scripts to start the server. Second, if you have to use
the java command line to start the server make sure you specify the right paths. If you are
executing from within the 'bin' directory the java.endorsed.dirs property should be set to
"../lib/endorsed", for example: -Djava.endorsed.dirs=../lib/endorsed 
But you should really be using the scripts anyway which will ensure all the properties are
set correctly. If you are getting some deployment exceptions that's a different issue. If
you still see the deployment issue use WASCE forum or Geronimo user mailing list to post the
problem.


>  Incorrect level of org.omg.CORBA classes found. unable to start the server
> ---------------------------------------------------------------------------
>
>                 Key: GERONIMO-4612
>                 URL: https://issues.apache.org/jira/browse/GERONIMO-4612
>             Project: Geronimo
>          Issue Type: Bug
>      Security Level: public(Regular issues) 
>         Environment: RHEL 4, WASCE 2.1 
>            Reporter: arun muthuraj v
>
> i am not able to start the Geronimo server, which comes along with WASCE. i am able to
start the WASCE. but when ever i try to deploy i m getting an exception. so i tried start
geronimo server by
> java -jar server.jar( this i gave /<WASCE home dir>/bin
> i also tried with 
> java -Djava.endorsed.dirs=lib/endorsed -javaagent:jpa.jar -jar server.jar
> but i getting the following exception.
> [root@master bin]#  java -Djava.endorsed.dirs=lib/endorsed -javaagent:jpa.jar -jar server.jar
> Booting Geronimo Kernel (in Java 1.5.0_18)...
> [****************                        ]  40%  10s Starting org.apache.ger...2009-04-02
16:25:04,271 ERROR [NameService] Incorrect level of org.omg.CORBA classes found.
> Likely cause is an incorrect java.endorsed.dirs configuration
> 2009-04-02 16:25:04,275 ERROR [GBeanInstanceState] Error while starting; GBean is now
in the FAILED state: abstractName="org.apache.geronimo.configs/j2ee-corba-yoko/2.1.3/car?ServiceModule=org.apache.geronimo.configs/j2ee-corba-yoko/2.1.3/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:998)
>         at org.apache.geronimo.gbean.runtime.GBeanInstanceState.attemptFullStart(GBeanInstanceState.java:268)
>         at org.apache.geronimo.gbean.runtime.GBeanInstanceState.start(GBeanInstanceState.java:102)
>         at org.apache.geronimo.gbean.runtime.GBeanInstance.start(GBeanInstance.java:541)
>         at org.apache.geronimo.gbean.runtime.GBeanDependency.attemptFullStart(GBeanDependency.java:111)
>         at org.apache.geronimo.gbean.runtime.GBeanDependency.addTarget(GBeanDependency.java:146)
>         at org.apache.geronimo.gbean.runtime.GBeanDependency$1.running(GBeanDependency.java:120)
>         at org.apache.geronimo.kernel.basic.BasicLifecycleMonitor.fireRunningEvent(BasicLifecycleMonitor.java:176)
>         at org.apache.geronimo.kernel.basic.BasicLifecycleMonitor.access$300(BasicLifecycleMonitor.java:44)
>         at org.apache.geronimo.kernel.basic.BasicLifecycleMonitor$RawLifecycleBroadcaster.fireRunningEvent(BasicLifecycleMonitor.java:254)
>         at org.apache.geronimo.gbean.runtime.GBeanInstanceState.attemptFullStart(GBeanInstanceState.java:294)
>         at org.apache.geronimo.gbean.runtime.GBeanInstanceState.start(GBeanInstanceState.java:102)
>         at org.apache.geronimo.gbean.runtime.GBeanInstanceState.startRecursive(GBeanInstanceState.java:124)
>         at org.apache.geronimo.gbean.runtime.GBeanInstance.startRecursive(GBeanInstance.java:555)
>         at org.apache.geronimo.kernel.basic.BasicKernel.startRecursiveGBean(BasicKernel.java:379)
>         at org.apache.geronimo.kernel.config.ConfigurationUtil.startConfigurationGBeans(ConfigurationUtil.java:456)
>         at org.apache.geronimo.kernel.config.KernelConfigurationManager.start(KernelConfigurationManager.java:188)
>         at org.apache.geronimo.kernel.config.SimpleConfigurationManager.startConfiguration(SimpleConfigurationManager.java:562)
>         at sun.reflect.GeneratedMethodAccessor49.invoke(Unknown Source)
>         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
>         at java.lang.reflect.Method.invoke(Method.java:585)
>         at org.apache.geronimo.gbean.runtime.ReflectionMethodInvoker.invoke(ReflectionMethodInvoker.java:34)
>         at org.apache.geronimo.gbean.runtime.GBeanOperation.invoke(GBeanOperation.java:124)
>         at org.apache.geronimo.gbean.runtime.GBeanInstance.invoke(GBeanInstance.java:832)
>         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.kernel.config.EditableConfigurationManager$$EnhancerByCGLIB$$a04957ed.startConfiguration(<generated>)
>         at org.apache.geronimo.system.main.EmbeddedDaemon.doStartup(EmbeddedDaemon.java:162)
>         at org.apache.geronimo.system.main.EmbeddedDaemon.execute(EmbeddedDaemon.java:79)
>         at org.apache.geronimo.kernel.util.MainConfigurationBootstrapper.main(MainConfigurationBootstrapper.java:45)
>         at org.apache.geronimo.cli.AbstractCLI.executeMain(AbstractCLI.java:67)
>         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.yoko.orb.CosNaming.tnaming.TransientNameService.run(TransientNameService.java:116)
>         at org.apache.geronimo.yoko.ORBConfigAdapter.createNameService(ORBConfigAdapter.java:175)
>         at org.apache.geronimo.corba.NameService.doStart(NameService.java:164)
>         ... 33 more
> 2009-04-02 16:25:04,303 ERROR [GBeanInstanceState] Error while starting; GBean is now
in the FAILED state: abstractName="org.apache.geronimo.configs/j2ee-corba-yoko/2.1.3/car?ServiceModule=org.apache.geronimo.configs/j2ee-corba-yoko/2.1.3/car,j2eeType=CORBANameService,name=NameServer"
> org.apache.geronimo.corba.security.config.ConfigException: Error starting transient name
service
>         at org.apache.geronimo.yoko.ORBConfigAdapter.createNameService(ORBConfigAdapter.java:179)
>         at org.apache.geronimo.corba.NameService.doStart(NameService.java:164)
>         at org.apache.geronimo.gbean.runtime.GBeanInstance.createInstance(GBeanInstance.java:998)
>         at org.apache.geronimo.gbean.runtime.GBeanInstanceState.attemptFullStart(GBeanInstanceState.java:268)
>         at org.apache.geronimo.gbean.runtime.GBeanInstanceState.start(GBeanInstanceState.java:102)
>         at org.apache.geronimo.gbean.runtime.GBeanInstanceState.startRecursive(GBeanInstanceState.java:124)
>         at org.apache.geronimo.gbean.runtime.GBeanInstance.startRecursive(GBeanInstance.java:555)
>         at org.apache.geronimo.kernel.basic.BasicKernel.startRecursiveGBean(BasicKernel.java:379)
>         at org.apache.geronimo.kernel.config.ConfigurationUtil.startConfigurationGBeans(ConfigurationUtil.java:456)
>         at org.apache.geronimo.kernel.config.KernelConfigurationManager.start(KernelConfigurationManager.java:188)
>         at org.apache.geronimo.kernel.config.SimpleConfigurationManager.startConfiguration(SimpleConfigurationManager.java:562)
>         at sun.reflect.GeneratedMethodAccessor49.invoke(Unknown Source)
>         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
>         at java.lang.reflect.Method.invoke(Method.java:585)
>         at org.apache.geronimo.gbean.runtime.ReflectionMethodInvoker.invoke(ReflectionMethodInvoker.java:34)
>         at org.apache.geronimo.gbean.runtime.GBeanOperation.invoke(GBeanOperation.java:124)
>         at org.apache.geronimo.gbean.runtime.GBeanInstance.invoke(GBeanInstance.java:832)
>         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.kernel.config.EditableConfigurationManager$$EnhancerByCGLIB$$a04957ed.startConfiguration(<generated>)
>         at org.apache.geronimo.system.main.EmbeddedDaemon.doStartup(EmbeddedDaemon.java:162)
>         at org.apache.geronimo.system.main.EmbeddedDaemon.execute(EmbeddedDaemon.java:79)
>         at org.apache.geronimo.kernel.util.MainConfigurationBootstrapper.main(MainConfigurationBootstrapper.java:45)
>         at org.apache.geronimo.cli.AbstractCLI.executeMain(AbstractCLI.java:67)
>         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.yoko.orb.CosNaming.tnaming.TransientNameService.run(TransientNameService.java:116)
>         at org.apache.geronimo.yoko.ORBConfigAdapter.createNameService(ORBConfigAdapter.java:175)
>         ... 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:475)
>         at org.apache.yoko.orb.OCI.IIOP.AccFactory_impl.create_acceptor(AccFactory_impl.java:159)
>         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.PlainSocketImpl.bind(PlainSocketImpl.java:359)
>         at java.net.ServerSocket.bind(ServerSocket.java:319)
>         at java.net.ServerSocket.<init>(ServerSocket.java:185)
>         at java.net.ServerSocket.<init>(ServerSocket.java:141)
>         at org.apache.yoko.orb.OCI.IIOP.DefaultConnectionHelper.createServerSocket(DefaultConnectionHelper.java:51)
>         at org.apache.yoko.orb.OCI.IIOP.Acceptor_impl.<init>(Acceptor_impl.java:465)
>         ... 32 more
> [****************                        ]  40%  11s Startup failed
> org.apache.geronimo.kernel.config.LifecycleException: start of org.apache.geronimo.configs/j2ee-corba-yoko/2.1.3/car
failed
>         at org.apache.geronimo.kernel.config.SimpleConfigurationManager.startConfiguration(SimpleConfigurationManager.java:579)
>         at sun.reflect.GeneratedMethodAccessor49.invoke(Unknown Source)
>         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
>         at java.lang.reflect.Method.invoke(Method.java:585)
>         at org.apache.geronimo.gbean.runtime.ReflectionMethodInvoker.invoke(ReflectionMethodInvoker.java:34)
>         at org.apache.geronimo.gbean.runtime.GBeanOperation.invoke(GBeanOperation.java:124)
>         at org.apache.geronimo.gbean.runtime.GBeanInstance.invoke(GBeanInstance.java:832)
>         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.kernel.config.EditableConfigurationManager$$EnhancerByCGLIB$$a04957ed.startConfiguration(<generated>)
>         at org.apache.geronimo.system.main.EmbeddedDaemon.doStartup(EmbeddedDaemon.java:162)
>         at org.apache.geronimo.system.main.EmbeddedDaemon.execute(EmbeddedDaemon.java:79)
>         at org.apache.geronimo.kernel.util.MainConfigurationBootstrapper.main(MainConfigurationBootstrapper.java:45)
>         at org.apache.geronimo.cli.AbstractCLI.executeMain(AbstractCLI.java:67)
>         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:188)
>         at org.apache.geronimo.kernel.config.SimpleConfigurationManager.startConfiguration(SimpleConfigurationManager.java:562)
>         ... 15 more
> Caused by: org.apache.geronimo.gbean.InvalidConfigurationException: Configuration org.apache.geronimo.configs/j2ee-corba-yoko/2.1.3/car
failed to start due to the following reasons:
>   The service ServiceModule=org.apache.geronimo.configs/j2ee-corba-yoko/2.1.3/car,j2eeType=CORBANameService,name=NameServer
did not start because Error starting transient name service
>   The service ServiceModule=org.apache.geronimo.configs/j2ee-corba-yoko/2.1.3/car,j2eeType=CORBABean,name=Server
did not start because org.apache.geronimo.configs/j2ee-corba-yoko/2.1.3/car?ServiceModule=org.apache.geronimo.configs/j2ee-corba-yoko/2.1.3/car,j2eeType=CORBANameService,name=NameServer
did not start.
>   The service ServiceModule=org.apache.geronimo.configs/j2ee-corba-yoko/2.1.3/car,j2eeType=CORBABean,name=UnprotectedServer
did not start because org.apache.geronimo.configs/j2ee-corba-yoko/2.1.3/car?ServiceModule=org.apache.geronimo.configs/j2ee-corba-yoko/2.1.3/car,j2eeType=CORBANameService,name=NameServer
did not start.
>         at org.apache.geronimo.kernel.config.ConfigurationUtil.startConfigurationGBeans(ConfigurationUtil.java:485)
>         ... 17 more
> [****************                        ]  40%  19s Startup failed 

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message