users@glassfish.java.net

Re: GlassFish Quercus PHP JNDI Lookup JDBC Pool

From: Dick Davies <rasputnik_at_hellooperator.net>
Date: Wed, 19 Nov 2008 11:59:47 +0000

When I tried quercus, you just set it a <database> tag in the quercus web.xml.
Then any calls to mysql_connect return a connection from the pool.



On Tue, Nov 18, 2008 at 7:43 PM, <glassfish_at_javadesktop.org> wrote:
> Does anyone out there have a procedure to get Quercus PHP engine to do a JNDI lookup and retrieve a JDBC connection pool in GlassFish? I've been unable to get:
>
> new PDO("java:comp/env/jdbc/myDatabase") or
> mysql_connect("java:comp/env/jdbc/myDatabase")
>
> to work successfully.
> [Message sent by forum member 'acehlis' (acehlis)]
>
> http://forums.java.net/jive/thread.jspa?messageID=317416
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe_at_glassfish.dev.java.net
> For additional commands, e-mail: users-help_at_glassfish.dev.java.net
>
>