On Mon, Apr 09, 2001 at 11:06:44AM -0700, Daren R. Sefcik wrote:
> On Sat, 7 Apr 2001, Toby Allsopp wrote:
> 
> > I suspect that this means that you have the configuration half right.
> > You need to set up the mapping from jdbc/JBossDB to java:/MYDB in jboss.xml.
> >
> > Toby.
> 
> humm..I tried but it still does not work...here are my entries, could you
> please see if you can spot the problem area..??..thanks.

Your jboss.xml is really screwed up. Have a look at the documentation. There
you can find the DTD for jboss.xml. Looking through the archives of this list
and its predecessor should turn up some examples.

Toby.

> /******jboss.xml******/
> <?xml version="1.0" encoding="ISO8859_1"?>
> 
> <jboss>
>   <server-name></server-name>
>   <rolemapping />
>   <web>
>     <display-name>LoginServletWAR</display-name>
>     <context-root>servlets</context-root>
>     <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>
>            <jndi-name>java:/MSQLDB</jndi-name>
>       </resource-ref>
>       <cmp>
>            <table-create-sql></table-create-sql>
>            <table-remove-sql></table-remove-sql>
>            <create-table-deploy>true</create-table-deploy>
>            <delete-table-undeploy>true</delete-table-undeploy>
>       </cmp>
>     </ejb>
>   </enterprise-beans>
> </jboss>

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

Reply via email to