File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Other Java Products and Servers and the fly likes Geronimo: Error starting transient name service on port 1050 - But it's Geronimo who does start it Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Products » Other Java Products and Servers
Bookmark "Geronimo: Error starting transient name service on port 1050 - But it Watch "Geronimo: Error starting transient name service on port 1050 - But it New topic

Geronimo: Error starting transient name service on port 1050 - But it's Geronimo who does start it

Jussi Taimiaho
Ranch Hand

Joined: Mar 01, 2004
Posts: 40
I've searched for quite some time solutions for this, and all reasons I've found do not help me.

When Geronimo 3.0.0 is not running, I check with netstat, that the port 1050 most definetely is not in use. And I go for:
> bin/geronimo run

Watching the logs roll by, I see that one again: Error starting transient name service on port 1050 .

And yes, netstat shows that "java" is using the port. Something wrong(?) with the port, fine:
>vi var/config/ ===> COSNamingPort = 10500
> bin/geronimo run

... lo and behold: " Error starting transient name service on port 10500 "

Thats corba port, taking it out from starting components does remove the error - but of course breaks the server in so many other ways.

Any help, most warmly welcome.


Stack traces:
2013-02-14 10:06:48,425 ERROR [GBeanInstanceState] Error while starting; GBean is now in the FAILED state: abstractName="org.apache.geronimo.configs/j2ee-corba-yoko/3.0.0/car?ServiceModule=org.apache.geronimo.configs/j2ee-corba-yoko/3.0.0/car,j2eeType=CORBANameService,name=NameServer" Error starting transient name service on port 1050
at org.apache.geronimo.yoko.ORBConfigAdapter.createNameService(
at org.apache.geronimo.corba.NameService.doStart(
at org.apache.geronimo.gbean.runtime.GBeanInstance.createInstance(
at org.apache.geronimo.gbean.runtime.GBeanInstanceState.attemptFullStart(
at org.apache.geronimo.gbean.runtime.GBeanInstanceState.start(
at org.apache.geronimo.gbean.runtime.GBeanInstanceState.startRecursive(
at org.apache.geronimo.gbean.runtime.GBeanInstance.startRecursive(
at org.apache.geronimo.kernel.basic.BasicKernel.startRecursiveGBean(
at org.apache.geronimo.kernel.config.ConfigurationUtil.startConfigurationGBeans(
at org.apache.geronimo.kernel.config.KernelConfigurationManager.start(
at org.apache.geronimo.kernel.config.SimpleConfigurationManager.startConfiguration(
at org.apache.geronimo.system.main.EmbeddedDaemon.doStartup(
at org.apache.geronimo.system.main.EmbeddedDaemon.execute(
at org.apache.geronimo.system.osgi.BootActivator$1.execute(
at org.apache.geronimo.main.Bootstrapper.execute(
at org.apache.geronimo.cli.AbstractCLI.executeMain(
at org.apache.geronimo.cli.daemon.DaemonCLI.main(
Caused by: org.apache.yoko.orb.CosNaming.tnaming.TransientServiceException: Unable to initialize name service
at org.apache.yoko.orb.CosNaming.tnaming.TransientNameService.initialize(
at org.apache.geronimo.yoko.ORBConfigAdapter$
at org.apache.geronimo.yoko.ORBConfigAdapter.createNameService(
... 16 more
Caused by: org.omg.CORBA.COMM_FAILURE: bind() failed: Address already in use: vmcid: Apache minor code: 0x8 completed: No
at org.apache.yoko.orb.OCI.IIOP.Acceptor_impl.<init>(
at org.apache.yoko.orb.OCI.IIOP.AccFactory_impl.create_acceptor(
at org.apache.yoko.orb.OBPortableServer.POAManagerFactory_impl.create_POAManager(
at org.apache.yoko.orb.OB.ORBControl.initializeRootPOA(
at org.apache.yoko.orb.OBCORBA.ORB_impl.resolve_initial_references(
at org.apache.yoko.orb.CosNaming.tnaming.TransientNameService.initialize(
... 18 more
Caused by: Address already in use
at Method)
at org.apache.yoko.orb.OCI.IIOP.DefaultConnectionHelper.createServerSocket(
at org.apache.yoko.orb.OCI.IIOP.Acceptor_impl.<init>(
... 23 more
I agree. Here's the link:
subject: Geronimo: Error starting transient name service on port 1050 - But it's Geronimo who does start it
It's not a secret anymore!