aspose file tools*
The moose likes Tomcat and the fly likes Tomcat on Tiger with Java 1.5 Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Products » Tomcat
Bookmark "Tomcat on Tiger with Java 1.5" Watch "Tomcat on Tiger with Java 1.5" New topic
Author

Tomcat on Tiger with Java 1.5

Douggie Fox
Greenhorn

Joined: Jun 14, 2001
Posts: 19
Hi,

I've got a fresh install of Tiger on my Powerbook and I've downloaded Java 1.5.0 and also Tomcat 5.5.9.

The problem I'm having is when tomcat starts it ignores my settings for JAVA_HOME and defaults to JRE_HOME. I've pointed JAVA_HOME to both the symlink /Library/Java/Home and also directly at the 1.5.0 install /System/Library/Frameworks/JavaVM.framework/Versions/1.5.0/Home
but to no avail. Any ideas what's going wrong?

Thanks in advance

Paul
Bear Bibeault
Author and ninkuma
Marshal

Joined: Jan 10, 2002
Posts: 61198
    
  66

Have you checked out the entries in our Mac OS forum?


[Asking smart questions] [Bear's FrontMan] [About Bear] [Books by Bear]
Ben Souther
Sheriff

Joined: Dec 11, 2004
Posts: 13410

Do you have JRE_HOME set?
Tomcat first looks for a JRE_HOME value.
If it doens't find one, then it looks for a JAVA_HOME value.

If you have JRE_HOME set for another application try adding a line to unset it to your startup.sh script.


Java API J2EE API Servlet Spec JSP Spec How to ask a question... Simple Servlet Examples jsonf
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Tomcat on Tiger with Java 1.5