my dog learned polymorphism*
The moose likes JBoss/WildFly and the fly likes Need Help MDB JMS , Error [JBossASKernel] jndi:null [JBossASKernel] Class:javax.jms.MessageListener Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of The Java EE 7 Tutorial Volume 1 or Volume 2 this week in the Java EE forum
or jQuery UI in Action in the JavaScript forum!
JavaRanch » Java Forums » Products » JBoss/WildFly
Bookmark "Need Help MDB JMS , Error [JBossASKernel] jndi:null [JBossASKernel] Class:javax.jms.MessageListener" Watch "Need Help MDB JMS , Error [JBossASKernel] jndi:null [JBossASKernel] Class:javax.jms.MessageListener" New topic
Author

Need Help MDB JMS , Error [JBossASKernel] jndi:null [JBossASKernel] Class:javax.jms.MessageListener

zang nam
Greenhorn

Joined: Nov 23, 2012
Posts: 5
Hi everybody!
I try to run code of book EJB3 in Action chapter 4 MDB
link source code Chapter4_Ejb3InAction.zip http://www.mediafire.com/?kleippoyax1p7x5
and i get a error
I think my proplem is config Jboss 5 with EJB3.0 but i can not resolve
05:56:48,466 INFO [Ejb3DependenciesDeployer] Encountered deployment AbstractVFSDeploymentContext@1136137...EJBModule2.jar/}
05:56:48,467 INFO [Ejb3DependenciesDeployer] Encountered deployment AbstractVFSDeploymentContext@1136137...EJBModule2.jar/}
05:56:48,467 INFO [Ejb3DependenciesDeployer] Encountered deployment AbstractVFSDeploymentContext@1136137...EJBModule2.jar/}
05:56:48,467 INFO [Ejb3DependenciesDeployer] Encountered deployment AbstractVFSDeploymentContext@1136137...EJBModule2.jar/}
05:56:48,496 INFO [JBossASKernel] Created KernelDeployment for: EJBModule2.jar
05:56:48,496 INFO [JBossASKernel] installing bean: jboss.j2ee:jar=EJBModule2.jar,name=ShippingRequest Processor,service=EJB3
05:56:48,496 INFO [JBossASKernel] with dependencies:
05:56:48,496 INFO [JBossASKernel] and demands:
05:56:48,496 INFO [JBossASKernel] jboss.ejb:service=EJBTimerService
05:56:48,496 INFO [JBossASKernel] and supplies:
05:56:48,496 INFO [JBossASKernel] jndi:null
05:56:48,496 INFO [JBossASKernel] Class:javax.jms.MessageListener
05:56:48,496 INFO [JBossASKernel] Added bean(jboss.j2ee:jar=EJBModule2.jar,name=ShippingRe questProcessor,service=EJB3) to KernelDeployment of: EJBModule2.jar
05:56:48,531 INFO [EJBContainer] STARTED EJB: buslogic.ShippingRequestProcessorMDB ejbName: ShippingRequestProcessor




I try other examle and i usually get same oupt error
05:56:48,496 INFO [JBossASKernel] jboss.ejb:service=EJBTimerService
05:56:48,496 INFO [JBossASKernel] and supplies:
05:56:48,496 INFO [JBossASKernel] jndi:null
05:56:48,496 INFO [JBossASKernel] Class:javax.jms.MessageListener

----------
Please help me , thank you much!
Peter Johnson
author
Bartender

Joined: May 14, 2008
Posts: 5823
    
    7

I don't see any error in the log entries that you posted. Looks to me like the EJB registered successfully.


JBoss In Action
zang nam
Greenhorn

Joined: Nov 23, 2012
Posts: 5
I fixed bug! in the log entries that I posted not have Error ( thank Peter Johnson to help me recognize ,I am newbie), I get a other bug but I confuse jndi=null is error
thank Peter Johnson for interested my post !
the now my code run successfuly !
I will show it as demo !
please click link to get it http://www.mediafire.com/?7m8dge51v4cgy47





 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
 
subject: Need Help MDB JMS , Error [JBossASKernel] jndi:null [JBossASKernel] Class:javax.jms.MessageListener