You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by mi...@hotmail.com on 2004/08/09 05:14:50 UTC
Tomcat Servlet.init() error
Configuration: Solaris 9, Apache 1.3, Tomcat 4.0.1, default JSDK
Hello!! I'm new to Tomcat and I recently changed some of the configuration files while deploying
my web application. After doing so I encountered this problem for some time, which has left
my strictly working with Servlets. Each time I attempt to display a JSP page I get the following error:
I would really appreciate any assistance.
Thanks in advance,
Cliff
Apache Tomcat 4.0.1 HTTP Status 500 - Internal Server Error
javax.servlet.ServletException: Servlet.init() for servlet jsp threw exceptionetc... root cause java.lang.NoClassDefFoundError: org/apache/tomcat/logging/Logger
at org.apache.jasper.Constants.message(Constants.java:244)
at org.apache.jasper.servlet.JspServlet.init(JspServlet.java:265)
at org.apache.catalina.core.StandardWrapper.load(StandardWrapper.java:852)
Re: Tomcat Servlet.init() error
Posted by QM <qm...@brandxdev.net>.
On Mon, Aug 09, 2004 at 05:07:07PM -0400, missioncoder@hotmail.com wrote:
: Thanks for your response QM. I would really like to upgrade to Tomcat 4.1
: or 5.0. I've read
: great things about the Admin webapp and the other features, I just don't
: know the best manner
: to proceed. Is there a specific version I should upgrade to. At the moment
: I only have this one
: web application that I deployed manually by creating a web.xml fragment.
: Any suggestions??
1/ 5.0.27 is the latest stable version. Sticking with the 5.x series
(for now, at least) ensures the greatest possibility of list support,
since that seems to be what most people here run.
2/ Developing a migration plan is out of the realm of this e-mail, but I
have a brief 4.1 -> 5.x guide on my website (http://www.BrandXDev.net).
For the most part:
. note where you're using container-specific code
. note where you're using servlet/JSP features that are
deprecated in the 2.4/2.0 releases, respectively
. test, test, test before you switch the production install
-QM
--
software -- http://www.brandxdev.net
tech news -- http://www.RoarNetworX.com
---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-user-help@jakarta.apache.org
Re: Tomcat Servlet.init() error
Posted by mi...@hotmail.com.
Thanks for your response QM. I would really like to upgrade to Tomcat 4.1
or 5.0. I've read
great things about the Admin webapp and the other features, I just don't
know the best manner
to proceed. Is there a specific version I should upgrade to. At the moment
I only have this one
web application that I deployed manually by creating a web.xml fragment.
Any suggestions??
Thanks in advance.
----- Original Message -----
From: "QM" <qm...@brandxdev.net>
To: "Tomcat Users List" <to...@jakarta.apache.org>
Sent: Sunday, August 08, 2004 11:24 PM
Subject: Re: Tomcat Servlet.init() error
> On Sun, Aug 08, 2004 at 11:14:50PM -0400, missioncoder@hotmail.com wrote:
> : Configuration: Solaris 9, Apache 1.3, Tomcat 4.0.1, default JSDK
>
> First of all, is there any reason you're using Tomcat 4.0? This
> version is no longer under active development. 4.1 or, even better, 5.0
> have a wider user base. Upgrading would significantly improve your
> chances of getting support via the list, were you to encounter a
> version-specific problem.
>
>
> : I'm new to Tomcat and I recently changed some of the configuration
> : files while deploying
> : my web application. After doing so I encountered this problem for some
time,
>
> Specifically, what did you change?
> Did the problem persist when you rolled back said changes?
>
>
> : Each time I attempt to display a JSP page
> : I get the following error:
> :
> : [snip]
> : Apache Tomcat 4.0.1 HTTP Status 500 - Internal Server Error
> : javax.servlet.ServletException: Servlet.init() for servlet jsp threw
> : exceptionetc... root cause java.lang.NoClassDefFoundError:
> : org/apache/tomcat/logging/Logger
>
> NoClassDefFoundError usually indicates some kind of class mismatch --
> either you have a duplicate (and newer) log4j JAR in the runtime mix, or
> you've built and deployed using different versions.
>
> -QM
>
> --
>
> software -- http://www.brandxdev.net
> tech news -- http://www.RoarNetworX.com
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: tomcat-user-help@jakarta.apache.org
>
>
---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-user-help@jakarta.apache.org
Re: Tomcat Servlet.init() error
Posted by QM <qm...@brandxdev.net>.
On Sun, Aug 08, 2004 at 11:14:50PM -0400, missioncoder@hotmail.com wrote:
: Configuration: Solaris 9, Apache 1.3, Tomcat 4.0.1, default JSDK
First of all, is there any reason you're using Tomcat 4.0? This
version is no longer under active development. 4.1 or, even better, 5.0
have a wider user base. Upgrading would significantly improve your
chances of getting support via the list, were you to encounter a
version-specific problem.
: I'm new to Tomcat and I recently changed some of the configuration
: files while deploying
: my web application. After doing so I encountered this problem for some time,
Specifically, what did you change?
Did the problem persist when you rolled back said changes?
: Each time I attempt to display a JSP page
: I get the following error:
:
: [snip]
: Apache Tomcat 4.0.1 HTTP Status 500 - Internal Server Error
: javax.servlet.ServletException: Servlet.init() for servlet jsp threw
: exceptionetc... root cause java.lang.NoClassDefFoundError:
: org/apache/tomcat/logging/Logger
NoClassDefFoundError usually indicates some kind of class mismatch --
either you have a duplicate (and newer) log4j JAR in the runtime mix, or
you've built and deployed using different versions.
-QM
--
software -- http://www.brandxdev.net
tech news -- http://www.RoarNetworX.com
---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-user-help@jakarta.apache.org