Uploaded image for project: 'Application Server 3  4  5 and 6'
  1. Application Server 3 4 5 and 6
  2. JBAS-5190

Wrong ordering of EJB/WAR startup causes Seam dvd example to fail deployment

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Blocker Blocker
    • JBossAS-5.0.0.CR1
    • None
    • EJB
    • None

      This causes a problem, as Seam uses a ServletListener to boot itself, and can try look up EJB3s using JNDI (as described http://docs.jboss.org/ejb3/app-server/tutorial/jndibinding/jndi.html ).

      This is reproduced by running

      cd jbossas/testsuite
      ./build.sh _jars-seam
      cp output/lib/jboss-seam-dvd* ../build/output/jboss-5.0.0.Beta4/server/default/deploy
      cd ../build/output/jboss-5.0.0.Beta4
      ./bin/run.sh

      You should get a NamingException from Seam, as it fails to look up the EJB3.

      Note, the deployment order is different if you deploy to the already running app server.

              ajustin@redhat.com Ales Justin
              pmuiratbleepbleep Pete Muir (Inactive)
              Votes:
              1 Vote for this issue
              Watchers:
              5 Start watching this issue

                Created:
                Updated:
                Resolved: