1 Reply Latest reply on Jul 11, 2002 8:43 AM by adrian.brock

    How to deploy EJBs

    bhirschmann

      Hello!

      I have a problem with the deployment of my EJBs. I guess I just missed a step in the procedure...
      I'm using JBoss 2.4.4 on W2K

      What I have done:
      Created a ejb-jar.xml and a jboss.xml file containing the info about my EJBs.
      Put the classes and the 2 xml files into the \deploy dir
      \META-INF\ejb-jar.xml
      \META-INF\jboss.xml
      \com\.... [the classes]

      Is that it? Or do I have to do another step?

      JBoss comes up with no error messages.
      When I try to connect to my EJB a javax.naming.NameNotFoundException is thrown, telling me, that it is not bound.

      Any help is highly appreciated!

      Regards,
      Bernhard

        • 1. Re: How to deploy EJBs

          You need to create an archive.
          Either put the files in a directory called
          deploy\myejb.jar
          or create a myejb.jar containing those files using
          the jar tool and put that in the deploy directory.

          Regards,
          Adrian