Problem running tomcat.

S

success_ny

I installed the JDK, set the JAVA_HOME and CATALINA_HOME variables but
still cannot run the tomcat (version 4.1).

I get this pop windown with this error when I execute startup.sh:

"Cannot find the file '-Dsun.io.useCanonCaches=false' (or one of its
components). Make sure the path and filename are correct and that all
required libraries are available."

If I remove that flag from the start up path, I get the same kind of
message for the next -D option.

Any ideas?

Thanks.
 
Z

Zoonosis

I installed the JDK, set the JAVA_HOME and CATALINA_HOME variables but
still cannot run the tomcat (version 4.1).

I get this pop windown with this error when I execute startup.sh:

"Cannot find the file '-Dsun.io.useCanonCaches=false' (or one of its
components). Make sure the path and filename are correct and that all
required libraries are available."

If I remove that flag from the start up path, I get the same kind of
message for the next -D option.

Any ideas?


What about CATALINA_BASE ? On my system, I set it to the same value as
CATALINA_HOME.
 
D

Dave Glasser

(e-mail address removed) wrote on 20 Dec 2005 13:04:49 -0800 in
comp.lang.java.programmer:
I installed the JDK, set the JAVA_HOME and CATALINA_HOME variables but
still cannot run the tomcat (version 4.1).

I get this pop windown with this error when I execute startup.sh:

"Cannot find the file '-Dsun.io.useCanonCaches=false' (or one of its
components). Make sure the path and filename are correct and that all
required libraries are available."

If I remove that flag from the start up path, I get the same kind of
message for the next -D option.

Any ideas?

Did you export the JAVA_HOME and CATALINA_HOME variables before you
launched the script?

--
Check out QueryForm, a free, open source, Java/Swing-based
front end for relational databases.

http://qform.sourceforge.net

If you're a musician, check out RPitch Relative Pitch
Ear Training Software.

http://rpitch.sourceforge.net
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
474,470
Messages
2,571,809
Members
48,797
Latest member
PeterSimpson
Top