This week's book giveaways are in the Refactoring and Agile forums.
We're giving away four copies each of Re-engineering Legacy Software and Docker in Action and have the authors on-line!
See this thread and this one for details.
Win a copy of Re-engineering Legacy Software this week in the Refactoring forum
or Docker in Action in the Cloud/Virtualization forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Fail to bind javax.mail.Session object on JNDI Tree

Martha Christina
Posts: 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi all,

I was trying to create a mail session in weblogic 8.1. The jndi name must be filled with a javax.mail.Session object, and it's supposed to display in JNDI tree with purple icon, right? But when I typed in the jndi name, it came out a failure in JNDI tree (with red icon).

This was what in my j2ee config (ejb-jar.xml):
<session id="Email">
<resource-ref id="ResourceRef_1">

And this was what in my weblogic j2ee config (weblogic-ejb-jar.xml):

I have tried filling everything as the jndi name, from EmailSession, Mail, ejb.EmailHome, Email, etc, but none worked.

Could anybody help me please? >_<

Thanks a lot,
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic