2 Replies Latest reply on Nov 8, 2003 9:08 AM by eldorsen

    contacting ejb(on jboss 3.0.8) from servlet

    eldorsen

      I'm tring to run a simple HelloWorld test. I've succesfully deployed the bean on the server (jboss 3.0.8). When i run the client, which is a servlet, i get the following exception:

      java.lang.NoClassDefFoundError: javax/ejb/EJBObject

      The servlet is running on tomcat 4.1.29

      I've tried copying j2ee.jar into tomcat/server/lib and added it to the classpath in .bash_profile with no luck.

      I've also added the following jar files from jboss in classpath:
      \client\log4j.jar
      \client\jboss-common-client.jar
      \client\jboss-system-client.jar
      \client\jnp-client.jar
      \client\jboss-client.jar
      \client\jbosssx-client.jar

      Any suggestions?