Hi, In Jboss 3.2.3 I have a sar file that contains an ear. Inside the ear I have two jars. One with a session bean one with an MDB that depends on the session bean. The sar deploys fine but when I do the undeploy my MDB stays bound so the next deployment fails with an javax.management.InstanceAlreadyExistsException:jboss.j2ee:jndiName=local/JobsCollector,service=EJB already registered. My jboss.xml for MDB follows
| <?xml version="1.0" encoding="UTF-8"?> | <!DOCTYPE jboss PUBLIC "-//JBoss//DTD JBOSS 3.2//EN" "http://www.jboss.org/j2ee/dtd/jboss_3_2.dtd"> | | <jboss> | | <enterprise-beans> | | <!-- | To add beans that you have deployment descriptor info for, add | a file to your XDoclet merge directory called jboss-beans.xml that contains | the <session></session>, <entity></entity> and <message-driven></message-driven> | markup for those beans. | --> | | <message-driven> | <ejb-name>JobsCollector</ejb-name> | <destination-jndi-name>queue/webGuru/pricer/ResponseQueue</destination-jndi-name> | <configuration-name>Standard Message Driven Bean</configuration-name> | <depends>jboss.mq.destination:name=webGuru/pricer/ResponseQueue,service=Queue </depends> | <depends>jboss.j2ee:jndiName=EJB/Session/JobFacade,service=EJB</depends> | </message-driven> | | </enterprise-beans> | | <resource-managers> | </resource-managers> | | <container-configurations> | <container-configuration extends="Standard Message Driven Bean"> | <container-name>Standard Message Driven Bean with Security</container-name> | <security-domain>java:/jaas/test</security-domain> | </container-configuration> | </container-configurations> | | </jboss> | Anyone any idea? Many thanks!!! Simone View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3835649#3835649 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3835649 ------------------------------------------------------- This SF.Net email is sponsored by: Oracle 10g Get certified on the hottest thing ever to hit the market... Oracle 10g. Take an Oracle 10g class now, and we'll give you the exam FREE. http://ads.osdn.com/?ad_id=3149&alloc_id=8166&op=click _______________________________________________ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user