You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@geronimo.apache.org by "Saphen Qiu (Assigned) (JIRA)" <ji...@apache.org> on 2012/01/12 14:25:39 UTC

[jira] [Assigned] (GERONIMO-6233) --offline option does not work when server is started

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

Saphen Qiu reassigned GERONIMO-6233:
------------------------------------

    Assignee: Saphen Qiu
    
> --offline option does not work when server is started
> -----------------------------------------------------
>
>                 Key: GERONIMO-6233
>                 URL: https://issues.apache.org/jira/browse/GERONIMO-6233
>             Project: Geronimo
>          Issue Type: Bug
>      Security Level: public(Regular issues) 
>          Components: deployment, testsuite
>    Affects Versions: 3.0, 3.0-beta-1
>            Reporter: Forrest Xia
>            Assignee: Saphen Qiu
>              Labels: 3.0.0.0, deployment, offline, testsuite
>         Attachments: fix_6233.patch
>
>
> 1. Start the default server runtime
> 2. Run testsuite/commands-testsuite/deploy: mvn clean install -Dit -e -o
> 3. Some tests failed with this exception:
> testListAllModules(org.apache.geronimo.testsuite.deploy.DeployerOfflineTest)  Time elapsed: 11.14 sec  <<< FAILURE!
> java.lang.AssertionError: list-modules failed : Using GERONIMO_HOME:   /home/forrestxm/src/asf/geronimo/server/trunk/assemblies/geronimo-tomcat7-javaee6/target/geronimo-tomcat7-javaee6-3.0-SNAPSHOT
> Using GERONIMO_TMPDIR: var/temp
> Using JRE_HOME:        /opt/sun/jdk1.6.0_29/jre
> 2011-12-13 07:21:39,215 ERROR [GBeanInstanceState] Error while starting; GBean is now in the FAILED state: abstractName="org.apache.geronimo.framework/rmi-naming/3.0-SNAPSHOT/car?ServiceModule=org.apache.geronimo.framework/rmi-naming/3.0-SNAPSHOT/car,j2eeType=GBean,name=RMIRegistry"
> java.rmi.server.ExportException: Port already in use: 1099; nested exception is: 
> 	java.net.BindException: Address already in use
> 	at sun.rmi.transport.tcp.TCPTransport.listen(TCPTransport.java:310)
> 	at sun.rmi.transport.tcp.TCPTransport.exportObject(TCPTransport.java:218)
> 	at sun.rmi.transport.tcp.TCPEndpoint.exportObject(TCPEndpoint.java:393)
> 	at sun.rmi.transport.LiveRef.exportObject(LiveRef.java:129)
> 	at sun.rmi.server.UnicastServerRef.exportObject(UnicastServerRef.java:188)
> 	at sun.rmi.registry.RegistryImpl.setup(RegistryImpl.java:100)
> 	at sun.rmi.registry.RegistryImpl.<init>(RegistryImpl.java:76)
> 	at java.rmi.registry.LocateRegistry.createRegistry(LocateRegistry.java:222)
> 	at org.apache.geronimo.kernel.rmi.RMIRegistryService.doStart(RMIRegistryService.java:84)
> 	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.GBeanInstanceState.startRecursive(GBeanInstanceState.java:127)
> 	at org.apache.geronimo.gbean.runtime.GBeanInstance.startRecursive(GBeanInstance.java:569)
> 	at org.apache.geronimo.kernel.basic.BasicKernel.startRecursiveGBean(BasicKernel.java:386)
> 	at org.apache.geronimo.kernel.config.ConfigurationUtil.startConfigurationGBeans(ConfigurationUtil.java:466)
> 	at org.apache.geronimo.kernel.config.KernelConfigurationManager.start(KernelConfigurationManager.java:225)
> 	at org.apache.geronimo.kernel.config.SimpleConfigurationManager.startConfiguration(SimpleConfigurationManager.java:702)
> 	at org.apache.geronimo.kernel.config.SimpleConfigurationManager.startConfiguration(SimpleConfigurationManager.java:681)
> 	at org.apache.geronimo.deployment.cli.OfflineDeployerStarter.startPersistentOfflineConfigurations(OfflineDeployerStarter.java:121)
> 	at org.apache.geronimo.deployment.cli.OfflineDeployerStarter.start(OfflineDeployerStarter.java:71)
> 	at org.apache.geronimo.deployment.cli.OfflineServerConnection.startOfflineDeployer(OfflineServerConnection.java:58)
> 	at org.apache.geronimo.deployment.cli.OfflineServerConnection.<init>(OfflineServerConnection.java:41)
> 	at org.apache.geronimo.deployment.cli.DeployTool.execute(DeployTool.java:165)
> 	at org.apache.geronimo.system.main.MainBridge.execute(MainBridge.java:64)
> 	at org.apache.geronimo.main.Bootstrapper.execute(Bootstrapper.java:65)
> 	at org.apache.geronimo.cli.AbstractCLI.executeMain(AbstractCLI.java:65)
> 	at org.apache.geronimo.cli.deployer.DeployerCLI.main(DeployerCLI.java:32)
> Caused by: java.net.BindException: Address already in use
> 	at java.net.PlainSocketImpl.socketBind(Native Method)
> 	at java.net.PlainSocketImpl.bind(PlainSocketImpl.java:383)
> 	at java.net.ServerSocket.bind(ServerSocket.java:328)
> 	at java.net.ServerSocket.<init>(ServerSocket.java:194)
> 	at org.apache.geronimo.kernel.rmi.GeronimoRMIServerSocketFactory.createServerSocket(GeronimoRMIServerSocketFactory.java:35)
> 	at sun.rmi.transport.tcp.TCPEndpoint.newServerSocket(TCPEndpoint.java:649)
> 	at sun.rmi.transport.tcp.TCPTransport.listen(TCPTransport.java:299)
> 	... 27 more
> 2011-12-13 07:21:39,320 ERROR [DeployTool] Error: 
> org.apache.geronimo.common.DeploymentException: Unexpected error. Cannot start offline-deployer
> 	at org.apache.geronimo.deployment.cli.OfflineDeployerStarter.start(OfflineDeployerStarter.java:76)
> 	at org.apache.geronimo.deployment.cli.OfflineServerConnection.startOfflineDeployer(OfflineServerConnection.java:58)
> 	at org.apache.geronimo.deployment.cli.OfflineServerConnection.<init>(OfflineServerConnection.java:41)
> 	at org.apache.geronimo.deployment.cli.DeployTool.execute(DeployTool.java:165)
> 	at org.apache.geronimo.system.main.MainBridge.execute(MainBridge.java:64)
> 	at org.apache.geronimo.main.Bootstrapper.execute(Bootstrapper.java:65)
> 	at org.apache.geronimo.cli.AbstractCLI.executeMain(AbstractCLI.java:65)
> 	at org.apache.geronimo.cli.deployer.DeployerCLI.main(DeployerCLI.java:32)
> Caused by: org.apache.geronimo.kernel.config.LifecycleException: start of org.apache.geronimo.configs/openwebbeans-deployer/3.0-SNAPSHOT/car failed
> 	at org.apache.geronimo.kernel.config.SimpleConfigurationManager.startConfiguration(SimpleConfigurationManager.java:718)
> 	at org.apache.geronimo.kernel.config.SimpleConfigurationManager.startConfiguration(SimpleConfigurationManager.java:681)
> 	at org.apache.geronimo.deployment.cli.OfflineDeployerStarter.startPersistentOfflineConfigurations(OfflineDeployerStarter.java:121)
> 	at org.apache.geronimo.deployment.cli.OfflineDeployerStarter.start(OfflineDeployerStarter.java:71)
> 	... 7 more
> Caused by: org.apache.geronimo.kernel.config.InvalidConfigException: Unknown start exception
> 	at org.apache.geronimo.kernel.config.ConfigurationUtil.startConfigurationGBeans(ConfigurationUtil.java:527)
> 	at org.apache.geronimo.kernel.config.KernelConfigurationManager.start(KernelConfigurationManager.java:225)
> 	at org.apache.geronimo.kernel.config.SimpleConfigurationManager.startConfiguration(SimpleConfigurationManager.java:702)
> 	... 10 more

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