[JBoss JIRA] Created: (JBOSGI-145) JAXB classes are loaded from the system classpath
by Thomas Diesler (JIRA)
JAXB classes are loaded from the system classpath
-------------------------------------------------
Key: JBOSGI-145
URL: https://jira.jboss.org/jira/browse/JBOSGI-145
Project: JBoss OSGi
Issue Type: Bug
Security Level: Public (Everyone can see)
Components: Core
Reporter: Thomas Diesler
Fix For: Framework 1.0.0 Alpha1
[tdiesler@tdvaio example]$ mvn -Dframework=jbossmc -Dtest=JAXBTestCase test
Running org.jboss.test.osgi.example.xml.jaxb.JAXBTestCase
Tests run: 1, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 5.721 sec
Caused by: javax.xml.bind.JAXBException: Provider com.sun.xml.internal.bind.v2.ContextFactory not found
- with linked exception:
[java.lang.ClassNotFoundException: com.sun.xml.internal.bind.v2.ContextFactory from OSGiBundleClassLoader@14596d5{VFSClassLoaderPolicy@1b19753{name=vfszip:/home/tdiesler/svn/jboss-osgi/trunk/testsuite/example/target/test-libs/example-xml-jaxb.jar/ domain=ClassLoaderDomain@74cb02{name=DefaultDomain 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.framework, 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.launch, org.osgi.service.packageadmin, org.osgi.service.startlevel, org.osgi.util.tracker, org.w3c.dom, 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@1a7bf11} roots=[DelegatingHandler@4574743[path= context=file:/home/tdiesler/svn/jboss-osgi/trunk/testsuite/example/target/test-libs/example-xml-jaxb.jar real=vfszip:/home/tdiesler/svn/jboss-osgi/trunk/testsuite/example/target/test-libs/example-xml-jaxb.jar]] delegates=[FilteredDelegateLoader@dd5681{delegate=VFSClassLoaderPolicy@1453d72{vfszip:/home/tdiesler/svn/jboss-osgi/trunk/testsuite/example/target/test-libs/bundles/jboss-osgi-jaxb.jar/}}, FilteredDelegateLoader@15a4523{delegate=VFSClassLoaderPolicy@1453d72{vfszip:/home/tdiesler/svn/jboss-osgi/trunk/testsuite/example/target/test-libs/bundles/jboss-osgi-jaxb.jar/}}, FilteredDelegateLoader@171120a{delegate=VFSClassLoaderPolicy@1453d72{vfszip:/home/tdiesler/svn/jboss-osgi/trunk/testsuite/example/target/test-libs/bundles/jboss-osgi-jaxb.jar/}}, FilteredDelegateLoader@57828d{delegate=VFSClassLoaderPolicy@6147d9{vfszip:/home/tdiesler/svn/jboss-osgi/trunk/testsuite/example/target/test-libs/bundles/jboss-osgi-husky.jar/}}, FilteredDelegateLoader@13c296b{delegate=VFSClassLoaderPolicy@6147d9{vfszip:/home/tdiesler/svn/jboss-osgi/trunk/testsuite/example/target/test-libs/bundles/jboss-osgi-husky.jar/}}, FilteredDelegateLoader@c360a5{delegate=VFSClassLoaderPolicy@1453d72{vfszip:/home/tdiesler/svn/jboss-osgi/trunk/testsuite/example/target/test-libs/bundles/jboss-osgi-jaxb.jar/}}, FilteredDelegateLoader@fe2558{delegate=VFSClassLoaderPolicy@6147d9{vfszip:/home/tdiesler/svn/jboss-osgi/trunk/testsuite/example/target/test-libs/bundles/jboss-osgi-husky.jar/}}] exported=[org.jboss.test.osgi.example.xml.jaxb]}}]
at javax.xml.bind.ContextFinder.newInstance(ContextFinder.java:147)
at javax.xml.bind.ContextFinder.find(ContextFinder.java:290)
at javax.xml.bind.JAXBContext.newInstance(JAXBContext.java:372)
at org.jboss.osgi.jaxb.internal.JAXBServiceImpl.newJAXBContext(JAXBServiceImpl.java:58)
at org.jboss.osgi.jaxb.internal.JAXBServiceImpl.newJAXBContext(JAXBServiceImpl.java:52)
at org.jboss.test.osgi.example.xml.jaxb.JAXBTestCase.getJAXBContext(JAXBTestCase.java:119)
at org.jboss.test.osgi.example.xml.jaxb.JAXBTestCase.testUnmarshaller(JAXBTestCase.java:97)
--
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
15 years, 9 months
[JBoss JIRA] Created: (JBOSGI-210) Bundle is only installed but not started.
by Csaba Szucs (JIRA)
Bundle is only installed but not started.
-----------------------------------------
Key: JBOSGI-210
URL: https://jira.jboss.org/jira/browse/JBOSGI-210
Project: JBoss OSGi
Issue Type: Bug
Security Level: Public (Everyone can see)
Components: Integration (Equinox)
Affects Versions: JBossOSGi 1.0.0 Beta4
Environment: OS: WinXP SP3 & CygWin V1.7 /run.sh had to be changed to work: JAVA_OPTS must be set AFTER all cygpath commands/
Reporter: Csaba Szucs
My sample hot-deployed bundle is only installed but not started by the framework.
This same bundle is also started within JBoss OSGi with Apache Felix integration.
My sample bundle was created by Eclipse V3.5 as an Equinox plug-in and contains an Activator class only with code to log the bundle's lifecycle events.
--
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
15 years, 9 months
[JBoss JIRA] Created: (JBOSGI-204) Failure in Bundle.start() uninstalls the bundle in AS
by Thomas Diesler (JIRA)
Failure in Bundle.start() uninstalls the bundle in AS
-----------------------------------------------------
Key: JBOSGI-204
URL: https://jira.jboss.org/jira/browse/JBOSGI-204
Project: JBoss OSGi
Issue Type: Bug
Security Level: Public (Everyone can see)
Components: Core Framework
Reporter: Thomas Diesler
Fix For: JBossOSGi 1.0.x
mvn -Dtarget.container=jboss600 -Dtest=WebAppNegativeTestCase test
Caused by: org.jboss.osgi.deployment.interceptor.LifecycleInterceptorException: Cannot obtain web.xml from: vfszip:/tmp/install978383392607557245.jar/
at org.jboss.osgi.framework.service.internal.WebXMLVerifierInterceptor$1.invoke(WebXMLVerifierInterceptor.java:68)
at org.jboss.osgi.deployment.interceptor.AbstractLifecycleInterceptorService.handleStateChange(AbstractLifecycleInterceptorService.java:272)
at org.jboss.osgi.framework.service.internal.LifecycleInterceptorServiceImpl.handleStateChange(LifecycleInterceptorServiceImpl.java:102)
at org.jboss.osgi.framework.bundle.AbstractBundleState.changeState(AbstractBundleState.java:692)
at org.jboss.osgi.framework.bundle.OSGiBundleState.startInternal(OSGiBundleState.java:285)
at org.jboss.osgi.framework.deployers.OSGiBundleActivatorDeployer.deploy(OSGiBundleActivatorDeployer.java:49)
... 41 more
10:25:01,031 INFO [org.jboss.osgi.framework.plugins.internal.FrameworkEventsPluginImpl] Bundle UNINSTALLED: Bundle{example-webapp-negative:0.0.0}
--
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
15 years, 11 months
[JBoss JIRA] Assigned: (JBOSGI-267) Allow multiple bundles to change state at once
by Thomas Diesler (JIRA)
[ https://jira.jboss.org/jira/browse/JBOSGI-267?page=com.atlassian.jira.plu... ]
Thomas Diesler reassigned JBOSGI-267:
-------------------------------------
Assignee: Ales Justin
> Allow multiple bundles to change state at once
> ----------------------------------------------
>
> Key: JBOSGI-267
> URL: https://jira.jboss.org/jira/browse/JBOSGI-267
> Project: JBoss OSGi
> Issue Type: Feature Request
> Security Level: Public(Everyone can see)
> Components: Core Framework
> Reporter: Thomas Diesler
> Assignee: Ales Justin
> Fix For: Framework 1.0.x
>
>
> Currently the BundleManager can only reslove bundles one-by-one
> deployerClient.change(unit.getName(), DeploymentStages.CLASSLOADER);
> deployerClient.checkComplete(unit.getName());
> bundleState.changeState(Bundle.RESOLVED);
> this results in uglyness in PackageAdmin
> int resolved = 1;
> while (resolved > 0)
> {
> resolved = 0;
> Iterator<OSGiBundleState> it = resolvableBundles.iterator();
> while (it.hasNext())
> {
> OSGiBundleState bundleState = it.next();
> if (bundleManager.resolveBundle(bundleState, false))
> {
> it.remove();
> resolved++;
> }
> }
> }
> PackageAdmin should be able to use an API that resolves multiple deployemnts at once.
--
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
15 years, 11 months
[JBoss JIRA] Moved: (JBOSGI-267) Allow multiple bundles to change state at once
by Thomas Diesler (JIRA)
[ https://jira.jboss.org/jira/browse/JBOSGI-267?page=com.atlassian.jira.plu... ]
Thomas Diesler moved JBDEPLOY-227 to JBOSGI-267:
------------------------------------------------
Project: JBoss OSGi (was: JBoss Deployers)
Key: JBOSGI-267 (was: JBDEPLOY-227)
Component/s: Core Framework
(was: deployer)
Fix Version/s: Framework 1.0.x
(was: JBDEPLOY-2.2.x)
Security: Public
> Allow multiple bundles to change state at once
> ----------------------------------------------
>
> Key: JBOSGI-267
> URL: https://jira.jboss.org/jira/browse/JBOSGI-267
> Project: JBoss OSGi
> Issue Type: Feature Request
> Security Level: Public(Everyone can see)
> Components: Core Framework
> Reporter: Thomas Diesler
> Fix For: Framework 1.0.x
>
>
> Currently the BundleManager can only reslove bundles one-by-one
> deployerClient.change(unit.getName(), DeploymentStages.CLASSLOADER);
> deployerClient.checkComplete(unit.getName());
> bundleState.changeState(Bundle.RESOLVED);
> this results in uglyness in PackageAdmin
> int resolved = 1;
> while (resolved > 0)
> {
> resolved = 0;
> Iterator<OSGiBundleState> it = resolvableBundles.iterator();
> while (it.hasNext())
> {
> OSGiBundleState bundleState = it.next();
> if (bundleManager.resolveBundle(bundleState, false))
> {
> it.remove();
> resolved++;
> }
> }
> }
> PackageAdmin should be able to use an API that resolves multiple deployemnts at once.
--
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
15 years, 11 months