However, if I try to access "java:/comp/env/mail/MailProvider" - as I believe I've configured ejb-jar.xml and jboss.xml, then I get Naming exceptions indicating that "mail" is not bound, so obviously - my JNDI configuration in ejb-jar and jboss.xml is NOT correct.
Here's what I have:
ejb-jar.xml: <resource-ref > <res-ref-name>mail/MailProvider</res-ref-name> <res-type>javax.mail.Session</res-type> <res-auth>Container</res-auth> </resource-ref>
jboss.xml: <resource-ref> <res-ref-name>mail/MailProvider</res-ref-name> <jndi-name>java:/Mail</jndi-name> </resource-ref>
These are auto-generated by XDoclet via the following tags:
* @jboss.resource-ref * res-ref-name = "mail/MailProvider" * jndi-name = "java:/Mail" * @ejb.resource-ref * res-ref-name = "mail/MailProvider" * res-type = "javax.mail.Session" * res-auth = "Container"
I'm a bit at a loss here ... what's going on? jBoss 3.2.3 on WinXP.
TIA
-- Brice D. Ruth Sr. IT Analyst Fiskars Brands, Inc.
------------------------------------------------------- This SF.Net email is sponsored by: IBM Linux Tutorials Free Linux tutorial presented by Daniel Robbins, President and CEO of GenToo technologies. Learn everything from fundamentals to system administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click _______________________________________________ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user