-1

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..

Johnbritto
  • 19
  • 1
  • 4

1 Answers1

0

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"
Sirch
  • 5,785
  • 4
  • 20
  • 36
  • 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 09 '12 at 16:32