You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by Alan Ezust <al...@oddiofile.com> on 2003/09/14 00:16:47 UTC
Re: java.lang.NoClassDefFoundError: org/apache/naming/JndiPermission
In an earlier post,
> From: "Scott Shorter"
> Subject: java.lang.NoClassDefFoundError: org/apache/naming/JndiPermission
> Date: Wed, 13 Mar 2002 16:55:00 -0500
All,
I'm working on migrating an app from one Solaris machine to another. Using
Java 1.4.0, Tomcat 4.0.3
I've copied $JAVA_HOME/jre/lib/ext/*.jar and $CATALINA_HOME/common/lib/*.jar
from the old machine to the new, but when we first try to view a JSP page, we
get the following stack trace:
javax.servlet.ServletException: org/apache/naming/JndiPermission at
org.apache.jasper.servlet.JspServlet.service(JspServlet.java:485) at
javax.servlet.http.HttpServlet.service(HttpServlet.java:853) at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Applica
tionFilterChain.java:247) at
I'm having exactly the same exception. I'm trying to install tomcat 4.1.27, on
a linux box running
ezust@juke] /home/ezust/school/CSI5389/jakarta-tomcat-4.1.27/bin> ./startup.sh
Using CATALINA_BASE: /home/ezust/school/CSI5389/jakarta-tomcat-4.1.27
Using CATALINA_HOME: /home/ezust/school/CSI5389/jakarta-tomcat-4.1.27
Using CATALINA_TMPDIR: /home/ezust/school/CSI5389/jakarta-tomcat-4.1.27/temp
Using JAVA_HOME: /usr/local/j2eesdk1.4_beta2/jdk
[ezust@juke]
I installed it yesterday, ran it immediately, and all was well. I rebooted,
and tried running it again today. Now i see the above message.
Is Scott Shorter still on this list? Did you or anyone else find a resolution
to this problem? I've done a bunch of searches but have not seen any
resolutions.
--
alan ezust
ottawa, canada