tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Konstantin Kolinko <knst.koli...@gmail.com>
Subject Re: Tomcat 6 : Warnings at startup
Date Sun, 10 Jun 2012 10:26:27 GMT
2012/6/10 André Warnier <aw@ice-sa.com>:
> Hi.
>
> This is on a Linux Debian system, Tomcat 6 installed from a Debian package.
> /usr/share/tomcat6/bin/version.sh shows this :
>
> Using CATALINA_BASE:   /usr/share/tomcat6
> Using CATALINA_HOME:   /usr/share/tomcat6
> Using CATALINA_TMPDIR: /usr/share/tomcat6/temp
> Using JRE_HOME:        /usr
> Using CLASSPATH:       /usr/share/tomcat6/bin/bootstrap.jar
> Server version: Apache Tomcat/6.0.35
> Server built:   Jan 31 2012 04:27:38
> Server number:  6.0.35.0
> OS Name:        Linux
> OS Version:     3.2.0-0.bpo.2-686-pae
> Architecture:   i386
> JVM Version:    1.6.0_26-b03
> JVM Vendor:     Sun Microsystems Inc.
> root@colin:/usr/share/tomcat6/bin#

Root? You must never run Tomcat as root.

> This Tomcat has been running fine for several months (ever since the system
> was installed), but today I had to restart the system and Tomcat, and I
> noticed this in the logs :
>
> In /var/log/tomcat6/catalina.out, at Tomcat startup, there are these lines :
>
> Jun 10, 2012 10:31:33 AM org.apache.catalina.startup.ClassLoaderFactory
> validateFile
> WARNING: Problem with directory [/usr/share/tomcat6/server/classes], exists:
> [false], isDirectory: [false], canRead: [false]
> Jun 10, 2012 10:31:34 AM org.apache.catalina.startup.ClassLoaderFactory
> validateFile
> WARNING: Problem with directory [/usr/share/tomcat6/server], exists:
> [false], isDirectory: [false], canRead: [false]

Those look very much like directories that Tomcat 5.5 uses. I would
guess that your CATALINA_BASE is wrong. That is as if you tried to
start Tomcat 6 with Tomcat 5.5 configuration files.

Best regards,
Konstantin Kolinko

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org


Mime
View raw message