tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Pavel Janoušek <janou...@fonet.cz>
Subject What's wrong in Tomcat 5.5.12.?
Date Fri, 02 Dec 2005 12:00:56 GMT
	Hi all,

	I run Tomcat 5.5.9. in many instalation for several months.

	Now, I try to use new version of Tomcat (5.5.12.) and I see some =
errors...

	I know this page =
http://tomcat.apache.org/tomcat-5.5-doc/class-loader-howto.html, I =
think, that in 5.5.12. bootloader Common doesn't load any =
$CATALINA_HOME/common/lib classes. I don't know why.

	Exact the same configuration and running environment works perfectly =
under Tomcat 5.5.9., bud when I migrate it to Tomcat 5.5.12. still in =
initialization I've got this error:

 INFO 2005-12-02 12:04:50,078 org.apache.catalina.startup.Catalina - =
Initializa
tion processed in 7123 ms [main] (1)
 INFO 2005-12-02 12:04:50,723 org.apache.catalina.realm.JAASRealm - Set =
JAAS ap
p name Catalina [main] (646)
 INFO 2005-12-02 12:04:50,824 org.apache.catalina.core.StandardService - =
Starti
ng service Catalina [main] (747)
 INFO 2005-12-02 12:04:50,895 org.apache.catalina.core.StandardEngine - =
Startin
g Servlet Engine: Apache Tomcat/5.5.12 [main] (818)
 INFO 2005-12-02 12:04:51,035 org.apache.catalina.core.StandardHost - =
XML valid
ation enabled [main] (958)
 INFO 2005-12-02 12:04:58,579 org.apache.catalina.core.ContainerBase.[/] =
- Mark
ing servlet jsp as unavailable [main] (8502)
ERROR 2005-12-02 12:04:58,597 org.apache.catalina.core.ContainerBase.[/] =
- Erro
r loading WebappClassLoader
  delegate: false
  repositories:
    /WEB-INF/classes/
----------> Parent Classloader:
sun.misc.Launcher$AppClassLoader@187c6c7
 org.apache.jasper.servlet.JspServlet [main] (8520)
java.lang.ClassNotFoundException: org.apache.jasper.servlet.JspServlet
        at =
org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLo
ader.java:1338)
        at =
org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLo
ader.java:1187)
        at =
org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper
.java:1027)
        at =
org.apache.catalina.core.StandardWrapper.load(StandardWrapper.java:9
25)
        at =
org.apache.catalina.core.StandardContext.loadOnStartup(StandardConte

[snip]


	and when I try to run Java servlet application, similar error(s) are =
produced -=20


2.12.2005 11:10:57 org.apache.catalina.core.ApplicationDispatcher invoke
SEVERE: Allocate exception for servlet login
java.lang.NoClassDefFoundError: javax/servlet/http/HttpServlet
        at java.lang.ClassLoader.defineClass1(Native Method)
        at java.lang.ClassLoader.defineClass(ClassLoader.java:620)
        at =
java.security.SecureClassLoader.defineClass(SecureClassLoader.

[snip]

Files are OK:

[root@gw lib]# ls -l /usr/java/apache-tomcat-5.5.12/common/lib/
total 3056
-rw-r--r--    1 root     root       112341 Sep 23 15:42 commons-el.jar
-rw-r--r--    1 root     root        38015 Dec  2 09:34 =
commons-logging.jar
-rw-r--r--    1 root     root       405086 Sep 23 15:42 =
jasper-compiler.jar
-rw-r--r--    1 root     root      1204569 Sep 23 15:42 =
jasper-compiler-jdt.jar
-rw-r--r--    1 root     root        76698 Sep 23 15:42 =
jasper-runtime.jar
-rw-r--r--    1 root     root        50501 Sep 23 15:42 jsp-api.jar
-rw-r--r--    1 root     root       281002 Dec  2 09:34 jtds-1.1.jar
-rw-r--r--    1 root     root       350627 Dec  2 09:34 log4j-1.2.11.jar
-rw-r--r--    1 root     root       154109 Sep 23 15:42 =
naming-factory-dbcp.jar
-rw-r--r--    1 root     root        36341 Sep 23 15:42 =
naming-factory.jar
-rw-r--r--    1 root     root        47233 Sep 23 15:42 =
naming-resources.jar
-rw-r--r--    1 root     root       106577 Dec  2 09:36 p6spy.jar
-rw-r--r--    1 root     root        97701 Sep 23 15:42 servlet-api.jar
-rw-r--r--    1 root     root        97701 Dec  2 11:10 servlet.jar
[root@gw lib]#=20

log4j and commons-logging are known, jtds is Free JDBC driver to MS SQL =
server and p6spy is SQL command logger... nothing special...

[root@gw lib]# ls -l /usr/java/apache-tomcat-5.5.12/server/lib/
total 1892
-rw-r--r--    1 root     root        26354 Sep 23 15:42 catalina-ant.jar
-rw-r--r--    1 root     root        22028 Sep 23 15:42 =
catalina-ant-jmx.jar
-rw-r--r--    1 root     root       201063 Sep 23 15:42 =
catalina-cluster.jar
-rw-r--r--    1 root     root       644779 Sep 23 15:42 catalina.jar
-rw-r--r--    1 root     root       115080 Sep 23 15:42 =
catalina-optional.jar
-rw-r--r--    1 root     root        63631 Sep 23 15:42 =
catalina-storeconfig.jar
-rw-r--r--    1 root     root       109670 Sep 23 15:42 =
commons-modeler.jar
-rw-r--r--    1 root     root        21650 Sep 23 15:42 =
servlets-cgi.renametojar
-rw-r--r--    1 root     root        18706 Sep 23 15:42 =
servlets-default.jar
-rw-r--r--    1 root     root         6016 Sep 23 15:42 =
servlets-invoker.jar
-rw-r--r--    1 root     root        52650 Sep 23 15:42 =
servlets-ssi.renametojar
-rw-r--r--    1 root     root        22068 Sep 23 15:42 =
servlets-webdav.jar
-rw-r--r--    1 root     root       166366 Sep 23 15:42 tomcat-ajp.jar
-rw-r--r--    1 root     root        23574 Sep 23 15:42 tomcat-apr.jar
-rw-r--r--    1 root     root        19284 Sep 23 15:42 =
tomcat-coyote.jar
-rw-r--r--    1 root     root        88158 Sep 23 15:42 tomcat-http.jar
-rw-r--r--    1 root     root       262765 Sep 23 15:42 tomcat-util.jar
[root@gw lib]#=20


Where I can search this error or description of BUG? I try search some =
upgrading issues between 5.5.9 and 5.5.12 on the Web, mailing lists but =
I not found somethink useful.

I there anybode else, which has the same problem?


Ing. Pavel Janoušek
technická podpora

E-mail: janousek@fonet.cz
FoNet, spol. s r.o.
Sokolova 67, 619 00 Brno
Tel.: +420 543 244 749
Fax.: +420 543 244 751
WWW : http://WWW.FoNet.Cz/ 
 

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


Mime
View raw message