Win a copy of Event Streams in Action this week in the Java in General forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other all forums
this forum made possible by our volunteer staff, including ...
  • Campbell Ritchie
  • Devaka Cooray
  • Liutauras Vilda
  • Jeanne Boyarsky
  • Bear Bibeault
  • Paul Clapham
  • Knute Snortum
  • Rob Spoor
Saloon Keepers:
  • Tim Moores
  • Ron McLeod
  • Piet Souris
  • Stephan van Hulst
  • Carey Brown
  • Tim Holloway
  • Frits Walraven
  • Ganesh Patekar

Glassfish v2 and v3 on same machine

Posts: 3648
Mac OS X Firefox Browser 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.
Ranch Hand
Posts: 49
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator

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

It is sorta covered in the JavaRanch Style Guide.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!