This jboss.xml is not consistent with the one you previously showed so which
jboss.xml are you using? The one in this msg looks ok to me. In the previous
msg you did not have a <resource-managers>..</resource-managers> section
to map from the java:comp/env/jdbc/JBossDB value to java:/MSQLDB

> 
> I am still trying to work my way into using JBoss/EJB so forgive me, but could you
> please explain to me what is screwed up..I have looked thru the archives
> and searched the mailing list and see many different posts that are not the same.
> The DTD for jboss.xml may be clear to someone who is experienced, but for a beginner 
>(me)
> it is not entirely clear.
> This configuration works except for the jdbc/JBossDb entry...I can only
> access the DB pool using "java:/MSQLDB"  not "java:comp/env/jdbc/JBossDB".
> 
> thanks
> Daren
> 
> jboss.xml
> ========
> 
> <jboss>
> 
>   <web>
>     <ejb-ref>
>      <ejb-ref-name>ejb/MyLoginServlet</ejb-ref-name>
>      <jndi-name>MyLoginServlet</jndi-name>
>     </ejb-ref>
>   </web>
> 
>   <enterprise-beans>
>     <ejb>
>       <ejb-name>LoginServletBean</ejb-name>
>       <jndi-name>MyLoginServlet</jndi-name>
>       <resource-ref>
>         <res-ref-name>jdbc/JBossDB</res-ref-name>
>         <resource-name>MSQLJDBC</resource-name>
>       </resource-ref>
>     </ejb>
>   </enterprise-beans>
> 
>   <resource-managers>
>     <resource-manager res-class="org.jboss.ejb.deployment.JDBCResource">
>        <res-name>MSQLJDBC</res-name>
>        <res-jndi-name>java:/MSQLDB</res-jndi-name>
>     </resource-manager>
>   </resource-managers>
> 
> </jboss>
> 
> 
> _______________________________________________
> JBoss-user mailing list
> [EMAIL PROTECTED]
> http://lists.sourceforge.net/lists/listinfo/jboss-user
> 


_______________________________________________
JBoss-user mailing list
[EMAIL PROTECTED]
http://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to