Java Mailing List Archive

http://www.junlu.com/

Home » Home (12/2007) » Apache Tomcat »

RE: suddenly I cannot run servlets anymore

Caldarale, Charles R

2007-08-13

Replies:

> From: Tuomas [mailto:tuope@(protected)]
> Subject: RE: suddenly I cannot run servlets anymore
>
> I got my copy from
> http://tomcat.apache.org/download-55.cgi.

That's the proper place.

> Can file permissions play a role here?

Yes.

> Should *.class file be executable (for instance, 755)?

No, they are not directly executable; they're simply read by the JVM.

> Should all the class files I put in
> /usr/local/bin/tomcat/shared/classes, be owned by
> root?

It's a bad idea to run Tomcat (or any application) as root - too much
potential for doing accidental damage. Tomcat does need at least read
access to all files it will be accessing.

- Chuck


THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR OTHERWISE PROPRIETARY
MATERIAL and is thus for use only by the intended recipient. If you
received this in error, please contact the sender and delete the e-mail
and its attachments from all computers.

---------------------------------------------------------------------
To start a new topic, e-mail: users@(protected)
To unsubscribe, e-mail: users-unsubscribe@(protected)
For additional commands, e-mail: users-help@(protected)

©2008 junlu.com - Jax Systems, LLC, U.S.A.