3 Replies Latest reply on Aug 5, 2008 4:34 PM by ips

    control multiple JBoss instances?

      Apologize if this is the wrong place to post this, but I recently started reading on JON, and was wondering if this is used to manage mutplie instances of JBoss on linux / windows? Is this option used frequently in production systems? Would I be able to deploy/undeply individual applications using this?
      Thanks

        • 1. Re: control multiple JBoss instances?
          cmorgan

           

          "jagdeep" wrote:
          Apologize if this is the wrong place to post this, but I recently started reading on JON, and was wondering if this is used to manage mutplie instances of JBoss on linux / windows?


          Yes. JBoss Operations Network can manage multiple instances of JBoss application servers on a single machine or dispersed throughout the enterprise. It is scalable, centralized JBoss management.

          "jagdeep" wrote:
          Is this option used frequently in production systems?


          Yes. If a customer has a significant JBoss investment, then using JBoss Operations Network is a no-brainer.

          "jagdeep" wrote:
          Would I be able to deploy/undeply individual applications using this? Thanks


          Yes. JBoss Operations Network can deploy and undeploy your custom JBoss applications.

          Check out http://www.jboss.com/products/jbosson and sign up for the free evaluation, so you can see for yourself!



          • 2. Re: control multiple JBoss instances?

            so I installed the eval version of JON. I have two configs in my JBoss 4.2.2GA install: app1 and app2 (on the same machine). When I start them outside of JON, both apps start without errors.
            However, I started app2 from JON, and then attempting to start app1 (from the operations tab), and keep getting start failure with this exception. Again, if I try starting app1 from the console, it works fine.

            Is there any configuration I am missing?

            exception is:
            java.lang.RuntimeException: Server failed to start:
            at org.rhq.plugins.jbossas.JBossASServerOperationsDelegate.start(JBossASServerOperationsDelegate.java:146)
            at org.rhq.plugins.jbossas.JBossASServerOperationsDelegate.invoke(JBossASServerOperationsDelegate.java:103)
            at org.rhq.plugins.jbossas.JBossASServerComponent.invokeOperation(JBossASServerComponent.java:348)
            at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
            at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
            at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
            at java.lang.reflect.Method.invoke(Method.java:585)
            at org.rhq.core.pc.inventory.ResourceContainer$ComponentInvocationThread.call(ResourceContainer.java:446)
            at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:269)
            at java.util.concurrent.FutureTask.run(FutureTask.java:123)
            at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:650)
            at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:675)
            at java.lang.Thread.run(Thread.java:595)

            • 3. Re: control multiple JBoss instances?
              ips

              Hi,

              So, to clarify, you have two JBossAS Server Resources in inventory - one for the app1 config and one for the app2 config?

              If so, for each JBossAS Resource, go to the Inventory tab and make sure all connection properties are set correctly. Thi8s is important, because the run script path, bind address, config name, etc. are all used by the Start operation.

              If the Start operation still fails, you should turn on DEBUG logging on the corresponding JON Agent [1]. After restarting the Agent, try to execute the Start operation again. Then look in the Agent log for a DEBUG message like the following:

              About to execute the following process: [...]

              And make sure the "..." specifies the correct command that should be used to start the JBossAS instance.

              Let me know how make out.

              -Ian

              [1] https://docs.jbosson.redhat.com/confluence/display/JON2/08.+FAQ#08.FAQ-HowdoIgetdebugmessagesfromtheJONAgent%3F