You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@geronimo.apache.org by "Arthur Ryman (JIRA)" <ji...@apache.org> on 2006/12/25 18:05:20 UTC

[jira] Created: (GERONIMODEVTOOLS-126) Geronimo Fails to Start: Port 1099 in Use

Geronimo Fails to Start: Port 1099 in Use
-----------------------------------------

                 Key: GERONIMODEVTOOLS-126
                 URL: http://issues.apache.org/jira/browse/GERONIMODEVTOOLS-126
             Project: Geronimo-Devtools
          Issue Type: Bug
         Environment: Windows XP, WTP 1.5.2, Geronimo 1.1 with Tomcat
            Reporter: Arthur Ryman


I installed Geronim 1.1 with Tomcat via the Server tools in a fresh WTP workspace. I created a JSP and tried to run it. Geronimo failed to start because it complained the port 1099 was in use. I edited the configuration, changing the port to 8099 and restarted, but it still failed. It still tried to use 1099. The new configuration wasn't read. BTW, how do I verify that 1099 really is in use? I don't know why it would be.

Here is the console in DEBUG mode:

Booting Geronimo Kernel (in Java 1.4.2)...
11:41:37,343 DEBUG [Daemon] java.endorsed.dirs=E:\ibm-java2-142\jre\lib\endorsed;E:\geronimo-1.1\geronimo-1.1.1\lib\endorsed
11:41:37,343 DEBUG [Daemon] java.ext.dirs=E:\ibm-java2-142\jre\lib\ext;E:\geronimo-1.1\geronimo-1.1.1\lib\ext
11:41:37,353 DEBUG [BasicKernel] Starting boot
11:41:37,563 DEBUG [GBeanInstanceState] GBeanInstanceState for: geronimo/boot/none/car?role=kernel State changed from stopped to starting
11:41:37,563 DEBUG [GBeanInstanceState] GBeanInstanceState for: geronimo/boot/none/car?role=kernel State changed from starting to running
11:41:37,563 DEBUG [BasicKernel] Booted
11:41:37,664 DEBUG [GBeanInstanceState] GBeanInstanceState for: geronimo/j2ee-system/1.1.1/car?configurationName=geronimo/j2ee-system/1.1.1/car State changed from stopped to starting
11:41:37,674 DEBUG [Configuration] ClassLoader structure for configuration geronimo/j2ee-system/1.1.1/car
Parent configurations:
ClassPath:

11:41:37,804 DEBUG [Configuration] Started configuration geronimo/j2ee-system/1.1.1/car
11:41:37,804 DEBUG [GBeanInstanceState] GBeanInstanceState for: geronimo/j2ee-system/1.1.1/car?configurationName=geronimo/j2ee-system/1.1.1/car State changed from starting to running
11:41:38,154 DEBUG [GBeanInstanceState] GBeanInstanceState for: geronimo/j2ee-system/1.1.1/car?ServiceModule=geronimo/j2ee-system/1.1.1/car,j2eeType=Repository,name=Repository State changed from stopped to starting
11:41:38,154 DEBUG [GBeanSingleReference] Waiting to start geronimo/j2ee-system/1.1.1/car?ServiceModule=geronimo/j2ee-system/1.1.1/car,j2eeType=Repository,name=Repository because no targets are running for reference ServerInfo matching the patterns geronimo/j2ee-system/1.1.1/car?ServiceModule=geronimo/j2ee-system/1.1.1/car,j2eeType=GBean,name=ServerInfo
11:41:38,154 DEBUG [GBeanInstanceState] GBeanInstanceState for: geronimo/j2ee-system/1.1.1/car?ServiceModule=geronimo/j2ee-system/1.1.1/car,j2eeType=SystemLog,name=Logger State changed from stopped to starting
11:41:38,285 DEBUG [GBeanSingleReference] Waiting to start geronimo/j2ee-system/1.1.1/car?ServiceModule=geronimo/j2ee-system/1.1.1/car,j2eeType=SystemLog,name=Logger because no targets are running for reference ServerInfo matching the patterns geronimo/j2ee-system/1.1.1/car?ServiceModule=geronimo/j2ee-system/1.1.1/car,j2eeType=GBean,name=ServerInfo
11:41:38,285 DEBUG [GBeanInstanceState] GBeanInstanceState for: geronimo/j2ee-system/1.1.1/car?ServiceModule=geronimo/j2ee-system/1.1.1/car,j2eeType=ArtifactManager,name=ArtifactManager State changed from stopped to starting
11:41:38,285 DEBUG [GBeanInstanceState] GBeanInstanceState for: geronimo/j2ee-system/1.1.1/car?ServiceModule=geronimo/j2ee-system/1.1.1/car,j2eeType=ArtifactManager,name=ArtifactManager State changed from starting to running
11:41:38,285 DEBUG [GBeanInstanceState] GBeanInstanceState for: geronimo/j2ee-system/1.1.1/car?ServiceModule=geronimo/j2ee-system/1.1.1/car,j2eeType=ArtifactResolver,name=ArtifactResolver State changed from stopped to starting
11:41:38,355 DEBUG [GBeanInstanceState] GBeanInstanceState for: geronimo/j2ee-system/1.1.1/car?ServiceModule=geronimo/j2ee-system/1.1.1/car,j2eeType=ArtifactResolver,name=ArtifactResolver State changed from starting to running
11:41:38,355 DEBUG [GBeanInstanceState] GBeanInstanceState for: geronimo/j2ee-system/1.1.1/car?ServiceModule=geronimo/j2ee-system/1.1.1/car,j2eeType=ConfigurationManager,name=ConfigurationManager State changed from stopped to starting
11:41:38,355 DEBUG [GBeanSingleReference] Waiting to start geronimo/j2ee-system/1.1.1/car?ServiceModule=geronimo/j2ee-system/1.1.1/car,j2eeType=ConfigurationManager,name=ConfigurationManager because no targets are running for reference PersistentConfigurationList matching the patterns geronimo/j2ee-system/1.1.1/car?ServiceModule=geronimo/j2ee-system/1.1.1/car,j2eeType=AttributeStore,name=AttributeManager
11:41:38,385 DEBUG [GBeanSingleReference] Waiting to start geronimo/j2ee-system/1.1.1/car?ServiceModule=geronimo/j2ee-system/1.1.1/car,j2eeType=ConfigurationManager,name=ConfigurationManager because no targets are running for reference AttributeStore matching the patterns geronimo/j2ee-system/1.1.1/car?ServiceModule=geronimo/j2ee-system/1.1.1/car,j2eeType=AttributeStore,name=AttributeManager
11:41:38,385 DEBUG [GBeanInstanceState] Checking if parent is running: parent=geronimo/j2ee-system/1.1.1/car?configurationName=geronimo/j2ee-system/1.1.1/car
11:41:38,395 DEBUG [GBeanInstanceState] Parent is running: parent=geronimo/j2ee-system/1.1.1/car?configurationName=geronimo/j2ee-system/1.1.1/car
11:41:38,395 DEBUG [GBeanInstanceState] Checking if parent is running: parent=geronimo/j2ee-system/1.1.1/car?ServiceModule=geronimo/j2ee-system/1.1.1/car,j2eeType=ArtifactResolver,name=ArtifactResolver
11:41:38,395 DEBUG [GBeanInstanceState] Parent is running: parent=geronimo/j2ee-system/1.1.1/car?ServiceModule=geronimo/j2ee-system/1.1.1/car,j2eeType=ArtifactResolver,name=ArtifactResolver
11:41:38,395 DEBUG [GBeanSingleReference] Waiting to start geronimo/j2ee-system/1.1.1/car?ServiceModule=geronimo/j2ee-system/1.1.1/car,j2eeType=ConfigurationManager,name=ConfigurationManager because no targets are running for reference PersistentConfigurationList matching the patterns geronimo/j2ee-system/1.1.1/car?ServiceModule=geronimo/j2ee-system/1.1.1/car,j2eeType=AttributeStore,name=AttributeManager
11:41:38,395 DEBUG [GBeanSingleReference] Waiting to start geronimo/j2ee-system/1.1.1/car?ServiceModule=geronimo/j2ee-system/1.1.1/car,j2eeType=ConfigurationManager,name=ConfigurationManager because no targets are running for reference AttributeStore matching the patterns geronimo/j2ee-system/1.1.1/car?ServiceModule=geronimo/j2ee-system/1.1.1/car,j2eeType=AttributeStore,name=AttributeManager
11:41:38,395 DEBUG [GBeanInstanceState] GBeanInstanceState for: geronimo/j2ee-system/1.1.1/car?ServiceModule=geronimo/j2ee-system/1.1.1/car,j2eeType=ConfigurationStore,name=Local State changed from stopped to starting
11:41:38,395 DEBUG [GBeanSingleReference] Waiting to start geronimo/j2ee-system/1.1.1/car?ServiceModule=geronimo/j2ee-system/1.1.1/car,j2eeType=ConfigurationStore,name=Local because no targets are running for reference Repository matching the patterns geronimo/j2ee-system/1.1.1/car?ServiceModule=geronimo/j2ee-system/1.1.1/car,j2eeType=Repository,name=Repository
11:41:38,395 DEBUG [GBeanInstanceState] GBeanInstanceState for: geronimo/j2ee-system/1.1.1/car?ServiceModule=geronimo/j2ee-system/1.1.1/car,j2eeType=AttributeStore,name=AttributeManager State changed from stopped to starting
11:41:38,395 DEBUG [GBeanSingleReference] Waiting to start geronimo/j2ee-system/1.1.1/car?ServiceModule=geronimo/j2ee-system/1.1.1/car,j2eeType=AttributeStore,name=AttributeManager because no targets are running for reference ServerInfo matching the patterns geronimo/j2ee-system/1.1.1/car?ServiceModule=geronimo/j2ee-system/1.1.1/car,j2eeType=GBean,name=ServerInfo
11:41:38,395 DEBUG [GBeanInstanceState] GBeanInstanceState for: geronimo/j2ee-system/1.1.1/car?ServiceModule=geronimo/j2ee-system/1.1.1/car,j2eeType=GBean,name=ServerInfo State changed from stopped to starting
11:41:38,405 DEBUG [GBeanInstanceState] GBeanInstanceState for: geronimo/j2ee-system/1.1.1/car?ServiceModule=geronimo/j2ee-system/1.1.1/car,j2eeType=GBean,name=ServerInfo State changed from starting to running
11:41:38,405 DEBUG [GBeanInstanceState] Checking if parent is running: parent=geronimo/j2ee-system/1.1.1/car?configurationName=geronimo/j2ee-system/1.1.1/car
11:41:38,405 DEBUG [GBeanInstanceState] Parent is running: parent=geronimo/j2ee-system/1.1.1/car?configurationName=geronimo/j2ee-system/1.1.1/car
11:41:38,495 DEBUG [URLConfigurator] Configuring from URL: file:/E:/geronimo-1.1/geronimo-1.1.1/var/log/server-log4j.properties
11:41:38,565 DEBUG [URLConfigurator] Content type: content/unknown
11:41:38,565 DEBUG [URLConfigurator] Configuring Log4j using configurator: org.apache.log4j.PropertyConfigurator@2eb27a16, repository: org.apache.log4j.Hierarchy@75bcfa15
11:41:40,688 WARN  [RMIRegistryService] RMI Registry failed
11:41:40,688 ERROR [GBeanInstanceState] Error while starting; GBean is now in the FAILED state: abstractName="geronimo/rmi-naming/1.1.1/car?ServiceModule=geronimo/rmi-naming/1.1.1/car,j2eeType=GBean,name=RMIRegistry"
java.rmi.server.ExportException: Port already in use: 1099; nested exception is: 
	java.net.BindException: Address already in use: NET_Bind
	at sun.rmi.transport.tcp.TCPTransport.listen(TCPTransport.java:283)
	at sun.rmi.transport.tcp.TCPTransport.exportObject(TCPTransport.java:218)
	at sun.rmi.transport.tcp.TCPEndpoint.exportObject(TCPEndpoint.java:400)
	at sun.rmi.transport.LiveRef.exportObject(LiveRef.java:134)
	at sun.rmi.server.UnicastServerRef.exportObject(UnicastServerRef.java:163)
	at sun.rmi.registry.RegistryImpl.setup(RegistryImpl.java:110)
	at sun.rmi.registry.RegistryImpl.<init>(RegistryImpl.java:96)
	at java.rmi.registry.LocateRegistry.createRegistry(LocateRegistry.java:189)
	at org.apache.geronimo.system.rmi.RMIRegistryService.doStart(RMIRegistryService.java:58)
	at org.apache.geronimo.gbean.runtime.GBeanInstance.createInstance(GBeanInstance.java:981)
	at org.apache.geronimo.gbean.runtime.GBeanInstanceState.attemptFullStart(GBeanInstanceState.java:267)
	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:540)
	at org.apache.geronimo.kernel.basic.BasicKernel.startRecursiveGBean(BasicKernel.java:379)
	at org.apache.geronimo.kernel.config.ConfigurationUtil.startConfigurationGBeans(ConfigurationUtil.java:374)
	at org.apache.geronimo.kernel.config.KernelConfigurationManager.start(KernelConfigurationManager.java:187)
	at org.apache.geronimo.kernel.config.SimpleConfigurationManager.startConfiguration(SimpleConfigurationManager.java:527)
	at org.apache.geronimo.kernel.config.SimpleConfigurationManager.startConfiguration(SimpleConfigurationManager.java:508)
	at org.apache.geronimo.kernel.config.SimpleConfigurationManager$$FastClassByCGLIB$$ce77a924.invoke(<generated>)
	at net.sf.cglib.reflect.FastMethod.invoke(FastMethod.java:53)
	at org.apache.geronimo.gbean.runtime.FastMethodInvoker.invoke(FastMethodInvoker.java:38)
	at org.apache.geronimo.gbean.runtime.GBeanOperation.invoke(GBeanOperation.java:122)
	at org.apache.geronimo.gbean.runtime.GBeanInstance.invoke(GBeanInstance.java:817)
	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$$949f354c.startConfiguration(<generated>)
	at org.apache.geronimo.system.main.Daemon.doStartup(Daemon.java:297)
	at org.apache.geronimo.system.main.Daemon.<init>(Daemon.java:74)
	at org.apache.geronimo.system.main.Daemon.main(Daemon.java:377)
