What is the difference between using org.jboss.Main.main() and
org.jboss.system.server.Server.start()?
View the original post :
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4213183#4213183
Reply to the post :
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4213183
Remotely start - only if you have some kind of an agent on the remote system,
or you remote shell into the system. Another possibility - is you are running
on Windows and has JBoss AS set to start as a server you can use MMC to connect
to the remote system and start the service. I think that Jop
Does it mean that JBoss cannot be remotely started up or shutdown?
Is JBoss server a single JVM? I mean that no other admin web server to manage
the other JVM or web application. If yes, every time to shutdown JBoss server
and all web application will also shutdown. Is it sure. Thanks.
View th
A couple of possibilities:
a) System.exec("sh path-to-run.sh");
b) Include bin/run.jar in your classpath and then do:
org.jboss.Main.main(command-line-arguments);
Option (a) has the benefit of running JBoss AS in a separate process.
Option (b) runs JBoss AS within the same JVM that started it.