This week's book giveaway is in the OO, Patterns, UML and Refactoring forum.
We're giving away four copies of Refactoring for Software Design Smells: Managing Technical Debt and have Girish Suryanarayana, Ganesh Samarthyam & Tushar Sharma on-line!
See this thread for details.
The moose likes EJB and other Java EE Technologies and the fly likes error jndi:null in send mail use Message Driven Bean Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


JavaRanch » Java Forums » Java » EJB and other Java EE Technologies
Bookmark "error jndi:null in send mail use Message Driven Bean" Watch "error jndi:null in send mail use Message Driven Bean" New topic
Author

error jndi:null in send mail use Message Driven Bean

zang nam
Greenhorn

Joined: Nov 23, 2012
Posts: 5
Hi everybody
I try to write application send mail with MDB
I have an error , please help me , give a clue or solution to fix it
------
14:05:49,380 INFO [JBossASKernel] Created KernelDeployment for: g3_DVDShop_MDB_Module.jar
14:05:49,380 INFO [JBossASKernel] installing bean: jboss.j2ee:jar=g3_DVDShop_MDB_Module.jar,name=SendMailMDB,service=EJB3
14:05:49,380 INFO [JBossASKernel] with dependencies:
14:05:49,380 INFO [JBossASKernel] and demands:
14:05:49,380 INFO [JBossASKernel] jboss.ejb:service=EJBTimerService
14:05:49,380 INFO [JBossASKernel] and supplies:
14:05:49,380 INFO [JBossASKernel] jndi:null
14:05:49,380 INFO [JBossASKernel] Class:javax.jms.MessageListener
14:05:49,380 INFO [JBossASKernel] Added bean(jboss.j2ee:jar=g3_DVDShop_MDB_Module.jar,name=SendMailMDB,service=EJB3) to KernelDeployment of: g3_DVDShop_MDB_Module.jar
14:05:49,401 INFO [EJBContainer] STARTED EJB: mdb.SendMailMDB ejbName: SendMailMDB

---
My code
file SendMailMDB.java

---
file SendMailDAO .java

-----
file dvdshop-jms-connection-factories-service.xml

[/code]
zang nam
Greenhorn

Joined: Nov 23, 2012
Posts: 5
Nobody help me @@
 
I’ve looked at a lot of different solutions, and in my humble opinion Aspose is the way to go. Here’s the link: http://aspose.com
 
subject: error jndi:null in send mail use Message Driven Bean
 
It's not a secret anymore!