[JBoss JIRA] Created: (JBOSGI-110) Support WAR deployments in the OSGi runtime
by Thomas Diesler (JIRA)
Support WAR deployments in the OSGi runtime
-------------------------------------------
Key: JBOSGI-110
URL: https://jira.jboss.org/jira/browse/JBOSGI-110
Project: JBoss OSGi
Issue Type: Feature Request
Security Level: Public (Everyone can see)
Components: Runtime
Reporter: Thomas Diesler
Assignee: Thomas Diesler
Fix For: JBossOSGi 1.0.x
I see a lot of classloading cases which got me interested in OSGI. I have a question, I'm not sure if it is a bug or something not yet finished. I installed jboss-osgi-installer-1.0.0.Beta1.jar and tried it on JBoss 5.0.1 and JBoss EAP 5 Alpha. In my test, I created a couple of jars with a class Version each printing a different version. And made 2 wars that load a different version of the Version class. It seems OSGI is not yet working with war files. I just wanted to see if this was a bug or a feature not yet implemented.
Thanks,
--
Brad Maxwell
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
14 years, 8 months
[JBoss JIRA] Created: (JBOSGI-162) Cannot load classes from Bundle-ClassPath
by Thomas Diesler (JIRA)
Cannot load classes from Bundle-ClassPath
-----------------------------------------
Key: JBOSGI-162
URL: https://jira.jboss.org/jira/browse/JBOSGI-162
Project: JBoss OSGi
Issue Type: Bug
Security Level: Public (Everyone can see)
Components: Core
Reporter: Thomas Diesler
Assignee: Thomas Diesler
Fix For: Framework 1.0.0 Alpha1
mvn -Dtest=BundleClassPathTest test
[tdiesler@tdvaio trunk]$ jar -tf target/test-libs/bundle-classpath.war
META-INF/
META-INF/MANIFEST.MF
WEB-INF/
WEB-INF/web.xml
WEB-INF/classes/
WEB-INF/classes/org/
WEB-INF/classes/org/jboss/
WEB-INF/classes/org/jboss/test/
WEB-INF/classes/org/jboss/test/osgi/
WEB-INF/classes/org/jboss/test/osgi/classloading/
WEB-INF/classes/org/jboss/test/osgi/classloading/EndpointServlet.class
message.txt
Bundle-ManifestVersion: 2
Bundle-SymbolicName: bundle-classpath
Bundle-ClassPath: .,WEB-INF/classes
java.lang.ClassNotFoundException: org.jboss.test.osgi.classloading.EndpointServlet from BaseClassLoader@6a40afb9{OSGiClassLoaderPolicy@3cd0d12e{name=vfszip:/home/tdiesler/svn/jboss-osgi/projects/runtime/microcontainer/trunk/target/test-libs/bundle-classpath.war/ domain=OSGiClassLoaderDomain@2afb6c5f{name=OSGiClassLoaderDomain parentPolicy=(before=[javax.imageio, javax.imageio.stream, javax.management, javax.management.remote, javax.naming, javax.naming.event, javax.naming.spi, javax.net, javax.net.ssl, javax.xml.datatype, javax.xml.namespace, javax.xml.parsers, javax.xml.transform, javax.xml.transform.dom, javax.xml.transform.sax, javax.xml.transform.stream, javax.xml.validation, org.jboss.logging, org.jboss.osgi.spi.capability, org.jboss.osgi.spi.logging, org.jboss.osgi.spi.management, org.jboss.osgi.spi.service, org.jboss.osgi.spi.testing, org.jboss.osgi.spi.util, org.osgi.framework, org.osgi.framework, org.osgi.framework.launch, org.osgi.framework.launch, org.osgi.service.packageadmin, org.osgi.service.packageadmin, org.osgi.service.startlevel, org.osgi.service.startlevel, org.w3c.dom, org.w3c.dom.bootstrap, org.w3c.dom.events, org.w3c.dom.ls, org.w3c.dom.ranges, org.w3c.dom.traversal, org.w3c.dom.views, org.xml.sax, org.xml.sax.ext, org.xml.sax.helpers] <INCLUDE_JAVA> after=<NOTHING>) parent=sun.misc.Launcher$AppClassLoader@2c2bbd86} roots=[DelegatingHandler@827671091[path= context=file:/home/tdiesler/svn/jboss-osgi/projects/runtime/microcontainer/trunk/target/test-libs/bundle-classpath.war real=vfszip:/home/tdiesler/svn/jboss-osgi/projects/runtime/microcontainer/trunk/target/test-libs/bundle-classpath.war]] delegates=null exported=[]}}
at org.jboss.classloader.spi.base.BaseClassLoader.loadClass(BaseClassLoader.java:451)
at java.lang.ClassLoader.loadClass(ClassLoader.java:252)
at org.jboss.osgi.framework.bundle.OSGiBundleState.loadClass(OSGiBundleState.java:205)
at org.jboss.osgi.framework.bundle.OSGiBundleWrapper.loadClass(OSGiBundleWrapper.java:171)
at org.jboss.test.osgi.classloading.BundleClassPathTest.testBundleClassPath(BundleClassPathTest.java:57)
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
14 years, 8 months