Just because you are using a UNC name for run.bat does not mean that the batch file will
run on the remote system - instead it means that you would like the remote batch file to
run on your local system. The only way to get a batch file to run on a remote Windows
system is to log onto that system remotely, either via Remote Desktop or some other
remoting system, and run it from there. And then you have to be very careful not to close
the remote session or else the remote process (JBossAS in the case) will also be
terminated.
My recommendation is to set up JBoss AS to run as a service on the remote system. And the
use a Windows-native script, such as Powershell, to start/stop the remote service.
View the original post :
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4259982#...
Reply to the post :
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&a...