• 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

JRE version update for Tomcat

 
Greenhorn
Posts: 6
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi.
I am running Tomcat 5.0.28 for my application, using JRE 1.4 originally. Now, I want to upgrade to JRE 1.5.
Can someone please tell me how Tomcat must be reconfigured in order to switch from one JRE version to another?

I'm having a lot of problems fixing this.

Thanks,
Vivek
 
Sheriff
Posts: 13411
Firefox Browser VI Editor Redhat
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
It depends on how it was installed.
How did you install it?
 
Vivek Kant
Greenhorn
Posts: 6
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I'd installed it by invoking bin\service.bat install
I'm NOT using the single installer EXE which brings up a set of dialog boxes for installation.

Afterwards, I'm changing the configuration of the Tomcat service, such as User account/password, service startup type & failure actions.

What I essentially wanna know is if we need to re-install the Tomcat service if we want to use a different JRE?
 
Ben Souther
Sheriff
Posts: 13411
Firefox Browser VI Editor Redhat
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
When you install it as a service, the JVM/JRE settings are stored in the registry. If you use the .exe, there is also an option to install the start menu items. From the start menu, there is a config screen that allows you to configure the path to your JRE.

I don't know if these are installed when you use the bat file.
If not, you could edit the registry entries yourself with regedit or, it might be quicker to unistall and re-install.

Search your registry for 'Apache' or 'Tomcat'
 
Vivek Kant
Greenhorn
Posts: 6
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Thanks a lot!

It worked after re-installing the service. Just changing the registry entries was not apparently enough.

There was no entry being made in Start Menu, so trying to use the congif screen was out of question. Tomcat it essentially an invisible service for a normal user of my system; it can be detected only by going to Services Panel.
 
Consider Paul's rocket mass heater.
reply
    Bookmark Topic Watch Topic
  • New Topic