• 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 Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Tomcat Upgradation problem

 
Ranch Hand
Posts: 54
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi,

I had Tomcat 4.1.30. (which was working really fine).I downloaded tomcat 5.0.27.

Now when I start the server the dos script runs for a second and it stops abruptly. The same is happening with both the versions. The 5.0.27 service is started. But I dont see the javaw process running in the task manager and neither any service attached to port 80.

I unistalled 5.0.27 and deleted the 4.1.30 folder and then reinstalled the new version. But the problem still persists.

Please help me with this.

Thx
Sharanya
 
Ranch Hand
Posts: 150
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Are you on Windows or Linux or Mac OS X or some other unix flavor ro what? You say you deleted the old Tomcat but is the process still running (for the old version)? If so, you could have both versions of tomcat trying to use the same ports. What does your server.xml say? I have two versions of Tomcat running but am using different ports. I have the new one (v 5.0.27) connected to my Apache server version 2.0.50 with Coyote jk connector but the old Tomcat is standalone. I'm running on Solaris 8.
 
Barbara Norway
Ranch Hand
Posts: 150
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
forgot to mention: you might want to take a peek at your logs in the $CATALINA_HOME/logs directory.. Check catalina.out and localhost_log.2004-08-30.txt, etc. I'm going from memory here so your milaegae may vary on the name of the log file (the date will definitely vary as it's the date the file was written which changes each day it is written, except for catalina.out which is a running file as we are accustomed to. It doesn't write a new file every day like the tomcat access and other log files do.
 
Sharanya Sharma
Ranch Hand
Posts: 54
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi,

Thanks..
I am using a windows 2000 machine. I have just deleted the old version may be it is still using the same port.

How can I reconfigure my new version to use a different port?

-Sharanya
 
Sharanya Sharma
Ranch Hand
Posts: 54
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Both my ports 8080 and 80 are in use
 
Barbara Norway
Ranch Hand
Posts: 150
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
looks like you opened a new thread. Next time you can just continue to add to your original post. People will see there is new activity on this post and you'll be just as likely to be answered.

I am more familiar with unices but I'll try to help you on windows. Check your services that are running. I cannot remember how to do that step-by-step on windows but it's accessible by the control panel and is called "services". Stop the tomcat services and possibly you can stop them from being automatically started when you reboot as well.

Once you've accomplished that, you should be able to look for the server.xml file which would be in the /usr/local/tomcat/conf directory on unix. Again, your mileage may vary if tomcat is installed in a different directory. It should usually be in a /conf directory under tomcat though. To be safe copy this file before you modify it. Then modify the copy of the (actually the one named server.xml, call your copy server.xml.orig or something) file and change the ports to some not being used. If you only want to have one version of tomcat running, you could use the default 8080 unless you have the oracle web server or something else using that port. Try 8088 as an alternative. The way I learned all of this was to read the tomcat documentation and books on configuring tomcat.

Good luck!
 
Sharanya Sharma
Ranch Hand
Posts: 54
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi,

Thanks
I opened another thread as I thought it was a different issue than the one that is running here.. Anyways...

Yae, I did the same thing and changed the port to 8081 and atlast it worked.
Once again thanks for your help

-Sharanya
 
Don't get me started about those stupid light bulbs.
reply
    Bookmark Topic Watch Topic
  • New Topic