Return-Path: Delivered-To: apmail-geronimo-dev-archive@www.apache.org Received: (qmail 80012 invoked from network); 12 May 2010 05:53:07 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 12 May 2010 05:53:07 -0000 Received: (qmail 35562 invoked by uid 500); 12 May 2010 05:53:07 -0000 Delivered-To: apmail-geronimo-dev-archive@geronimo.apache.org Received: (qmail 35369 invoked by uid 500); 12 May 2010 05:53:06 -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 35356 invoked by uid 99); 12 May 2010 05:53:06 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 12 May 2010 05:53:06 +0000 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.22] (HELO thor.apache.org) (140.211.11.22) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 12 May 2010 05:53:03 +0000 Received: from thor (localhost [127.0.0.1]) by thor.apache.org (8.13.8+Sun/8.13.8) with ESMTP id o4C5qgVg016175 for ; Wed, 12 May 2010 05:52:42 GMT Message-ID: <27852961.19771273643562274.JavaMail.jira@thor> Date: Wed, 12 May 2010 01:52:42 -0400 (EDT) From: "Ivan (JIRA)" To: dev@geronimo.apache.org Subject: [jira] Assigned: (GERONIMO-5298) Bad version information in deployment plan will result in deploy failure In-Reply-To: <24955505.19651273642480765.JavaMail.jira@thor> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/GERONIMO-5298?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Ivan reassigned GERONIMO-5298: ------------------------------ Assignee: Ivan > Bad version information in deployment plan will result in deploy failure > ------------------------------------------------------------------------ > > Key: GERONIMO-5298 > URL: https://issues.apache.org/jira/browse/GERONIMO-5298 > Project: Geronimo > Issue Type: Bug > Security Level: public(Regular issues) > Components: deployment > Affects Versions: 3.0 > Environment: OS:WIN XP SP2 > Server:Geronimo 3.0-SNAPSHOT 2010.5.6 build > JDK:1.6 > Reporter: Lu Jiang > Assignee: Ivan > Attachments: geronimo-web.xml, hello.war > > > I tried to deploy a simple helloworld web application.(see attach file for hello.war),using the deploy plan below: > > xmlns:naming="http://geronimo.apache.org/xml/ns/naming-1.2" > xmlns:sec="http://geronimo.apache.org/xml/ns/security-2.0" > xmlns:sys="http://geronimo.apache.org/xml/ns/deployment-1.2"> > > > org.apache.geronimo.samples > hello > 2.1.1.4 > car > > > > > > /hello > > Deployment will fail with an exception: > Unable to create configuration for deployment: dependencies: null > org.apache.geronimo.common.DeploymentException: Unable to create configuration for deployment: dependencies: null > at org.apache.geronimo.deployment.DeploymentContext.createTempConfiguration(DeploymentContext.java:208) > at org.apache.geronimo.deployment.DeploymentContext.initializeConfiguration(DeploymentContext.java:188) > at org.apache.geronimo.j2ee.deployment.EARConfigBuilder.buildConfiguration(EARConfigBuilder.java:606) > at org.apache.geronimo.deployment.Deployer.deploy(Deployer.java:250) > at org.apache.geronimo.deployment.Deployer.deploy(Deployer.java:138) > at sun.reflect.GeneratedMethodAccessor214.invoke(Unknown Source) > at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) > at java.lang.reflect.Method.invoke(Method.java:597) > at org.apache.geronimo.gbean.runtime.ReflectionMethodInvoker.invoke(ReflectionMethodInvoker.java:34) > at org.apache.geronimo.gbean.runtime.GBeanOperation.invoke(GBeanOperation.java:131) > at org.apache.geronimo.gbean.runtime.GBeanInstance.invoke(GBeanInstance.java:856) > at org.apache.geronimo.kernel.basic.BasicKernel.invoke(BasicKernel.java:245) > at org.apache.geronimo.deployment.plugin.local.AbstractDeployCommand.doDeploy(AbstractDeployCommand.java:116) > at org.apache.geronimo.deployment.plugin.local.DistributeCommand.run(DistributeCommand.java:61) > at java.lang.Thread.run(Thread.java:619) > Caused by: org.osgi.framework.BundleException: Could not create bundle object. > at org.apache.felix.framework.Felix.installBundle(Felix.java:2487) > at org.apache.felix.framework.Felix.installBundle(Felix.java:2334) > at org.apache.felix.framework.BundleContextImpl.installBundle(BundleContextImpl.java:130) > at org.apache.felix.framework.BundleContextImpl.installBundle(BundleContextImpl.java:108) > at org.apache.geronimo.deployment.DeploymentContext.createTempConfiguration(DeploymentContext.java:200) > ... 14 more > Caused by: java.lang.IllegalArgumentException: invalid format > at org.osgi.framework.Version.(Version.java:140) > at org.osgi.framework.Version.parseVersion(Version.java:218) > at org.apache.felix.framework.util.manifestparser.ManifestParser.(ManifestParser.java:76) > at org.apache.felix.framework.ModuleImpl.(ModuleImpl.java:221) > at org.apache.felix.framework.BundleImpl.createModule(BundleImpl.java:1121) > at org.apache.felix.framework.BundleImpl.(BundleImpl.java:79) > at org.apache.felix.framework.Felix.installBundle(Felix.java:2429) > ... 18 more > The strange thing is if I change version information in the deploy plan to "2","2.1","2.1.1" or "3.0-SNAPSHOT" etc. Deployment process will succeed. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.