2 Replies Latest reply on May 5, 2009 5:30 AM by Malcolm Shen

    Need Help with Deploying Application Three Time

    Robert Thompson Newbie

      I have an application that I want to deploy three times using a different path and a different user to log into the database.

      Under \jboss\server\default\deploy\

      Expanding the WAR file into a folder, I have created three separate folders called

      V3DEMO
      V3TEST
      V3TRAINING

      In each folder I have modified the \WEB-INF\classes\application.xml so that the appropriate username and password is being used. IE V3DEMO users = V3DEMO, V3TEST user = V3TEST and V3TRAINING user = V3TRAIN. Other than changing the User name and password in the connection string all setting in the application.xml file remain the same.

      I can get to the splash screen of the application for all three apps using

      http://localhost:8080/V3DEMO/

      http://localhost:8080/V3TEST/

      http://localhost:8080/V3TRAINING/

      The problem occurs once a person logs into the application. The first app logged into will work but an attempt to log into one of the other apps results in an Internal Server Error Http 500 response.

      I know that usernames and passwords are correct because I can log into all three applications.

      What do I need to do to allow all three apps to access the database.