[ https://issues.apache.org/jira/browse/GERONIMO-5768?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12984692#action_12984692 ]
viola.lu commented on GERONIMO-5768: ------------------------------------ I tried this patch.But seems the generated bundleclasspath still end with '/': Bundle-ClassPath: WEB-INF/classes/ Steps: 1.Deploy sample hello Web application (war) 2.Go to $server_home/var/cache/org.eclipse.osgi/bundles/[bundle_ID], open its bundle file, take a look into manifest file Manifest-Version: 1.0 Bundle-ManifestVersion: 2 Bundle-SymbolicName: com.*.*.samples.hello Bundle-Version: 0.0.0.2_1_1_5 Bundle-Activator: org.apache.geronimo.kernel.osgi.ConfigurationActivat or Import-Package: org.apache.webbeans.jsf,javassist,javassist.bytecode,j avassist.bytecode.annotation,javassist.bytecode.stackmap,javassist.co mpiler,javassist.compiler.ast,javassist.convert,javassist.expr,javass ist.runtime,javassist.scopedpool,javassist.tools,javassist.tools.refl ect,javassist.tools.rmi,javassist.tools.web,javassist.util,javassist. util.proxy,javax.validation,org.apache.bval.jsr303,org.apache.geronim o.bval,org.osgi.framework,org.apache.geronimo.j2ee.jndi,org.apache.ge ronimo.kernel,javax.naming,javax.transaction,org.apache.geronimo.tomc at,org.apache.geronimo.management.geronimo,org.apache.geronimo.web.in fo,org.apache.tomcat,javax.management.j2ee.statistics,org.apache.gero nimo.j2ee,org.apache.catalina,org.apache.geronimo.connector.outbound. connectiontracking,org.apache.geronimo.tomcat.util,org.apache.geronim o.security.jacc,org.apache.geronimo.j2ee.annotation,org.apache.catali na.ha,org.apache.webbeans.config,org.apache.geronimo.openwebbeans,org .apache.geronimo.security.jaas,org.apache.geronimo.management,org.apa che.geronimo.tomcat.cluster,org.apache.geronimo.jasper,org.apache.ger onimo.gjndi,org.apache.geronimo.kernel.osgi DynamicImport-Package: * Bundle-ClassPath: WEB-INF/classes/ The bundle-ClassPath: WEB-INF/classes/ still end up with '/' > Invalid Bundle-Classpath entry ends with '/' > -------------------------------------------- > > Key: GERONIMO-5768 > URL: https://issues.apache.org/jira/browse/GERONIMO-5768 > Project: Geronimo > Issue Type: Bug > Security Level: public(Regular issues) > Components: deployment > Affects Versions: 3.0-M2 > Reporter: Jarek Gawor > Priority: Minor > > When deploying a regular web application Geronimo generates OSGi manifest for > the application. One of the headers generated is the Bundle-Classpath. When > generating this header Geronimo adds WEB-INF/classes/ entry to the path. And > according to the OSGi core spec the class path entry cannot end with '/'. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.