Properties p = new Properties();
p.put"java.naming.factory.initial", "org.jnp.interfaces.NamingContextFactory");
p.put("java.naming.provider.url", "localhost:1099");
InitialContext jndiContext = new InitialContext(p);
RMIAdaptor server = (RMIAdaptor) jndiContext.lookup("jmx/rmi/RMIAdaptor");
javax.management.ObjectName name = new javax.management.ObjectName("<your object
name>");
server.invoke(name, "deploy", args, args);
Alternatively, you can just open an URLConnection to
http://localhost:8080/jmx-console/HtmlAdaptor?action=invokeOpByName&name=&methodName=
Check out this thread
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3817878
View the original post :
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3831632#3831632
Reply to the post :
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3831632
-------------------------------------------------------
This SF.Net email is sponsored by: IBM Linux Tutorials
Free Linux tutorial presented by Daniel Robbins, President and CEO of
GenToo technologies. Learn everything from fundamentals to system
administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click
_______________________________________________
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user