[
http://jira.jboss.com/jira/browse/JBJMX-100?page=all ]
Doug Palmer updated JBJMX-100:
------------------------------
Description:
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".
Oddly, a properties file from the package is located successfully before the class loader
fails.
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.
was:
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.
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".
Oddly, a properties file from the package is located successfully before the class loader
fails.
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