[jboss-jira] [JBoss JIRA] Updated: (JBJMX-100) Class loader doesn't contain classes from MBean jar file when the MBean is redeployed.

Doug Palmer (JIRA) jira-events at jboss.com
Tue Sep 5 07:46:25 EDT 2006


     [ http://jira.jboss.com/jira/browse/JBJMX-100?page=all ]

Doug Palmer updated JBJMX-100:
------------------------------

    Attachment: RedeployBug.zip

jboss.home and jboss.profile should be changed to reflect your jboss installation.

> Class loader doesn't contain classes from MBean jar file when the MBean is redeployed.
> --------------------------------------------------------------------------------------
>
>                 Key: JBJMX-100
>                 URL: http://jira.jboss.com/jira/browse/JBJMX-100
>             Project: JBoss JMX
>          Issue Type: Bug
>    Affects Versions: JBossAS-4.0.0
>         Environment: Mac OSX and Windows XP
>            Reporter: Doug Palmer
>         Attachments: RedeployBug.zip
>
>
> This is a simplified version of a Deployer MBean that I have been writing.  The MBean uses some jaxb generated classes.  When the MBean is first deployed it's create method functions perfectly.  However, if the MBean is redeployed then calling create fails because the class loader can't find the package "decs2.process_definition".
> To replicate the problem execute the ant target named "deploy-all"; then run JBoss; then execute the ant target named "deploy".
> If the package "decs2.process_definition" is is placed in a seperate jar file and that jar file is placed in the server/lib directory then the MBean redeploys successfully.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.jboss.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        



More information about the jboss-jira mailing list