Geronimo Problem - Error starting transient name service on port 1050

Thursday, 23 February 2012 08:17

Geronimo Apache 3.0 problem starting
Geronimo troubleshooting Troubleshooting Geronimo

Affected versions

 Name  Version
 Geronimo Apache version 3.0
OS Windows XP SP3

Failed to start ActiveMQ  Error starting transient name service on port 1050

If you get an error starting geronimo

Geronimo 3.0 problem starting


AnnotationsConfigurator2012-02-23 09:08:22,680 ERROR [GBeanInstanceState] Error while starting; GBean is now in the FAILED state: abstractName="org.apache.geronimo.configs/j2ee-corba-yoko/3.0-beta-1/car?ServiceModule=org.apache.geronimo.configs/j2ee-corba-yoko/3.0-beta-1/car,j2eeType=CORBANameService,name=NameServer"
 GBeanInstanceStateorg.apache.geronimo.corba.security.config.ConfigException: Error starting transient name service on port 1050
    at org.apache.geronimo.yoko.ORBConfigAdapter.createNameService(ORBConfigAdapter.java:191)
    at org.apache.geronimo.corba.NameService.doStart(NameService.java:164)
    at org.apache.geronimo.gbean.runtime.GBeanInstance.createInstance(GBeanInstance.java:1000)
    at org.apache.geronimo.gbean.runtime.GBeanInstanceState.attemptFullStart(GBeanInstanceState.java:271)
    at org.apache.geronimo.gbean.runtime.GBeanInstanceState.start(GBeanInstanceState.java:105)
    at org.apache.geronimo.gbean.runtime.GBeanInstance.start(GBeanInstance.java:555)
    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)

        ................

Fix problem starting geronimo 3.0 due to conflict with Corba name service port 1050 As a solution you need to resolve the port conflict

Usually this problem is caused by port conflict. Corba name service is using the port 1050 as a listening port. You have two solutions :

Shutdown the application using the port 1050

Identify the process id of the conflicting process

Netstat to identify conflicting process for port 1050

> netstat -anb |find /i "listening"

Result should look like:

TCP    0.0.0.0:135            0.0.0.0:0              LISTENING       1984
TCP    0.0.0.0:445            0.0.0.0:0              LISTENING       4
TCP    0.0.0.0:3389           0.0.0.0:0              LISTENING       1904
TCP    0.0.0.0:33115          0.0.0.0:0              LISTENING       1508
TCP    0.0.0.0:50313          0.0.0.0:0              LISTENING       2932
TCP    10.137.176.162:139     0.0.0.0:0              LISTENING       4
TCP    127.0.0.1:1050         0.0.0.0:0              LISTENING       1580
TCP    127.0.0.1:5152         0.0.0.0:0              LISTENING       1096

The process id is 1580

You can now use your Windows Task Manager and kill the process identified with the PID 1580

Change the Naming port

Open the port in the file /var/config/config-substitutions.properties

Change the line

COSNamingPort = 1050

with

COSNamingPort = 1051

Tags: test , geronimo , error , apache , service , port , 1050 , problem , starting , transient

Add comment


Security code
Refresh