The web example worked fine, but I can't seem to get it right for an ejb
project.:
The error:
javax.naming.NotContextException: mail/mailSession
parts of openejb-jar.xml
...
<dep:dependency>
<dep:groupId>org.apache.geronimo.configs</dep:groupId>
<dep:artifactId>javamail</dep:artifactId>
<dep:type>car</dep:type>
</dep:dependency>
...
<ejb:enterprise-beans>
<ejb:session>
<ejb:ejb-name>mail/mailSession</ejb:ejb-name>
<name:resource-ref>
<name:ref-name>mail/mailSession</name:ref-name>
<name:resource-link>mail/mailSession</name:resource-link>
</name:resource-ref>
</ejb:session>
</ejb:enterprise-beans>
Any suggestions?
--
View this message in context:
http://www.nabble.com/JavaMail-in-an-openejb-jar.xml-tp19522342s134p19522342.html
Sent from the Apache Geronimo - Users mailing list archive at Nabble.com.