[jboss-jira] [JBoss JIRA] Created: (JBAS-5190) Wrong ordering of EJB/WAR startup causes Seam dvd example to fail deployment

Pete Muir (JIRA) jira-events at lists.jboss.org
Thu Jan 31 06:04:59 EST 2008


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

                 Key: JBAS-5190
                 URL: http://jira.jboss.com/jira/browse/JBAS-5190
             Project: JBoss Application Server
          Issue Type: Bug
      Security Level: Public (Everyone can see)
            Reporter: Pete Muir


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.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.jboss.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        



More information about the jboss-jira mailing list