2 Replies Latest reply on Aug 8, 2003 4:06 AM by camper

    Apache error messages 404 for classes loaded by client ??

    camper Newbie

      HI there ...I'm not a JBOSS guru, so pls. excuse my ignorance - I just was asked to host to an applet with JBOSS that calls an EJB.

      So I installed JBOSS (Note: without tomcat!), put the applet+client libs on the Apache-Webspace, well ...the applet works alright, but I'm getting loads of errors in the Apache error-log when the appplet starts loading it's classes ?
      (I'm on SUSE 7.2 with APACHE 1.3.24, JBOSS 2.4.3
      - i know this stuff isn't the newest, the customers requested it that way..)

      [Thu Aug 7 12:14:36 2003] [error] [client 10.21.20.40] File does not exist: /www/lamp1/crm/lib/javax/ejb/EJBHome.class
      [Thu Aug 7 12:14:36 2003] [error] [client 10.21.20.40] File does not exist: /www/lamp1/crm/notfound.html
      [Thu Aug 7 12:14:36 2003] [error] [client 10.21.20.40] File does not exist: /www/lamp1/crm/lib/javax/ejb/EJBHome.class
      [Thu Aug 7 12:14:36 2003] [error] [client 10.21.20.40] File does not exist: /www/lamp1/crm/notfound.html
      [Thu Aug 7 12:14:36 2003] [error] [client 10.21.20.40] File does not exist: /www/lamp1/crm/lib/javax/ejb/Handle.class
      [Thu Aug 7 12:14:36 2003] [error] [client 10.21.20.40] File does not exist: /www/lamp1/crm/notfound.html
      [Thu Aug 7 12:14:36 2003] [error] [client 10.21.20.40] File does not exist: /www/lamp1/crm/lib/javax/ejb/Handle.class

      (Directory /lib/ is linked to the jboss-client jar-files,
      and the html-page invoking the applet points there with ARCHIVE=..... attribute)

      Can someone shed a light ?

        • 1. Re: Apache error messages 404 for classes loaded by client ?
          camper Newbie

          More Info : I found the Class "EJBHome.class" in jboss-j2ee.jar, and this one is succesfully loaded *before* the errors show:

          [08/Aug/2003:05:01:00 +0200] "GET /crm/lib/jboss-j2ee.jar HTTP/1.1" 200 61907 Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.0; Q312461; .NET CLR 1.0.3705) -

          So, it's a clean-and-nice Status=200 (success)


          A few lines later then:

          [08/Aug/2003:05:03:16 +0200] "GET /crm/lib/javax/ejb/EJBHome.class HTTP/1.1" 404 324 Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.0; Q312461; .NET CLR 1.0.3705) -

          Is this a problem with the JRE ??







          (BTW: Pls ignore the messages about the "notfound.html" - they were a followup-error (misconfiguration of Apache)

          • 2. Re: Apache error messages 404 for classes loaded by client ?
            camper Newbie

            ALAS --- found the error myself: The applet-invocation in the html-page had specified a "codebase=" , which obvously caused the JRE-classloader to look for these class-files there, though they were already available (locally).
            A simple change to "codebase=." did the trick an eliminated these errors in my server-log...