Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

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

1 Answer 1

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.