This week's book giveaway is in the OO, Patterns, UML and Refactoring forum.
We're giving away four copies of Refactoring for Software Design Smells: Managing Technical Debt and have Girish Suryanarayana, Ganesh Samarthyam & Tushar Sharma on-line!
See this thread for details.
The moose likes Tomcat and the fly likes Tomcat error Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


JavaRanch » Java Forums » Products » Tomcat
Bookmark "Tomcat error" Watch "Tomcat error" New topic
Author

Tomcat error

shuzo monsoon
Ranch Hand

Joined: Feb 11, 2004
Posts: 54
Hello and can someone help!? I just tried to start my tomcat server and I got this error - -Dsun.io.useCanonCaches=false file not found. The server usually works fine. I dont know what has caused this. Anyone any ideas?!
shuzo monsoon
Ranch Hand

Joined: Feb 11, 2004
Posts: 54
Its ok now. It turns out I had altered my java environment variable incorrectly.
Dave Mere
Ranch Hand

Joined: Oct 25, 2004
Posts: 37
I'm having the same problem! The solutions I've found on the web involve altering my environment settings to the location of the java.exe file in my jdk directory . . . but this doesn't seem to be helping. How exactly did you solve this problem?

Many thanks,

Dave
Mike Curwen
Ranch Hand

Joined: Feb 20, 2001
Posts: 3695

on windows, it's sometimes as easy as making sure you use paths with no spaces in their names (since Tomcat uses DOS scripts).
Dave Mere
Ranch Hand

Joined: Oct 25, 2004
Posts: 37
The problem was actually pretty similar to that Mike.

Required path : C:\j2sdk1.4.2_04\
My path : C:\j2sdk1.4.2_04

Took me 2 hours to figure out I had to add a backslash.
 
I’ve looked at a lot of different solutions, and in my humble opinion Aspose is the way to go. Here’s the link: http://aspose.com
 
subject: Tomcat error
 
It's not a secret anymore!