geronimo-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Kevan Miller <kevan.mil...@gmail.com>
Subject Re: Geronimo Error
Date Mon, 09 Mar 2009 15:37:49 GMT

On Mar 9, 2009, at 10:35 AM, Russell Collins wrote:

> I am new to Geronimo 2.  When I am starting the Apache Geronimo  
> server, I am getting this error.  Where do I need to look in order  
> to start troubleshooting and correcting this
>
>
> Module 23/70 org.apache.geronimo.configs/j2ee-corba-yoko/2.1.3/ 
> car                08:51:47,988 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.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.GeneratedMethodAccessor23.invoke(Unknown Source)
>      at  
> sun 
> .reflect 
> .DelegatingMethodAccessorImpl 
> .invoke(DelegatingMethodAccessorImpl.java:25)
>      at java.lang.reflect.Method.invoke(Method.java:597)
>      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.gbean.GBeanLifecycle$$EnhancerByCGLIB$ 
> $2d0e8aec.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

Hi Russell,
Looks like you've got a conflict on port 1050 (the default COS Naming  
port address). By default, Geronimo will use the following ports:

   Listening on Ports:
     1050  0.0.0.0 CORBA Naming Service
     1099  0.0.0.0 RMI Naming
     1527  0.0.0.0 Derby Connector
     2001  0.0.0.0 OpenEJB ORB Adapter
     4201  0.0.0.0 OpenEJB Daemon
     6882  0.0.0.0 OpenEJB ORB Adapter
     8009  0.0.0.0 Tomcat Connector AJP AJP
     8080  0.0.0.0 Tomcat Connector HTTP BIO HTTP
     8443  0.0.0.0 Tomcat Connector HTTPS BIO HTTPS
     9999  0.0.0.0 JMX Remoting Connector
    61613 0.0.0.0 ActiveMQ Transport Connector
    61616 0.0.0.0 ActiveMQ Transport Connector

You can either stop (or reconfigure) the process on your system that  
is already using port 1050. Or, you can customize the Geronimo port  
numbers by editing the file var/config/config-substitutions.properties  
where you'll find hopefully helpful properties like:

COSNamingPort=1050
NamingPort=1099
...

Would be nice if we could get more reasonable error messages for this  
type of issue -- even suggest on ways to fix the problem. Feel free to  
raise a Jira!

--kevan

Mime
View raw message