夏
夏日的落叶
Unregistered / Unconfirmed
GUEST, unregistred user!
请教各位大虾:
我配置了weblogic链接池, name=informixpool,测试联接成功 data source name = informixds, JNDI Name = informixds
我用如下代码连接数据库
DataSource ds=null;
InitialContext ctx=new InitialContext();
ds=(DataSource)ctx.lookup("informixds"
可是连接报错,错误如下:
java.sql.SQLException: Cannot obtain connection: driverURL = jdbc:weblogicool:informixPool, props = {enableTwoPhaseCommit=true, jdbcTxDataSource=true, connectionPoolID=informixPool, dataSourceName=informixds}.
Nested Exception: java.lang.RuntimeException: Failed to Generate Wrapper Class
请各位大虾帮帮忙,不吝指教.在线等待.
我配置了weblogic链接池, name=informixpool,测试联接成功 data source name = informixds, JNDI Name = informixds
我用如下代码连接数据库
DataSource ds=null;
InitialContext ctx=new InitialContext();
ds=(DataSource)ctx.lookup("informixds"
可是连接报错,错误如下:
java.sql.SQLException: Cannot obtain connection: driverURL = jdbc:weblogicool:informixPool, props = {enableTwoPhaseCommit=true, jdbcTxDataSource=true, connectionPoolID=informixPool, dataSourceName=informixds}.
Nested Exception: java.lang.RuntimeException: Failed to Generate Wrapper Class
请各位大虾帮帮忙,不吝指教.在线等待.