This week's book giveaway is in the OCAJP 8 forum. We're giving away four copies of OCA Java SE 8 Programmer I Study Guide and have Edward Finegan & Robert Liguori on-line! See this thread for details.
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.