• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

JRE version update for Tomcat

 
Vivek Kant
Greenhorn
Posts: 6
  • Mark post as helpful
  • send pies
  • 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
 
Ben Souther
Sheriff
Posts: 13411
Firefox Browser Redhat VI Editor
  • Mark post as helpful
  • send pies
  • 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
  • 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 Redhat VI Editor
  • Mark post as helpful
  • send pies
  • 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
  • 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.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic