2 Replies Latest reply on May 22, 2008 3:32 AM by Greg Stacey

    Deploy same application many times

    Donato Verrastro Newbie

      I'm starting to develop an application and i would to know if i can deploy it many times. The case is: i would to use this application form more than one office and i would to isolate database and application. For example if i start from http://localhost/office1/ the application starts and connects to database 1 and if i start application http://localhost/office2/ it starts and connects to database 2.

      P.S. i'm sorry for my english

        • 1. Re: Deploy same application many times
          Greg Stacey Newbie

          I have a similar situation. I am attempting to deploy a second instance of my application in order to test a build from a branch and having class loading issues. The first instance deployed works fine but the second gets a ClassCastException.

          The application is deployed as an ear and I have tried following the class loading documentation to set the loader-repository and Java2ParentDelegation in my jboss-app.xml but the problem persists.

          Is it possible to run two instances of the same application? I'm assuming yes, but so far I can't figure it out.

          Anyone have any suggestions?

          Thanks in advance,
          Greg Stacey

          • 2. Re: Deploy same application many times
            Greg Stacey Newbie

            I forgot to mention, I am currently running JBoss AS 4.2.0, and this is a Seam application if it matters.