I'm running glassfish v3 and attempting to deploy a grails application built via Maven.
The deployment fails and I see the following error in the logs. It looks like it is having a problem processing the bundle-version in the MANIFEST.MF file. My bundle-version and implementation-version are 1.0-SNAPSHOT, set automatically by Maven. I changed these to 1.0 and got past this problem. Should glassfish be assuming this is a number?
[#|2010-05-05T08:08:28.529-0500|SEVERE|glassfishv3.0|javax.enterprise.system.std.com.sun.enterprise.v3.services.impl|_ThreadID=24;_ThreadName=Thread-1;|java.lang.NumberFormatException: For input string: "0-SNAPSHOT"
at java.lang.NumberFormatException.forInputString(NumberFormatException.java:48)
at java.lang.Integer.parseInt(Integer.java:458)
at java.lang.Integer.parseInt(Integer.java:499)
at org.osgi.framework.Version.<init>(Version.java:129)
at org.osgi.framework.Version.parseVersion(Version.java:218)
at org.apache.felix.framework.util.manifestparser.ManifestParser.<init>(ManifestParser.java:76)
at org.apache.felix.framework.ModuleImpl.<init>(ModuleImpl.java:204)
at org.apache.felix.framework.BundleImpl.createModule(BundleImpl.java:1115)
at org.apache.felix.framework.BundleImpl.<init>(BundleImpl.java:79)
at org.apache.felix.framework.Felix.installBundle(Felix.java:2372)
at org.apache.felix.framework.Felix.installBundle(Felix.java:2277)
at org.apache.felix.framework.BundleContextImpl.installBundle(BundleContextImpl.java:130)
at org.apache.felix.framework.BundleContextImpl.installBundle(BundleContextImpl.java:108)
at org.jvnet.hk2.osgiadapter.OSGiModulesRegistryImpl.newModule(OSGiModulesRegistryImpl.java:290)
at com.sun.enterprise.module.common_impl.AbstractModulesRegistryImpl.add(AbstractModulesRegistryImpl.java:454)
at com.sun.enterprise.module.common_impl.AbstractModulesRegistryImpl.add(AbstractModulesRegistryImpl.java:443)
at org.glassfish.extras.osgicontainer.OSGiArchiveHandler.getClassLoader(OSGiArchiveHandler.java:125)
at org.glassfish.deployment.common.DeploymentContextImpl.createClassLoader(DeploymentContextImpl.java:194)
at org.glassfish.deployment.common.DeploymentContextImpl.createDeploymentClassLoader(DeploymentContextImpl.java:177)
at com.sun.enterprise.v3.server.ApplicationLifecycle.deploy(ApplicationLifecycle.java:248)
at com.sun.enterprise.v3.server.ApplicationLifecycle.deploy(ApplicationLifecycle.java:183)
at org.glassfish.deployment.admin.DeployCommand.execute(DeployCommand.java:272)
[Message sent by forum member 'rsmith99']
http://forums.java.net/jive/thread.jspa?messageID=411378