Caused by: java.net.BindException: Address already in use: NET_Bind
	at java.net.PlainSocketImpl.socketBind(Native Method)
	at java.net.PlainSocketImpl.bind(PlainSocketImpl.java:362)
	at java.net.ServerSocket.bind(ServerSocket.java:341)
	at java.net.ServerSocket.<init>(ServerSocket.java:208)
	at java.net.ServerSocket.<init>(ServerSocket.java:120)
	at sun.rmi.transport.proxy.RMIDirectSocketFactory.createServerSocket(RMIDirectSocketFactory.java:45)
	at sun.rmi.transport.proxy.RMIMasterSocketFactory.createServerSocket(RMIMasterSocketFactory.java:349)
	at sun.rmi.transport.tcp.TCPEndpoint.newServerSocket(TCPEndpoint.java:633)
	at sun.rmi.transport.tcp.TCPTransport.listen(TCPTransport.java:271)
	... 30 more
11:41:40,818 DEBUG [GBeanSingleReference] Waiting to start geronimo/rmi-naming/1.1.1/car?ServiceModule=geronimo/rmi-naming/1.1.1/car,j2eeType=GBean,name=MBeanServerKernelBridge because no targets are running for reference MBeanServerReference matching the patterns geronimo/rmi-naming/1.1.1/car?ServiceModule=geronimo/rmi-naming/1.1.1/car,j2eeType=GBean,name=MBeanServerReference
Geronimo startup failed:
org.apache.geronimo.kernel.config.LifecycleException: start of geronimo/rmi-naming/1.1.1/car failed
	at org.apache.geronimo.kernel.config.SimpleConfigurationManager.startConfiguration(SimpleConfigurationManager.java:544)
	at org.apache.geronimo.kernel.config.SimpleConfigurationManager.startConfiguration(SimpleConfigurationManager.java:508)
	at org.apache.geronimo.kernel.config.SimpleConfigurationManager$$FastClassByCGLIB$$ce77a924.invoke(<generated>)
	at net.sf.cglib.reflect.FastMethod.invoke(FastMethod.java:53)
	at org.apache.geronimo.gbean.runtime.FastMethodInvoker.invoke(FastMethodInvoker.java:38)
	at org.apache.geronimo.gbean.runtime.GBeanOperation.invoke(GBeanOperation.java:122)
	at org.apache.geronimo.gbean.runtime.GBeanInstance.invoke(GBeanInstance.java:817)
	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$$949f354c.startConfiguration(<generated>)
	at org.apache.geronimo.system.main.Daemon.doStartup(Daemon.java:297)
	at org.apache.geronimo.system.main.Daemon.<init>(Daemon.java:74)
	at org.apache.geronimo.system.main.Daemon.main(Daemon.java:377)
Caused by: org.apache.geronimo.kernel.config.InvalidConfigException: Unknown start exception
	at org.apache.geronimo.kernel.config.ConfigurationUtil.startConfigurationGBeans(ConfigurationUtil.java:440)
	at org.apache.geronimo.kernel.config.KernelConfigurationManager.start(KernelConfigurationManager.java:187)
	at org.apache.geronimo.kernel.config.SimpleConfigurationManager.startConfiguration(SimpleConfigurationManager.java:527)
	... 13 more
Caused by: org.apache.geronimo.gbean.InvalidConfigurationException: Configuration geronimo/rmi-naming/1.1.1/car failed to start due to the following reasons:
  The service ServiceModule=geronimo/rmi-naming/1.1.1/car,j2eeType=GBean,name=RMIRegistry did not start because the doStart method threw an exception. 
java.rmi.server.ExportException: Port already in use: 1099; nested exception is: 
	java.net.BindException: Address already in use: NET_Bind
	at sun.rmi.transport.tcp.TCPTransport.listen(TCPTransport.java:283)
	at sun.rmi.transport.tcp.TCPTransport.exportObject(TCPTransport.java:218)
	at sun.rmi.transport.tcp.TCPEndpoint.exportObject(TCPEndpoint.java:400)
	at sun.rmi.transport.LiveRef.exportObject(LiveRef.java:134)
	at sun.rmi.server.UnicastServerRef.exportObject(UnicastServerRef.java:163)
	at sun.rmi.registry.RegistryImpl.setup(RegistryImpl.java:110)
	at sun.rmi.registry.RegistryImpl.<init>(RegistryImpl.java:96)
	at java.rmi.registry.LocateRegistry.createRegistry(LocateRegistry.java:189)
	at org.apache.geronimo.system.rmi.RMIRegistryService.doStart(RMIRegistryService.java:58)
	at org.apache.geronimo.gbean.runtime.GBeanInstance.createInstance(GBeanInstance.java:981)
	at org.apache.geronimo.gbean.runtime.GBeanInstanceState.attemptFullStart(GBeanInstanceState.java:267)
	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:540)
	at org.apache.geronimo.kernel.basic.BasicKernel.startRecursiveGBean(BasicKernel.java:379)
	at org.apache.geronimo.kernel.config.ConfigurationUtil.startConfigurationGBeans(ConfigurationUtil.java:374)
	at org.apache.geronimo.kernel.config.KernelConfigurationManager.start(KernelConfigurationManager.java:187)
	at org.apache.geronimo.kernel.config.SimpleConfigurationManager.startConfiguration(SimpleConfigurationManager.java:527)
	at org.apache.geronimo.kernel.config.SimpleConfigurationManager.startConfiguration(SimpleConfigurationManager.java:508)
	at org.apache.geronimo.kernel.config.SimpleConfigurationManager$$FastClassByCGLIB$$ce77a924.invoke(<generated>)
	at net.sf.cglib.reflect.FastMethod.invoke(FastMethod.java:53)
	at org.apache.geronimo.gbean.runtime.FastMethodInvoker.invoke(FastMethodInvoker.java:38)
	at org.apache.geronimo.gbean.runtime.GBeanOperation.invoke(GBeanOperation.java:122)
	at org.apache.geronimo.gbean.runtime.GBeanInstance.invoke(GBeanInstance.java:817)
	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$$949f354c.startConfiguration(<generated>)
	at org.apache.geronimo.system.main.Daemon.doStartup(Daemon.java:297)
	at org.apache.geronimo.system.main.Daemon.<init>(Daemon.java:74)
	at org.apache.geronimo.system.main.Daemon.main(Daemon.java:377)
Caused by: java.net.BindException: Address already in use: NET_Bind
	at java.net.PlainSocketImpl.socketBind(Native Method)
	at java.net.PlainSocketImpl.bind(PlainSocketImpl.java:362)
	at java.net.ServerSocket.bind(ServerSocket.java:341)
	at java.net.ServerSocket.<init>(ServerSocket.java:208)
	at java.net.ServerSocket.<init>(ServerSocket.java:120)
	at sun.rmi.transport.proxy.RMIDirectSocketFactory.createServerSocket(RMIDirectSocketFactory.java:45)
	at sun.rmi.transport.proxy.RMIMasterSocketFactory.createServerSocket(RMIMasterSocketFactory.java:349)
	at sun.rmi.transport.tcp.TCPEndpoint.newServerSocket(TCPEndpoint.java:633)
	at sun.rmi.transport.tcp.TCPTransport.listen(TCPTransport.java:271)
	... 30 more


	at org.apache.geronimo.kernel.config.ConfigurationUtil.startConfigurationGBeans(ConfigurationUtil.java:403)
	... 15 more

Server shutdown begun              
Server shutdown completed


-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] Commented: (GERONIMODEVTOOLS-126) Geronimo Fails to Start: Port 1099 in Use

Posted by "Arthur Ryman (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/GERONIMODEVTOOLS-126?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12463081 ] 

Arthur Ryman commented on GERONIMODEVTOOLS-126:
-----------------------------------------------

Sachin,

I don't understand your comment. When I change the port in Eclipse it should propagate that change to the server. That is the whole point of a server configuration editor, i.e. to relieve users of understanding the file format used by the server.

Thx.

