Tomcat/Struts application deployment error

M

Mike

Have any of you seen this type of behavior when
deploying an application using struts. I have
developed an application on my Win98 pc using
j2sdk1.4.1 and Tomcat 4.0.6 with Struts 1.1. I'm
deploying on a Win NT 4.0 server using j2sdk1.4.2 and
Tomcat 4.0.6. I've copied my application over to the
NT server and when I kick off Tomcat, I see the
following error on my 'railfix' application:

D:\Tomcat4.0.6\webapps\railfix\WEB-INF\lib\jakarta-oro.jar
2003-07-29 13:33:11 WebappLoader[/railfix]: Deploy JAR
/WEB-INF/lib/struts.jar to
D:\Tomcat4.0.6\webapps\railfix\WEB-INF\lib\struts.jar
2003-07-29 13:33:12 StandardManager[/railfix]: Seeding
random number generator class
java.security.SecureRandom
2003-07-29 13:33:12 StandardManager[/railfix]: Seeding
of random number generator has been completed
2003-07-29 13:33:12 HostConfig[localhost] Error
deploying web application directory railfix
java.lang.NoClassDefFoundError:
org/apache/naming/JndiPermission
at
org.apache.naming.resources.DirContextURLStreamHandler.openConnection(DirContextURLStreamHandler.java:135)
at java.net.URL.openConnection(URL.java:896)
at
sun.net.www.protocol.jar.JarURLConnection.<init>(JarURLConnection.java:64)
at
sun.net.www.protocol.jar.Handler.openConnection(Handler.java:24)
at java.net.URL.openConnection(URL.java:896)
at org.apache.catalina.startup.ContextConfig.tldConfigJar(ContextConfig.java:1105)
 
W

Wendy S

Mike said:
Have any of you seen this type of behavior when
deploying an application using struts.
2003-07-29 13:33:12 HostConfig[localhost] Error
deploying web application directory railfix
java.lang.NoClassDefFoundError:
org/apache/naming/JndiPermission

I use Tomcat 4.1.24, and that file is in bootstrap.jar which lives in
/path/to/tomcat/bin. Perhaps it's missing or corrupted in your install? I
don't think it has anything to do with Struts of the fact that the problem
is occurring with a Struts webapp.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,755
Messages
2,569,537
Members
45,021
Latest member
AkilahJaim

Latest Threads

Top