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: Problem with starting tomcat5
Date Tue, 27 Apr 2010 10:48:44 GMT
2010/4/27 Petr Hracek <phracek2@gmail.com>:
> WARNING: Default charset ISO-10646-Minimum-European-Subset not supported,
> using ISO-8859-1 instead

Do not know what prints the above.


> Apr 27, 2010 12:15:59 PM org.apache.catalina.core.AprLifecycleListener init
> INFO: The Apache Tomcat Native library which allows optimal performance in
> production environments was not found on the java.library.path:
> /opt/java2-1.4.2/jre/lib/i386/client:/opt/java2-1.4.2/jre/lib/i386:/opt/java2-1.4.2/jre/../lib/i386:/usr/lib

The above can be ignored.


> Apr 27, 2010 12:16:19 PM org.apache.catalina.loader.WebappClassLoader
> validateJarFile
> INFO: validateJarFile(/opt/repgen/servlet/WEB-INF/lib/servlet.jar) - jar not
> loaded. See Servlet Spec 2.3, section 9.7.2. Offending class:
> javax/servlet/Servlet.class

Remove servlet.jar from your web application. It should not be there.


> java.io.FileNotFoundException:
> /opt/apache/tomcat/work/Catalina/localhost/RepGen/tldCache.ser (No such file
> or directory)
>    at java.io.FileOutputStream.open(Native Method)
>    at java.io.FileOutputStream.<init>(FileOutputStream.java:179)
>    at java.io.FileOutputStream.<init>(FileOutputStream.java:131)
>    at org.apache.catalina.startup.TldConfig.execute(TldConfig.java:320)

It tries to write tldCache.ser file and cannot. Check your permissions.

BTW, this message is printed to stderr. A patch to print this message
to the log file is already proposed for 5.5 (BZ 48179), but is not
applied yet.

> Apr 27, 2010 12:16:30 PM org.apache.jasper.EmbeddedServletOptions <init>
> SEVERE: The scratchDir you specified:
> /opt/apache/tomcat/work/Catalina/localhost/RepGen is unusable.

Again, the directory is not writeable.

> Content of the directory /opt/apache/tomcat/conf/Catalina/localhost is:
> /var/apache/tomcat# l /opt/apache/tomcat/conf/Catalina/localhost/
> total 6
> -rw-r--r--    1 root     sys             105 Apr 27 11:12 PM-Reports.xml
> -rw-r--r--    1 root     sys             117 Apr 27 11:12 PM.xml
> -rw-r--r--    1 root     sys             105 Apr 27 11:12 RepGen.xml
> /var/apache/tomcat#
>
> Could you please let me know where I did a problem?

1. Do not run Tomcat as root.
2. If you have ever run Tomcat as root,
  - remove all subdirectories and files from logs, temp and work
subdirectories of $CATALINA_BASE
  - make sure, that the above directories as well as
$CATALINA_BASE/conf/Catalina/, $CATALINA_BASE/webapps and the files in
them are writeable.

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