Tomcat/Struts application deployment error

Discussion in 'Java' started by Mike, Jul 30, 2003.

  1. Mike

    Mike Guest

    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)
    Mike, Jul 30, 2003
    #1
    1. Advertising

  2. Mike

    Wendy S Guest

    "Mike" <> wrote
    > 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.

    --
    Wendy in Chandler, AZ
    Wendy S, Jul 30, 2003
    #2
    1. Advertising

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

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Benny Ng
    Replies:
    0
    Views:
    4,413
    Benny Ng
    Oct 3, 2005
  2. Antoine Diot
    Replies:
    4
    Views:
    5,065
    pravda
    Jun 5, 2004
  3. Aleksandar Matijaca
    Replies:
    2
    Views:
    8,312
    Aleksandar Matijaca
    Sep 19, 2004
  4. Replies:
    1
    Views:
    373
    theath
    Jul 20, 2005
  5. Stewart
    Replies:
    3
    Views:
    3,473
    Stewart
    Aug 18, 2005
Loading...

Share This Page