aspose file tools
The moose likes Other Java Products and Servers and the fly likes Same EAR, same context name, different ports? Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login


Win a copy of The Mikado Method this week in the Agile and other Processes forum!
JavaRanch » Java Forums » Products » Other Java Products and Servers
Reply Bookmark "Same EAR, same context name, different ports?" Watch "Same EAR, same context name, different ports?" New topic
Author

Same EAR, same context name, different ports?

Francisco Sariego
Greenhorn

Joined: Jan 07, 2009
Posts: 3
Hello. I'm new developing complex EAR files with multiple web and EJB modules.

I need to know if is possible to deploy an EAR with two (or more) web modules in the same context name but in different ports.

I.e:

http://localhost:8080/web-application
http://localhost:8082/web-application

These are different applications but are web modules inside the same EAR.

Now, I'm using two separated Tomcat instances running in different ports and AJP connectors, but I want to move to EJB and share application logic through web applications. Also I want to use Local interfaces only.

GlassFish or JBoss AS are the applications servers that I'm considering use.

Thanks In Advance!
 
I agree. Here's the link: http://zeroturnaround.com/jrebel - it saves me about five hours per week
 
subject: Same EAR, same context name, different ports?
 
Similar Threads
Beginning J2EE. Cannot reach deployed EAR.
Beginning J2EE. Cannot reach deployed EAR.
Different applications in the same context-root name
Loading sequence of the different modules in an EAR....?
EJB application runs as WebSphere Application client, fails as JavaApplication