tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Christopher Schultz <ch...@christopherschultz.net>
Subject Re: Sudden missing javax/servlet/http/HttpServlet ?
Date Thu, 07 Aug 2008 19:18:23 GMT
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

David,

David Smith wrote:
| So.... to boil this down a bit, it doesn't work with your webapp, but
| suddenly comes to life if you remove your webapp and install
| LambdaProbe?

Exactly.

| That's bizarre.

Yeah, it sure is. Since I originally posted, I've been getting more and
more detailed in my enabled/disabled ratio of stuff in my webapp. It
appears that if I commend-out my Velocity servlet (used to render
Velocity templates) in web.xml, I can successfully load my webapp. Of
course, I can't get any useful output since all my templates are dumped
instead of "run", but at least it's a start.

| Is there another package javax.servlet.http that might be messing up
| the classloaders?  Anything in any of the classes directories?

Bot that I can find. The only directory in my WEB-INF/classes directory
is "org" and it contains my own classes.

| Last question: are there any messages/exceptions further up that might
| shed light on the issue (like say a permissions exception attempting to
| read servlet-api.jar or common/lib?

All I have is this:

$ grep '\(Error\|Exception\)' app/logs/*
app/logs/catalina.2008-08-07.log:SEVERE: Error deploying web application
directory diagnosis
app/logs/catalina.2008-08-07.log:java.lang.NoClassDefFoundError:
javax/servlet/http/HttpServlet
app/logs/catalina.out:SEVERE: Error deploying web application directory
diagnosis
app/logs/catalina.out:java.lang.NoClassDefFoundError:
javax/servlet/http/HttpServlet

catalina.out and catalina.2008-08-07.log appear to have identical
output: just the stack trace, with no other useful information.

I'm going to start looking at the Velocity and Velocity-Tools JARs to
see if they might have been corrupted or something. They are stored in
CVS in our project, and cvs doesn't say anything, but since I'm grasping
at straws, I may as well continue.

- -chris
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iEYEARECAAYFAkibSn8ACgkQ9CaO5/Lv0PCX9wCfVRqx5smjKCC3jAWV8Yj8c/D7
FDgAn3jCVO0p+iehUwC2Al/wGjBpLZMv
=UfKg
-----END PGP SIGNATURE-----

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


Mime
View raw message