With some difficulty, I got Quercus to talk to the Postgres JDBC. It requires a very
precise JNDI config. Anyway, it works, and I feel that any PHP app that requires only one
database to interact with would have a very good shot at running smoothly in Quercus under
JBoss or Tomcat.
Unfortunately phpPgAdmin needs to use pg_connect to switch around to various databases,
and Quercus only allows it to access one database, through a JNDI specification, so no
luck on that until Quercus somehow lets pg_connect bypass using JNDI. If they could do
that, phpPgAdmin would work.
But that's an unusual application. Most normal PHP apps only need to connect to one
database.
And once it is running within Quercus it's pretty easy to let it work with Java code,
EJBs, etc.
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4190327#...
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&a...