2 Replies Latest reply on Oct 11, 2004 5:13 AM by KT KT

    JBoss Multiple VM

    cool_raj Newbie

      Does JBoss support running each app in it's own vm?

      What I am looking for is to be able to deploy a J2EE application
      to JBoss and have it automagically run it in it's own VM.

      I'm not interested in clustering at this point, because it wouldn't really solve my problem. We have a situation where we are running multiple applications in the same server, so if one app misbehaves it brings the whole server down. Failover won't help much either because, failing over a misbehaving app would kill the other nodes in the cluster.

        • 1. Re: JBoss Multiple VM
          darren hartford Expert

           

          What I am looking for is to be able to deploy a J2EE application
          to JBoss and have it automagically run it in it's own VM.


          I am doing that now, and although you did not mention it, I'm assuming on the same server.

          All you have to do is:
          1. Each J2EE application needs to have it's own 'server subfolder'.
          2. Each J2EE application should have dedicated ports (change in service-bindings.xml for each application).
          3. Then, just start each individual application on it's own! (i.e. from command-line, 'run -c MyJ2EEApp2').

          -D



          • 2. Re: JBoss Multiple VM
            KT KT Newbie

            hi dhartford,
            is that mean we need to create a server configuration everytime we wish to run our application with separate JVM? If let say i have 10 applications wish to run at their own JVM, i need to create 10 server configuration?