Return-Path: Delivered-To: apmail-geronimo-dev-archive@www.apache.org Received: (qmail 15008 invoked from network); 3 Jun 2008 22:09:12 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 3 Jun 2008 22:09:12 -0000 Received: (qmail 8267 invoked by uid 500); 3 Jun 2008 22:09:12 -0000 Delivered-To: apmail-geronimo-dev-archive@geronimo.apache.org Received: (qmail 8203 invoked by uid 500); 3 Jun 2008 22:09:11 -0000 Mailing-List: contact dev-help@geronimo.apache.org; run by ezmlm Precedence: bulk list-help: list-unsubscribe: List-Post: Reply-To: dev@geronimo.apache.org List-Id: Delivered-To: mailing list dev@geronimo.apache.org Received: (qmail 8167 invoked by uid 99); 3 Jun 2008 22:09:11 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 03 Jun 2008 15:09:11 -0700 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.140] (HELO brutus.apache.org) (140.211.11.140) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 03 Jun 2008 22:08:23 +0000 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 07784234C12F for ; Tue, 3 Jun 2008 15:08:45 -0700 (PDT) Message-ID: <713559738.1212530925029.JavaMail.jira@brutus> Date: Tue, 3 Jun 2008 15:08:45 -0700 (PDT) From: "Jarek Gawor (JIRA)" To: dev@geronimo.apache.org Subject: [jira] Commented: (GERONIMO-4072) Fail to offline deploy an application because of the dependency to rmi-naming In-Reply-To: <833284539.1211507996235.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/GERONIMO-4072?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12602092#action_12602092 ] Jarek Gawor commented on GERONIMO-4072: --------------------------------------- I think that's a separate problem. Maybe rmi-naming should not be starting but either way the deployer should read the config-substitutions.properties file to resolve the variables correctly. But at this point offline deployer does not work at all even with this change. > 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 > > > 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.(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() > 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.(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() > 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.(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.