This content has been marked as final.
Show 2 replies
-
1. Re: Can you start and stops Jboss AS 6.0 directely through Java ?
ybxiang.china Sep 10, 2013 2:00 AM (in response to shonguiz)I think it is impossible.
Some guys have discussed it in JBoss AS 7
-
2. Re: Can you start and stops Jboss AS 6.0 directely through Java ?
wdfink Sep 10, 2013 5:04 AM (in response to shonguiz)As JBoss is written in Java it should be technical possible.
But it will be very complex and you will have several issues.
Also you need to start the Java program from a shell anyway, so I see no benefit but a lot of drawbacks.
What you might do is run in domain-mode (since AS7 or EAP6), in that case you can use the management API to configure/start/stop servers of this domain via a Java API.