You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
scaning entity.entity.News
scaning com.ys.common.model.com.ys.common.model.SW
scaning com.ys.sas.db.com.ys.sas.db.JdbcHelper
scaning com.ys.sas.db.com.ys.sas.db.JdbcUtils
Scan jar files completed!
Exception in thread "main" java.lang.reflect.UndeclaredThrowableException
at com.sun.proxy.$Proxy0.findSW(Unknown Source)
at gaeaclientdemo.GaeaClientTest.main(GaeaClientTest.java:48)
Caused by: com.bj58.spat.gaea.protocol.exception.OtherException: error num:30222411741354--state:OtherException--Message:org/apache/commons/dbcp/BasicDataSourceFactorycom.ys.sas.db.JdbcUtils.(JdbcUtils.java:32)---com.ys.sas.db.JdbcHelper.getPreparedStatement(JdbcHelper.java:318)---com.ys.sas.db.JdbcHelper.query(JdbcHelper.java:51)---com.ys.sas.dao.impl.SWDaoImpl.findSWByYYCSMC(SWDaoImpl.java:44)---com.ys.sas.service.impl.SWServiceImpl.findSW(SWServiceImpl.java:28)---SWServiceImplProxyStub1373619771642.findSW(SWServiceImplProxyStub1373619771642.java)---SWServiceImplProxyStub1373619771642.invoke(SWServiceImplProxyStub1373619771642.java)---com.bj58.spat.gaea.server.core.proxy.InvokerBase.doInvoke(InvokerBase.java:114)---com.bj58.spat.gaea.server.core.proxy.AsyncInvokerHandle$1.run(AsyncInvokerHandle.java:93)---com.bj58.spat.gaea.server.util.async.AsyncWorker$1.run(AsyncWorker.java:126)---java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)---java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)---java.lang.Thread.run(Unknown Source)---
at com.bj58.spat.gaea.protocol.exception.ThrowErrorHelper.throwServiceError(ThrowErrorHelper.java:35)
at com.bj58.spat.gaea.client.proxy.ServiceProxy.invoke(ServiceProxy.java:183)
at com.bj58.spat.gaea.client.proxy.builder.MethodCaller.doMethodCall(MethodCaller.java:85)
at com.bj58.spat.gaea.client.proxy.builder.ProxyStandard.invoke(ProxyStandard.java:58)
... 2 more
The text was updated successfully, but these errors were encountered:
scaning entity.entity.News
scaning com.ys.common.model.com.ys.common.model.SW
scaning com.ys.sas.db.com.ys.sas.db.JdbcHelper
scaning com.ys.sas.db.com.ys.sas.db.JdbcUtils
Scan jar files completed!
Exception in thread "main" java.lang.reflect.UndeclaredThrowableException
at com.sun.proxy.$Proxy0.findSW(Unknown Source)
at gaeaclientdemo.GaeaClientTest.main(GaeaClientTest.java:48)
Caused by: com.bj58.spat.gaea.protocol.exception.OtherException: error
num:30222411741354--state:OtherException--Message:org/apache/commons/dbcp/BasicDataSourceFactorycom.ys.sas.db.JdbcUtils.(JdbcUtils.java:32)---com.ys.sas.db.JdbcHelper.getPreparedStatement(JdbcHelper.java:318)---com.ys.sas.db.JdbcHelper.query(JdbcHelper.java:51)---com.ys.sas.dao.impl.SWDaoImpl.findSWByYYCSMC(SWDaoImpl.java:44)---com.ys.sas.service.impl.SWServiceImpl.findSW(SWServiceImpl.java:28)---SWServiceImplProxyStub1373619771642.findSW(SWServiceImplProxyStub1373619771642.java)---SWServiceImplProxyStub1373619771642.invoke(SWServiceImplProxyStub1373619771642.java)---com.bj58.spat.gaea.server.core.proxy.InvokerBase.doInvoke(InvokerBase.java:114)---com.bj58.spat.gaea.server.core.proxy.AsyncInvokerHandle$1.run(AsyncInvokerHandle.java:93)---com.bj58.spat.gaea.server.util.async.AsyncWorker$1.run(AsyncWorker.java:126)---java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown
Source)---java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown
Source)---java.lang.Thread.run(Unknown Source)---
at
com.bj58.spat.gaea.protocol.exception.ThrowErrorHelper.throwServiceError(ThrowErrorHelper.java:35)
at
com.bj58.spat.gaea.client.proxy.ServiceProxy.invoke(ServiceProxy.java:183)
at
com.bj58.spat.gaea.client.proxy.builder.MethodCaller.doMethodCall(MethodCaller.java:85)
at
com.bj58.spat.gaea.client.proxy.builder.ProxyStandard.invoke(ProxyStandard.java:58)
... 2 more
—
Reply to this email directly or view it on GitHubhttps://github.com//issues/3
.
用jdbc连接池时,如果创建连接的方式是静态加载连接池,序列话失败:
scaning entity.entity.News
scaning com.ys.common.model.com.ys.common.model.SW
scaning com.ys.sas.db.com.ys.sas.db.JdbcHelper
scaning com.ys.sas.db.com.ys.sas.db.JdbcUtils
Scan jar files completed!
Exception in thread "main" java.lang.reflect.UndeclaredThrowableException
at com.sun.proxy.$Proxy0.findSW(Unknown Source)
at gaeaclientdemo.GaeaClientTest.main(GaeaClientTest.java:48)
Caused by: com.bj58.spat.gaea.protocol.exception.OtherException: error num:30222411741354--state:OtherException--Message:org/apache/commons/dbcp/BasicDataSourceFactorycom.ys.sas.db.JdbcUtils.(JdbcUtils.java:32)---com.ys.sas.db.JdbcHelper.getPreparedStatement(JdbcHelper.java:318)---com.ys.sas.db.JdbcHelper.query(JdbcHelper.java:51)---com.ys.sas.dao.impl.SWDaoImpl.findSWByYYCSMC(SWDaoImpl.java:44)---com.ys.sas.service.impl.SWServiceImpl.findSW(SWServiceImpl.java:28)---SWServiceImplProxyStub1373619771642.findSW(SWServiceImplProxyStub1373619771642.java)---SWServiceImplProxyStub1373619771642.invoke(SWServiceImplProxyStub1373619771642.java)---com.bj58.spat.gaea.server.core.proxy.InvokerBase.doInvoke(InvokerBase.java:114)---com.bj58.spat.gaea.server.core.proxy.AsyncInvokerHandle$1.run(AsyncInvokerHandle.java:93)---com.bj58.spat.gaea.server.util.async.AsyncWorker$1.run(AsyncWorker.java:126)---java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)---java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)---java.lang.Thread.run(Unknown Source)---
at com.bj58.spat.gaea.protocol.exception.ThrowErrorHelper.throwServiceError(ThrowErrorHelper.java:35)
at com.bj58.spat.gaea.client.proxy.ServiceProxy.invoke(ServiceProxy.java:183)
at com.bj58.spat.gaea.client.proxy.builder.MethodCaller.doMethodCall(MethodCaller.java:85)
at com.bj58.spat.gaea.client.proxy.builder.ProxyStandard.invoke(ProxyStandard.java:58)
... 2 more
The text was updated successfully, but these errors were encountered: