tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Alan Ezust <a...@oddiofile.com>
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

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



Mime
View raw message