Server Fault is a question and answer site for system and network administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I am using compiere to connect with jboss AS 4.3. I wrote a script to automate the process of restarting compiere server and closing store etc. but all i could not able to achieve is to connect with jboss instance shown in jconsole after compiere server restarted. I have to do it manually. Is there any way i achieve this with the help of script commands..

share|improve this question

Which versions? With or without jboss mbeans?

without:

JAVA_OPTS="-Dcom.sun.management.jmxremote $JAVA_OPTS"

with:

JAVA_OPTS="-  Djavax.management.builder.initial=org.jboss.system.server.jmx.MBeanServerBuilderImpl -Djboss.platform.mbeanserver -Dcom.sun.management.jmxremote $JAVA_OPTS"
share|improve this answer
    
I didnt understand Sirch.. i have updated my question with more brief.. All i am trying is to connect jboss server instance shown in jconsole after i restart the jboss. – Johnbritto Jun 9 '12 at 16:32

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.