Vinay Menon wrote:

> Alright,
>     Try this...
> 
> 1. Remove the ejb-ref from your web.xml

Why would he need to do that? It should work with it there; in fact it 
_shouldn't_ work without it there (logically, I don't know that bit of 
JBoss' code)

-danch


> 2. Change your jboss-web.xml from
> <?xml version="1.0" encoding="UTF-8"?>
> <jboss-web>
> 
>    <ejb-ref>
>       <ejb-ref-name>DBaseFetch</ejb-ref-name>
>       <jndi-name>ejb/DBaseFetchHome</jndi-name

>    </ejb-ref>
> 
> </jboss-web>
> 
> to
> 
> <?xml version="1.0" encoding="UTF-8"?>
> <jboss-web>
> 
>    <ejb-ref>
>       <ejb-ref-name>ejb/DBaseFetchHome</ejb-ref-name>
>       <jndi-name>ejb/DBaseFetchHome</jndi-name>

Oops! that jndi-name needs to be whatever was specified in jboss.xml for 
that bean, or the ejb-name if it wasn't overridden in jboss.xml.



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

Reply via email to