0 Replies Latest reply on Dec 5, 2001 8:53 AM by Tony Gieske

    EJB Deployement help using JBoss2.4.2 + Tomcat 3.2.3

    Tony Gieske Newbie

      I need help deploying and ejb with a web application.

      My original approach was to deploy the ejb separate from the web app. Here's what I did:

      - I copied my war file ccm.war into the path /apps/tomcat3.2.3/tomcat/webapps.
      - I copied my ccmejb.jar file in the path /apps/tomcat3.2.3/jboss/deploy.

      I started my jboss/tomcat via run_with_tomcat.sh in the jboss/bin.

      My ejb did not deploy and I received a error - Static initializer error: LocalDispatcher.
      In the stack trace I found this exception - javax.naming.NameNotFoundException: Stateless.RemoteDispatcher not bound

      I seemed to me that the ejb's did not deploy and that the web application tried to launch before the ejb deployment process.

      I then proceeded to package the web application with the ejb deployment and created an ear file CCM.ear. I copied this file into the /apps/tomcat3.2.3/jboss/deploy path.

      I started my jboss/tomcat via run_with_tomcat.sh in the jboss/bin.

      This time it appeared that my ejbs deployed successfully, but then my CVGProperty class could not find the resource bundle CCM.properties file.

      also, I noticed that my ccm.war file does not explode into a subpath like it did in the first case.

      How can I deploy my ejb's with my web app?