• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
  • Campbell Ritchie
  • Paul Clapham
  • Ron McLeod
  • Jeanne Boyarsky
  • Tim Cooke
  • Liutauras Vilda
  • paul wheaton
  • Henry Wong
Saloon Keepers:
  • Tim Moores
  • Tim Holloway
  • Stephan van Hulst
  • Carey Brown
  • Frits Walraven
  • Piet Souris
  • Himai Minh

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

Posts: 1
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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,
It would give a normal human mental abilities to rival mine. To think it is just a tiny ad:
free, earth-friendly heat - a kickstarter for putting coin in your pocket while saving the earth
    Bookmark Topic Watch Topic
  • New Topic