Hi Frank, sorry for the confusing, it can not be added to the application.xml, but should be added to the web.xml / ejb-jar.xml...
here is an example in attachment.
Rex Wang-2 wrote:
> hi frank
> This should be add to the application.xml(not geronimo-application.xml),
> it is NOT Geronimo specific. It is the JEE specific.
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
http://java.sun.com/xml/ns/javaee/application_5.xsd 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: http://www.nabble.com/%22Could-not-auto-map-to-resource%22-problem-when-using-EJB-annotations-only-tp23316686s134p23368822.html
Sent from the Apache Geronimo - Users mailing list archive at Nabble.com.