Hello, I wrote a stateless and a md bean and try to deploy them to jboss server. My running JBoss is a 4.0.3 with latest EJB3. I work with Eclipse IDE. I used packaging for creating a .ejb file and a .par file. After deployment of these two files I get an error. Here's the log file:
15:20:13,457 INFO [Ejb3AnnotationHandler] found EJB3: ejbName=BizerbaMessageListenerBean, class=de.hackemesser.frieshouse.broker.BizerbaMessageListenerBean, type=MESSAGE_DRIVEN | 15:20:13,518 INFO [Ejb3AnnotationHandler] found EJB3: ejbName=CoreBean, class=de.hackemesser.frieshouse.broker.CoreBean, type=STATELESS | 15:20:13,578 INFO [Ejb3Deployment] EJB3 deployment time took: 431 | 15:20:13,748 INFO [JmxKernelAbstraction] installing MBean: jboss.j2ee:service=EJB3,jar=broker-bean.ejb3,name=BizerbaMessageListenerBean with dependencies: | 15:20:14,459 WARN [MDB] Could not find the queue destination-jndi-name=queue/BizerbaInbound | 15:20:14,469 WARN [MDB] destination not found: queue/BizerbaInbound reason: javax.naming.NameNotFoundException: BizerbaInbound not bound | 15:20:14,469 WARN [MDB] creating a new temporary destination: queue/BizerbaInbound | 15:20:14,509 INFO [BizerbaInbound] Bound to JNDI name: queue/BizerbaInbound | 15:20:14,669 INFO [JmxKernelAbstraction] installing MBean: jboss.j2ee:service=EJB3,jar=broker-bean.ejb3,name=CoreBean with dependencies: | 15:20:14,669 INFO [JmxKernelAbstraction] persistence.units:unitName=core | 15:20:14,679 INFO [EJB3Deployer] Deployed: file:/D:/Programme/jboss-4.0.3SP1/server/default/deploy/broker-bean.ejb3 | 15:20:14,799 INFO [Ejb3Deployment] EJB3 deployment time took: 20 | 15:20:14,799 INFO [EJB3Deployer] Deployed: file:/D:/Programme/jboss-4.0.3SP1/server/default/deploy/core.par | 15:20:14,900 INFO [TomcatDeployer] deploy, ctxPath=/jmx-console, warUrl=.../deploy/jmx-console.war/ | 15:20:15,170 ERROR [URLDeploymentScanner] Incomplete Deployment listing: | | --- MBeans waiting for other MBeans --- | ObjectName: jboss.j2ee:service=EJB3,jar=broker-bean.ejb3,name=CoreBean | State: NOTYETINSTALLED | I Depend On: | persistence.units:unitName=core | | --- MBEANS THAT ARE THE ROOT CAUSE OF THE PROBLEM --- | ObjectName: persistence.units:unitName=core | State: NOTYETINSTALLED | Depends On Me: | jboss.j2ee:service=EJB3,jar=broker-bean.ejb3,name=CoreBean | the unitName "core is defined in persistence.xml in core.par: <?xml version="1.0" encoding="UTF-8"?> | <persistence> | <persistence-unit name="core"> | <jta-data-source>java:/DefaultDS</jta-data-source> | <properties> | <property name="hibernate.hbm2ddl.auto" value="create-drop"/> | </properties> | </persistence-unit> | </persistence> | But this seems not to be installed after deployment?!? What's my mistake here? Kind regards, SF View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3931149#3931149 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3931149 ------------------------------------------------------- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642 _______________________________________________ JBoss-user mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/jboss-user
