Hello,

I am new to making JMX services.
I read all the doc of JBoss, JMX.

I made a MBean exactly the same way as the CMSObjectCommandMapper of JBoss 
Portal.
it extends org.jboss.portal.core.command.mapper.AbstractCommandMapper

well, when JBoss starts, it fail to deploy the .sar file.
it says it cannot find the  AbstractCommandMapper

from the JMX console (service:  MainDeployer) :
anonymous wrote : status: Deployment FAILED reason: Unexpected error during 
load of: shwa.pal.core.url.mapper.ShWaCMSObjectCommandMapper, 
msg=org/jboss/portal/core/command/mapper/AbstractCommandMapper; - nested 
throwable: (java.lang.ClassNotFoundException: Unexpected error during load of: 
shwa.pal.core.url.mapper.ShWaCMSObjectCommandMapper, 
msg=org/jboss/portal/core/command/mapper/AbstractCommandMapper)
the AbstractCommandMapper class file is in a jar file (portal-core-lib.jar) at 
the root of the .sar folder.

Is it a question of putting the portal-core-lib.jar in a proper place ?
(I have tried in the lib folder too...).

Another strange thing : when launch of JBoss is finished, if delete and re copy 
the sar folder (hot deploy) ... the service start (I can check it is started, 
with JLog and JMX listing...).
So it means that it is deployed... and that the AbstractCommandMapper has been 
found....

it seems to be a problem of JVM, classloader, etc... but after searching I 
don't see where to have a clue to start debugging.... or solve this problem.

any idea ?
any place to find documentation about this kind of thing (deploying JMX 
service) ?

Thanks,


View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3948061#3948061

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3948061


-------------------------------------------------------
All the advantages of Linux Managed Hosting--Without the Cost and Risk!
Fully trained technicians. The highest number of Red Hat certifications in
the hosting industry. Fanatical Support. Click to learn more
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=107521&bid=248729&dat=121642
_______________________________________________
JBoss-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to