Java Mailing List Archive

http://www.junlu.com/

Home » Home (12/2007) » JBoss User Help »

[jboss-user] [Installation,
 Configuration & DEPLOYMENT] - Re: access MainDeployer in JBoss 5

scott.stark@jboss.org

2007-07-19


Thank you for your answer.

I want to access the maindeployer programatically in jboss 5.

in Jboss 4 i used tha maindeployer to deploy a war with RMI:

javax.management.ObjectName maindeployer = new javax.management.ObjectName("jboss.system:service=MainDeployer");
|
| rmiadapter.invoke(maindeployer,"deploy", new Object[] {mywardeploymentinfo}, new String[] {org.jboss.Deployment.DeploymentInfo});

When I try to do that in JBoss 5, a war deployer is not found.
And since there is another MainDeployer used in Jboss 5, org.jboss.deployers.spi.deployment.MainDeployer, instead of org.jboss.deployment.MainDeployer, I think I need to find out how to access this new Maindeployer.

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

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4065793
_______________________________________________
jboss-user mailing list
jboss-user@(protected)
https://lists.jboss.org/mailman/listinfo/jboss-user
©2008 junlu.com - Jax Systems, LLC, U.S.A.