OK, I'm still not seeing anything. In jboss.xml, in the 
<resource-ref>...</resource-ref> for my MDB, what is the resource-name supposed to 
refer to? If the JNDIName I've defined for mail-service.xml is java:/Mail, is 
resource-name supposed to be 'Mail' or java:/Mail, or something else? 

Also, in JNDIView, am I supposed to see these entries under the java:comp namespace of 
my EJB? That would be my assumption ... Right now, all I see listed for my EJB is 
'env' -

java:comp namespace of the MessageWriterEJB bean:
  | 
  |   +- env (class: org.jnp.interfaces.NamingContext)

I very much appreciate any and all help in getting to the bottom of this ... and many 
thanks for being patient with a newbie!

Here's what I have now:

jboss.xml:
<?xml version="1.0" encoding="UTF-8"?>
  | <!DOCTYPE jboss PUBLIC "-//JBoss//DTD JBOSS 2.4//EN" 
"http://www.jboss.org/j2ee/dtd/jboss_2_4.dtd";>
  | 
  | <jboss>
  |    <enterprise-beans>
  |       <message-driven>
  |          <ejb-name>MessageWriterEJB</ejb-name>
  | <destination-jndi-name>queue/BricesQueue</destination-jndi-name>
  |          <resource-ref>
  |             <res-ref-name>mail/MailProvider</res-ref-name>
  |             <resource-name>Mail</resource-name>
  |          </resource-ref>
  |       </message-driven>
  |    </enterprise-beans>
  |    <resource-managers>
  |    </resource-managers>
  | </jboss>
  | 

ejb-jar.xml:

  | <?xml version="1.0" encoding="UTF-8"?>
  | <!DOCTYPE ejb-jar PUBLIC "-//Sun Microsystems, Inc.//DTD Enterprise JavaBeans 
2.0//EN" "http://java.sun.com/dtd/ejb-jar_2_0.dtd";>
  | 
  | <ejb-jar >
  | 
  |    <description>[CDATA[No Description.]]</description>
  |    <display-name>Generated by XDoclet</display-name>
  | 
  |    <enterprise-beans>
  | 
  |       <!-- Message Driven Beans -->
  |       <message-driven >
  |          <description>[CDATA[MessageWriterBean EJB]]</description>
  |          <display-name>MessageWriterEJB</display-name>
  | 
  |          <ejb-name>MessageWriterEJB</ejb-name>
  | 
  |          <ejb-class>msg.ejb.MessageWriterBean</ejb-class>
  | 
  |          <transaction-type>Container</transaction-type>
  |          <message-driven-destination>
  |             <destination-type>javax.jms.Queue</destination-type>
  |          </message-driven-destination>
  | 
  |          <resource-ref >
  |             <res-ref-name>mail/MailProvider</res-ref-name>
  |             <res-type>javax.mail.Session</res-type>
  |             <res-auth>Container</res-auth>
  |          </resource-ref>
  | 
  |       </message-driven>
  | 
  |    </enterprise-beans>
  | 
  |    <!-- Assembly Descriptor -->
  |    <assembly-descriptor >
  |    <!-- finder permissions -->
  | 
  |    <!-- transactions -->
  | 
  |    <!-- finder transactions -->
  |    </assembly-descriptor>
  | 
  | </ejb-jar>
  | 

View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3829467#3829467

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3829467


-------------------------------------------------------
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

Reply via email to