3 Replies Latest reply on May 15, 2007 1:19 PM by bill.burke

    Deployment in Tomcat+Embedded JBOSS

    bill.burke

      You can't use an EAR file. Remember, Tomcat controls classloading so anything other than the jar or war file format will not work.

        • 1. Re: Deployment in Tomcat+Embedded JBOSS
          murphyric

          I deployed the application in 2 parts now -JAR and WAR along with the -ds.xml file as suggested.

          I have a page(JSP) which looks up the JNDI and when I checked the logs, found the error 'javax.naming.NameNotFoundException' during the lookup.
          I think during this lookup it is not found due to improper deployment(of the JAR).

          Can we deploy ejb2.1 based EJB's in the embeddedJBoss and tomcat combination?
          Or EJB 3 beans are the only one's that can be deployed in this?

          I have EJB 2.1 deployment descriptors in the application(deployed), and in the tutorials ,found that the samples are based on EJB3.
          No clue if it really works for EJB's developed on ver 2.1.

          An early reply is apprecited.

          Thanks and Regards.

          • 2. Re: Deployment in Tomcat+Embedded JBOSS
            bill.burke

            You may be able to deploy EJB 2.1 SL and SF beans under a EJB 3.0 schema. Haven't tried yet.... But no CMP/BMP, sorry.

            • 3. Re: Deployment in Tomcat+Embedded JBOSS
              bill.burke

              You'd have to pull in jars/config from JBoss 5 beta2 to use the old EJB 2.1 container.