Search code examples
javajakarta-eeglassfishapplication-server

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


Solution

  • Multiple domains was what I actually needed.