3 Replies Latest reply on Apr 29, 2003 1:30 AM by muzair9192

    deploying a web application

    muzair9192

      i have a web application which i need to deploy on JBOSS ( Jetty ) . but when i deploy the application i get (EJBName ) not bound exception . i have tested the EJB separately , and it works fine with stand alone java clients . now i am accessing it from a servlet and am getting this exception . I think i am making a mistake with the directory structure i am using . if some one can please give me the correct directory format , i'll be very grate ful

      the application consist of a servelet and some helper classes that are using a EJB .(Session Bean) .

        • 1. Re: deploying a web application
          trugbild

          I'm also new to jboss, but since my application works so far, I post my directory structure (also had problems make it work). My application's name is "transactor":

          deploy: transactor.ear

          transactor.ear: META-INF, beans.jar, transactor.war

          META-INF: application.xml, MANIFEST.MF

          beans.jar: META-INF, package-structure (incl. .class-Files of the beans)

          META-INF: ejb-jar.xml, MANIFEST.MF

          transactor.war: META-INF, WEB-INF, HTML-Pages

          META-INF: MANIFEST.MF

          WEB-INF: classes, web.xml

          classes: package-structure incl. class-Files of the Servlets.

          • 2. deploying the web application
            muzair9192

            i have written a very very simple web application consisting of a servlet and a simple session bean . i have tried to deploy the file on JBOSS(3.0.4 jetty ) but i am getting the following errors

            javax.naming.NameNotFoundException: ConverterEJB not bound
            20:16:20,171 ERROR [STDERR] at org.jnp.server.NamingServer.getBinding(NamingServer.java:495)
            20:16:20,171 ERROR [STDERR] at org.jnp.server.NamingServer.getBinding(NamingServer.java:503)


            i have checked the descriptors i thinkt he directory hierarchy is also right . i am attaching the ear file . kindly look at this and tell if there is any problem that u can detect . if u have a simplle application plz attach it in reply so that i may check where i am erring .

            • 3. Re: deploying the web application
              muzair9192

              soory i have uploaded the wrong files here . but the problem has now been solved