Well, I do have a JDBC resource created (named "jdbc/StpPool") pointing to
that connection pool.
And I don't have any code yet. I'm just hitting the "Ping" button on page of
my pool in the Admin Console.
By the way, if this can help, I have the same errors when I try to ping the
__CallFlowPool and the __TimerPool which were predefined when installing
Glassfish.
aldaris wrote:
>
> Sorry, I missed that. Now I had actually read the full stackstrace and I
> guess I know, what's causing the problem.
>
> You had created a connection pool, but there is no JNDI name defined to
> that Connection pool, e.g.: in Resources -> JDBC Resources you should
> create a new resource, with a custom name, which will point to the
> connection pool.
>
> In your code than you should reach the connection pool through the JNDI
> name, for example with a @Resource annotation.
>
> Regards,
> Peter
>
> 2009-11-30 06:40 keltezéssel, glassfish_at_javadesktop.org írta:
>> Is the database server up and running in your localhost (if you have
>> mentioned it in the host name property) ?
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe_at_glassfish.dev.java.net
> For additional commands, e-mail: users-help_at_glassfish.dev.java.net
>
>
>
--
View this message in context: http://old.nabble.com/Glassfish-issue---JDBC-connection-pool-ping-fails-tp26545369p26590579.html
Sent from the java.net - glassfish users mailing list archive at Nabble.com.