• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Glassfish v2 and v3 on same machine

 
K. Tsang
Bartender
Posts: 3404
13
Android Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
Bhavik patel
Ranch Hand
Posts: 49
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic