Hey everybody! I'd like to be able to remote-deploy a war file to out jboss-server, which is running on a remote system. I already managed to do the through the jmx-console by first ftping the WAR over there and then telling the MainDeployer to deploy "file:/name".
Now I found this nice little ant-task that should also be able to do it. But I always receive a javax.naming.CommunicationException there. I guess cause I don't really know how to handle the thing. Can somebody point me to the right place or give me a quick advise? | <target name="jmx_deploy" description="JMX Remote deploy test"> | <taskdef name="jmx" classname="org.jboss.ant.JMX"/> | <jmx adapterName="jmx:deazunix15.az.bertelsmann.de:rmi"> | | <!-- define classes --> | <invoke target="jboss.system:service=MainDeployer" operation="deploy"> | <parameter type="java.lang.String" arg="file:/DAZ/DIASMiner.war"/> | </invoke> | </jmx> | </target> | Where "deazunix15.az.bertelsmann.de" is the machines DNS! Thx for every help! View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3823088#3823088 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3823088 ------------------------------------------------------- SF.Net is sponsored by: Speed Start Your Linux Apps Now. Build and deploy apps & Web services for Linux with a free DVD software kit from IBM. Click Now! http://ads.osdn.com/?ad_id=1356&alloc_id=3438&op=click _______________________________________________ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user