I have a question about jboss start. Can I call run.bat from a stand alone java application? by using:
I did try several times, but no any luck, it totally hangs my application (of couse the jboss did not get started at all). I tried consume inputstream, and errorStream in separate threads, still not helps. So, If I'm not supposed to start jboss server from java application, then why? or is there any other work around to start jboss dynamically from application? how?
Thank you very much for your reply. However, as I said in my previous post, I did consume both inputstream and stderr stream. And some gurus from jboss, java forum found my problem. Actually jboss "run.bat" can not be called outside jboss/bin directory. So, just put my application class under bin directory and execute "run.bat", it works.
Thanks a lot again David
subject: Can I call jboss run.bat from a java application?