Hi All,
You can also retrieve message count in a particular message queue of jboss, from command prompt, without accessing jmx console.
With command prompt you can automate and send alerts in case message count is above your application threshold
The command to do this is
./twiddle.sh -s localhost:1099 get jboss.messaging.destination:service=Queue,name=ResponseQueue MessageCount
Run this command from jboss bin directory and you can change queue name (in above example it is ResponseQueue) to your application specific queue name
Wednesday, March 30, 2011
Friday, February 25, 2011
Run Multiple Jboss on Same server
Hi All,
Its very easy to run multiple jboss on same server.
You just need to add one parameter wen you are starting your jboss.
the paramter is
-Djboss.service.binding.set=ports-01
example
./run.sh -c myproj -Djboss.service.binding.set=ports-01 &
to start another jboss on same server use
./run.sh -c myproject -Djboss.service.binding.set=ports-02 &
Just change -Djboss.service.binding.set parameter and you can start many jboss on same server, without any changes in any conf file.
Its very easy to run multiple jboss on same server.
You just need to add one parameter wen you are starting your jboss.
the paramter is
-Djboss.service.binding.set=ports-01
example
./run.sh -c myproj -Djboss.service.binding.set=ports-01 &
to start another jboss on same server use
./run.sh -c myproject -Djboss.service.binding.set=ports-02 &
Just change -Djboss.service.binding.set parameter and you can start many jboss on same server, without any changes in any conf file.
Subscribe to:
Posts (Atom)