Re: [PHP] PHP-Java Bridge: Connect PHP to MySQL using JNDI

2009-01-20 Thread jpmad4it
Thanks. However, I'm using this process as a test. In the proper application we will be using a JDBC or JDNI connection initiated by PHP to connect to our IDMS database. Its complicated but it means we have to use the PHP-Java Bridge, Java and JDBC. so we can't use ODBC. I'm using this as a

Re: [PHP] PHP-Java Bridge: Connect PHP to MySQL using JNDI

2009-01-20 Thread ceo
In general, if you are trying to get DB connections to work in a hybrid situation, and no native driver is behaving, try ODBC. It's crude, slow, and not pretty, but it should work. You can set it up so that you can go back later and dink around with drivers and re-compiling, but at least h

[PHP] PHP-Java Bridge: Connect PHP to MySQL using JNDI

2009-01-20 Thread jpmad4it
Hi everyone! This is driving me nuts! I have setup a Linux webserver. Tomcat is running at the backend and is connected to Apache at the frontend using mod_proxy. At the moment I have a few test applications setup, which involves Apache sending JSP requests to Tomcat via mod_proxy. They all work