[jboss-user] [Beginners Corner] - Need Help with Deploying Application Three Time

chiefbobkat1 do-not-reply at jboss.com
Wed Apr 29 11:04:54 EDT 2009


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.

View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4227594#4227594

Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4227594



More information about the jboss-user mailing list