-
1. Re: Start JBoss from a remote machine?
peterj Oct 12, 2009 10:07 PM (in response to ironosity)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. -
2. Re: Start JBoss from a remote machine?
peterj Oct 12, 2009 10:09 PM (in response to ironosity)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. -
3. Re: Start JBoss from a remote machine?
peterj Oct 12, 2009 10:10 PM (in response to ironosity)Sorry for the duplicate post - the stupid wireless access point available at this hotel leaves much to be desired.
-
4. Re: Start JBoss from a remote machine?
ironosity Oct 13, 2009 11:38 AM (in response to ironosity)Figured it out. Thanks! From another post ( http://www.jboss.org/index.html?module=bb&op=viewtopic&t=162375 I solved this. I ran each JBoss instance as a service and then using http://technet.microsoft.com/en-us/sysinternals/bb897542.aspx I was able to start/stop the service remotely within my domain. Thanks alot![/url]
-
5. Re: Start JBoss from a remote machine?
ironosity Oct 13, 2009 11:46 AM (in response to ironosity)Figured it out. Thanks! From another post on multiple services.
http://www.jboss.org/index.html?module=bb&op=viewtopic&t=162375
I ran each JBoss instance as a service and then using PsService:
http://technet.microsoft.com/en-us/sysinternals/bb897542.aspx
I was able to start/stop the service remotely within my domain. Thanks alot!