First of all,
- where should be placed servlet.jar file from my application if not in
/opt/repgen/
servlet/WEB-INF/lib/

When I run the tomcat under user apache then output is following:
/# tail -f /var/apache/tomcat/logs/catalina.out
WARNING: Default charset ISO-10646-Minimum-European-Subset not supported,
using ISO-8859-1 instead
Created MBeanServer with ID: 1386000:1283f0632fa:-8000:server:1
Apr 27, 2010 1:28:37 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
Apr 27, 2010 1:28:48 PM org.apache.coyote.http11.Http11BaseProtocol init
INFO: Initializing Coyote HTTP/1.1 on http-8080
Apr 27, 2010 1:28:49 PM org.apache.catalina.startup.Catalina load
INFO: Initialization processed in 33400 ms
Apr 27, 2010 1:28:55 PM org.apache.catalina.core.StandardService start
INFO: Starting service Catalina
Apr 27, 2010 1:28:55 PM org.apache.catalina.core.StandardEngine start
INFO: Starting Servlet Engine: Apache Tomcat/5.5.29
Apr 27, 2010 1:28:56 PM org.apache.catalina.core.StandardHost start
INFO: XML validation disabled
Apr 27, 2010 1:29:04 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
Apr 27, 2010 1:29:20 PM org.apache.coyote.http11.Http11BaseProtocol start
INFO: Starting Coyote HTTP/1.1 on http-8080
Apr 27, 2010 1:29:23 PM org.apache.jk.common.ChannelSocket init
INFO: JK: ajp13 listening on /0.0.0.0:8009
Apr 27, 2010 1:29:24 PM org.apache.jk.server.JkMain start
INFO: Jk running ID=0 time=10/660  config=null
Apr 27, 2010 1:29:25 PM org.apache.catalina.storeconfig.StoreLoader load
INFO: Find registry server-registry.xml at classpath resource
Apr 27, 2010 1:29:26 PM org.apache.catalina.startup.Catalina start
INFO: Server startup in 36790 ms

-- 
Best Regards / S pozdravem
Petr Hracek

2010/4/27 Konstantin Kolinko <knst.koli...@gmail.com>

> 2010/4/27 Petr Hracek <phrac...@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-unsubscr...@tomcat.apache.org
> For additional commands, e-mail: users-h...@tomcat.apache.org
>
>

Reply via email to