> Geronimo Fails to Start: Port 1099 in Use
> -----------------------------------------
>
>                 Key: GERONIMODEVTOOLS-126
>                 URL: https://issues.apache.org/jira/browse/GERONIMODEVTOOLS-126
>             Project: Geronimo-Devtools
>          Issue Type: Bug
>         Environment: Windows XP, WTP 1.5.2, Geronimo 1.1 with Tomcat
>            Reporter: Arthur Ryman
>
> I installed Geronim 1.1 with Tomcat via the Server tools in a fresh WTP workspace. I created a JSP and tried to run it. Geronimo failed to start because it complained the port 1099 was in use. I edited the configuration, changing the port to 8099 and restarted, but it still failed. It still tried to use 1099. The new configuration wasn't read. BTW, how do I verify that 1099 really is in use? I don't know why it would be.
> Here is the console in DEBUG mode:
> Booting Geronimo Kernel (in Java 1.4.2)...
> 11:41:37,343 DEBUG [Daemon] java.endorsed.dirs=E:\ibm-java2-142\jre\lib\endorsed;E:\geronimo-1.1\geronimo-1.1.1\lib\endorsed
> 11:41:37,343 DEBUG [Daemon] java.ext.dirs=E:\ibm-java2-142\jre\lib\ext;E:\geronimo-1.1\geronimo-1.1.1\lib\ext
> 11:41:37,353 DEBUG [BasicKernel] Starting boot
> 11:41:37,563 DEBUG [GBeanInstanceState] GBeanInstanceState for: geronimo/boot/none/car?role=kernel State changed from stopped to starting
> 11:41:37,563 DEBUG [GBeanInstanceState] GBeanInstanceState for: geronimo/boot/none/car?role=kernel State changed from starting to running
> 11:41:37,563 DEBUG [BasicKernel] Booted
> 11:41:37,664 DEBUG [GBeanInstanceState] GBeanInstanceState for: geronimo/j2ee-system/1.1.1/car?configurationName=geronimo/j2ee-system/1.1.1/car State changed from stopped to starting
> 11:41:37,674 DEBUG [Configuration] ClassLoader structure for configuration geronimo/j2ee-system/1.1.1/car
> Parent configurations:
> ClassPath:
> 11:41:37,804 DEBUG [Configuration] Started configuration geronimo/j2ee-system/1.1.1/car
> 11:41:37,804 DEBUG [GBeanInstanceState] GBeanInstanceState for: geronimo/j2ee-system/1.1.1/car?configurationName=geronimo/j2ee-system/1.1.1/car State changed from starting to running
> 11:41:38,154 DEBUG [GBeanInstanceState] GBeanInstanceState for: geronimo/j2ee-system/1.1.1/car?ServiceModule=geronimo/j2ee-system/1.1.1/car,j2eeType=Repository,name=Repository State changed from stopped to starting
> 11:41:38,154 DEBUG [GBeanSingleReference] Waiting to start geronimo/j2ee-system/1.1.1/car?ServiceModule=geronimo/j2ee-system/1.1.1/car,j2eeType=Repository,name=Repository because no targets are running for reference ServerInfo matching the patterns geronimo/j2ee-system/1.1.1/car?ServiceModule=geronimo/j2ee-system/1.1.1/car,j2eeType=GBean,name=ServerInfo
> 11:41:38,154 DEBUG [GBeanInstanceState] GBeanInstanceState for: geronimo/j2ee-system/1.1.1/car?ServiceModule=geronimo/j2ee-system/1.1.1/car,j2eeType=SystemLog,name=Logger State changed from stopped to starting
> 11:41:38,285 DEBUG [GBeanSingleReference] Waiting to start geronimo/j2ee-system/1.1.1/car?ServiceModule=geronimo/j2ee-system/1.1.1/car,j2eeType=SystemLog,name=Logger because no targets are running for reference ServerInfo matching the patterns geronimo/j2ee-system/1.1.1/car?ServiceModule=geronimo/j2ee-system/1.1.1/car,j2eeType=GBean,name=ServerInfo
> 11:41:38,285 DEBUG [GBeanInstanceState] GBeanInstanceState for: geronimo/j2ee-system/1.1.1/car?ServiceModule=geronimo/j2ee-system/1.1.1/car,j2eeType=ArtifactManager,name=ArtifactManager State changed from stopped to starting
> 11:41:38,285 DEBUG [GBeanInstanceState] GBeanInstanceState for: geronimo/j2ee-system/1.1.1/car?ServiceModule=geronimo/j2ee-system/1.1.1/car,j2eeType=ArtifactManager,name=ArtifactManager State changed from starting to running
> 11:41:38,285 DEBUG [GBeanInstanceState] GBeanInstanceState for: geronimo/j2ee-system/1.1.1/car?ServiceModule=geronimo/j2ee-system/1.1.1/car,j2eeType=ArtifactResolver,name=ArtifactResolver State changed from stopped to starting
> 11:41:38,355 DEBUG [GBeanInstanceState] GBeanInstanceState for: geronimo/j2ee-system/1.1.1/car?ServiceModule=geronimo/j2ee-system/1.1.1/car,j2eeType=ArtifactResolver,name=ArtifactResolver State changed from starting to running
> 11:41:38,355 DEBUG [GBeanInstanceState] GBeanInstanceState for: geronimo/j2ee-system/1.1.1/car?ServiceModule=geronimo/j2ee-system/1.1.1/car,j2eeType=ConfigurationManager,name=ConfigurationManager State changed from stopped to starting
> 11:41:38,355 DEBUG [GBeanSingleReference] Waiting to start geronimo/j2ee-system/1.1.1/car?ServiceModule=geronimo/j2ee-system/1.1.1/car,j2eeType=ConfigurationManager,name=ConfigurationManager because no targets are running for reference PersistentConfigurationList matching the patterns geronimo/j2ee-system/1.1.1/car?ServiceModule=geronimo/j2ee-system/1.1.1/car,j2eeType=AttributeStore,name=AttributeManager
> 11:41:38,385 DEBUG [GBeanSingleReference] Waiting to start geronimo/j2ee-system/1.1.1/car?ServiceModule=geronimo/j2ee-system/1.1.1/car,j2eeType=ConfigurationManager,name=ConfigurationManager because no targets are running for reference AttributeStore matching the patterns geronimo/j2ee-system/1.1.1/car?ServiceModule=geronimo/j2ee-system/1.1.1/car,j2eeType=AttributeStore,name=AttributeManager
> 11:41:38,385 DEBUG [GBeanInstanceState] Checking if parent is running: parent=geronimo/j2ee-system/1.1.1/car?configurationName=geronimo/j2ee-system/1.1.1/car
> 11:41:38,395 DEBUG [GBeanInstanceState] Parent is running: parent=geronimo/j2ee-system/1.1.1/car?configurationName=geronimo/j2ee-system/1.1.1/car
> 11:41:38,395 DEBUG [GBeanInstanceState] Checking if parent is running: parent=geronimo/j2ee-system/1.1.1/car?ServiceModule=geronimo/j2ee-system/1.1.1/car,j2eeType=ArtifactResolver,name=ArtifactResolver
> 11:41:38,395 DEBUG [GBeanInstanceState] Parent is running: parent=geronimo/j2ee-system/1.1.1/car?ServiceModule=geronimo/j2ee-system/1.1.1/car,j2eeType=ArtifactResolver,name=ArtifactResolver
> 11:41:38,395 DEBUG [GBeanSingleReference] Waiting to start geronimo/j2ee-system/1.1.1/car?ServiceModule=geronimo/j2ee-system/1.1.1/car,j2eeType=ConfigurationManager,name=ConfigurationManager because no targets are running for reference PersistentConfigurationList matching the patterns geronimo/j2ee-system/1.1.1/car?ServiceModule=geronimo/j2ee-system/1.1.1/car,j2eeType=AttributeStore,name=AttributeManager
> 11:41:38,395 DEBUG [GBeanSingleReference] Waiting to start geronimo/j2ee-system/1.1.1/car?ServiceModule=geronimo/j2ee-system/1.1.1/car,j2eeType=ConfigurationManager,name=ConfigurationManager because no targets are running for reference AttributeStore matching the patterns geronimo/j2ee-system/1.1.1/car?ServiceModule=geronimo/j2ee-system/1.1.1/car,j2eeType=AttributeStore,name=AttributeManager
> 11:41:38,395 DEBUG [GBeanInstanceState] GBeanInstanceState for: geronimo/j2ee-system/1.1.1/car?ServiceModule=geronimo/j2ee-system/1.1.1/car,j2eeType=ConfigurationStore,name=Local State changed from stopped to starting
> 11:41:38,395 DEBUG [GBeanSingleReference] Waiting to start geronimo/j2ee-system/1.1.1/car?ServiceModule=geronimo/j2ee-system/1.1.1/car,j2eeType=ConfigurationStore,name=Local because no targets are running for reference Repository matching the patterns geronimo/j2ee-system/1.1.1/car?ServiceModule=geronimo/j2ee-system/1.1.1/car,j2eeType=Repository,name=Repository
> 11:41:38,395 DEBUG [GBeanInstanceState] GBeanInstanceState for: geronimo/j2ee-system/1.1.1/car?ServiceModule=geronimo/j2ee-system/1.1.1/car,j2eeType=AttributeStore,name=AttributeManager State changed from stopped to starting
> 11:41:38,395 DEBUG [GBeanSingleReference] Waiting to start geronimo/j2ee-system/1.1.1/car?ServiceModule=geronimo/j2ee-system/1.1.1/car,j2eeType=AttributeStore,name=AttributeManager because no targets are running for reference ServerInfo matching the patterns geronimo/j2ee-system/1.1.1/car?ServiceModule=geronimo/j2ee-system/1.1.1/car,j2eeType=GBean,name=ServerInfo
> 11:41:38,395 DEBUG [GBeanInstanceState] GBeanInstanceState for: geronimo/j2ee-system/1.1.1/car?ServiceModule=geronimo/j2ee-system/1.1.1/car,j2eeType=GBean,name=ServerInfo State changed from stopped to starting
> 11:41:38,405 DEBUG [GBeanInstanceState] GBeanInstanceState for: geronimo/j2ee-system/1.1.1/car?ServiceModule=geronimo/j2ee-system/1.1.1/car,j2eeType=GBean,name=ServerInfo State changed from starting to running
> 11:41:38,405 DEBUG [GBeanInstanceState] Checking if parent is running: parent=geronimo/j2ee-system/1.1.1/car?configurationName=geronimo/j2ee-system/1.1.1/car
> 11:41:38,405 DEBUG [GBeanInstanceState] Parent is running: parent=geronimo/j2ee-system/1.1.1/car?configurationName=geronimo/j2ee-system/1.1.1/car
> 11:41:38,495 DEBUG [URLConfigurator] Configuring from URL: file:/E:/geronimo-1.1/geronimo-1.1.1/var/log/server-log4j.properties
> 11:41:38,565 DEBUG [URLConfigurator] Content type: content/unknown
> 11:41:38,565 DEBUG [URLConfigurator] Configuring Log4j using configurator: org.apache.log4j.PropertyConfigurator@2eb27a16, repository: org.apache.log4j.Hierarchy@75bcfa15
> 11:41:40,688 WARN  [RMIRegistryService] RMI Registry failed
> 11:41:40,688 ERROR [GBeanInstanceState] Error while starting; GBean is now in the FAILED state: abstractName="geronimo/rmi-naming/1.1.1/car?ServiceModule=geronimo/rmi-naming/1.1.1/car,j2eeType=GBean,name=RMIRegistry"
> java.rmi.server.ExportException: Port already in use: 1099; nested exception is: 
> 	java.net.BindException: Address already in use: NET_Bind
> 	at sun.rmi.transport.tcp.TCPTransport.listen(TCPTransport.java:283)
> 	at sun.rmi.transport.tcp.TCPTransport.exportObject(TCPTransport.java:218)
> 	at sun.rmi.transport.tcp.TCPEndpoint.exportObject(TCPEndpoint.java:400)
> 	at sun.rmi.transport.LiveRef.exportObject(LiveRef.java:134)
> 	at sun.rmi.server.UnicastServerRef.exportObject(UnicastServerRef.java:163)
> 	at sun.rmi.registry.RegistryImpl.setup(RegistryImpl.java:110)
> 	at sun.rmi.registry.RegistryImpl.<init>(RegistryImpl.java:96)
> 	at java.rmi.registry.LocateRegistry.createRegistry(LocateRegistry.java:189)
> 	at org.apache.geronimo.system.rmi.RMIRegistryService.doStart(RMIRegistryService.java:58)
> 	at org.apache.geronimo.gbean.runtime.GBeanInstance.createInstance(GBeanInstance.java:981)
> 	at org.apache.geronimo.gbean.runtime.GBeanInstanceState.attemptFullStart(GBeanInstanceState.java:267)
> 	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:540)
> 	at org.apache.geronimo.kernel.basic.BasicKernel.startRecursiveGBean(BasicKernel.java:379)
> 	at org.apache.geronimo.kernel.config.ConfigurationUtil.startConfigurationGBeans(ConfigurationUtil.java:374)
> 	at org.apache.geronimo.kernel.config.KernelConfigurationManager.start(KernelConfigurationManager.java:187)
> 	at org.apache.geronimo.kernel.config.SimpleConfigurationManager.startConfiguration(SimpleConfigurationManager.java:527)
> 	at org.apache.geronimo.kernel.config.SimpleConfigurationManager.startConfiguration(SimpleConfigurationManager.java:508)
> 	at org.apache.geronimo.kernel.config.SimpleConfigurationManager$$FastClassByCGLIB$$ce77a924.invoke(<generated>)
> 	at net.sf.cglib.reflect.FastMethod.invoke(FastMethod.java:53)
> 	at org.apache.geronimo.gbean.runtime.FastMethodInvoker.invoke(FastMethodInvoker.java:38)
> 	at org.apache.geronimo.gbean.runtime.GBeanOperation.invoke(GBeanOperation.java:122)
> 	at org.apache.geronimo.gbean.runtime.GBeanInstance.invoke(GBeanInstance.java:817)
> 	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$$949f354c.startConfiguration(<generated>)
> 	at org.apache.geronimo.system.main.Daemon.doStartup(Daemon.java:297)
> 	at org.apache.geronimo.system.main.Daemon.<init>(Daemon.java:74)
> 	at org.apache.geronimo.system.main.Daemon.main(Daemon.java:377)
> Caused by: java.net.BindException: Address already in use: NET_Bind
> 	at java.net.PlainSocketImpl.socketBind(Native Method)
> 	at java.net.PlainSocketImpl.bind(PlainSocketImpl.java:362)
> 	at java.net.ServerSocket.bind(ServerSocket.java:341)
> 	at java.net.ServerSocket.<init>(ServerSocket.java:208)
> 	at java.net.ServerSocket.<init>(ServerSocket.java:120)
> 	at sun.rmi.transport.proxy.RMIDirectSocketFactory.createServerSocket(RMIDirectSocketFactory.java:45)
> 	at sun.rmi.transport.proxy.RMIMasterSocketFactory.createServerSocket(RMIMasterSocketFactory.java:349)
> 	at sun.rmi.transport.tcp.TCPEndpoint.newServerSocket(TCPEndpoint.java:633)
> 	at sun.rmi.transport.tcp.TCPTransport.listen(TCPTransport.java:271)
> 	... 30 more
> 11:41:40,818 DEBUG [GBeanSingleReference] Waiting to start geronimo/rmi-naming/1.1.1/car?ServiceModule=geronimo/rmi-naming/1.1.1/car,j2eeType=GBean,name=MBeanServerKernelBridge because no targets are running for reference MBeanServerReference matching the patterns geronimo/rmi-naming/1.1.1/car?ServiceModule=geronimo/rmi-naming/1.1.1/car,j2eeType=GBean,name=MBeanServerReference
> Geronimo startup failed:
> org.apache.geronimo.kernel.config.LifecycleException: start of geronimo/rmi-naming/1.1.1/car failed
> 	at org.apache.geronimo.kernel.config.SimpleConfigurationManager.startConfiguration(SimpleConfigurationManager.java:544)
> 	at org.apache.geronimo.kernel.config.SimpleConfigurationManager.startConfiguration(SimpleConfigurationManager.java:508)
> 	at org.apache.geronimo.kernel.config.SimpleConfigurationManager$$FastClassByCGLIB$$ce77a924.invoke(<generated>)
> 	at net.sf.cglib.reflect.FastMethod.invoke(FastMethod.java:53)
> 	at org.apache.geronimo.gbean.runtime.FastMethodInvoker.invoke(FastMethodInvoker.java:38)
> 	at org.apache.geronimo.gbean.runtime.GBeanOperation.invoke(GBeanOperation.java:122)
> 	at org.apache.geronimo.gbean.runtime.GBeanInstance.invoke(GBeanInstance.java:817)
> 	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$$949f354c.startConfiguration(<generated>)
> 	at org.apache.geronimo.system.main.Daemon.doStartup(Daemon.java:297)
> 	at org.apache.geronimo.system.main.Daemon.<init>(Daemon.java:74)
> 	at org.apache.geronimo.system.main.Daemon.main(Daemon.java:377)
> Caused by: org.apache.geronimo.kernel.config.InvalidConfigException: Unknown start exception
> 	at org.apache.geronimo.kernel.config.ConfigurationUtil.startConfigurationGBeans(ConfigurationUtil.java:440)
> 	at org.apache.geronimo.kernel.config.KernelConfigurationManager.start(KernelConfigurationManager.java:187)
> 	at org.apache.geronimo.kernel.config.SimpleConfigurationManager.startConfiguration(SimpleConfigurationManager.java:527)
> 	... 13 more
> Caused by: org.apache.geronimo.gbean.InvalidConfigurationException: Configuration geronimo/rmi-naming/1.1.1/car failed to start due to the following reasons:
>   The service ServiceModule=geronimo/rmi-naming/1.1.1/car,j2eeType=GBean,name=RMIRegistry did not start because the doStart method threw an exception. 
> java.rmi.server.ExportException: Port already in use: 1099; nested exception is: 
> 	java.net.BindException: Address already in use: NET_Bind
> 	at sun.rmi.transport.tcp.TCPTransport.listen(TCPTransport.java:283)
> 	at sun.rmi.transport.tcp.TCPTransport.exportObject(TCPTransport.java:218)
> 	at sun.rmi.transport.tcp.TCPEndpoint.exportObject(TCPEndpoint.java:400)
> 	at sun.rmi.transport.LiveRef.exportObject(LiveRef.java:134)
> 	at sun.rmi.server.UnicastServerRef.exportObject(UnicastServerRef.java:163)
> 	at sun.rmi.registry.RegistryImpl.setup(RegistryImpl.java:110)
> 	at sun.rmi.registry.RegistryImpl.<init>(RegistryImpl.java:96)
> 	at java.rmi.registry.LocateRegistry.createRegistry(LocateRegistry.java:189)
> 	at org.apache.geronimo.system.rmi.RMIRegistryService.doStart(RMIRegistryService.java:58)
> 	at org.apache.geronimo.gbean.runtime.GBeanInstance.createInstance(GBeanInstance.java:981)
> 	at org.apache.geronimo.gbean.runtime.GBeanInstanceState.attemptFullStart(GBeanInstanceState.java:267)
> 	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:540)
> 	at org.apache.geronimo.kernel.basic.BasicKernel.startRecursiveGBean(BasicKernel.java:379)
> 	at org.apache.geronimo.kernel.config.ConfigurationUtil.startConfigurationGBeans(ConfigurationUtil.java:374)
> 	at org.apache.geronimo.kernel.config.KernelConfigurationManager.start(KernelConfigurationManager.java:187)
> 	at org.apache.geronimo.kernel.config.SimpleConfigurationManager.startConfiguration(SimpleConfigurationManager.java:527)
> 	at org.apache.geronimo.kernel.config.SimpleConfigurationManager.startConfiguration(SimpleConfigurationManager.java:508)
> 	at org.apache.geronimo.kernel.config.SimpleConfigurationManager$$FastClassByCGLIB$$ce77a924.invoke(<generated>)
> 	at net.sf.cglib.reflect.FastMethod.invoke(FastMethod.java:53)
> 	at org.apache.geronimo.gbean.runtime.FastMethodInvoker.invoke(FastMethodInvoker.java:38)
> 	at org.apache.geronimo.gbean.runtime.GBeanOperation.invoke(GBeanOperation.java:122)
> 	at org.apache.geronimo.gbean.runtime.GBeanInstance.invoke(GBeanInstance.java:817)
> 	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$$949f354c.startConfiguration(<generated>)
> 	at org.apache.geronimo.system.main.Daemon.doStartup(Daemon.java:297)
> 	at org.apache.geronimo.system.main.Daemon.<init>(Daemon.java:74)
> 	at org.apache.geronimo.system.main.Daemon.main(Daemon.java:377)
> Caused by: java.net.BindException: Address already in use: NET_Bind
> 	at java.net.PlainSocketImpl.socketBind(Native Method)
> 	at java.net.PlainSocketImpl.bind(PlainSocketImpl.java:362)
> 	at java.net.ServerSocket.bind(ServerSocket.java:341)
> 	at java.net.ServerSocket.<init>(ServerSocket.java:208)
> 	at java.net.ServerSocket.<init>(ServerSocket.java:120)
> 	at sun.rmi.transport.proxy.RMIDirectSocketFactory.createServerSocket(RMIDirectSocketFactory.java:45)
> 	at sun.rmi.transport.proxy.RMIMasterSocketFactory.createServerSocket(RMIMasterSocketFactory.java:349)
> 	at sun.rmi.transport.tcp.TCPEndpoint.newServerSocket(TCPEndpoint.java:633)
> 	at sun.rmi.transport.tcp.TCPTransport.listen(TCPTransport.java:271)
> 	... 30 more
> 	at org.apache.geronimo.kernel.config.ConfigurationUtil.startConfigurationGBeans(ConfigurationUtil.java:403)
> 	... 15 more
> Server shutdown begun              
> Server shutdown completed

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] Closed: (GERONIMODEVTOOLS-126) Geronimo Fails to Start: Port 1099 in Use

