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 11:29:43 GMT
>>>
>>> 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.
>
>
> Well, not as far as I can tell. This host (a VM) was set up several months
> ago, directly with Tomcat 6.  Tomcat 5.5 was never even installed on it.
> I also cannot find any reference to Tomcat 5.5 anywhere in the configuration
> files. Everything mentions Tomcat 6.
> CATALINA_BASE = CATALINA_HOME = /usr/share/tomcat6, as per above version.sh
> output.
>

catalina.sh autodetects home and base if you have not provided one,
and I think you haven't

> I know that these packages tend to put things all over the place, but in
> this case I cannot see how there could be Tomcat 5.5 leftovers.
>
> I also ran some "grep -R tomcat5" on /etc, /var, /usr, etc..
> The only thing remotely suspicious is this :
>
> Binary file lib/apache2/modules/mod_jk.so matches
>
> but that may just be a comment somewhere in that file.
>

Those folders are configured in conf/catalina.properties.  If you have
that file copied from Tomcat 5.5 that you will see this effect.

> So, what does that "org.apache.catalina.startup.ClassLoaderFactory
> validateFile" really do, that it does not seem happy ?

http://svn.apache.org/viewvc?view=revision&revision=1130932

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