-
1. Re: JBOSS not loaded
peterj Jan 23, 2009 1:37 PM (in response to ran_sushmi)Does this answer your question: http://www.jboss.org/community/docs/DOC-12309
-
2. Re: JBOSS not loaded
ran_sushmi Jan 24, 2009 6:09 AM (in response to ran_sushmi)hi,
thanks, for your answer. I guess, twiddle facility will be most helpful to check in my scenario. I just wanted to know how and where to issue the twiddle command:-
twiddle get "jboss.system:type=Server" Started
I hope, my question is clear.
Please, help in solving the doubt.
regards -
-
4. Re: JBOSS not loaded
ran_sushmi Jan 26, 2009 5:23 AM (in response to ran_sushmi)hi,
I tried it on the Linux server having the application. I am not a java guy, so, was not sure where to try that.
regards -
5. Re: JBOSS not loaded
peterj Jan 26, 2009 12:06 PM (in response to ran_sushmi)OK, you are not a "Java guy," but have you run Linux scripts before? twiddle.sh is a Linux script.
-
6. Re: JBOSS not loaded
ran_sushmi Jan 28, 2009 9:12 AM (in response to ran_sushmi)hi,
sorry, I was running the command wrongly. The output is as follows:-
-------------------------------------------------------------
./twiddle.sh get "jboss.system:type=Server" Started
Started=true
-------------------------------------------------------------
So, this, 'Started=true' means JBOSS has started and running properly. Am, I right?
Please, help in solving the doubt.
regards -
7. Re: JBOSS not loaded
peterj Jan 28, 2009 11:08 AM (in response to ran_sushmi)Yes, that means it is running. Technically, it means that that particular service is running. This does not tell you if other services, such as the web service, are running.
-
8. Re: JBOSS not loaded
ran_sushmi Jan 28, 2009 12:01 PM (in response to ran_sushmi)does that mean that we cannot say for sure that JBOSS is started? What all services should be required as I am not sure of what all services are running or what all services are required in our scenario?
Please, help in solving the doubt.
regards -
9. Re: JBOSS not loaded
peterj Jan 28, 2009 12:08 PM (in response to ran_sushmi)Look back at the link I posted, it discusses the options.
The main question is - what is it that you want to check? That HTTP is ready? That web services are ready? That RMI is ready? That the messaging service is ready? That application X is deployed and ready? And there are others. Each is its own service, each handled by its own mbean. You can always query the corresponding mbean to see if it is started. Or you can issue a benign request, and if you get an acceptable response, you know that the service has started. I used this last method in one of the products that I developed.