2019-09-04 15:41:34,896 ERROR [main] c.a.d.p.DruidDataSource#init [643] init datasource error, url: jdbc:db2://localhost:5000/sample
com.ibm.db2.jcc.am.DisconnectNonTransientConnectionException: [jcc][t4][2043][11550][3.64.106] 异常 java.net.ConnectException:打开端口 5,000 上服务器 localhost/127.0.0.1 的套接字时出错,消息为:Connection refused: connect。 ERRORCODE=-4499, SQLSTATE=08001
at com.ibm.db2.jcc.am.bd.a(bd.java:321) ~[db2jcc-9.7fp7.jar:na]
at com.ibm.db2.jcc.am.bd.a(bd.java:340) ~[db2jcc-9.7fp7.jar:na]
at com.ibm.db2.jcc.t4.vb.a(vb.java:433) ~[db2jcc-9.7fp7.jar:na]
at com.ibm.db2.jcc.t4.vb.<init>(vb.java:93) ~[db2jcc-9.7fp7.jar:na]
at com.ibm.db2.jcc.t4.a.b(a.java:356) ~[db2jcc-9.7fp7.jar:na]
at com.ibm.db2.jcc.t4.b.newAgent_(b.java:2031) ~[db2jcc-9.7fp7.jar:na]
at com.ibm.db2.jcc.am.Connection.initConnection(Connection.java:720) ~[db2jcc-9.7fp7.jar:na]
at com.ibm.db2.jcc.am.Connection.<init>(Connection.java:669) ~[db2jcc-9.7fp7.jar:na]
at com.ibm.db2.jcc.t4.b.<init>(b.java:332) ~[db2jcc-9.7fp7.jar:na]
at com.ibm.db2.jcc.DB2SimpleDataSource.getConnection(DB2SimpleDataSource.java:232) ~[db2jcc-9.7fp7.jar:na]
at com.ibm.db2.jcc.DB2SimpleDataSource.getConnection(DB2SimpleDataSource.java:198) ~[db2jcc-9.7fp7.jar:na]
at com.ibm.db2.jcc.DB2Driver.connect(DB2Driver.java:475) ~[db2jcc-9.7fp7.jar:na]
at com.ibm.db2.jcc.DB2Driver.connect(DB2Driver.java:116) ~[db2jcc-9.7fp7.jar:na]
at com.alibaba.druid.pool.DruidAbstractDataSource.createPhysicalConnection(DruidAbstractDataSource.java:1375) ~[druid-1.0.15.jar:1.0.15]
at com.alibaba.druid.pool.DruidAbstractDataSource.createPhysicalConnection(DruidAbstractDataSource.java:1431) ~[druid-1.0.15.jar:1.0.15]
at com.alibaba.druid.pool.DruidDataSource.init(DruidDataSource.java:632) [druid-1.0.15.jar:1.0.15]
at com.alibaba.druid.pool.DruidDataSource.getConnection(DruidDataSource.java:934) [druid-1.0.15.jar:1.0.15]
at com.alibaba.druid.pool.DruidDataSource.getConnection(DruidDataSource.java:930) [druid-1.0.15.jar:1.0.15]
at com.alibaba.druid.pool.DruidDataSource.getConnection(DruidDataSource.java:102) [druid-1.0.15.jar:1.0.15]
at org.nutz.trans.Trans.getConnectionAuto(Trans.java:252) [nutz-core-1.48.3b.jar:na]
at org.nutz.dao.jdbc.Jdbcs.getExpert(Jdbcs.java:106) [nutz-1.r.56.jar:na]
at org.nutz.dao.impl.DaoSupport.setDataSource(DaoSupport.java:174) [nutz-1.r.56.jar:na]
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[na:1.8.0_121]
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) ~[na:1.8.0_121]
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[na:1.8.0_121]
at java.lang.reflect.Method.invoke(Method.java:498) ~[na:1.8.0_121]
at org.nutz.lang.inject.InjectBySetter.inject(InjectBySetter.java:26) [nutz-core-1.48.3b.jar:na]
at org.nutz.ioc.weaver.FieldInjector.inject(FieldInjector.java:24) [nutz-core-1.48.3b.jar:na]
at org.nutz.ioc.weaver.DefaultWeaver.fill(DefaultWeaver.java:56) [nutz-core-1.48.3b.jar:na]
at org.nutz.ioc.ObjectProxy.get(ObjectProxy.java:63) [nutz-core-1.48.3b.jar:na]
at org.nutz.ioc.impl.NutIoc.get(NutIoc.java:194) [nutz-core-1.48.3b.jar:na]
at org.nutz.ioc.val.ReferValue.get(ReferValue.java:24) [nutz-core-1.48.3b.jar:na]
at org.nutz.ioc.weaver.FieldInjector.inject(FieldInjector.java:23) [nutz-core-1.48.3b.jar:na]
at org.nutz.ioc.weaver.DefaultWeaver.fill(DefaultWeaver.java:56) [nutz-core-1.48.3b.jar:na]
at org.nutz.ioc.impl.ObjectMakerImpl.make(ObjectMakerImpl.java:96) [nutz-core-1.48.3b.jar:na]
at org.nutz.ioc.impl.NutIoc.get(NutIoc.java:181) [nutz-core-1.48.3b.jar:na]
at org.nutz.ioc.impl.NutIoc.get(NutIoc.java:199) [nutz-core-1.48.3b.jar:na]
at org.nutz.ioc.ObjectFactory.getObject(ObjectFactory.java:108) [nutz-core-1.48.3b.jar:na]
at org.nutz.ioc.ObjectFactory.getObject(ObjectFactory.java:81) [nutz-core-1.48.3b.jar:na]
at test.DataResolve.main(DataResolve.java:19) [bin/:na]
Caused by: java.net.ConnectException: Connection refused: connect
at java.net.DualStackPlainSocketImpl.connect0(Native Method) ~[na:1.8.0_121]
at java.net.DualStackPlainSocketImpl.socketConnect(DualStackPlainSocketImpl.java:79) ~[na:1.8.0_121]
at java.net.AbstractPlainSocketImpl.doConnect(AbstractPlainSocketImpl.java:350) ~[na:1.8.0_121]
at java.net.AbstractPlainSocketImpl.connectToAddress(AbstractPlainSocketImpl.java:206) ~[na:1.8.0_121]
at java.net.AbstractPlainSocketImpl.connect(AbstractPlainSocketImpl.java:188) ~[na:1.8.0_121]
at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:172) ~[na:1.8.0_121]
at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:392) ~[na:1.8.0_121]
at java.net.Socket.connect(Socket.java:589) ~[na:1.8.0_121]
at com.ibm.db2.jcc.t4.v.run(v.java:49) ~[db2jcc-9.7fp7.jar:na]
at java.security.AccessController.doPrivileged(Native Method) ~[na:1.8.0_121]
at com.ibm.db2.jcc.t4.vb.a(vb.java:419) ~[db2jcc-9.7fp7.jar:na]
... 37 common frames omitted
2019-09-04 15:41:34,912 ERROR [main] c.a.d.p.DruidDataSource#init [660] dataSource init error
com.ibm.db2.jcc.am.DisconnectNonTransientConnectionException: [jcc][t4][2043][11550][3.64.106] 异常 java.net.ConnectException:打开端口 5,000 上服务器 localhost/127.0.0.1 的套接字时出错,消息为:Connection refused: connect。 ERRORCODE=-4499, SQLSTATE=08001
at com.ibm.db2.jcc.am.bd.a(bd.java:321) ~[db2jcc-9.7fp7.jar:na]
at com.ibm.db2.jcc.am.bd.a(bd.java:340) ~[db2jcc-9.7fp7.jar:na]
at com.ibm.db2.jcc.t4.vb.a(vb.java:433) ~[db2jcc-9.7fp7.jar:na]
at com.ibm.db2.jcc.t4.vb.<init>(vb.java:93) ~[db2jcc-9.7fp7.jar:na]
at com.ibm.db2.jcc.t4.a.b(a.java:356) ~[db2jcc-9.7fp7.jar:na]
at com.ibm.db2.jcc.t4.b.newAgent_(b.java:2031) ~[db2jcc-9.7fp7.jar:na]
at com.ibm.db2.jcc.am.Connection.initConnection(Connection.java:720) ~[db2jcc-9.7fp7.jar:na]
at com.ibm.db2.jcc.am.Connection.<init>(Connection.java:669) ~[db2jcc-9.7fp7.jar:na]
at com.ibm.db2.jcc.t4.b.<init>(b.java:332) ~[db2jcc-9.7fp7.jar:na]
at com.ibm.db2.jcc.DB2SimpleDataSource.getConnection(DB2SimpleDataSource.java:232) ~[db2jcc-9.7fp7.jar:na]
at com.ibm.db2.jcc.DB2SimpleDataSource.getConnection(DB2SimpleDataSource.java:198) ~[db2jcc-9.7fp7.jar:na]
at com.ibm.db2.jcc.DB2Driver.connect(DB2Driver.java:475) ~[db2jcc-9.7fp7.jar:na]
at com.ibm.db2.jcc.DB2Driver.connect(DB2Driver.java:116) ~[db2jcc-9.7fp7.jar:na]
at com.alibaba.druid.pool.DruidAbstractDataSource.createPhysicalConnection(DruidAbstractDataSource.java:1375) ~[druid-1.0.15.jar:1.0.15]
at com.alibaba.druid.pool.DruidAbstractDataSource.createPhysicalConnection(DruidAbstractDataSource.java:1431) ~[druid-1.0.15.jar:1.0.15]
at com.alibaba.druid.pool.DruidDataSource.init(DruidDataSource.java:632) [druid-1.0.15.jar:1.0.15]
at com.alibaba.druid.pool.DruidDataSource.getConnection(DruidDataSource.java:934) [druid-1.0.15.jar:1.0.15]
at com.alibaba.druid.pool.DruidDataSource.getConnection(DruidDataSource.java:930) [druid-1.0.15.jar:1.0.15]
at com.alibaba.druid.pool.DruidDataSource.getConnection(DruidDataSource.java:102) [druid-1.0.15.jar:1.0.15]
at org.nutz.trans.Trans.getConnectionAuto(Trans.java:252) [nutz-core-1.48.3b.jar:na]
at org.nutz.dao.jdbc.Jdbcs.getExpert(Jdbcs.java:106) [nutz-1.r.56.jar:na]
at org.nutz.dao.impl.DaoSupport.setDataSource(DaoSupport.java:174) [nutz-1.r.56.jar:na]
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[na:1.8.0_121]
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) ~[na:1.8.0_121]
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[na:1.8.0_121]
at java.lang.reflect.Method.invoke(Method.java:498) ~[na:1.8.0_121]
at org.nutz.lang.inject.InjectBySetter.inject(InjectBySetter.java:26) [nutz-core-1.48.3b.jar:na]
at org.nutz.ioc.weaver.FieldInjector.inject(FieldInjector.java:24) [nutz-core-1.48.3b.jar:na]
at org.nutz.ioc.weaver.DefaultWeaver.fill(DefaultWeaver.java:56) [nutz-core-1.48.3b.jar:na]
at org.nutz.ioc.ObjectProxy.get(ObjectProxy.java:63) [nutz-core-1.48.3b.jar:na]
at org.nutz.ioc.impl.NutIoc.get(NutIoc.java:194) [nutz-core-1.48.3b.jar:na]
at org.nutz.ioc.val.ReferValue.get(ReferValue.java:24) [nutz-core-1.48.3b.jar:na]
at org.nutz.ioc.weaver.FieldInjector.inject(FieldInjector.java:23) [nutz-core-1.48.3b.jar:na]
at org.nutz.ioc.weaver.DefaultWeaver.fill(DefaultWeaver.java:56) [nutz-core-1.48.3b.jar:na]
at org.nutz.ioc.impl.ObjectMakerImpl.make(ObjectMakerImpl.java:96) [nutz-core-1.48.3b.jar:na]
at org.nutz.ioc.impl.NutIoc.get(NutIoc.java:181) [nutz-core-1.48.3b.jar:na]
at org.nutz.ioc.impl.NutIoc.get(NutIoc.java:199) [nutz-core-1.48.3b.jar:na]
at org.nutz.ioc.ObjectFactory.getObject(ObjectFactory.java:108) [nutz-core-1.48.3b.jar:na]
at org.nutz.ioc.ObjectFactory.getObject(ObjectFactory.java:81) [nutz-core-1.48.3b.jar:na]
at test.DataResolve.main(DataResolve.java:19) [bin/:na]
Caused by: java.net.ConnectException: Connection refused: connect
at java.net.DualStackPlainSocketImpl.connect0(Native Method) ~[na:1.8.0_121]
at java.net.DualStackPlainSocketImpl.socketConnect(DualStackPlainSocketImpl.java:79) ~[na:1.8.0_121]
at java.net.AbstractPlainSocketImpl.doConnect(AbstractPlainSocketImpl.java:350) ~[na:1.8.0_121]
at java.net.AbstractPlainSocketImpl.connectToAddress(AbstractPlainSocketImpl.java:206) ~[na:1.8.0_121]
at java.net.AbstractPlainSocketImpl.connect(AbstractPlainSocketImpl.java:188) ~[na:1.8.0_121]
at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:172) ~[na:1.8.0_121]
at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:392) ~[na:1.8.0_121]
at java.net.Socket.connect(Socket.java:589) ~[na:1.8.0_121]
at com.ibm.db2.jcc.t4.v.run(v.java:49) ~[db2jcc-9.7fp7.jar:na]
at java.security.AccessController.doPrivileged(Native Method) ~[na:1.8.0_121]
at com.ibm.db2.jcc.t4.vb.a(vb.java:419) ~[db2jcc-9.7fp7.jar:na]
... 37 common frames omitted
2019-09-04 15:41:34,915 INFO [main] c.a.d.p.DruidDataSource#init [669] {dataSource-1} inited
2019-09-04 15:41:34,917 INFO [main] o.n.l.i.InjectBySetter#info [55] Fail to value by setter
java.lang.reflect.InvocationTargetException: null
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[na:1.8.0_121]
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) ~[na:1.8.0_121]
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[na:1.8.0_121]
at java.lang.reflect.Method.invoke(Method.java:498) ~[na:1.8.0_121]
at org.nutz.lang.inject.InjectBySetter.inject(InjectBySetter.java:26) ~[nutz-core-1.48.3b.jar:na]
at org.nutz.ioc.weaver.FieldInjector.inject(FieldInjector.java:24) [nutz-core-1.48.3b.jar:na]
at org.nutz.ioc.weaver.DefaultWeaver.fill(DefaultWeaver.java:56) [nutz-core-1.48.3b.jar:na]
at org.nutz.ioc.ObjectProxy.get(ObjectProxy.java:63) [nutz-core-1.48.3b.jar:na]
at org.nutz.ioc.impl.NutIoc.get(NutIoc.java:194) [nutz-core-1.48.3b.jar:na]
at org.nutz.ioc.val.ReferValue.get(ReferValue.java:24) [nutz-core-1.48.3b.jar:na]
at org.nutz.ioc.weaver.FieldInjector.inject(FieldInjector.java:23) [nutz-core-1.48.3b.jar:na]
at org.nutz.ioc.weaver.DefaultWeaver.fill(DefaultWeaver.java:56) [nutz-core-1.48.3b.jar:na]
at org.nutz.ioc.impl.ObjectMakerImpl.make(ObjectMakerImpl.java:96) [nutz-core-1.48.3b.jar:na]
at org.nutz.ioc.impl.NutIoc.get(NutIoc.java:181) [nutz-core-1.48.3b.jar:na]
at org.nutz.ioc.impl.NutIoc.get(NutIoc.java:199) [nutz-core-1.48.3b.jar:na]
at org.nutz.ioc.ObjectFactory.getObject(ObjectFactory.java:108) [nutz-core-1.48.3b.jar:na]
at org.nutz.ioc.ObjectFactory.getObject(ObjectFactory.java:81) [nutz-core-1.48.3b.jar:na]
at test.DataResolve.main(DataResolve.java:19) [bin/:na]
Caused by: java.lang.RuntimeException: com.ibm.db2.jcc.am.DisconnectNonTransientConnectionException: [jcc][t4][2043][11550][3.64.106] 异常 java.net.ConnectException:打开端口 5,000 上服务器 localhost/127.0.0.1 的套接字时出错,消息为:Connection refused: connect。 ERRORCODE=-4499, SQLSTATE=08001
at org.nutz.lang.Lang.wrapThrow(Lang.java:143) ~[nutz-core-1.48.3b.jar:na]
at org.nutz.dao.jdbc.Jdbcs.getExpert(Jdbcs.java:113) ~[nutz-1.r.56.jar:na]
at org.nutz.dao.impl.DaoSupport.setDataSource(DaoSupport.java:174) ~[nutz-1.r.56.jar:na]
... 18 common frames omitted
Caused by: com.ibm.db2.jcc.am.DisconnectNonTransientConnectionException: [jcc][t4][2043][11550][3.64.106] 异常 java.net.ConnectException:打开端口 5,000 上服务器 localhost/127.0.0.1 的套接字时出错,消息为:Connection refused: connect。 ERRORCODE=-4499, SQLSTATE=08001
at com.ibm.db2.jcc.am.bd.a(bd.java:321) ~[db2jcc-9.7fp7.jar:na]
at com.ibm.db2.jcc.am.bd.a(bd.java:340) ~[db2jcc-9.7fp7.jar:na]
at com.ibm.db2.jcc.t4.vb.a(vb.java:433) ~[db2jcc-9.7fp7.jar:na]
at com.ibm.db2.jcc.t4.vb.<init>(vb.java:93) ~[db2jcc-9.7fp7.jar:na]
at com.ibm.db2.jcc.t4.a.b(a.java:356) ~[db2jcc-9.7fp7.jar:na]
at com.ibm.db2.jcc.t4.b.newAgent_(b.java:2031) ~[db2jcc-9.7fp7.jar:na]
at com.ibm.db2.jcc.am.Connection.initConnection(Connection.java:720) ~[db2jcc-9.7fp7.jar:na]
at com.ibm.db2.jcc.am.Connection.<init>(Connection.java:669) ~[db2jcc-9.7fp7.jar:na]
at com.ibm.db2.jcc.t4.b.<init>(b.java:332) ~[db2jcc-9.7fp7.jar:na]
at com.ibm.db2.jcc.DB2SimpleDataSource.getConnection(DB2SimpleDataSource.java:232) ~[db2jcc-9.7fp7.jar:na]
at com.ibm.db2.jcc.DB2SimpleDataSource.getConnection(DB2SimpleDataSource.java:198) ~[db2jcc-9.7fp7.jar:na]
at com.ibm.db2.jcc.DB2Driver.connect(DB2Driver.java:475) ~[db2jcc-9.7fp7.jar:na]
at com.ibm.db2.jcc.DB2Driver.connect(DB2Driver.java:116) ~[db2jcc-9.7fp7.jar:na]
at com.alibaba.druid.pool.DruidAbstractDataSource.createPhysicalConnection(DruidAbstractDataSource.java:1375) ~[druid-1.0.15.jar:1.0.15]
at com.alibaba.druid.pool.DruidAbstractDataSource.createPhysicalConnection(DruidAbstractDataSource.java:1431) ~[druid-1.0.15.jar:1.0.15]
at com.alibaba.druid.pool.DruidDataSource.init(DruidDataSource.java:632) ~[druid-1.0.15.jar:1.0.15]
at com.alibaba.druid.pool.DruidDataSource.getConnection(DruidDataSource.java:934) ~[druid-1.0.15.jar:1.0.15]
at com.alibaba.druid.pool.DruidDataSource.getConnection(DruidDataSource.java:930) ~[druid-1.0.15.jar:1.0.15]
at com.alibaba.druid.pool.DruidDataSource.getConnection(DruidDataSource.java:102) ~[druid-1.0.15.jar:1.0.15]
at org.nutz.trans.Trans.getConnectionAuto(Trans.java:252) ~[nutz-core-1.48.3b.jar:na]
at org.nutz.dao.jdbc.Jdbcs.getExpert(Jdbcs.java:106) ~[nutz-1.r.56.jar:na]
... 19 common frames omitted
Caused by: java.net.ConnectException: Connection refused: connect
at java.net.DualStackPlainSocketImpl.connect0(Native Method) ~[na:1.8.0_121]
at java.net.DualStackPlainSocketImpl.socketConnect(DualStackPlainSocketImpl.java:79) ~[na:1.8.0_121]
at java.net.AbstractPlainSocketImpl.doConnect(AbstractPlainSocketImpl.java:350) ~[na:1.8.0_121]
at java.net.AbstractPlainSocketImpl.connectToAddress(AbstractPlainSocketImpl.java:206) ~[na:1.8.0_121]
at java.net.AbstractPlainSocketImpl.connect(AbstractPlainSocketImpl.java:188) ~[na:1.8.0_121]
at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:172) ~[na:1.8.0_121]
at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:392) ~[na:1.8.0_121]
at java.net.Socket.connect(Socket.java:589) ~[na:1.8.0_121]
at com.ibm.db2.jcc.t4.v.run(v.java:49) ~[db2jcc-9.7fp7.jar:na]
at java.security.AccessController.doPrivileged(Native Method) ~[na:1.8.0_121]
at com.ibm.db2.jcc.t4.vb.a(vb.java:419) ~[db2jcc-9.7fp7.jar:na]
... 37 common frames omitted
Exception in thread "main" org.nutz.ioc.IocException: java.lang.RuntimeException: Fail to set '{
CreateTime:"2019-09-04 15:41:33",
ActiveCount:0,
PoolingCount:0,
CreateCount:0,
DestroyCount:0,
CloseCount:0,
ConnectCount:0,
Connections:[
]
}
[
]'[ {
CreateTime:"2019-09-04 15:41:33",
ActiveCount:0,
PoolingCount:0,
CreateCount:0,
DestroyCount:0,
CloseCount:0,
ConnectCount:0,
Connections:[
]
}
[
] ] by setter org.nutz.dao.impl.DaoSupport.'setDataSource()' because [com.ibm.db2.jcc.am.DisconnectNonTransientConnectionException: [jcc][t4][2043][11550][3.64.106] 异常 java.net.ConnectException:打开端口 5,000 上服务器 localhost/127.0.0.1 的套接字时出错,消息为:Connection refused: connect。 ERRORCODE=-4499, SQLSTATE=08001]: [jcc][t4][2043][11550][3.64.106] 异常 java.net.ConnectException:打开端口 5,000 上服务器 localhost/127.0.0.1 的套接字时出错,消息为:Connection refused: connect。 ERRORCODE=-4499, SQLSTATE=08001
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
at java.lang.reflect.Constructor.newInstance(Constructor.java:423)
at org.nutz.lang.born.ConstructorBorning.born(ConstructorBorning.java:16)
at org.nutz.lang.born.BornContext.doBorn(BornContext.java:60)
at org.nutz.lang.Mirror.born(Mirror.java:926)
at org.nutz.lang.Lang.wrapThrow(Lang.java:159)
at org.nutz.ioc.impl.ObjectMakerImpl.make(ObjectMakerImpl.java:105)
at org.nutz.ioc.impl.NutIoc.get(NutIoc.java:181)
at org.nutz.ioc.impl.NutIoc.get(NutIoc.java:199)
at org.nutz.ioc.ObjectFactory.getObject(ObjectFactory.java:108)
at org.nutz.ioc.ObjectFactory.getObject(ObjectFactory.java:81)
at test.DataResolve.main(DataResolve.java:19)
Caused by: java.lang.RuntimeException: Fail to set '{
CreateTime:"2019-09-04 15:41:33",
ActiveCount:0,
PoolingCount:0,
CreateCount:0,
DestroyCount:0,
CloseCount:0,
ConnectCount:0,
Connections:[
]
}
[
]'[ {
CreateTime:"2019-09-04 15:41:33",
ActiveCount:0,
PoolingCount:0,
CreateCount:0,
DestroyCount:0,
CloseCount:0,
ConnectCount:0,
Connections:[
]
}
[
] ] by setter org.nutz.dao.impl.DaoSupport.'setDataSource()' because [com.ibm.db2.jcc.am.DisconnectNonTransientConnectionException: [jcc][t4][2043][11550][3.64.106] 异常 java.net.ConnectException:打开端口 5,000 上服务器 localhost/127.0.0.1 的套接字时出错,消息为:Connection refused: connect。 ERRORCODE=-4499, SQLSTATE=08001]: [jcc][t4][2043][11550][3.64.106] 异常 java.net.ConnectException:打开端口 5,000 上服务器 localhost/127.0.0.1 的套接字时出错,消息为:Connection refused: connect。 ERRORCODE=-4499, SQLSTATE=08001
at org.nutz.lang.Lang.makeThrow(Lang.java:94)
at org.nutz.lang.inject.InjectBySetter.inject(InjectBySetter.java:31)
at org.nutz.ioc.weaver.FieldInjector.inject(FieldInjector.java:24)
at org.nutz.ioc.weaver.DefaultWeaver.fill(DefaultWeaver.java:56)
at org.nutz.ioc.ObjectProxy.get(ObjectProxy.java:63)
at org.nutz.ioc.impl.NutIoc.get(NutIoc.java:194)
at org.nutz.ioc.val.ReferValue.get(ReferValue.java:24)
at org.nutz.ioc.weaver.FieldInjector.inject(FieldInjector.java:23)
at org.nutz.ioc.weaver.DefaultWeaver.fill(DefaultWeaver.java:56)
at org.nutz.ioc.impl.ObjectMakerImpl.make(ObjectMakerImpl.java:96)
... 5 more
5 回复
添加回复
请先登陆