[jboss-user] [Beginners Corner] - Re: Launching JBoss from a java application rather than usin

2009-02-25 Thread millerdl
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

[jboss-user] [Beginners Corner] - Re: Launching JBoss from a java application rather than usin

2009-02-02 Thread PeterJ
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

[jboss-user] [Beginners Corner] - Re: Launching JBoss from a java application rather than usin

2009-02-02 Thread dickson1888
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

[jboss-user] [Beginners Corner] - Re: Launching JBoss from a java application rather than usin

2009-01-12 Thread PeterJ
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.