1 Reply Latest reply on Feb 17, 2006 2:43 PM by mvdc

    Tomcat 5 talking to JBoss 4.0.3 EJB

    mvdc

      Hi

      I have tomcat on port 7070 and Jboss on 8080. Im copying a live set up on my local machine.

      I have an action which tries to talk to an EJB on Jboss.
      I added jbossall-client.jar in the WEB-INF/lib directory in but get
      the following error:

      INFO: validateJarFile(C:\new_eclipse\eclipse\workspace\bookings\WEB-INF\lib\jbossall-client.jar) - jar not loaded. See Servlet Spec 2.3, section 9.7.2. Offending class: javax/servlet/Servlet.class
      

      Any ideas?

      kind regards

      Simon

        • 1. Re: Tomcat 5 talking to JBoss 4.0.3 EJB
          mvdc

          Hi

          I have re-read my posting and feel it needs more information.
          Im using Jboss 4.0.3 and tomcat 5.5.

          What jars do I need on the tomcat war for it to be able to access JBoss.?

          I have previously accessed ejb from java applications with the help of jars in the JBoss Client directory. Im sure I have also does this successfully in the long distant past with tomcat 4 and Jboss 3.

          I used this same approach, but it seems when I add the the jbossall-client.jar it clashes with classes in Tomcats jars.

          Has anyone successfully connected to JBoss 4 EJBs from Tomcat 5.5.