Amitava Chakraborty wrote:
Hi All,I am from IBM - Informix Product Interoperability team . I tried to create a JNDI connection from Tomcat to Database Informix. But it is throwing error. I classified the error by the following way : 1. When I tried with type="javax.sql.DataSource" , I am getting error "Cannot create PoolableConnectionFactory (Can't load driver java.lang.reflect.InvocationTargetException)" . 2. When I tried with type="com.informix.jdbcx.IfxConnectionPoolDataSource" , I am getting error "java.sql.SQLException: No suitable driver". 3. But we use JNDI connections from WAS , WAS CE and Web Logic also. There it works fine.
You need to add the driver under ./common/lib/ More info can be found here: http://marc.info/?l=tomcat-user&w=2&r=1&s=No+suitable+driver&q=b -- Regards Gabe Wong NGASI AppServer Manager JAVA AUTOMATION and SaaS Enablement <a href=http://www.ngasi.com>http://www.ngasi.com</a> NEW! 8.0 - Centrally manage multiple physical servers --------------------------------------------------------------------- To start a new topic, e-mail: [email protected] To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
