users@glassfish.java.net

Re: how to look up a resource adapter

From: <glassfish_at_javadesktop.org>
Date: Sun, 31 Aug 2008 02:53:26 PDT

Hi,

The connector connection pools aren't directly bound to JNDI by the pool name.
Have you defined a "connector resource object" for the "connector connection pool"?

If you haven't created it, you can use the "Sun Java System Application Server Admin Console" --> Resources --> Connectors --> Connection Resources --> And press the "New" button to create the connector resource object. Then you have to write the JNDI name that you wanted to look up in the servlet (i.e: "eis/MyRA"), select the connection pool name you had created, and press "OK" to confirm.

I hope it works for your servlet.
[Message sent by forum member 'jmarine' (jmarine)]

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