Uploaded image for project: 'Geronimo'
  1. Geronimo
  2. GERONIMO-4072

Fail to offline deploy an application because of the dependency to rmi-naming

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 2.1.2, 2.1.x, 2.2
    • 2.1.2, 2.2
    • None
    • Security Level: public (Regular issues)
    • None

    Description

      Run command:
      c:\geronimo server\bin> deploy.bat --offline deploy F:\cviewer-2.1.0.0.war

      Got the following error:

      18:34:55,812 ERROR [GBeanInstanceState] Error while starting; GBean is now in the FAILED state: abstractName="org.apache.geronimo.framework/rmi-naming/2.1.1/car?configurationName=org.apache.geronimo.framework/rmi-naming/2.1.1/car"
      java.lang.NumberFormatException: For input string: "null"
              at java.lang.NumberFormatException.forInputString(NumberFormatException.java:48)
              at java.lang.Integer.parseInt(Integer.java:447)
              at java.lang.Integer.valueOf(Integer.java:553)
              at sun.beans.editors.IntEditor.setAsText(IntEditor.java:21)
              at org.apache.geronimo.system.configuration.GBeanOverride.getValue(GBeanOverride.java:389)
              at org.apache.geronimo.system.configuration.GBeanOverride.applyOverrides(GBeanOverride.java:348)
              at org.apache.geronimo.system.configuration.LocalAttributeManager.setAttributes(LocalAttributeManager.java:210)
              at org.apache.geronimo.system.configuration.LocalAttributeManager.applyOverrides(LocalAttributeManager.java:179)
              at org.apache.geronimo.kernel.config.Configuration.<init>(Configuration.java:280)
              at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
              at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
              at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
              at java.lang.reflect.Constructor.newInstance(Constructor.java:494)
              at org.apache.geronimo.gbean.runtime.GBeanInstance.createInstance(GBeanInstance.java:948)
              at org.apache.geronimo.gbean.runtime.GBeanInstanceState.attemptFullStart(GBeanInstanceState.java:268)
              at org.apache.geronimo.gbean.runtime.GBeanInstanceState.start(GBeanInstanceState.java:102)
              at org.apache.geronimo.gbean.runtime.GBeanInstance.start(GBeanInstance.java:541)
              at org.apache.geronimo.kernel.basic.BasicKernel.startGBean(BasicKernel.java:361)
              at org.apache.geronimo.kernel.config.KernelConfigurationManager.load(KernelConfigurationManager.java:160)
              at org.apache.geronimo.kernel.config.SimpleConfigurationManager.loadConfiguration(SimpleConfigurationManager.java:312)
              at org.apache.geronimo.kernel.config.SimpleConfigurationManager.loadConfiguration(SimpleConfigurationManager.java:280)
              at org.apache.geronimo.kernel.config.SimpleConfigurationManager.loadConfiguration(SimpleConfigurationManager.java:255)
              at org.apache.geronimo.kernel.config.KernelConfigurationManager.loadConfiguration(KernelConfigurationManager.java:111)
              at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
              at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
              at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
              at java.lang.reflect.Method.invoke(Method.java:585)
              at org.apache.geronimo.gbean.runtime.ReflectionMethodInvoker.invoke(ReflectionMethodInvoker.java:34)
              at org.apache.geronimo.gbean.runtime.GBeanOperation.invoke(GBeanOperation.java:124)
              at org.apache.geronimo.gbean.runtime.GBeanInstance.invoke(GBeanInstance.java:832)
              at org.apache.geronimo.gbean.runtime.RawInvoker.invoke(RawInvoker.java:57)
              at org.apache.geronimo.kernel.basic.RawOperationInvoker.invoke(RawOperationInvoker.java:35)
              at org.apache.geronimo.kernel.basic.ProxyMethodInterceptor.intercept(ProxyMethodInterceptor.java:96)
              at org.apache.geronimo.kernel.config.EditableConfigurationManager$$EnhancerByCGLIB$$2abf7bbf.loadConfiguration(<generated>)
              at org.apache.geronimo.deployment.cli.OfflineDeployerStarter.startPersistentOfflineConfigurations(OfflineDeployerStarter.java:120)
              at org.apache.geronimo.deployment.cli.OfflineDeployerStarter.start(OfflineDeployerStarter.java:71)
              at org.apache.geronimo.deployment.cli.ServerConnection.startOfflineDeployer(ServerConnection.java:103)
              at org.apache.geronimo.deployment.cli.ServerConnection.<init>(ServerConnection.java:91)
              at org.apache.geronimo.deployment.cli.DeployTool.execute(DeployTool.java:161)
              at org.apache.geronimo.kernel.util.MainConfigurationBootstrapper.main(MainConfigurationBootstrapper.java:45)
              at org.apache.geronimo.cli.AbstractCLI.executeMain(AbstractCLI.java:67)
              at org.apache.geronimo.cli.deployer.DeployerCLI.main(DeployerCLI.java:31)
          Error: Unexpected error. Cannot start offline-deployer
      org.apache.geronimo.kernel.config.LifecycleException: load of org.apache.geronimo.framework/geronimo-gbean-deployer/2.1.1/car failed
              at org.apache.geronimo.kernel.config.SimpleConfigurationManager.loadConfiguration(SimpleConfigurationManager.java:327)
              at org.apache.geronimo.kernel.config.SimpleConfigurationManager.loadConfiguration(SimpleConfigurationManager.java:280)
              at org.apache.geronimo.kernel.config.SimpleConfigurationManager.loadConfiguration(SimpleConfigurationManager.java:255)
              at org.apache.geronimo.kernel.config.KernelConfigurationManager.loadConfiguration(KernelConfigurationManager.java:111)
              at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
              at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
              at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
              at java.lang.reflect.Method.invoke(Method.java:585)
              at org.apache.geronimo.gbean.runtime.ReflectionMethodInvoker.invoke(ReflectionMethodInvoker.java:34)
              at org.apache.geronimo.gbean.runtime.GBeanOperation.invoke(GBeanOperation.java:124)
              at org.apache.geronimo.gbean.runtime.GBeanInstance.invoke(GBeanInstance.java:832)
              at org.apache.geronimo.gbean.runtime.RawInvoker.invoke(RawInvoker.java:57)
              at org.apache.geronimo.kernel.basic.RawOperationInvoker.invoke(RawOperationInvoker.java:35)
              at org.apache.geronimo.kernel.basic.ProxyMethodInterceptor.intercept(ProxyMethodInterceptor.java:96)
              at org.apache.geronimo.kernel.config.EditableConfigurationManager$$EnhancerByCGLIB$$2abf7bbf.loadConfiguration(<generated>)
              at org.apache.geronimo.deployment.cli.OfflineDeployerStarter.startPersistentOfflineConfigurations(OfflineDeployerStarter.java:120)
              at org.apache.geronimo.deployment.cli.OfflineDeployerStarter.start(OfflineDeployerStarter.java:71)
              at org.apache.geronimo.deployment.cli.ServerConnection.startOfflineDeployer(ServerConnection.java:103)
              at org.apache.geronimo.deployment.cli.ServerConnection.<init>(ServerConnection.java:91)
              at org.apache.geronimo.deployment.cli.DeployTool.execute(DeployTool.java:161)
              at org.apache.geronimo.kernel.util.MainConfigurationBootstrapper.main(MainConfigurationBootstrapper.java:45)
              at org.apache.geronimo.cli.AbstractCLI.executeMain(AbstractCLI.java:67)
              at org.apache.geronimo.cli.deployer.DeployerCLI.main(DeployerCLI.java:31)
      Caused by: org.apache.geronimo.kernel.config.InvalidConfigException: Error starting configuration gbean org.apache.geronimo.framework/rmi-naming/2.1.1/car
              at org.apache.geronimo.kernel.config.KernelConfigurationManager.load(KernelConfigurationManager.java:180)
              at org.apache.geronimo.kernel.config.SimpleConfigurationManager.loadConfiguration(SimpleConfigurationManager.java:312)
              ... 22 more
      Caused by: org.apache.geronimo.gbean.InvalidConfigurationException: Configuration gbean failed to start org.apache.geronimo.framework/rmi-naming/2.1.1/car
      reason: For input string: "null"
              at org.apache.geronimo.kernel.config.KernelConfigurationManager.load(KernelConfigurationManager.java:163)
              ... 23 more
      

      Attachments

        1. GERONIMO-4072.2.patch
          8 kB
          Jarek Gawor
        2. GERONIMO-4072.patch
          6 kB
          Jarek Gawor

        Activity

          People

            gawor@mcs.anl.gov Jarek Gawor
            frank2006g YunFeng Ma
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: