[jboss-user] [Management, JMX/JBoss] - classloader issue: deployment at runtime

editha do-not-reply at jboss.com
Wed Oct 25 09:06:09 EDT 2006


with RMI and the MainDeplyoer I deploy a war file in jboss: 

RMIAdaptor server = (RMIAdaptor)jndiContext.lookup("jmx/rmi/RMIAdaptor"); 
javax.management.ObjectName name = new javax.management.ObjectName("jboss.system:service=MainDeployer"); 
server.invoke(name,"deploy",new Object[]{deployurl},new String[]{java.lang.String}); 

However, I need to run this war file with my own custom classloader. Does anyone know how to do that?

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

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



More information about the jboss-user mailing list