Posted by "Jeff Genender (JIRA)" <ji...@apache.org>.
     [ http://issues.apache.org/jira/browse/GERONIMODEVTOOLS-126?page=all ]

Jeff Genender closed GERONIMODEVTOOLS-126.
------------------------------------------

    Resolution: Won't Fix

This is not a Geronimo issue.  You either have something running on port 1099 (another Java application) or one of the Windows programs sometimes grabs port 1099 and uses it.  Sometimes a reboot will have it grab another port.  Typically the Remote Administration Tool (RAT) will grab 1099.

Running the following command will let you know if something else is grabbing port 1099:

netstat -an | findstr 1099

> Geronimo Fails to Start: Port 1099 in Use
> -----------------------------------------
>
>                 Key: GERONIMODEVTOOLS-126
>                 URL: http://issues.apache.org/jira/browse/GERONIMODEVTOOLS-126
>             Project: Geronimo-Devtools
>          Issue Type: Bug
>         Environment: Windows XP, WTP 1.5.2, Geronimo 1.1 with Tomcat
>            Reporter: Arthur Ryman
>
> I installed Geronim 1.1 with Tomcat via the Server tools in a fresh WTP workspace. I created a JSP and tried to run it. Geronimo failed to start because it complained the port 1099 was in use. I edited the configuration, changing the port to 8099 and restarted, but it still failed. It still tried to use 1099. The new configuration wasn't read. BTW, how do I verify that 1099 really is in use? I don't know why it would be.
> Here is the console in DEBUG mode:
> Booting Geronimo Kernel (in Java 1.4.2)...
> 11:41:37,343 DEBUG [Daemon] java.endorsed.dirs=E:\ibm-java2-142\jre\lib\endorsed;E:\geronimo-1.1\geronimo-1.1.1\lib\endorsed
> 11:41:37,343 DEBUG [Daemon] java.ext.dirs=E:\ibm-java2-142\jre\lib\ext;E:\geronimo-1.1\geronimo-1.1.1\lib\ext
> 11:41:37,353 DEBUG [BasicKernel] Starting boot
> 11:41:37,563 DEBUG [GBeanInstanceState] GBeanInstanceState for: geronimo/boot/none/car?role=kernel State changed from stopped to starting
> 11:41:37,563 DEBUG [GBeanInstanceState] GBeanInstanceState for: geronimo/boot/none/car?role=kernel State changed from starting to running
> 11:41:37,563 DEBUG [BasicKernel] Booted
> 11:41:37,664 DEBUG [GBeanInstanceState] GBeanInstanceState for: geronimo/j2ee-system/1.1.1/car?configurationName=geronimo/j2ee-system/1.1.1/car State changed from stopped to starting
> 11:41:37,674 DEBUG [Configuration] ClassLoader structure for configuration geronimo/j2ee-system/1.1.1/car
> Parent configurations:
> ClassPath:
> 11:41:37,804 DEBUG [Configuration] Started configuration geronimo/j2ee-system/1.1.1/car
> 11:41:37,804 DEBUG [GBeanInstanceState] GBeanInstanceState for: geronimo/j2ee-system/1.1.1/car?configurationName=geronimo/j2ee-system/1.1.1/car State changed from starting to running
> 11:41:38,154 DEBUG [GBeanInstanceState] GBeanInstanceState for: geronimo/j2ee-system/1.1.1/car?ServiceModule=geronimo/j2ee-system/1.1.1/car,j2eeType=Repository,name=Repository State changed from stopped to starting
> 11:41:38,154 DEBUG [GBeanSingleReference] Waiting to start geronimo/j2ee-system/1.1.1/car?ServiceModule=geronimo/j2ee-system/1.1.1/car,j2eeType=Repository,name=Repository because no targets are running for reference ServerInfo matching the patterns geronimo/j2ee-system/1.1.1/car?ServiceModule=geronimo/j2ee-system/1.1.1/car,j2eeType=GBean,name=ServerInfo
> 11:41:38,154 DEBUG [GBeanInstanceState] GBeanInstanceState for: geronimo/j2ee-system/1.1.1/car?ServiceModule=geronimo/j2ee-system/1.1.1/car,j2eeType=SystemLog,name=Logger State changed from stopped to starting
> 11:41:38,285 DEBUG [GBeanSingleReference] Waiting to start geronimo/j2ee-system/1.1.1/car?ServiceModule=geronimo/j2ee-system/1.1.1/car,j2eeType=SystemLog,name=Logger because no targets are running for reference ServerInfo matching the patterns geronimo/j2ee-system/1.1.1/car?ServiceModule=geronimo/j2ee-system/1.1.1/car,j2eeType=GBean,name=ServerInfo
> 11:41:38,285 DEBUG [GBeanInstanceState] GBeanInstanceState for: geronimo/j2ee-system/1.1.1/car?ServiceModule=geronimo/j2ee-system/1.1.1/car,j2eeType=ArtifactManager,name=ArtifactManager State changed from stopped to starting
> 11:41:38,285 DEBUG [GBeanInstanceState] GBeanInstanceState for: geronimo/j2ee-system/1.1.1/car?ServiceModule=geronimo/j2ee-system/1.1.1/car,j2eeType=ArtifactManager,name=ArtifactManager State changed from starting to running
> 11:41:38,285 DEBUG [GBeanInstanceState] GBeanInstanceState for: geronimo/j2ee-system/1.1.1/car?ServiceModule=geronimo/j2ee-system/1.1.1/car,j2eeType=ArtifactResolver,name=ArtifactResolver State changed from stopped to starting
> 11:41:38,355 DEBUG [GBeanInstanceState] GBeanInstanceState for: geronimo/j2ee-system/1.1.1/car?ServiceModule=geronimo/j2ee-system/1.1.1/car,j2eeType=ArtifactResolver,name=ArtifactResolver State changed from starting to running
> 11:41:38,355 DEBUG [GBeanInstanceState] GBeanInstanceState for: geronimo/j2ee-system/1.1.1/car?ServiceModule=geronimo/j2ee-system/1.1.1/car,j2eeType=ConfigurationManager,name=ConfigurationManager State changed from stopped to starting
> 11:41:38,355 DEBUG [GBeanSingleReference] Waiting to start geronimo/j2ee-system/1.1.1/car?ServiceModule=geronimo/j2ee-system/1.1.1/car,j2eeType=ConfigurationManager,name=ConfigurationManager because no targets are running for reference PersistentConfigurationList matching the patterns geronimo/j2ee-system/1.1.1/car?ServiceModule=geronimo/j2ee-system/1.1.1/car,j2eeType=AttributeStore,name=AttributeManager
> 11:41:38,385 DEBUG [GBeanSingleReference] Waiting to start geronimo/j2ee-system/1.1.1/car?ServiceModule=geronimo/j2ee-system/1.1.1/car,j2eeType=ConfigurationManager,name=ConfigurationManager because no targets are running for reference AttributeStore matching the patterns geronimo/j2ee-system/1.1.1/car?ServiceModule=geronimo/j2ee-system/1.1.1/car,j2eeType=AttributeStore,name=AttributeManager
> 11:41:38,385 DEBUG [GBeanInstanceState] Checking if parent is running: parent=geronimo/j2ee-system/1.1.1/car?configurationName=geronimo/j2ee-system/1.1.1/car
> 11:41:38,395 DEBUG [GBeanInstanceState] Parent is running: parent=geronimo/j2ee-system/1.1.1/car?configurationName=geronimo/j2ee-system/1.1.1/car
> 11:41:38,395 DEBUG [GBeanInstanceState] Checking if parent is running: parent=geronimo/j2ee-system/1.1.1/car?ServiceModule=geronimo/j2ee-system/1.1.1/car,j2eeType=ArtifactResolver,name=ArtifactResolver
> 11:41:38,395 DEBUG [GBeanInstanceState] Parent is running: parent=geronimo/j2ee-system/1.1.1/car?ServiceModule=geronimo/j2ee-system/1.1.1/car,j2eeType=ArtifactResolver,name=ArtifactResolver
> 11:41:38,395 DEBUG [GBeanSingleReference] Waiting to start geronimo/j2ee-system/1.1.1/car?ServiceModule=geronimo/j2ee-system/1.1.1/car,j2eeType=ConfigurationManager,name=ConfigurationManager because no targets are running for reference PersistentConfigurationList matching the patterns geronimo/j2ee-system/1.1.1/car?ServiceModule=geronimo/j2ee-system/1.1.1/car,j2eeType=AttributeStore,name=AttributeManager
> 11:41:38,395 DEBUG [GBeanSingleReference] Waiting to start geronimo/j2ee-system/1.1.1/car?ServiceModule=geronimo/j2ee-system/1.1.1/car,j2eeType=ConfigurationManager,name=ConfigurationManager because no targets are running for reference AttributeStore matching the patterns geronimo/j2ee-system/1.1.1/car?ServiceModule=geronimo/j2ee-system/1.1.1/car,j2eeType=AttributeStore,name=AttributeManager
> 11:41:38,395 DEBUG [GBeanInstanceState] GBeanInstanceState for: geronimo/j2ee-system/1.1.1/car?ServiceModule=geronimo/j2ee-system/1.1.1/car,j2eeType=ConfigurationStore,name=Local State changed from stopped to starting
> 11:41:38,395 DEBUG [GBeanSingleReference] Waiting to start geronimo/j2ee-system/1.1.1/car?ServiceModule=geronimo/j2ee-system/1.1.1/car,j2eeType=ConfigurationStore,name=Local because no targets are running for reference Repository matching the patterns geronimo/j2ee-system/1.1.1/car?ServiceModule=geronimo/j2ee-system/1.1.1/car,j2eeType=Repository,name=Repository
> 11:41:38,395 DEBUG [GBeanInstanceState] GBeanInstanceState for: geronimo/j2ee-system/1.1.1/car?ServiceModule=geronimo/j2ee-system/1.1.1/car,j2eeType=AttributeStore,name=AttributeManager State changed from stopped to starting
> 11:41:38,395 DEBUG [GBeanSingleReference] Waiting to start geronimo/j2ee-system/1.1.1/car?ServiceModule=geronimo/j2ee-system/1.1.1/car,j2eeType=AttributeStore,name=AttributeManager because no targets are running for reference ServerInfo matching the patterns geronimo/j2ee-system/1.1.1/car?ServiceModule=geronimo/j2ee-system/1.1.1/car,j2eeType=GBean,name=ServerInfo
> 11:41:38,395 DEBUG [GBeanInstanceState] GBeanInstanceState for: geronimo/j2ee-system/1.1.1/car?ServiceModule=geronimo/j2ee-system/1.1.1/car,j2eeType=GBean,name=ServerInfo State changed from stopped to starting
> 11:41:38,405 DEBUG [GBeanInstanceState] GBeanInstanceState for: geronimo/j2ee-system/1.1.1/car?ServiceModule=geronimo/j2ee-system/1.1.1/car,j2eeType=GBean,name=ServerInfo State changed from starting to running
> 11:41:38,405 DEBUG [GBeanInstanceState] Checking if parent is running: parent=geronimo/j2ee-system/1.1.1/car?configurationName=geronimo/j2ee-system/1.1.1/car
> 11:41:38,405 DEBUG [GBeanInstanceState] Parent is running: parent=geronimo/j2ee-system/1.1.1/car?configurationName=geronimo/j2ee-system/1.1.1/car
> 11:41:38,495 DEBUG [URLConfigurator] Configuring from URL: file:/E:/geronimo-1.1/geronimo-1.1.1/var/log/server-log4j.properties
> 11:41:38,565 DEBUG [URLConfigurator] Content type: content/unknown
> 11:41:38,565 DEBUG [URLConfigurator] Configuring Log4j using configurator: org.apache.log4j.PropertyConfigurator@2eb27a16, repository: org.apache.log4j.Hierarchy@75bcfa15
> 11:41:40,688 WARN  [RMIRegistryService] RMI Registry failed
> 11:41:40,688 ERROR [GBeanInstanceState] Error while starting; GBean is now in the FAILED state: abstractName="geronimo/rmi-naming/1.1.1/car?ServiceModule=geronimo/rmi-naming/1.1.1/car,j2eeType=GBean,name=RMIRegistry"
> java.rmi.server.ExportException: Port already in use: 1099; nested exception is: 
> 	java.net.BindException: Address already in use: NET_Bind
> 	at sun.rmi.transport.tcp.TCPTransport.listen(TCPTransport.java:283)
> 	at sun.rmi.transport.tcp.TCPTransport.exportObject(TCPTransport.java:218)
> 	at sun.rmi.transport.tcp.TCPEndpoint.exportObject(TCPEndpoint.java:400)
> 	at sun.rmi.transport.LiveRef.exportObject(LiveRef.java:134)
> 	at sun.rmi.server.UnicastServerRef.exportObject(UnicastServerRef.java:163)
> 	at sun.rmi.registry.RegistryImpl.setup(RegistryImpl.java:110)
> 	at sun.rmi.registry.RegistryImpl.<init>(RegistryImpl.java:96)
> 	at java.rmi.registry.LocateRegistry.createRegistry(LocateRegistry.java:189)
> 	at org.apache.geronimo.system.rmi.RMIRegistryService.doStart(RMIRegistryService.java:58)
> 	at org.apache.geronimo.gbean.runtime.GBeanInstance.createInstance(GBeanInstance.java:981)
> 	at org.apache.geronimo.gbean.runtime.GBeanInstanceState.attemptFullStart(GBeanInstanceState.java:267)
> 	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:540)
> 	at org.apache.geronimo.kernel.basic.BasicKernel.startRecursiveGBean(BasicKernel.java:379)
> 	at org.apache.geronimo.kernel.config.ConfigurationUtil.startConfigurationGBeans(ConfigurationUtil.java:374)
> 	at org.apache.geronimo.kernel.config.KernelConfigurationManager.start(KernelConfigurationManager.java:187)
> 	at org.apache.geronimo.kernel.config.SimpleConfigurationManager.startConfiguration(SimpleConfigurationManager.java:527)
> 	at org.apache.geronimo.kernel.config.SimpleConfigurationManager.startConfiguration(SimpleConfigurationManager.java:508)
> 	at org.apache.geronimo.kernel.config.SimpleConfigurationManager$$FastClassByCGLIB$$ce77a924.invoke(<generated>)
> 	at net.sf.cglib.reflect.FastMethod.invoke(FastMethod.java:53)
> 	at org.apache.geronimo.gbean.runtime.FastMethodInvoker.invoke(FastMethodInvoker.java:38)
> 	at org.apache.geronimo.gbean.runtime.GBeanOperation.invoke(GBeanOperation.java:122)
> 	at org.apache.geronimo.gbean.runtime.GBeanInstance.invoke(GBeanInstance.java:817)
> 	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$$949f354c.startConfiguration(<generated>)
> 	at org.apache.geronimo.system.main.Daemon.doStartup(Daemon.java:297)
> 	at org.apache.geronimo.system.main.Daemon.<init>(Daemon.java:74)
> 	at org.apache.geronimo.system.main.Daemon.main(Daemon.java:377)
> Caused by: java.net.BindException: Address already in use: NET_Bind
> 	at java.net.PlainSocketImpl.socketBind(Native Method)
> 	at java.net.PlainSocketImpl.bind(PlainSocketImpl.java:362)
> 	at java.net.ServerSocket.bind(ServerSocket.java:341)
> 	at java.net.ServerSocket.<init>(ServerSocket.java:208)
> 	at java.net.ServerSocket.<init>(ServerSocket.java:120)
> 	at sun.rmi.transport.proxy.RMIDirectSocketFactory.createServerSocket(RMIDirectSocketFactory.java:45)
> 	at sun.rmi.transport.proxy.RMIMasterSocketFactory.createServerSocket(RMIMasterSocketFactory.java:349)
> 	at sun.rmi.transport.tcp.TCPEndpoint.newServerSocket(TCPEndpoint.java:633)
> 	at sun.rmi.transport.tcp.TCPTransport.listen(TCPTransport.java:271)
> 	... 30 more
> 11:41:40,818 DEBUG [GBeanSingleReference] Waiting to start geronimo/rmi-naming/1.1.1/car?ServiceModule=geronimo/rmi-naming/1.1.1/car,j2eeType=GBean,name=MBeanServerKernelBridge because no targets are running for reference MBeanServerReference matching the patterns geronimo/rmi-naming/1.1.1/car?ServiceModule=geronimo/rmi-naming/1.1.1/car,j2eeType=GBean,name=MBeanServerReference
> Geronimo startup failed:
> org.apache.geronimo.kernel.config.LifecycleException: start of geronimo/rmi-naming/1.1.1/car failed
> 	at org.apache.geronimo.kernel.config.SimpleConfigurationManager.startConfiguration(SimpleConfigurationManager.java:544)
> 	at org.apache.geronimo.kernel.config.SimpleConfigurationManager.startConfiguration(SimpleConfigurationManager.java:508)
> 	at org.apache.geronimo.kernel.config.SimpleConfigurationManager$$FastClassByCGLIB$$ce77a924.invoke(<generated>)
> 	at net.sf.cglib.reflect.FastMethod.invoke(FastMethod.java:53)
> 	at org.apache.geronimo.gbean.runtime.FastMethodInvoker.invoke(FastMethodInvoker.java:38)
> 	at org.apache.geronimo.gbean.runtime.GBeanOperation.invoke(GBeanOperation.java:122)
> 	at org.apache.geronimo.gbean.runtime.GBeanInstance.invoke(GBeanInstance.java:817)
> 	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$$949f354c.startConfiguration(<generated>)
> 	at org.apache.geronimo.system.main.Daemon.doStartup(Daemon.java:297)
> 	at org.apache.geronimo.system.main.Daemon.<init>(Daemon.java:74)
> 	at org.apache.geronimo.system.main.Daemon.main(Daemon.java:377)
> Caused by: org.apache.geronimo.kernel.config.InvalidConfigException: Unknown start exception
> 	at org.apache.geronimo.kernel.config.ConfigurationUtil.startConfigurationGBeans(ConfigurationUtil.java:440)
> 	at org.apache.geronimo.kernel.config.KernelConfigurationManager.start(KernelConfigurationManager.java:187)
> 	at org.apache.geronimo.kernel.config.SimpleConfigurationManager.startConfiguration(SimpleConfigurationManager.java:527)
> 	... 13 more
> Caused by: org.apache.geronimo.gbean.InvalidConfigurationException: Configuration geronimo/rmi-naming/1.1.1/car failed to start due to the following reasons:
>   The service ServiceModule=geronimo/rmi-naming/1.1.1/car,j2eeType=GBean,name=RMIRegistry did not start because the doStart method threw an exception. 
> java.rmi.server.ExportException: Port already in use: 1099; nested exception is: 
> 	java.net.BindException: Address already in use: NET_Bind
> 	at sun.rmi.transport.tcp.TCPTransport.listen(TCPTransport.java:283)
> 	at sun.rmi.transport.tcp.TCPTransport.exportObject(TCPTransport.java:218)
> 	at sun.rmi.transport.tcp.TCPEndpoint.exportObject(TCPEndpoint.java:400)
> 	at sun.rmi.transport.LiveRef.exportObject(LiveRef.java:134)
> 	at sun.rmi.server.UnicastServerRef.exportObject(UnicastServerRef.java:163)
> 	at sun.rmi.registry.RegistryImpl.setup(RegistryImpl.java:110)
> 	at sun.rmi.registry.RegistryImpl.<init>(RegistryImpl.java:96)
> 	at java.rmi.registry.LocateRegistry.createRegistry(LocateRegistry.java:189)
> 	at org.apache.geronimo.system.rmi.RMIRegistryService.doStart(RMIRegistryService.java:58)
> 	at org.apache.geronimo.gbean.runtime.GBeanInstance.createInstance(GBeanInstance.java:981)
> 	at org.apache.geronimo.gbean.runtime.GBeanInstanceState.attemptFullStart(GBeanInstanceState.java:267)
> 	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:540)
> 	at org.apache.geronimo.kernel.basic.BasicKernel.startRecursiveGBean(BasicKernel.java:379)
> 	at org.apache.geronimo.kernel.config.ConfigurationUtil.startConfigurationGBeans(ConfigurationUtil.java:374)
> 	at org.apache.geronimo.kernel.config.KernelConfigurationManager.start(KernelConfigurationManager.java:187)
> 	at org.apache.geronimo.kernel.config.SimpleConfigurationManager.startConfiguration(SimpleConfigurationManager.java:527)
> 	at org.apache.geronimo.kernel.config.SimpleConfigurationManager.startConfiguration(SimpleConfigurationManager.java:508)
> 	at org.apache.geronimo.kernel.config.SimpleConfigurationManager$$FastClassByCGLIB$$ce77a924.invoke(<generated>)
> 	at net.sf.cglib.reflect.FastMethod.invoke(FastMethod.java:53)
> 	at org.apache.geronimo.gbean.runtime.FastMethodInvoker.invoke(FastMethodInvoker.java:38)
> 	at org.apache.geronimo.gbean.runtime.GBeanOperation.invoke(GBeanOperation.java:122)
> 	at org.apache.geronimo.gbean.runtime.GBeanInstance.invoke(GBeanInstance.java:817)
> 	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$$949f354c.startConfiguration(<generated>)
> 	at org.apache.geronimo.system.main.Daemon.doStartup(Daemon.java:297)
> 	at org.apache.geronimo.system.main.Daemon.<init>(Daemon.java:74)
> 	at org.apache.geronimo.system.main.Daemon.main(Daemon.java:377)
> Caused by: java.net.BindException: Address already in use: NET_Bind
> 	at java.net.PlainSocketImpl.socketBind(Native Method)
> 	at java.net.PlainSocketImpl.bind(PlainSocketImpl.java:362)
> 	at java.net.ServerSocket.bind(ServerSocket.java:341)
> 	at java.net.ServerSocket.<init>(ServerSocket.java:208)
> 	at java.net.ServerSocket.<init>(ServerSocket.java:120)
> 	at sun.rmi.transport.proxy.RMIDirectSocketFactory.createServerSocket(RMIDirectSocketFactory.java:45)
> 	at sun.rmi.transport.proxy.RMIMasterSocketFactory.createServerSocket(RMIMasterSocketFactory.java:349)
> 	at sun.rmi.transport.tcp.TCPEndpoint.newServerSocket(TCPEndpoint.java:633)
> 	at sun.rmi.transport.tcp.TCPTransport.listen(TCPTransport.java:271)
> 	... 30 more
> 	at org.apache.geronimo.kernel.config.ConfigurationUtil.startConfigurationGBeans(ConfigurationUtil.java:403)
> 	... 15 more
> Server shutdown begun              
> Server shutdown completed

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] Commented: (GERONIMODEVTOOLS-126) Geronimo Fails to Start: Port 1099 in Use

