Bhesh Gurung
Bhesh Gurung

Reputation: 51030

How to deploy multiple copies of same application on Glassfish server?

I have a war and an ejb deployed on my Glassfish V3. I need to deploy another copies of these for testing purpose, how I do I go about this?

I am sorry, if this question looks too general, but am not sure what words to use here as I have never done this before.

I just need some directions to get started.

Update:

What I was actually trying to see was if it was possible to deploy two copies of the same application with the same name and same application-context but access them from two different ports as follows -

localhost:8080/MyApp and localhost:8181/MyApp

Upvotes: 9

Views: 5095

Answers (2)

Bhesh Gurung
Bhesh Gurung

Reputation: 51030

Multiple domains was what I actually needed.

Upvotes: 3

blank
blank

Reputation: 18180

Give the three copies different application context names

[edit]

I just installed Glassfish 3, and deployed two copies of Jenkins through the glassfish admin console, each with a different war name. I gave each one a different context and different application name and now have two copies running.

enter image description here

Upvotes: 2

Related Questions