geronimo-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From fmeili <>
Subject Re: "Could not auto-map to resource" problem when using EJB annotations only
Date Mon, 04 May 2009 14:17:00 GMT

Rex Wang-2 wrote:
> hi frank
> This should be add to the application.xml(not geronimo-application.xml),
> coz
> it is NOT Geronimo specific. It is the JEE specific.
> <resource-ref>
>    <res-ref-name>jdbc/__mes</res-ref-name>
>    <res-type>javax.sql.DataSource</res-type>
>    <res-auth>Container</res-auth>
>    <res-sharing-scope>Shareable</res-sharing-scope>
> </resource-ref>
> Rex

Hi Rex,

thanks for the answer. But when I add this to the "application.xml" I get an
error, that this element is not allowed here. After looking to the I couldn't find any hint
about the <resource-ref> tag inside the application.xml.

I couldn't find any hint about the <resource-ref> inside an application.xml
even not in the JaveEE5 specification.

Have you tried this?


View this message in context:
Sent from the Apache Geronimo - Users mailing list archive at

View raw message