[jboss-jira] [JBoss JIRA] (AS7-3710) Cannot see classes defined by OSGi bootdelegation
Thomas Diesler (JIRA)
jira-events at lists.jboss.org
Tue Mar 20 08:22:47 EDT 2012
[ https://issues.jboss.org/browse/AS7-3710?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12677955#comment-12677955 ]
Thomas Diesler edited comment on AS7-3710 at 3/20/12 8:21 AM:
--------------------------------------------------------------
Here is a tutorial on [using byteman with AS7|https://community.jboss.org/wiki/ABytemanTutorial#how_do_i_run_jboss_as_with_byteman]
All system packes are initialized when the jboss module system bootstraps. This is much before OSGi subsystem configuration is even read.
Therefore we have this code In standalone.conf
{code}
if [ "x$JBOSS_MODULES_SYSTEM_PKGS" = "x" ]; then
JBOSS_MODULES_SYSTEM_PKGS="org.jboss.byteman"
fi
{code}
It adds the byteman packages to the jboss-modules system packages. It is likely that whatever you define in org.osgi.framework.bootdelegation must also be defined there.
was (Author: thomas.diesler):
Here is a tutorial on [using byteman with AS7|https://community.jboss.org/wiki/ABytemanTutorial#how_do_i_run_jboss_as_with_byteman]
> Cannot see classes defined by OSGi bootdelegation
> -------------------------------------------------
>
> Key: AS7-3710
> URL: https://issues.jboss.org/browse/AS7-3710
> Project: Application Server 7
> Issue Type: Bug
> Components: OSGi
> Reporter: Thomas Diesler
> Assignee: Thomas Diesler
> Fix For: 7.1.2.Final
>
>
> I use a javaagent that does bytecode instrumentation. This injected code needs to be able to see its runtime dependency, which is available from the boot classloader. JBoss appears to ignore the "org.osgi.framework.bootdelegation" property
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.jboss.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira
More information about the jboss-jira
mailing list