Posted by "Sachin Patel (JIRA)" <ji...@apache.org>.
    [ http://issues.apache.org/jira/browse/GERONIMODEVTOOLS-126?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12461764 ] 

Sachin Patel commented on GERONIMODEVTOOLS-126:
-----------------------------------------------

Changing the port doesn't change the port of the server, you're specifiying the port that the server is configured to, which is 1099 by default.  Jeff's comments are correct, something must be using that port.

> Geronimo Fails to Start: Port 1099 in Use
> -----------------------------------------
>
>                 Key: GERONIMODEVTOOLS-126
>                 URL: http://issues.apache.org/jira/browse/GERONIMODEVTOOLS-126
>             Project: Geronimo-Devtools
>          Issue Type: Bug
>         Environment: Windows XP, WTP 1.5.2, Geronimo 1.1 with Tomcat
>            Reporter: Arthur Ryman
>
> I installed Geronim 1.1 with Tomcat via the Server tools in a fresh WTP workspace. I created a JSP and tried to run it. Geronimo failed to start because it complained the port 1099 was in use. I edited the configuration, changing the port to 8099 and restarted, but it still failed. It still tried to use 1099. The new configuration wasn't read. BTW, how do I verify that 1099 really is in use? I don't know why it would be.
> Here is the console in DEBUG mode:
> Booting Geronimo Kernel (in Java 1.4.2)...
> 11:41:37,343 DEBUG [Daemon] java.endorsed.dirs=E:\ibm-java2-142\jre\lib\endorsed;E:\geronimo-1.1\geronimo-1.1.1\lib\endorsed
> 11:41:37,343 DEBUG [Daemon] java.ext.dirs=E:\ibm-java2-142\jre\lib\ext;E:\geronimo-1.1\geronimo-1.1.1\lib\ext
> 11:41:37,353 DEBUG [BasicKernel] Starting boot
> 11:41:37,563 DEBUG [GBeanInstanceState] GBeanInstanceState for: geronimo/boot/none/car?role=kernel State changed from stopped to starting
> 11:41:37,563 DEBUG [GBeanInstanceState] GBeanInstanceState for: geronimo/boot/none/car?role=kernel State changed from starting to running
> 11:41:37,563 DEBUG [BasicKernel] Booted
> 11:41:37,664 DEBUG [GBeanInstanceState] GBeanInstanceState for: geronimo/j2ee-system/1.1.1/car?configurationName=geronimo/j2ee-system/1.1.1/car State changed from stopped to starting
> 11:41:37,674 DEBUG [Configuration] ClassLoader structure for configuration geronimo/j2ee-system/1.1.1/car
> Parent configurations:
> ClassPath:
> 11:41:37,804 DEBUG [Configuration] Started configuration geronimo/j2ee-system/1.1.1/car
> 11:41:37,804 DEBUG [GBeanInstanceState] GBeanInstanceState for: geronimo/j2ee-system/1.1.1/car?configurationName=geronimo/j2ee-system/1.1.1/car State changed from starting to running
> 11:41:38,154 DEBUG [GBeanInstanceState] GBeanInstanceState for: geronimo/j2ee-system/1.1.1/car?ServiceModule=geronimo/j2ee-system/1.1.1/car,j2eeType=Repository,name=Repository State changed from stopped to starting
> 11:41:38,154 DEBUG [GBeanSingleReference] Waiting to start geronimo/j2ee-system/1.1.1/car?ServiceModule=geronimo/j2ee-system/1.1.1/car,j2eeType=Repository,name=Repository because no targets are running for reference ServerInfo matching the patterns geronimo/j2ee-system/1.1.1/car?ServiceModule=geronimo/j2ee-system/1.1.1/car,j2eeType=GBean,name=ServerInfo
> 11:41:38,154 DEBUG [GBeanInstanceState] GBeanInstanceState for: geronimo/j2ee-system/1.1.1/car?ServiceModule=geronimo/j2ee-system/1.1.1/car,j2eeType=SystemLog,name=Logger State changed from stopped to starting
> 11:41:38,285 DEBUG [GBeanSingleReference] Waiting to start geronimo/j2ee-system/1.1.1/car?ServiceModule=geronimo/j2ee-system/1.1.1/car,j2eeType=SystemLog,name=Logger because no targets are running for reference ServerInfo matching the patterns geronimo/j2ee-system/1.1.1/car?ServiceModule=geronimo/j2ee-system/1.1.1/car,j2eeType=GBean,name=ServerInfo
> 11:41:38,285 DEBUG [GBeanInstanceState] GBeanInstanceState for: geronimo/j2ee-system/1.1.1/car?ServiceModule=geronimo/j2ee-system/1.1.1/car,j2eeType=ArtifactManager,name=ArtifactManager State changed from stopped to starting
> 11:41:38,285 DEBUG [GBeanInstanceState] GBeanInstanceState for: geronimo/j2ee-system/1.1.1/car?ServiceModule=geronimo/j2ee-system/1.1.1/car,j2eeType=ArtifactManager,name=ArtifactManager State changed from starting to running
> 11:41:38,285 DEBUG [GBeanInstanceState] GBeanInstanceState for: geronimo/j2ee-system/1.1.1/car?ServiceModule=geronimo/j2ee-system/1.1.1/car,j2eeType=ArtifactResolver,name=ArtifactResolver State changed from stopped to starting
> 11:41:38,355 DEBUG [GBeanInstanceState] GBeanInstanceState for: geronimo/j2ee-system/1.1.1/car?ServiceModule=geronimo/j2ee-system/1.1.1/car,j2eeType=ArtifactResolver,name=ArtifactResolver State changed from starting to running
> 11:41:38,355 DEBUG [GBeanInstanceState] GBeanInstanceState for: geronimo/j2ee-system/1.1.1/car?ServiceModule=geronimo/j2ee-system/1.1.1/car,j2eeType=ConfigurationManager,name=ConfigurationManager State changed from stopped to starting
> 11:41:38,355 DEBUG [GBeanSingleReference] Waiting to start geronimo/j2ee-system/1.1.1/car?ServiceModule=geronimo/j2ee-system/1.1.1/car,j2eeType=ConfigurationManager,name=ConfigurationManager because no targets are running for reference PersistentConfigurationList matching the patterns geronimo/j2ee-system/1.1.1/car?ServiceModule=geronimo/j2ee-system/1.1.1/car,j2eeType=AttributeStore,name=AttributeManager
> 11:41:38,385 DEBUG [GBeanSingleReference] Waiting to start geronimo/j2ee-system/1.1.1/car?ServiceModule=geronimo/j2ee-system/1.1.1/car,j2eeType=ConfigurationManager,name=ConfigurationManager because no targets are running for reference AttributeStore matching the patterns geronimo/j2ee-system/1.1.1/car?ServiceModule=geronimo/j2ee-system/1.1.1/car,j2eeType=AttributeStore,name=AttributeManager
> 11:41:38,385 DEBUG [GBeanInstanceState] Checking if parent is running: parent=geronimo/j2ee-system/1.1.1/car?configurationName=geronimo/j2ee-system/1.1.1/car
> 11:41:38,395 DEBUG [GBeanInstanceState] Parent is running: parent=geronimo/j2ee-system/1.1.1/car?configurationName=geronimo/j2ee-system/1.1.1/car
> 11:41:38,395 DEBUG [GBeanInstanceState] Checking if parent is running: parent=geronimo/j2ee-system/1.1.1/car?ServiceModule=geronimo/j2ee-system/1.1.1/car,j2eeType=ArtifactResolver,name=ArtifactResolver
> 11:41:38,395 DEBUG [GBeanInstanceState] Parent is running: parent=geronimo/j2ee-system/1.1.1/car?ServiceModule=geronimo/j2ee-system/1.1.1/car,j2eeType=ArtifactResolver,name=ArtifactResolver
> 11:41:38,395 DEBUG [GBeanSingleReference] Waiting to start geronimo/j2ee-system/1.1.1/car?ServiceModule=geronimo/j2ee-system/1.1.1/car,j2eeType=ConfigurationManager,name=ConfigurationManager because no targets are running for reference PersistentConfigurationList matching the patterns geronimo/j2ee-system/1.1.1/car?ServiceModule=geronimo/j2ee-system/1.1.1/car,j2eeType=AttributeStore,name=AttributeManager
> 11:41:38,395 DEBUG [GBeanSingleReference] Waiting to start geronimo/j2ee-system/1.1.1/car?ServiceModule=geronimo/j2ee-system/1.1.1/car,j2eeType=ConfigurationManager,name=ConfigurationManager because no targets are running for reference AttributeStore matching the patterns geronimo/j2ee-system/1.1.1/car?ServiceModule=geronimo/j2ee-system/1.1.1/car,j2eeType=AttributeStore,name=AttributeManager
> 11:41:38,395 DEBUG [GBeanInstanceState] GBeanInstanceState for: geronimo/j2ee-system/1.1.1/car?ServiceModule=geronimo/j2ee-system/1.1.1/car,j2eeType=ConfigurationStore,name=Local State changed from stopped to starting
> 11:41:38,395 DEBUG [GBeanSingleReference] Waiting to start geronimo/j2ee-system/1.1.1/car?ServiceModule=geronimo/j2ee-system/1.1.1/car,j2eeType=ConfigurationStore,name=Local because no targets are running for reference Repository matching the patterns geronimo/j2ee-system/1.1.1/car?ServiceModule=geronimo/j2ee-system/1.1.1/car,j2eeType=Repository,name=Repository
> 11:41:38,395 DEBUG [GBeanInstanceState] GBeanInstanceState for: geronimo/j2ee-system/1.1.1/car?ServiceModule=geronimo/j2ee-system/1.1.1/car,j2eeType=AttributeStore,name=AttributeManager State changed from stopped to starting
> 11:41:38,395 DEBUG [GBeanSingleReference] Waiting to start geronimo/j2ee-system/1.1.1/car?ServiceModule=geronimo/j2ee-system/1.1.1/car,j2eeType=AttributeStore,name=AttributeManager because no targets are running for reference ServerInfo matching the patterns geronimo/j2ee-system/1.1.1/car?ServiceModule=geronimo/j2ee-system/1.1.1/car,j2eeType=GBean,name=ServerInfo
> 11:41:38,395 DEBUG [GBeanInstanceState] GBeanInstanceState for: geronimo/j2ee-system/1.1.1/car?ServiceModule=geronimo/j2ee-system/1.1.1/car,j2eeType=GBean,name=ServerInfo State changed from stopped to starting
> 11:41:38,405 DEBUG [GBeanInstanceState] GBeanInstanceState for: geronimo/j2ee-system/1.1.1/car?ServiceModule=geronimo/j2ee-system/1.1.1/car,j2eeType=GBean,name=ServerInfo State changed from starting to running
> 11:41:38,405 DEBUG [GBeanInstanceState] Checking if parent is running: parent=geronimo/j2ee-system/1.1.1/car?configurationName=geronimo/j2ee-system/1.1.1/car
> 11:41:38,405 DEBUG [GBeanInstanceState] Parent is running: parent=geronimo/j2ee-system/1.1.1/car?configurationName=geronimo/j2ee-system/1.1.1/car
> 11:41:38,495 DEBUG [URLConfigurator] Configuring from URL: file:/E:/geronimo-1.1/geronimo-1.1.1/var/log/server-log4j.properties
> 11:41:38,565 DEBUG [URLConfigurator] Content type: content/unknown
> 11:41:38,565 DEBUG [URLConfigurator] Configuring Log4j using configurator: org.apache.log4j.PropertyConfigurator@2eb27a16, repository: org.apache.log4j.Hierarchy@75bcfa15
> 11:41:40,688 WARN  [RMIRegistryService] RMI Registry failed
> 11:41:40,688 ERROR [GBeanInstanceState] Error while starting; GBean is now in the FAILED state: abstractName="geronimo/rmi-naming/1.1.1/car?ServiceModule=geronimo/rmi-naming/1.1.1/car,j2eeType=GBean,name=RMIRegistry"
> java.rmi.server.ExportException: Port already in use: 1099; nested exception is: 
> 	java.net.BindException: Address already in use: NET_Bind
> 	at sun.rmi.transport.tcp.TCPTransport.listen(TCPTransport.java:283)
> 	at sun.rmi.transport.tcp.TCPTransport.exportObject(TCPTransport.java:218)
> 	at sun.rmi.transport.tcp.TCPEndpoint.exportObject(TCPEndpoint.java:400)
> 	at sun.rmi.transport.LiveRef.exportObject(LiveRef.java:134)
> 	at sun.rmi.server.UnicastServerRef.exportObject(UnicastServerRef.java:163)
> 	at sun.rmi.registry.RegistryImpl.setup(RegistryImpl.java:110)
> 	at sun.rmi.registry.RegistryImpl.<init>(RegistryImpl.java:96)
> 	at java.rmi.registry.LocateRegistry.createRegistry(LocateRegistry.java:189)
> 	at org.apache.geronimo.system.rmi.RMIRegistryService.doStart(RMIRegistryService.java:58)
> 	at org.apache.geronimo.gbean.runtime.GBeanInstance.createInstance(GBeanInstance.java:981)
> 	at org.apache.geronimo.gbean.runtime.GBeanInstanceState.attemptFullStart(GBeanInstanceState.java:267)
> 	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:540)
> 	at org.apache.geronimo.kernel.basic.BasicKernel.startRecursiveGBean(BasicKernel.java:379)
> 	at org.apache.geronimo.kernel.config.ConfigurationUtil.startConfigurationGBeans(ConfigurationUtil.java:374)
> 	at org.apache.geronimo.kernel.config.KernelConfigurationManager.start(KernelConfigurationManager.java:187)
> 	at org.apache.geronimo.kernel.config.SimpleConfigurationManager.startConfiguration(SimpleConfigurationManager.java:527)
> 	at org.apache.geronimo.kernel.config.SimpleConfigurationManager.startConfiguration(SimpleConfigurationManager.java:508)
> 	at org.apache.geronimo.kernel.config.SimpleConfigurationManager$$FastClassByCGLIB$$ce77a924.invoke(<generated>)
> 	at net.sf.cglib.reflect.FastMethod.invoke(FastMethod.java:53)
> 	at org.apache.geronimo.gbean.runtime.FastMethodInvoker.invoke(FastMethodInvoker.java:38)
> 	at org.apache.geronimo.gbean.runtime.GBeanOperation.invoke(GBeanOperation.java:122)
> 	at org.apache.geronimo.gbean.runtime.GBeanInstance.invoke(GBeanInstance.java:817)
> 	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$$949f354c.startConfiguration(<generated>)
> 	at org.apache.geronimo.system.main.Daemon.doStartup(Daemon.java:297)
> 	at org.apache.geronimo.system.main.Daemon.<init>(Daemon.java:74)
> 	at org.apache.geronimo.system.main.Daemon.main(Daemon.java:377)
> Caused by: java.net.BindException: Address already in use: NET_Bind
> 	at java.net.PlainSocketImpl.socketBind(Native Method)
> 	at java.net.PlainSocketImpl.bind(PlainSocketImpl.java:362)
> 	at java.net.ServerSocket.bind(ServerSocket.java:341)
> 	at java.net.ServerSocket.<init>(ServerSocket.java:208)
> 	at java.net.ServerSocket.<init>(ServerSocket.java:120)
> 	at sun.rmi.transport.proxy.RMIDirectSocketFactory.createServerSocket(RMIDirectSocketFactory.java:45)
> 	at sun.rmi.transport.proxy.RMIMasterSocketFactory.createServerSocket(RMIMasterSocketFactory.java:349)
> 	at sun.rmi.transport.tcp.TCPEndpoint.newServerSocket(TCPEndpoint.java:633)
> 	at sun.rmi.transport.tcp.TCPTransport.listen(TCPTransport.java:271)
> 	... 30 more
> 11:41:40,818 DEBUG [GBeanSingleReference] Waiting to start geronimo/rmi-naming/1.1.1/car?ServiceModule=geronimo/rmi-naming/1.1.1/car,j2eeType=GBean,name=MBeanServerKernelBridge because no targets are running for reference MBeanServerReference matching the patterns geronimo/rmi-naming/1.1.1/car?ServiceModule=geronimo/rmi-naming/1.1.1/car,j2eeType=GBean,name=MBeanServerReference
> Geronimo startup failed:
> org.apache.geronimo.kernel.config.LifecycleException: start of geronimo/rmi-naming/1.1.1/car failed
> 	at org.apache.geronimo.kernel.config.SimpleConfigurationManager.startConfiguration(SimpleConfigurationManager.java:544)
> 	at org.apache.geronimo.kernel.config.SimpleConfigurationManager.startConfiguration(SimpleConfigurationManager.java:508)
> 	at org.apache.geronimo.kernel.config.SimpleConfigurationManager$$FastClassByCGLIB$$ce77a924.invoke(<generated>)
> 	at net.sf.cglib.reflect.FastMethod.invoke(FastMethod.java:53)
> 	at org.apache.geronimo.gbean.runtime.FastMethodInvoker.invoke(FastMethodInvoker.java:38)
> 	at org.apache.geronimo.gbean.runtime.GBeanOperation.invoke(GBeanOperation.java:122)
> 	at org.apache.geronimo.gbean.runtime.GBeanInstance.invoke(GBeanInstance.java:817)
> 	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$$949f354c.startConfiguration(<generated>)
> 	at org.apache.geronimo.system.main.Daemon.doStartup(Daemon.java:297)
> 	at org.apache.geronimo.system.main.Daemon.<init>(Daemon.java:74)
> 	at org.apache.geronimo.system.main.Daemon.main(Daemon.java:377)
> Caused by: org.apache.geronimo.kernel.config.InvalidConfigException: Unknown start exception
> 	at org.apache.geronimo.kernel.config.ConfigurationUtil.startConfigurationGBeans(ConfigurationUtil.java:440)
> 	at org.apache.geronimo.kernel.config.KernelConfigurationManager.start(KernelConfigurationManager.java:187)
> 	at org.apache.geronimo.kernel.config.SimpleConfigurationManager.startConfiguration(SimpleConfigurationManager.java:527)
> 	... 13 more
> Caused by: org.apache.geronimo.gbean.InvalidConfigurationException: Configuration geronimo/rmi-naming/1.1.1/car failed to start due to the following reasons:
>   The service ServiceModule=geronimo/rmi-naming/1.1.1/car,j2eeType=GBean,name=RMIRegistry did not start because the doStart method threw an exception. 
> java.rmi.server.ExportException: Port already in use: 1099; nested exception is: 
> 	java.net.BindException: Address already in use: NET_Bind
> 	at sun.rmi.transport.tcp.TCPTransport.listen(TCPTransport.java:283)
> 	at sun.rmi.transport.tcp.TCPTransport.exportObject(TCPTransport.java:218)
> 	at sun.rmi.transport.tcp.TCPEndpoint.exportObject(TCPEndpoint.java:400)
> 	at sun.rmi.transport.LiveRef.exportObject(LiveRef.java:134)
> 	at sun.rmi.server.UnicastServerRef.exportObject(UnicastServerRef.java:163)
> 	at sun.rmi.registry.RegistryImpl.setup(RegistryImpl.java:110)
> 	at sun.rmi.registry.RegistryImpl.<init>(RegistryImpl.java:96)
> 	at java.rmi.registry.LocateRegistry.createRegistry(LocateRegistry.java:189)
> 	at org.apache.geronimo.system.rmi.RMIRegistryService.doStart(RMIRegistryService.java:58)
> 	at org.apache.geronimo.gbean.runtime.GBeanInstance.createInstance(GBeanInstance.java:981)
> 	at org.apache.geronimo.gbean.runtime.GBeanInstanceState.attemptFullStart(GBeanInstanceState.java:267)
> 	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:540)
> 	at org.apache.geronimo.kernel.basic.BasicKernel.startRecursiveGBean(BasicKernel.java:379)
> 	at org.apache.geronimo.kernel.config.ConfigurationUtil.startConfigurationGBeans(ConfigurationUtil.java:374)
> 	at org.apache.geronimo.kernel.config.KernelConfigurationManager.start(KernelConfigurationManager.java:187)
> 	at org.apache.geronimo.kernel.config.SimpleConfigurationManager.startConfiguration(SimpleConfigurationManager.java:527)
> 	at org.apache.geronimo.kernel.config.SimpleConfigurationManager.startConfiguration(SimpleConfigurationManager.java:508)
> 	at org.apache.geronimo.kernel.config.SimpleConfigurationManager$$FastClassByCGLIB$$ce77a924.invoke(<generated>)
> 	at net.sf.cglib.reflect.FastMethod.invoke(FastMethod.java:53)
> 	at org.apache.geronimo.gbean.runtime.FastMethodInvoker.invoke(FastMethodInvoker.java:38)
> 	at org.apache.geronimo.gbean.runtime.GBeanOperation.invoke(GBeanOperation.java:122)
> 	at org.apache.geronimo.gbean.runtime.GBeanInstance.invoke(GBeanInstance.java:817)
> 	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$$949f354c.startConfiguration(<generated>)
> 	at org.apache.geronimo.system.main.Daemon.doStartup(Daemon.java:297)
> 	at org.apache.geronimo.system.main.Daemon.<init>(Daemon.java:74)
> 	at org.apache.geronimo.system.main.Daemon.main(Daemon.java:377)
> Caused by: java.net.BindException: Address already in use: NET_Bind
> 	at java.net.PlainSocketImpl.socketBind(Native Method)
> 	at java.net.PlainSocketImpl.bind(PlainSocketImpl.java:362)
> 	at java.net.ServerSocket.bind(ServerSocket.java:341)
> 	at java.net.ServerSocket.<init>(ServerSocket.java:208)
> 	at java.net.ServerSocket.<init>(ServerSocket.java:120)
> 	at sun.rmi.transport.proxy.RMIDirectSocketFactory.createServerSocket(RMIDirectSocketFactory.java:45)
> 	at sun.rmi.transport.proxy.RMIMasterSocketFactory.createServerSocket(RMIMasterSocketFactory.java:349)
> 	at sun.rmi.transport.tcp.TCPEndpoint.newServerSocket(TCPEndpoint.java:633)
> 	at sun.rmi.transport.tcp.TCPTransport.listen(TCPTransport.java:271)
> 	... 30 more
> 	at org.apache.geronimo.kernel.config.ConfigurationUtil.startConfigurationGBeans(ConfigurationUtil.java:403)
> 	... 15 more
> Server shutdown begun              
> Server shutdown completed

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira