开发者社区> 问答> 正文

resin报错,大侠请进~?报错

2013-10-22 09:53:45  WARN BasicResourcePool:1841 - com.mchange.v2.resourcepool.BasicResourcePool$AcquireTask@52205756 -- Acquisition Attempt Failed!!! Clearing pending acquires. While trying to acquire a needed new resource, we failed to succeed more than the maximum number of allowed acquisition attempts (30). Last acquisition attempt exception:
java.sql.SQLException: Illegal connection port value '80:3306'
        at com.mysql.jdbc.Connection.createNewIO(Connection.java:1689)
        at com.mysql.jdbc.Connection.<init>(Connection.java:408)
        at com.mysql.jdbc.NonRegisteringDriver.connect(NonRegisteringDriver.java:270)
        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.ThreadPerTaskAsynchronousRunner$TaskThread.run(ThreadPerTaskAsynchronousRunner.java:255)


请问这个是什么原因造成的?resin版本比较老,还是2版本,因为工作需要不能轻易换。。。

展开
收起
爱吃鱼的程序员 2020-06-22 14:56:56 451 0
1 条回答
写回答
取消 提交回答
  • https://developer.aliyun.com/profile/5yerqm5bn5yqg?spm=a2c6h.12873639.0.0.6eae304abcjaIB

    java.sql.SQLException: Illegalconnectionportvalue'80:3306' 

    是不是写成jdbc:mysql://localhost:80:3306/mysql了

    c3p0报错么,和resion没关系吧,80:3306这什么端口混搭??


    2020-06-22 14:57:12
    赞同 展开评论 打赏
问答分类:
问答地址:
问答排行榜
最热
最新

相关电子书

更多
DBA成长沉思录 立即下载
《阿里巴巴Android开发手册》 立即下载
《阿里巴巴Java开发手册(终极版)》 立即下载