tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Alan Ezust <>
Subject Re: java.lang.NoClassDefFoundError: org/apache/naming/JndiPermission
Date Sat, 13 Sep 2003 22:16:47 GMT

In an earlier post, 

> From: "Scott Shorter" 
> Subject: java.lang.NoClassDefFoundError: org/apache/naming/JndiPermission 
> Date: Wed, 13 Mar 2002 16:55:00 -0500


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( at 
javax.servlet.http.HttpServlet.service( at 
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Applica 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> ./
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

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 

alan ezust
ottawa, canada

View raw message