users@glassfish.java.net

Re: Problem with Oracle DataSource

From: <glassfish_at_javadesktop.org>
Date: Thu, 19 Apr 2007 04:40:35 PDT

What is your "res-auth" type in ejb-jar.xml / web.xml?
Can you try setting it to "Application"
eg:
<resource-ref>
<res-ref-name>jdbc/RES_NAME</res-ref-name>
<res-type>javax.sql.DataSource</res-type>
[b]<res-auth>Application</res-auth>[/b]
<res-sharing-scope>Shareable</res-sharing-scope>
</resource-ref>
[Message sent by forum member 'jr158900' (jr158900)]

http://forums.java.net/jive/thread.jspa?messageID=213130