[ https://issues.apache.org/jira/browse/GERONIMO-5392?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Jarek Gawor resolved GERONIMO-5392. ----------------------------------- Fix Version/s: 3.0 Resolution: Fixed Committed a fix for this issue in revision 957276. Bundles with bad manifest info will be ignored (error message will be logged with debug level). I also added a Karaf shell command for refreshing the Geronimo OBR repository at runtime (obr:geronimo-refresh). It should be useful after adding or removing artifacts to the Geronimo repository (e.g. via the install-plugin command). > invalid OSGi bundle number causes geronimo to blow up > ----------------------------------------------------- > > Key: GERONIMO-5392 > URL: https://issues.apache.org/jira/browse/GERONIMO-5392 > Project: Geronimo > Issue Type: Bug > Security Level: public(Regular issues) > Components: Aries > Affects Versions: 3.0-M1 > Reporter: Mark Struberg > Assignee: Jarek Gawor > Fix For: 3.0 > > > not sure which bundle I imported to cause this problem but version parsing > seems to have a problem in geronimo: > 2010-06-22 20:43:55,582 ERROR [GBeanInstanceState] Error while starting; > GBean is now in the FAILED state: > abstractName="org.apache.geronimo.framework/j2ee-system/3.0-M1/car?ServiceModule=org.apache.geronimo.framework/j2ee-system/3.0-M1/car,j2eeType=GBean,name=GeronimoOBR" > java.lang.NumberFormatException: For input string: "1-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:133) > at > org.apache.xbean.osgi.bundle.util.VersionRange.parse(VersionRange.java:79) > at > org.apache.xbean.osgi.bundle.util.BundleDescription.getVersionRange(BundleDescription.java:192) > at > org.apache.xbean.osgi.bundle.util.BundleDescription.access$000(BundleDescription.java:36) > at > org.apache.xbean.osgi.bundle.util.BundleDescription$RequireBundle.<init>(BundleDescription.java:299) > at > org.apache.xbean.osgi.bundle.util.BundleDescription.getRequireBundle(BundleDescription.java:113) > at > org.apache.geronimo.obr.ResourceBuilder.convertRequireBundleToRequirement(ResourceBuilder.java:108) > at > org.apache.geronimo.obr.ResourceBuilder.createResource(ResourceBuilder.java:56) > at > org.apache.geronimo.obr.GeronimoOBRGBean.generateOBRModel(GeronimoOBRGBean.java:140) > at > org.apache.geronimo.obr.GeronimoOBRGBean.generateOBR(GeronimoOBRGBean.java:96) > at > org.apache.geronimo.obr.GeronimoOBRGBean.generateOBR(GeronimoOBRGBean.java:92) > at > org.apache.geronimo.obr.GeronimoOBRGBean.doStart(GeronimoOBRGBean.java:172) > at > org.apache.geronimo.gbean.runtime.GBeanInstance.createInstance(GBeanInstance.java:959) > at > org.apache.geronimo.gbean.runtime.GBeanInstanceState.attemptFullStart(GBeanInstanceState.java:269) > at > org.apache.geronimo.gbean.runtime.GBeanInstanceState.start(GBeanInstanceState.java:103) > at > org.apache.geronimo.gbean.runtime.GBeanInstanceState.startRecursive(GBeanInstanceState.java:125) > at > org.apache.geronimo.gbean.runtime.GBeanInstance.startRecursive(GBeanInstance.java:544) > at > org.apache.geronimo.kernel.basic.BasicKernel.startRecursiveGBean(BasicKernel.java:386) > at > org.apache.geronimo.kernel.config.ConfigurationUtil.startConfigurationGBeans(ConfigurationUtil.java:461) > at > org.apache.geronimo.kernel.config.ConfigurationUtil.loadBootstrapConfiguration(ConfigurationUtil.java:216) > at > org.apache.geronimo.system.osgi.BootActivator.start(BootActivator.java:70) > at > org.apache.felix.framework.util.SecureAction.startActivator(SecureAction.java:661) > at org.apache.felix.framework.Felix.activateBundle(Felix.java:1760) > at org.apache.felix.framework.Felix.startBundle(Felix.java:1682) > at org.apache.felix.framework.Felix.setActiveStartLevel(Felix.java:1128) > at > org.apache.felix.framework.StartLevelImpl.run(StartLevelImpl.java:264) > at java.lang.Thread.run(Thread.java:619) > ERROR: Error starting > mvn:org.apache.geronimo.framework/j2ee-system/3.0-M1/car > (org.osgi.framework.BundleException: Activator start error in bundle > org.apache.geronimo.framework.j2ee-system [55].) > org.apache.geronimo.kernel.config.InvalidConfigException: Unknown start > exception > at > org.apache.geronimo.kernel.config.ConfigurationUtil.startConfigurationGBeans(ConfigurationUtil.java:523) > at > org.apache.geronimo.kernel.config.ConfigurationUtil.loadBootstrapConfiguration(ConfigurationUtil.java:216) > at > org.apache.geronimo.system.osgi.BootActivator.start(BootActivator.java:70) > at > org.apache.felix.framework.util.SecureAction.startActivator(SecureAction.java:661) > at org.apache.felix.framework.Felix.activateBundle(Felix.java:1760) > at org.apache.felix.framework.Felix.startBundle(Felix.java:1682) > at org.apache.felix.framework.Felix.setActiveStartLevel(Felix.java:1128) > at > org.apache.felix.framework.StartLevelImpl.run(StartLevelImpl.java:264) > at java.lang.Thread.run(Thread.java:619) > Caused by: org.apache.geronimo.gbean.InvalidConfigurationException: > Configuration org.apache.geronimo.framework/j2ee-system/3.0-M1/car failed to > start due to the following reasons: > The service > ServiceModule=org.apache.geronimo.framework/j2ee-system/3.0-M1/car,j2eeType=GBean,name=GeronimoOBR > did not start because For input string: "1-SNAPSHOT" > at > org.apache.geronimo.kernel.config.ConfigurationUtil.startConfigurationGBeans(ConfigurationUtil.java:489) > ... 8 more > Main not found > [...@notenix bin]$ -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.