我用tomcat连接as400 总是出现一个java.sql.SQLWarning 怎么解决呢

2013-08-2616:31:20INFOSQLWarnings:ExtraURLelementsareignored.java.sql.SQLWarning:Extr... 2013-08-26 16:31:20 INFO SQLWarnings : Extra URL elements are ignored.
java.sql.SQLWarning: Extra URL elements are ignored.
at com.ibm.as400.access.JDError.getSQLWarning(JDError.java:293)
at com.ibm.as400.access.AS400JDBCConnection.setProperties(AS400JDBCConnection.java:2716)
at com.ibm.as400.access.AS400JDBCConnection.setProperties(AS400JDBCConnection.java:2690)
at com.ibm.as400.access.AS400JDBCConnection.setProperties(AS400JDBCConnection.java:2683)
at com.ibm.as400.access.AS400JDBCDriver.prepareConnection(AS400JDBCDriver.java:878)
at com.ibm.as400.access.AS400JDBCDriver.initializeConnection(AS400JDBCDriver.java:769)
at com.ibm.as400.access.AS400JDBCDriver.connect(AS400JDBCDriver.java:355)
at com.mchange.v2.c3p0.DriverManagerDataSource.getConnection(DriverManagerDataSource.java:134)
at com.mchange.v2.c3p0.WrapperConnectionPoolDataSource.getPooledConnection(WrapperConnectionPoolDataSource.java:182)
at com.mchange.v2.c3p0.WrapperConnectionPoolDataSource.getPooledConnection(WrapperConnectionPoolDataSource.java:171)
at com.mchange.v2.c3p0.impl.C3P0PooledConnectionPool$1PooledConnectionResourcePoolManager.acquireResource(C3P0PooledConnectionPool.java:137)
at com.mchange.v2.resourcepool.BasicResourcePool.doAcquire(BasicResourcePool.java:1014)
at com.mchange.v2.resourcepool.BasicResourcePool.access$800(BasicResourcePool.java:32)
at com.mchange.v2.resourcepool.BasicResourcePool$AcquireTask.run(BasicResourcePool.java:1810)
at com.mchange.v2.async.ThreadPoolAsynchronousRunner$PoolThread.run(ThreadPoolAsynchronousRunner.java:547)
已解决 把url中的端口号去掉就行了
展开
 我来答
柒1989
2013-08-27 · TA获得超过236个赞
知道小有建树答主
回答量:428
采纳率:100%
帮助的人:406万
展开全部
原来如此。
已赞过 已踩过<
你对这个回答的评价是?
评论 收起
收起 1条折叠回答
推荐律师服务: 若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询

为你推荐:

下载百度知道APP,抢鲜体验
使用百度知道APP,立即抢鲜体验。你的手机镜头里或许有别人想知道的答案。
扫描二维码下载
×

类别

我们会通过消息、邮箱等方式尽快将举报结果通知您。

说明

0/200

提交
取消

辅 助

模 式