hmm, just tested and it seems fine with your sample...
any help to reproduce it? PS: re-reading your mail i notice i didnt use tomee.sh, could it be the issue? - Romain 2012/6/14 almos <[email protected]> > Just discovered one more issue though ;). > > I have an EAR which is periodically gets deployed to TomEE from Jenkins. > EAR consists WAR with JSP/Servlets and JAR with EJB components. First > deploy > goes always fine but after that issues start to appear. > > Here is a steps for reproduction for a problems I've discovered > > 0. TomEE started without any custom applications deployed > 1. zz-1.0-SNAPSHOT.ear gets deployed to TomEE using tomee.sh deploy > command, > deploy goes fine > 2. Everything works fine - servlets and EJBs > 3. undeploy of zz-1.0-SNAPSHOT happens > 4. [first problem] JSPs and Servlets are still accessible > 5. zz-1.0-SNAPSHOT.ear gets deployed again > 6. tomee.sh says deploy went well > 7. JSP/Servlets are accessible > 8. [second problem] any attempt to access EJB defined in the mentioned EAR > gives exception: > > java.lang.IllegalStateException: Bean 'bmm/AuthBean' has been undeployed. > > > org.apache.openejb.core.ivm.BaseEjbProxyHandler.getBeanContext(BaseEjbProxyHandler.java:568) > > > org.apache.openejb.core.ivm.BaseEjbProxyHandler.isValidReference(BaseEjbProxyHandler.java:326) > > > org.apache.openejb.core.ivm.BaseEjbProxyHandler.invoke(BaseEjbProxyHandler.java:224) > $Proxy69.authorize(Unknown Source) > > > com.bmm.request.handlers.AuthenticateCommand.execute(AuthenticateCommand.java:27) > com.bmm.servlet.RequestHelper.perform(RequestHelper.java:30) > com.bmm.servlet.FrontServlet.doPost(FrontServlet.java:36) > javax.servlet.http.HttpServlet.service(HttpServlet.java:641) > javax.servlet.http.HttpServlet.service(HttpServlet.java:722) > > > -- > View this message in context: > http://openejb.979440.n4.nabble.com/DuplicateDeploymentIdException-when-deploying-ear-with-application-xml-tp4655362p4655622.html > Sent from the OpenEJB User mailing list archive at Nabble.com. >
