Jarek, How does one apply this patch?
JIRA [EMAIL PROTECTED] wrote: > > > [ > https://issues.apache.org/jira/browse/GERONIMO-4072?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel > ] > > Jarek Gawor updated GERONIMO-4072: > ---------------------------------- > > Attachment: GERONIMO-4072.patch > > Here's a rough patch that makes offline deployment work again (although > not sure yet why the BasicServerInfo gbean name change is necessary). > > >> Fail to offline deploy an application because of the dependency to >> rmi-naming >> ----------------------------------------------------------------------------- >> >> Key: GERONIMO-4072 >> URL: https://issues.apache.org/jira/browse/GERONIMO-4072 >> Project: Geronimo >> Issue Type: Bug >> Security Level: public(Regular issues) >> Affects Versions: 2.1.2, 2.1.x, 2.2 >> Reporter: YunFeng Ma >> Assignee: Jarek Gawor >> Fix For: 2.1.2, 2.1.x >> >> Attachments: GERONIMO-4072.patch >> >> >> Run command: >> c:\geronimo server\bin> deploy.bat --offline deploy >> F:\cviewer-2.1.0.0.war >> Got the following error: >> {noformat} >> 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 >> {noformat} > > -- > This message is automatically generated by JIRA. > - > You can reply to this email to add a comment to the issue online. > > > -- View this message in context: http://www.nabble.com/-jira--Created%3A-%28GERONIMO-4072%29-Fail-to-offline-deploy-an-application-because-of-the-dependency-to-rmi-naming-tp17417244s134p17648847.html Sent from the Apache Geronimo - Dev mailing list archive at Nabble.com.
