[
https://jira.jboss.org/jira/browse/JBOSGI-292?page=com.atlassian.jira.plu...
]
Thomas Diesler updated JBOSGI-292:
----------------------------------
Description:
[14:18:06] Thomas Diesler: There is an issue because the bundle manager fires the
INSTALLED event before the CL metadata is available
[14:18:06] Thomas Diesler: BM.addDeployemnt(DU) calls BM.addBundle(budleState) which fires
the INSTALLED event asynchronously
[14:18:25] Ales Justin: hmmm ... ugly
[14:18:39] Thomas Diesler: an extender might pick up the event and examine the exported
packages via package admin
[14:19:03] Thomas Diesler: which fails because the CL metadata deployer was not executed
Caused by: java.lang.IllegalStateException: Cannot obtain ClassLoadingMetaData
at
org.jboss.osgi.framework.packageadmin.PackageAdminImpl.getExportedPackages(PackageAdminImpl.java:149)
at
org.jboss.osgi.framework.packageadmin.PackageAdminImpl.getExportedPackages(PackageAdminImpl.java:176)
at
org.apache.aries.jmx.util.FrameworkUtils.getBundleImportedPackages(FrameworkUtils.java:265)
was:
Caused by: java.lang.IllegalStateException: Cannot obtain ClassLoadingMetaData
at
org.jboss.osgi.framework.packageadmin.PackageAdminImpl.getExportedPackages(PackageAdminImpl.java:149)
at
org.jboss.osgi.framework.packageadmin.PackageAdminImpl.getExportedPackages(PackageAdminImpl.java:176)
at
org.apache.aries.jmx.util.FrameworkUtils.getBundleImportedPackages(FrameworkUtils.java:265)
PackageAdmin cannot obtain classloading metadata
------------------------------------------------
Key: JBOSGI-292
URL:
https://jira.jboss.org/jira/browse/JBOSGI-292
Project: JBoss OSGi
Issue Type: Bug
Security Level: Public(Everyone can see)
Components: Core Framework
Reporter: Thomas Diesler
Assignee: Thomas Diesler
Fix For: JBossOSGi 1.0.0 Beta7
[14:18:06] Thomas Diesler: There is an issue because the bundle manager fires the
INSTALLED event before the CL metadata is available
[14:18:06] Thomas Diesler: BM.addDeployemnt(DU) calls BM.addBundle(budleState) which
fires the INSTALLED event asynchronously
[14:18:25] Ales Justin: hmmm ... ugly
[14:18:39] Thomas Diesler: an extender might pick up the event and examine the exported
packages via package admin
[14:19:03] Thomas Diesler: which fails because the CL metadata deployer was not executed
Caused by: java.lang.IllegalStateException: Cannot obtain ClassLoadingMetaData
at
org.jboss.osgi.framework.packageadmin.PackageAdminImpl.getExportedPackages(PackageAdminImpl.java:149)
at
org.jboss.osgi.framework.packageadmin.PackageAdminImpl.getExportedPackages(PackageAdminImpl.java:176)
at
org.apache.aries.jmx.util.FrameworkUtils.getBundleImportedPackages(FrameworkUtils.java:265)
--
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