From: <php...@li...> - 2008-01-08 09:44:06
|
Hi, > java_require("mysql-connector-java-5.1.5-bin.jar"); > new java("com.mysql.jdbc.Driver"); > java("java.sql.DriverManager")->getConnection("jdbc:mysql://xxx/xxx?user=xxx&password=xxx"); confirmed. The above code doesn't work with our dynamic java bridge class loader. As a workaround please copy mysql-connector-java-5.1.5-bin.jar to $HOME/lib (see the extra library dir from the java -jar JavaBridge.jar SERVLET:9090 3 "" output) or to WEB-INF/lib or deploy the connector into your J2EE server. We'll fix this problem asap. BTW: What about removing java_require() entirely? Although dynamic class loading may be convenient at first, it has certain problems I'd like to get rid of. This is really something that the J2EE server should handle. Regards, Jost Boekemeier Heute schon einen Blick in die Zukunft von E-Mails wagen? Versuchen Sie´s mit dem neuen Yahoo! Mail. www.yahoo.de/mail |