aspose file tools*
The moose likes Other Java Products and Servers and the fly likes Glassfish v2 and v3 on same machine Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Products » Other Java Products and Servers
Bookmark "Glassfish v2 and v3 on same machine" Watch "Glassfish v2 and v3 on same machine" New topic
Author

Glassfish v2 and v3 on same machine

K. Tsang
Bartender

Joined: Sep 13, 2007
Posts: 2628
    
    9

Hello all, I have this weird behavior. I have a web app using Spring and Struts 2 and Hibernate - able to deploy and run on Glassfish v2. Now I have "also" installed Glassfish v3 and suddenly, the app wouldn't deploy on v2. Then I also try deploying on v3 ... again it would not deploy. According to the logs it apparently unable to initialize the servlet context.

Yet if I uninstall Glassfish v3, it works fine. Any ideas? Thanks.


K. Tsang JavaRanch SCJP5 SCJD/OCM-JD OCPJP7 OCPWCD5 OCPBCD5
Bhavik patel
Ranch Hand

Joined: Feb 20, 2007
Posts: 49
Hi

On our machine, we have V3, V2 , Tomcat 5.5 , Apache2.2. All of them are running different find of applications.
We are not facing the kind of issue you have just posted.

Make sure you are not running into port conflict scenario..
Use different port-base for all the domains in v2 ,v3.

if this is not the case then, please upload entire server.log from both v2 and v3 in your next replay.

Glassfish Consulting is available at http://www.jmatrix.in


Bhavik Patel
Glassfish Consultancy service At http://www.jmatrix.in
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Glassfish v2 and v3 on same machine