2 Replies Latest reply on Sep 14, 2007 11:24 PM by tmerrill

    Multiple Application deployment, multiple instance questions

    tmerrill

      I have a few questions:

      Which is better running multiple apps on a single jboss instance or multiple jboss instances?

      How do I configure multiple applications to connect to different databases using one mysql data connector? Can I do that?

      How can you run multiple portal.sars in a single jboss instance?

      How do I setup multiple applications in one jboss instance? What files do I need to re-configure?

      I have noticed that running multiple instances of jboss is well covered in this forum but running multiple applications on one jboss server is not. Any help would be great. Documentation is a little sparse as well.

        • 1. Re: Multiple Application deployment, multiple instance quest
          peterj

          All you need to do to run multiple applications is to deploy them, there are no settings to reconfigure (unless you want to do multi-homing, if so, search the wiki). As long as there is no name conflict you are OK. For example, a name conflict would occur if you deploy two EARs containing WARs of the same name, or that use the same context.

          You cannot deploy the portal SAR twice. The portal SAR gives you the ability to define multiple portals.

          For database connection, use multiple *-ds.xml file, one for each connection. The JNDI names must be different for each one. Then each app uses the one it needs.

          • 2. Re: Multiple Application deployment, multiple instance quest
            tmerrill

            Thanks for the reply. I was trying to use to portal.sars to test with and I kept hitting a wall. I will try a different route, thanks.