diff --git a/.idea/compiler.xml b/.idea/compiler.xml index d9ab905..7462f35 100644 --- a/.idea/compiler.xml +++ b/.idea/compiler.xml @@ -2,6 +2,7 @@ + diff --git a/README/Statement b/README/Statement index b097284..5ec6998 100644 --- a/README/Statement +++ b/README/Statement @@ -6,5 +6,15 @@ 4.检查通知管理----被通知人 5.维修商管理----维修单位名称 6.涉密资产登记----使用人员 +*身份认证:确定证书持有人在网上活动的身份的真实性、唯一性。 +*数据签名/验证:通过证书签名的交易或信息传输行为,保证其行为的不可抵赖性,为以后的责任认定提供有力的证据。 +*数据加密/解密:通过数据加密的信息传输,可用于网上个人、企业信息资料的提交,防止信息被窃取和非法篡改。 +加入ukey登录功能: + 1.证书参数----证书ID,序列号 + 2.导出证书----ID列表,签名证书,加密证书 + 3.登录登出----登录,登出,检测登录,登陆剩余次数 + 4.修改密码----修改密码 + + diff --git a/out/artifacts/zhyw_war_exploded/WEB-INF/classes/com/zky/bjca/cert/controller/TdBjcaController.class b/out/artifacts/zhyw_war_exploded/WEB-INF/classes/com/zky/bjca/cert/controller/TdBjcaController.class new file mode 100644 index 0000000..d6fa436 Binary files /dev/null and b/out/artifacts/zhyw_war_exploded/WEB-INF/classes/com/zky/bjca/cert/controller/TdBjcaController.class differ diff --git a/out/artifacts/zhyw_war_exploded/WEB-INF/classes/com/zky/bjca/cert/controller/loginController$LoginController.class b/out/artifacts/zhyw_war_exploded/WEB-INF/classes/com/zky/bjca/cert/controller/loginController$LoginController.class new file mode 100644 index 0000000..bdfbd94 Binary files /dev/null and b/out/artifacts/zhyw_war_exploded/WEB-INF/classes/com/zky/bjca/cert/controller/loginController$LoginController.class differ diff --git a/out/artifacts/zhyw_war_exploded/WEB-INF/classes/com/zky/bjca/cert/controller/loginController.class b/out/artifacts/zhyw_war_exploded/WEB-INF/classes/com/zky/bjca/cert/controller/loginController.class new file mode 100644 index 0000000..915a351 Binary files /dev/null and b/out/artifacts/zhyw_war_exploded/WEB-INF/classes/com/zky/bjca/cert/controller/loginController.class differ diff --git a/out/artifacts/zhyw_war_exploded/WEB-INF/classes/com/zky/bjca/cert/mapper/TdBjcaMapper.class b/out/artifacts/zhyw_war_exploded/WEB-INF/classes/com/zky/bjca/cert/mapper/TdBjcaMapper.class new file mode 100644 index 0000000..f52d708 Binary files /dev/null and b/out/artifacts/zhyw_war_exploded/WEB-INF/classes/com/zky/bjca/cert/mapper/TdBjcaMapper.class differ diff --git a/out/artifacts/zhyw_war_exploded/WEB-INF/classes/com/zky/bjca/cert/service/ITdBjcaService.class b/out/artifacts/zhyw_war_exploded/WEB-INF/classes/com/zky/bjca/cert/service/ITdBjcaService.class new file mode 100644 index 0000000..3ece63d Binary files /dev/null and b/out/artifacts/zhyw_war_exploded/WEB-INF/classes/com/zky/bjca/cert/service/ITdBjcaService.class differ diff --git a/out/artifacts/zhyw_war_exploded/WEB-INF/classes/com/zky/bjca/cert/service/impl/TdBjcaServiceImpl.class b/out/artifacts/zhyw_war_exploded/WEB-INF/classes/com/zky/bjca/cert/service/impl/TdBjcaServiceImpl.class new file mode 100644 index 0000000..577f64a Binary files /dev/null and b/out/artifacts/zhyw_war_exploded/WEB-INF/classes/com/zky/bjca/cert/service/impl/TdBjcaServiceImpl.class differ diff --git a/out/artifacts/zhyw_war_exploded/WEB-INF/classes/com/zky/manager/LoginServlet.class b/out/artifacts/zhyw_war_exploded/WEB-INF/classes/com/zky/manager/LoginServlet.class index c37717f..e0b580e 100644 Binary files a/out/artifacts/zhyw_war_exploded/WEB-INF/classes/com/zky/manager/LoginServlet.class and b/out/artifacts/zhyw_war_exploded/WEB-INF/classes/com/zky/manager/LoginServlet.class differ diff --git a/out/artifacts/zhyw_war_exploded/WEB-INF/classes/com/zky/pojo/Employee.class b/out/artifacts/zhyw_war_exploded/WEB-INF/classes/com/zky/pojo/Employee.class index 6b05c95..f48596d 100644 Binary files a/out/artifacts/zhyw_war_exploded/WEB-INF/classes/com/zky/pojo/Employee.class and b/out/artifacts/zhyw_war_exploded/WEB-INF/classes/com/zky/pojo/Employee.class differ diff --git a/out/artifacts/zhyw_war_exploded/WEB-INF/classes/com/zky/pojo/TdBjca.class b/out/artifacts/zhyw_war_exploded/WEB-INF/classes/com/zky/pojo/TdBjca.class new file mode 100644 index 0000000..cff064d Binary files /dev/null and b/out/artifacts/zhyw_war_exploded/WEB-INF/classes/com/zky/pojo/TdBjca.class differ diff --git a/out/artifacts/zhyw_war_exploded/WEB-INF/classes/com/zky/zhyw/smjc/CheckManageServlet.class b/out/artifacts/zhyw_war_exploded/WEB-INF/classes/com/zky/zhyw/smjc/CheckManageServlet.class index c5129b1..7afa641 100644 Binary files a/out/artifacts/zhyw_war_exploded/WEB-INF/classes/com/zky/zhyw/smjc/CheckManageServlet.class and b/out/artifacts/zhyw_war_exploded/WEB-INF/classes/com/zky/zhyw/smjc/CheckManageServlet.class differ diff --git a/out/artifacts/zhyw_war_exploded/WEB-INF/classes/com/zky/zhyw/smry/EmpManageServlet.class b/out/artifacts/zhyw_war_exploded/WEB-INF/classes/com/zky/zhyw/smry/EmpManageServlet.class index b934688..154d464 100644 Binary files a/out/artifacts/zhyw_war_exploded/WEB-INF/classes/com/zky/zhyw/smry/EmpManageServlet.class and b/out/artifacts/zhyw_war_exploded/WEB-INF/classes/com/zky/zhyw/smry/EmpManageServlet.class differ diff --git a/out/artifacts/zhyw_war_exploded/WEB-INF/classes/com/zky/zhyw/smry/ExamineManageServlet.class b/out/artifacts/zhyw_war_exploded/WEB-INF/classes/com/zky/zhyw/smry/ExamineManageServlet.class index e85edfa..d58ac51 100644 Binary files a/out/artifacts/zhyw_war_exploded/WEB-INF/classes/com/zky/zhyw/smry/ExamineManageServlet.class and b/out/artifacts/zhyw_war_exploded/WEB-INF/classes/com/zky/zhyw/smry/ExamineManageServlet.class differ diff --git a/out/artifacts/zhyw_war_exploded/WEB-INF/classes/com/zky/zhyw/smry/RecordManageServlet.class b/out/artifacts/zhyw_war_exploded/WEB-INF/classes/com/zky/zhyw/smry/RecordManageServlet.class index 28d46db..803f937 100644 Binary files a/out/artifacts/zhyw_war_exploded/WEB-INF/classes/com/zky/zhyw/smry/RecordManageServlet.class and b/out/artifacts/zhyw_war_exploded/WEB-INF/classes/com/zky/zhyw/smry/RecordManageServlet.class differ diff --git a/out/artifacts/zhyw_war_exploded/WEB-INF/classes/com/zky/zhyw/smwj/FileWriteServlet.class b/out/artifacts/zhyw_war_exploded/WEB-INF/classes/com/zky/zhyw/smwj/FileWriteServlet.class index d6f570b..d456926 100644 Binary files a/out/artifacts/zhyw_war_exploded/WEB-INF/classes/com/zky/zhyw/smwj/FileWriteServlet.class and b/out/artifacts/zhyw_war_exploded/WEB-INF/classes/com/zky/zhyw/smwj/FileWriteServlet.class differ diff --git a/out/artifacts/zhyw_war_exploded/config/config1/logs/SVSClient_error.log b/out/artifacts/zhyw_war_exploded/config/config1/logs/SVSClient_error.log index ed99353..26f3745 100644 --- a/out/artifacts/zhyw_war_exploded/config/config1/logs/SVSClient_error.log +++ b/out/artifacts/zhyw_war_exploded/config/config1/logs/SVSClient_error.log @@ -4231,3 +4231,1485 @@ Caused by: java.net.SocketTimeoutException: connect timed out at cn.org.bjca.framework.socket.client.impl.socket.DefaultBSocket.open(DefaultBSocket.java:138) ... 77 more +INFO [2023-12-21 17:03:41 641] 10.10.3.2_8000Чconnect timed out +INFO [2023-12-21 17:03:43 678] 10.10.3.2_8000Чconnect timed out +INFO [2023-12-21 17:03:43 735] Connection error! Please check network connections or client config! +INFO [2023-12-21 17:03:43 736] java.lang.RuntimeException: There is no any instance of Remote Service, please check Server or Client config ! + at cn.org.bjca.framework.socket.client.impl.loadbalance.DefaultHostSelector.select(DefaultHostSelector.java:69) + at cn.org.bjca.framework.socket.client.impl.NioClientImpl.selectInstance(NioClientImpl.java:303) + at cn.org.bjca.framework.socket.client.impl.NioClientImpl.send(NioClientImpl.java:366) + at cn.org.bjca.framework.socket.client.impl.NioClientImpl.send(NioClientImpl.java:357) + at cn.org.bjca.hsm.client.manager.MsgManager.sendAndReceiveMsg(MsgManager.java:43) + at cn.org.bjca.hsm.client.security.sdf.SDFDefaultSecurityEngine.getActiveThreadNum(SDFDefaultSecurityEngine.java:39) + at cn.org.bjca.hsm.client.security.sdf.SDFSecurityEngineDeal.SDF_getInstance(SDFSecurityEngineDeal.java:116) + at cn.org.bjca.hsm.client.security.sdf.SDFSecurityEngineDeal.SDF_OpenDevice(SDFSecurityEngineDeal.java:134) + at cn.org.bjca.chaos.jce.provider.BJCAJCEProvider.(BJCAJCEProvider.java:175) + at com.zky.bjca.SM4.SM4Decrypt(SM4.java:113) + at org.apache.jsp.zhyw.smry.rypx.TrainManage_jsp._jspService(TrainManage_jsp.java:628) + at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70) + at javax.servlet.http.HttpServlet.service(HttpServlet.java:729) + at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:438) + at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:396) + at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:340) + at javax.servlet.http.HttpServlet.service(HttpServlet.java:729) + at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:292) + at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:207) + at org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:52) + at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:240) + at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:207) + at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:716) + at org.apache.catalina.core.ApplicationDispatcher.processRequest(ApplicationDispatcher.java:466) + at org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:391) + at org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:318) + at com.zky.zhyw.smpx.TrainManageServlet.queryTrain(TrainManageServlet.java:625) + at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) + at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) + at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) + at java.lang.reflect.Method.invoke(Method.java:498) + at com.zky.pub.DispatchServlet.doPost(DispatchServlet.java:39) + at com.zky.pub.DispatchServlet.doGet(DispatchServlet.java:26) + at javax.servlet.http.HttpServlet.service(HttpServlet.java:622) + at javax.servlet.http.HttpServlet.service(HttpServlet.java:729) + at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:292) + at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:207) + at org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:52) + at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:240) + at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:207) + at com.zky.pub.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:70) + at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:240) + at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:207) + at com.zky.util.CharFilter.doFilter(CharFilter.java:41) + at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:240) + at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:207) + at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:212) + at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:94) + at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:141) + at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:79) + at org.apache.catalina.valves.AbstractAccessLogValve.invoke(AbstractAccessLogValve.java:620) + at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:88) + at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:502) + at org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1132) + at org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:684) + at org.apache.tomcat.util.net.AprEndpoint$SocketProcessor.doRun(AprEndpoint.java:2527) + at org.apache.tomcat.util.net.AprEndpoint$SocketProcessor.run(AprEndpoint.java:2516) + at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149) + at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624) + at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61) + at java.lang.Thread.run(Thread.java:750) + +INFO [2023-12-21 17:03:43 757] Connection error! Please check network connections or client config! +INFO [2023-12-21 17:03:43 757] java.lang.RuntimeException: There is no any instance of Remote Service, please check Server or Client config ! + at cn.org.bjca.framework.socket.client.impl.loadbalance.DefaultHostSelector.select(DefaultHostSelector.java:69) + at cn.org.bjca.framework.socket.client.impl.NioClientImpl.selectInstance(NioClientImpl.java:303) + at cn.org.bjca.framework.socket.client.impl.NioClientImpl.send(NioClientImpl.java:366) + at cn.org.bjca.framework.socket.client.impl.NioClientImpl.send(NioClientImpl.java:357) + at cn.org.bjca.hsm.client.manager.MsgManager.sendAndReceiveMsg(MsgManager.java:43) + at cn.org.bjca.hsm.client.security.sdf.SDFDefaultSecurityEngine.getActiveThreadNum(SDFDefaultSecurityEngine.java:39) + at cn.org.bjca.hsm.client.security.sdf.SDFSecurityEngineDeal.SDF_getInstance(SDFSecurityEngineDeal.java:116) + at cn.org.bjca.hsm.client.security.sdf.SDFSecurityEngineDeal.SDF_OpenDevice(SDFSecurityEngineDeal.java:134) + at cn.org.bjca.chaos.jce.provider.BJCAJCEProvider.(BJCAJCEProvider.java:175) + at com.zky.bjca.SM4.SM4Decrypt(SM4.java:113) + at org.apache.jsp.zhyw.smry.rypx.TrainManage_jsp._jspService(TrainManage_jsp.java:628) + at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70) + at javax.servlet.http.HttpServlet.service(HttpServlet.java:729) + at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:438) + at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:396) + at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:340) + at javax.servlet.http.HttpServlet.service(HttpServlet.java:729) + at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:292) + at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:207) + at org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:52) + at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:240) + at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:207) + at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:716) + at org.apache.catalina.core.ApplicationDispatcher.processRequest(ApplicationDispatcher.java:466) + at org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:391) + at org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:318) + at com.zky.zhyw.smpx.TrainManageServlet.queryTrain(TrainManageServlet.java:625) + at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) + at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) + at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) + at java.lang.reflect.Method.invoke(Method.java:498) + at com.zky.pub.DispatchServlet.doPost(DispatchServlet.java:39) + at com.zky.pub.DispatchServlet.doGet(DispatchServlet.java:26) + at javax.servlet.http.HttpServlet.service(HttpServlet.java:622) + at javax.servlet.http.HttpServlet.service(HttpServlet.java:729) + at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:292) + at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:207) + at org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:52) + at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:240) + at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:207) + at com.zky.pub.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:70) + at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:240) + at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:207) + at com.zky.util.CharFilter.doFilter(CharFilter.java:41) + at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:240) + at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:207) + at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:212) + at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:94) + at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:141) + at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:79) + at org.apache.catalina.valves.AbstractAccessLogValve.invoke(AbstractAccessLogValve.java:620) + at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:88) + at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:502) + at org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1132) + at org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:684) + at org.apache.tomcat.util.net.AprEndpoint$SocketProcessor.doRun(AprEndpoint.java:2527) + at org.apache.tomcat.util.net.AprEndpoint$SocketProcessor.run(AprEndpoint.java:2516) + at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149) + at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624) + at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61) + at java.lang.Thread.run(Thread.java:750) + +INFO [2023-12-21 17:03:43 794] Connection error! Please check network connections or client config! +INFO [2023-12-21 17:03:43 795] java.lang.RuntimeException: There is no any instance of Remote Service, please check Server or Client config ! + at cn.org.bjca.framework.socket.client.impl.loadbalance.DefaultHostSelector.select(DefaultHostSelector.java:69) + at cn.org.bjca.framework.socket.client.impl.NioClientImpl.selectInstance(NioClientImpl.java:303) + at cn.org.bjca.framework.socket.client.impl.NioClientImpl.send(NioClientImpl.java:366) + at cn.org.bjca.framework.socket.client.impl.NioClientImpl.send(NioClientImpl.java:357) + at cn.org.bjca.hsm.client.manager.MsgManager.sendAndReceiveMsg(MsgManager.java:43) + at cn.org.bjca.hsm.client.security.sdf.SDFDefaultSecurityEngine.getActiveThreadNum(SDFDefaultSecurityEngine.java:39) + at cn.org.bjca.hsm.client.security.sdf.SDFSecurityEngineDeal.SDF_getInstance(SDFSecurityEngineDeal.java:116) + at cn.org.bjca.hsm.client.security.sdf.SDFSecurityEngineDeal.SDF_OpenDevice(SDFSecurityEngineDeal.java:134) + at cn.org.bjca.chaos.jce.provider.BJCAJCEProvider.(BJCAJCEProvider.java:175) + at com.zky.bjca.SM4.SM4Decrypt(SM4.java:113) + at org.apache.jsp.zhyw.smry.rypx.TrainManage_jsp._jspService(TrainManage_jsp.java:628) + at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70) + at javax.servlet.http.HttpServlet.service(HttpServlet.java:729) + at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:438) + at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:396) + at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:340) + at javax.servlet.http.HttpServlet.service(HttpServlet.java:729) + at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:292) + at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:207) + at org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:52) + at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:240) + at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:207) + at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:716) + at org.apache.catalina.core.ApplicationDispatcher.processRequest(ApplicationDispatcher.java:466) + at org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:391) + at org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:318) + at com.zky.zhyw.smpx.TrainManageServlet.queryTrain(TrainManageServlet.java:625) + at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) + at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) + at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) + at java.lang.reflect.Method.invoke(Method.java:498) + at com.zky.pub.DispatchServlet.doPost(DispatchServlet.java:39) + at com.zky.pub.DispatchServlet.doGet(DispatchServlet.java:26) + at javax.servlet.http.HttpServlet.service(HttpServlet.java:622) + at javax.servlet.http.HttpServlet.service(HttpServlet.java:729) + at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:292) + at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:207) + at org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:52) + at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:240) + at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:207) + at com.zky.pub.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:70) + at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:240) + at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:207) + at com.zky.util.CharFilter.doFilter(CharFilter.java:41) + at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:240) + at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:207) + at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:212) + at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:94) + at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:141) + at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:79) + at org.apache.catalina.valves.AbstractAccessLogValve.invoke(AbstractAccessLogValve.java:620) + at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:88) + at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:502) + at org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1132) + at org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:684) + at org.apache.tomcat.util.net.AprEndpoint$SocketProcessor.doRun(AprEndpoint.java:2527) + at org.apache.tomcat.util.net.AprEndpoint$SocketProcessor.run(AprEndpoint.java:2516) + at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149) + at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624) + at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61) + at java.lang.Thread.run(Thread.java:750) + +INFO [2023-12-21 17:09:56 599] Connection error! Please check network connections or client config! +INFO [2023-12-21 17:09:56 599] java.lang.RuntimeException: There is no any instance of Remote Service, please check Server or Client config ! + at cn.org.bjca.framework.socket.client.impl.loadbalance.DefaultHostSelector.select(DefaultHostSelector.java:69) + at cn.org.bjca.framework.socket.client.impl.NioClientImpl.selectInstance(NioClientImpl.java:303) + at cn.org.bjca.framework.socket.client.impl.NioClientImpl.send(NioClientImpl.java:366) + at cn.org.bjca.framework.socket.client.impl.NioClientImpl.send(NioClientImpl.java:357) + at cn.org.bjca.hsm.client.manager.MsgManager.sendAndReceiveMsg(MsgManager.java:43) + at cn.org.bjca.hsm.client.security.sdf.SDFDefaultSecurityEngine.getActiveThreadNum(SDFDefaultSecurityEngine.java:39) + at cn.org.bjca.hsm.client.security.sdf.SDFSecurityEngineDeal.SDF_getInstance(SDFSecurityEngineDeal.java:116) + at cn.org.bjca.hsm.client.security.sdf.SDFSecurityEngineDeal.SDF_OpenDevice(SDFSecurityEngineDeal.java:134) + at cn.org.bjca.chaos.jce.provider.BJCAJCEProvider.(BJCAJCEProvider.java:175) + at com.zky.bjca.SM4.SM4Decrypt(SM4.java:113) + at org.apache.jsp.zhyw.smry.rylz.LeaveUpdate_jsp._jspService(LeaveUpdate_jsp.java:392) + at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70) + at javax.servlet.http.HttpServlet.service(HttpServlet.java:729) + at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:438) + at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:396) + at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:340) + at javax.servlet.http.HttpServlet.service(HttpServlet.java:729) + at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:292) + at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:207) + at org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:52) + at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:240) + at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:207) + at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:716) + at org.apache.catalina.core.ApplicationDispatcher.processRequest(ApplicationDispatcher.java:466) + at org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:391) + at org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:318) + at com.zky.zhyw.smry.LeaveManageServlet.queryLeaveId(LeaveManageServlet.java:332) + at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) + at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) + at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) + at java.lang.reflect.Method.invoke(Method.java:498) + at com.zky.pub.DispatchServlet.doPost(DispatchServlet.java:39) + at com.zky.pub.DispatchServlet.doGet(DispatchServlet.java:26) + at javax.servlet.http.HttpServlet.service(HttpServlet.java:622) + at javax.servlet.http.HttpServlet.service(HttpServlet.java:729) + at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:292) + at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:207) + at org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:52) + at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:240) + at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:207) + at com.zky.pub.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:70) + at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:240) + at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:207) + at com.zky.util.CharFilter.doFilter(CharFilter.java:41) + at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:240) + at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:207) + at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:212) + at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:94) + at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:141) + at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:79) + at org.apache.catalina.valves.AbstractAccessLogValve.invoke(AbstractAccessLogValve.java:620) + at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:88) + at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:502) + at org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1132) + at org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:684) + at org.apache.tomcat.util.net.AprEndpoint$SocketProcessor.doRun(AprEndpoint.java:2527) + at org.apache.tomcat.util.net.AprEndpoint$SocketProcessor.run(AprEndpoint.java:2516) + at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149) + at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624) + at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61) + at java.lang.Thread.run(Thread.java:750) + +INFO [2023-12-21 17:10:00 562] Connection error! Please check network connections or client config! +INFO [2023-12-21 17:10:00 562] java.lang.RuntimeException: There is no any instance of Remote Service, please check Server or Client config ! + at cn.org.bjca.framework.socket.client.impl.loadbalance.DefaultHostSelector.select(DefaultHostSelector.java:69) + at cn.org.bjca.framework.socket.client.impl.NioClientImpl.selectInstance(NioClientImpl.java:303) + at cn.org.bjca.framework.socket.client.impl.NioClientImpl.send(NioClientImpl.java:366) + at cn.org.bjca.framework.socket.client.impl.NioClientImpl.send(NioClientImpl.java:357) + at cn.org.bjca.hsm.client.manager.MsgManager.sendAndReceiveMsg(MsgManager.java:43) + at cn.org.bjca.hsm.client.security.sdf.SDFDefaultSecurityEngine.getActiveThreadNum(SDFDefaultSecurityEngine.java:39) + at cn.org.bjca.hsm.client.security.sdf.SDFSecurityEngineDeal.SDF_getInstance(SDFSecurityEngineDeal.java:116) + at cn.org.bjca.hsm.client.security.sdf.SDFSecurityEngineDeal.SDF_OpenDevice(SDFSecurityEngineDeal.java:134) + at cn.org.bjca.chaos.jce.provider.BJCAJCEProvider.(BJCAJCEProvider.java:175) + at com.zky.bjca.SM4.SM4Decrypt(SM4.java:113) + at org.apache.jsp.zhyw.smry.rylz.LeaveUpdate_jsp._jspService(LeaveUpdate_jsp.java:392) + at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70) + at javax.servlet.http.HttpServlet.service(HttpServlet.java:729) + at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:438) + at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:396) + at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:340) + at javax.servlet.http.HttpServlet.service(HttpServlet.java:729) + at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:292) + at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:207) + at org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:52) + at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:240) + at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:207) + at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:716) + at org.apache.catalina.core.ApplicationDispatcher.processRequest(ApplicationDispatcher.java:466) + at org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:391) + at org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:318) + at com.zky.zhyw.smry.LeaveManageServlet.queryLeaveId(LeaveManageServlet.java:332) + at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) + at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) + at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) + at java.lang.reflect.Method.invoke(Method.java:498) + at com.zky.pub.DispatchServlet.doPost(DispatchServlet.java:39) + at com.zky.pub.DispatchServlet.doGet(DispatchServlet.java:26) + at javax.servlet.http.HttpServlet.service(HttpServlet.java:622) + at javax.servlet.http.HttpServlet.service(HttpServlet.java:729) + at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:292) + at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:207) + at org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:52) + at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:240) + at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:207) + at com.zky.pub.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:70) + at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:240) + at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:207) + at com.zky.util.CharFilter.doFilter(CharFilter.java:41) + at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:240) + at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:207) + at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:212) + at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:94) + at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:141) + at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:79) + at org.apache.catalina.valves.AbstractAccessLogValve.invoke(AbstractAccessLogValve.java:620) + at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:88) + at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:502) + at org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1132) + at org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:684) + at org.apache.tomcat.util.net.AprEndpoint$SocketProcessor.doRun(AprEndpoint.java:2527) + at org.apache.tomcat.util.net.AprEndpoint$SocketProcessor.run(AprEndpoint.java:2516) + at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149) + at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624) + at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61) + at java.lang.Thread.run(Thread.java:750) + +INFO [2023-12-22 11:47:26 206] 10.10.3.2_8000Чconnect timed out +INFO [2023-12-22 11:47:28 233] 10.10.3.2_8000Чconnect timed out +INFO [2023-12-22 11:47:28 283] Connection error! Please check network connections or client config! +INFO [2023-12-22 11:47:28 284] java.lang.RuntimeException: There is no any instance of Remote Service, please check Server or Client config ! + at cn.org.bjca.framework.socket.client.impl.loadbalance.DefaultHostSelector.select(DefaultHostSelector.java:69) + at cn.org.bjca.framework.socket.client.impl.NioClientImpl.selectInstance(NioClientImpl.java:303) + at cn.org.bjca.framework.socket.client.impl.NioClientImpl.send(NioClientImpl.java:366) + at cn.org.bjca.framework.socket.client.impl.NioClientImpl.send(NioClientImpl.java:357) + at cn.org.bjca.hsm.client.manager.MsgManager.sendAndReceiveMsg(MsgManager.java:43) + at cn.org.bjca.hsm.client.security.sdf.SDFDefaultSecurityEngine.getActiveThreadNum(SDFDefaultSecurityEngine.java:39) + at cn.org.bjca.hsm.client.security.sdf.SDFSecurityEngineDeal.SDF_getInstance(SDFSecurityEngineDeal.java:116) + at cn.org.bjca.hsm.client.security.sdf.SDFSecurityEngineDeal.SDF_OpenDevice(SDFSecurityEngineDeal.java:134) + at cn.org.bjca.chaos.jce.provider.BJCAJCEProvider.(BJCAJCEProvider.java:175) + at com.zky.bjca.SM4.SM4Decrypt(SM4.java:113) + at org.apache.jsp.zhyw.smry.rylz.LeaveState_jsp._jspService(LeaveState_jsp.java:405) + at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70) + at javax.servlet.http.HttpServlet.service(HttpServlet.java:729) + at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:438) + at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:396) + at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:340) + at javax.servlet.http.HttpServlet.service(HttpServlet.java:729) + at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:292) + at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:207) + at org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:52) + at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:240) + at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:207) + at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:716) + at org.apache.catalina.core.ApplicationDispatcher.processRequest(ApplicationDispatcher.java:466) + at org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:391) + at org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:318) + at com.zky.zhyw.smry.LeaveManageServlet.queryLeaveState(LeaveManageServlet.java:263) + at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) + at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) + at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) + at java.lang.reflect.Method.invoke(Method.java:498) + at com.zky.pub.DispatchServlet.doPost(DispatchServlet.java:39) + at com.zky.pub.DispatchServlet.doGet(DispatchServlet.java:26) + at javax.servlet.http.HttpServlet.service(HttpServlet.java:622) + at javax.servlet.http.HttpServlet.service(HttpServlet.java:729) + at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:292) + at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:207) + at org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:52) + at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:240) + at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:207) + at com.zky.pub.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:70) + at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:240) + at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:207) + at com.zky.util.CharFilter.doFilter(CharFilter.java:41) + at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:240) + at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:207) + at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:212) + at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:94) + at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:141) + at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:79) + at org.apache.catalina.valves.AbstractAccessLogValve.invoke(AbstractAccessLogValve.java:620) + at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:88) + at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:502) + at org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1132) + at org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:684) + at org.apache.tomcat.util.net.AprEndpoint$SocketProcessor.doRun(AprEndpoint.java:2527) + at org.apache.tomcat.util.net.AprEndpoint$SocketProcessor.run(AprEndpoint.java:2516) + at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149) + at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624) + at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61) + at java.lang.Thread.run(Thread.java:750) + +INFO [2023-12-22 11:47:28 287] Connection error! Please check network connections or client config! +INFO [2023-12-22 11:47:28 290] java.lang.RuntimeException: There is no any instance of Remote Service, please check Server or Client config ! + at cn.org.bjca.framework.socket.client.impl.loadbalance.DefaultHostSelector.select(DefaultHostSelector.java:69) + at cn.org.bjca.framework.socket.client.impl.NioClientImpl.selectInstance(NioClientImpl.java:303) + at cn.org.bjca.framework.socket.client.impl.NioClientImpl.send(NioClientImpl.java:366) + at cn.org.bjca.framework.socket.client.impl.NioClientImpl.send(NioClientImpl.java:357) + at cn.org.bjca.hsm.client.manager.MsgManager.sendAndReceiveMsg(MsgManager.java:43) + at cn.org.bjca.hsm.client.security.sdf.SDFDefaultSecurityEngine.getActiveThreadNum(SDFDefaultSecurityEngine.java:39) + at cn.org.bjca.hsm.client.security.sdf.SDFSecurityEngineDeal.SDF_getInstance(SDFSecurityEngineDeal.java:116) + at cn.org.bjca.hsm.client.security.sdf.SDFSecurityEngineDeal.SDF_OpenDevice(SDFSecurityEngineDeal.java:134) + at cn.org.bjca.chaos.jce.provider.BJCAJCEProvider.(BJCAJCEProvider.java:175) + at com.zky.bjca.SM4.SM4Decrypt(SM4.java:113) + at org.apache.jsp.zhyw.smry.rylz.LeaveState_jsp._jspService(LeaveState_jsp.java:405) + at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70) + at javax.servlet.http.HttpServlet.service(HttpServlet.java:729) + at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:438) + at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:396) + at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:340) + at javax.servlet.http.HttpServlet.service(HttpServlet.java:729) + at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:292) + at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:207) + at org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:52) + at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:240) + at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:207) + at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:716) + at org.apache.catalina.core.ApplicationDispatcher.processRequest(ApplicationDispatcher.java:466) + at org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:391) + at org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:318) + at com.zky.zhyw.smry.LeaveManageServlet.queryLeaveState(LeaveManageServlet.java:263) + at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) + at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) + at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) + at java.lang.reflect.Method.invoke(Method.java:498) + at com.zky.pub.DispatchServlet.doPost(DispatchServlet.java:39) + at com.zky.pub.DispatchServlet.doGet(DispatchServlet.java:26) + at javax.servlet.http.HttpServlet.service(HttpServlet.java:622) + at javax.servlet.http.HttpServlet.service(HttpServlet.java:729) + at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:292) + at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:207) + at org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:52) + at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:240) + at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:207) + at com.zky.pub.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:70) + at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:240) + at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:207) + at com.zky.util.CharFilter.doFilter(CharFilter.java:41) + at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:240) + at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:207) + at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:212) + at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:94) + at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:141) + at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:79) + at org.apache.catalina.valves.AbstractAccessLogValve.invoke(AbstractAccessLogValve.java:620) + at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:88) + at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:502) + at org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1132) + at org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:684) + at org.apache.tomcat.util.net.AprEndpoint$SocketProcessor.doRun(AprEndpoint.java:2527) + at org.apache.tomcat.util.net.AprEndpoint$SocketProcessor.run(AprEndpoint.java:2516) + at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149) + at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624) + at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61) + at java.lang.Thread.run(Thread.java:750) + +INFO [2023-12-22 14:22:12 807] 10.10.3.2_8000Чconnect timed out +INFO [2023-12-22 14:22:14 829] 10.10.3.2_8000Чconnect timed out +INFO [2023-12-22 14:22:14 865] Connection error! Please check network connections or client config! +INFO [2023-12-22 14:22:14 865] java.lang.RuntimeException: There is no any instance of Remote Service, please check Server or Client config ! + at cn.org.bjca.framework.socket.client.impl.loadbalance.DefaultHostSelector.select(DefaultHostSelector.java:69) + at cn.org.bjca.framework.socket.client.impl.NioClientImpl.selectInstance(NioClientImpl.java:303) + at cn.org.bjca.framework.socket.client.impl.NioClientImpl.send(NioClientImpl.java:366) + at cn.org.bjca.framework.socket.client.impl.NioClientImpl.send(NioClientImpl.java:357) + at cn.org.bjca.hsm.client.manager.MsgManager.sendAndReceiveMsg(MsgManager.java:43) + at cn.org.bjca.hsm.client.security.sdf.SDFDefaultSecurityEngine.getActiveThreadNum(SDFDefaultSecurityEngine.java:39) + at cn.org.bjca.hsm.client.security.sdf.SDFSecurityEngineDeal.SDF_getInstance(SDFSecurityEngineDeal.java:116) + at cn.org.bjca.hsm.client.security.sdf.SDFSecurityEngineDeal.SDF_OpenDevice(SDFSecurityEngineDeal.java:134) + at cn.org.bjca.chaos.jce.provider.BJCAJCEProvider.(BJCAJCEProvider.java:175) + at com.zky.bjca.SM4.SM4Decrypt(SM4.java:113) + at org.apache.jsp.zhyw.smry.rypx.TrainManage_jsp._jspService(TrainManage_jsp.java:628) + at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70) + at javax.servlet.http.HttpServlet.service(HttpServlet.java:729) + at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:438) + at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:396) + at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:340) + at javax.servlet.http.HttpServlet.service(HttpServlet.java:729) + at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:292) + at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:207) + at org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:52) + at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:240) + at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:207) + at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:716) + at org.apache.catalina.core.ApplicationDispatcher.processRequest(ApplicationDispatcher.java:466) + at org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:391) + at org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:318) + at com.zky.zhyw.smpx.TrainManageServlet.queryTrain(TrainManageServlet.java:625) + at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) + at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) + at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) + at java.lang.reflect.Method.invoke(Method.java:498) + at com.zky.pub.DispatchServlet.doPost(DispatchServlet.java:39) + at com.zky.pub.DispatchServlet.doGet(DispatchServlet.java:26) + at javax.servlet.http.HttpServlet.service(HttpServlet.java:622) + at javax.servlet.http.HttpServlet.service(HttpServlet.java:729) + at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:292) + at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:207) + at org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:52) + at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:240) + at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:207) + at com.zky.pub.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:70) + at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:240) + at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:207) + at com.zky.util.CharFilter.doFilter(CharFilter.java:41) + at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:240) + at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:207) + at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:212) + at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:94) + at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:141) + at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:79) + at org.apache.catalina.valves.AbstractAccessLogValve.invoke(AbstractAccessLogValve.java:620) + at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:88) + at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:502) + at org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1132) + at org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:684) + at org.apache.tomcat.util.net.AprEndpoint$SocketProcessor.doRun(AprEndpoint.java:2527) + at org.apache.tomcat.util.net.AprEndpoint$SocketProcessor.run(AprEndpoint.java:2516) + at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149) + at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624) + at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61) + at java.lang.Thread.run(Thread.java:750) + +INFO [2023-12-22 14:22:14 878] Connection error! Please check network connections or client config! +INFO [2023-12-22 14:22:14 879] java.lang.RuntimeException: There is no any instance of Remote Service, please check Server or Client config ! + at cn.org.bjca.framework.socket.client.impl.loadbalance.DefaultHostSelector.select(DefaultHostSelector.java:69) + at cn.org.bjca.framework.socket.client.impl.NioClientImpl.selectInstance(NioClientImpl.java:303) + at cn.org.bjca.framework.socket.client.impl.NioClientImpl.send(NioClientImpl.java:366) + at cn.org.bjca.framework.socket.client.impl.NioClientImpl.send(NioClientImpl.java:357) + at cn.org.bjca.hsm.client.manager.MsgManager.sendAndReceiveMsg(MsgManager.java:43) + at cn.org.bjca.hsm.client.security.sdf.SDFDefaultSecurityEngine.getActiveThreadNum(SDFDefaultSecurityEngine.java:39) + at cn.org.bjca.hsm.client.security.sdf.SDFSecurityEngineDeal.SDF_getInstance(SDFSecurityEngineDeal.java:116) + at cn.org.bjca.hsm.client.security.sdf.SDFSecurityEngineDeal.SDF_OpenDevice(SDFSecurityEngineDeal.java:134) + at cn.org.bjca.chaos.jce.provider.BJCAJCEProvider.(BJCAJCEProvider.java:175) + at com.zky.bjca.SM4.SM4Decrypt(SM4.java:113) + at org.apache.jsp.zhyw.smry.rypx.TrainManage_jsp._jspService(TrainManage_jsp.java:628) + at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70) + at javax.servlet.http.HttpServlet.service(HttpServlet.java:729) + at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:438) + at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:396) + at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:340) + at javax.servlet.http.HttpServlet.service(HttpServlet.java:729) + at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:292) + at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:207) + at org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:52) + at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:240) + at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:207) + at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:716) + at org.apache.catalina.core.ApplicationDispatcher.processRequest(ApplicationDispatcher.java:466) + at org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:391) + at org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:318) + at com.zky.zhyw.smpx.TrainManageServlet.queryTrain(TrainManageServlet.java:625) + at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) + at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) + at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) + at java.lang.reflect.Method.invoke(Method.java:498) + at com.zky.pub.DispatchServlet.doPost(DispatchServlet.java:39) + at com.zky.pub.DispatchServlet.doGet(DispatchServlet.java:26) + at javax.servlet.http.HttpServlet.service(HttpServlet.java:622) + at javax.servlet.http.HttpServlet.service(HttpServlet.java:729) + at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:292) + at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:207) + at org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:52) + at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:240) + at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:207) + at com.zky.pub.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:70) + at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:240) + at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:207) + at com.zky.util.CharFilter.doFilter(CharFilter.java:41) + at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:240) + at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:207) + at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:212) + at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:94) + at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:141) + at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:79) + at org.apache.catalina.valves.AbstractAccessLogValve.invoke(AbstractAccessLogValve.java:620) + at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:88) + at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:502) + at org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1132) + at org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:684) + at org.apache.tomcat.util.net.AprEndpoint$SocketProcessor.doRun(AprEndpoint.java:2527) + at org.apache.tomcat.util.net.AprEndpoint$SocketProcessor.run(AprEndpoint.java:2516) + at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149) + at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624) + at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61) + at java.lang.Thread.run(Thread.java:750) + +INFO [2023-12-22 14:22:14 904] Connection error! Please check network connections or client config! +INFO [2023-12-22 14:22:14 904] java.lang.RuntimeException: There is no any instance of Remote Service, please check Server or Client config ! + at cn.org.bjca.framework.socket.client.impl.loadbalance.DefaultHostSelector.select(DefaultHostSelector.java:69) + at cn.org.bjca.framework.socket.client.impl.NioClientImpl.selectInstance(NioClientImpl.java:303) + at cn.org.bjca.framework.socket.client.impl.NioClientImpl.send(NioClientImpl.java:366) + at cn.org.bjca.framework.socket.client.impl.NioClientImpl.send(NioClientImpl.java:357) + at cn.org.bjca.hsm.client.manager.MsgManager.sendAndReceiveMsg(MsgManager.java:43) + at cn.org.bjca.hsm.client.security.sdf.SDFDefaultSecurityEngine.getActiveThreadNum(SDFDefaultSecurityEngine.java:39) + at cn.org.bjca.hsm.client.security.sdf.SDFSecurityEngineDeal.SDF_getInstance(SDFSecurityEngineDeal.java:116) + at cn.org.bjca.hsm.client.security.sdf.SDFSecurityEngineDeal.SDF_OpenDevice(SDFSecurityEngineDeal.java:134) + at cn.org.bjca.chaos.jce.provider.BJCAJCEProvider.(BJCAJCEProvider.java:175) + at com.zky.bjca.SM4.SM4Decrypt(SM4.java:113) + at org.apache.jsp.zhyw.smry.rypx.TrainManage_jsp._jspService(TrainManage_jsp.java:628) + at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70) + at javax.servlet.http.HttpServlet.service(HttpServlet.java:729) + at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:438) + at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:396) + at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:340) + at javax.servlet.http.HttpServlet.service(HttpServlet.java:729) + at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:292) + at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:207) + at org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:52) + at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:240) + at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:207) + at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:716) + at org.apache.catalina.core.ApplicationDispatcher.processRequest(ApplicationDispatcher.java:466) + at org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:391) + at org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:318) + at com.zky.zhyw.smpx.TrainManageServlet.queryTrain(TrainManageServlet.java:625) + at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) + at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) + at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) + at java.lang.reflect.Method.invoke(Method.java:498) + at com.zky.pub.DispatchServlet.doPost(DispatchServlet.java:39) + at com.zky.pub.DispatchServlet.doGet(DispatchServlet.java:26) + at javax.servlet.http.HttpServlet.service(HttpServlet.java:622) + at javax.servlet.http.HttpServlet.service(HttpServlet.java:729) + at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:292) + at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:207) + at org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:52) + at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:240) + at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:207) + at com.zky.pub.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:70) + at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:240) + at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:207) + at com.zky.util.CharFilter.doFilter(CharFilter.java:41) + at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:240) + at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:207) + at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:212) + at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:94) + at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:141) + at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:79) + at org.apache.catalina.valves.AbstractAccessLogValve.invoke(AbstractAccessLogValve.java:620) + at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:88) + at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:502) + at org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1132) + at org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:684) + at org.apache.tomcat.util.net.AprEndpoint$SocketProcessor.doRun(AprEndpoint.java:2527) + at org.apache.tomcat.util.net.AprEndpoint$SocketProcessor.run(AprEndpoint.java:2516) + at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149) + at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624) + at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61) + at java.lang.Thread.run(Thread.java:750) + +INFO [2023-12-22 14:22:19 241] Connection error! Please check network connections or client config! +INFO [2023-12-22 14:22:19 242] java.lang.RuntimeException: There is no any instance of Remote Service, please check Server or Client config ! + at cn.org.bjca.framework.socket.client.impl.loadbalance.DefaultHostSelector.select(DefaultHostSelector.java:69) + at cn.org.bjca.framework.socket.client.impl.NioClientImpl.selectInstance(NioClientImpl.java:303) + at cn.org.bjca.framework.socket.client.impl.NioClientImpl.send(NioClientImpl.java:366) + at cn.org.bjca.framework.socket.client.impl.NioClientImpl.send(NioClientImpl.java:357) + at cn.org.bjca.hsm.client.manager.MsgManager.sendAndReceiveMsg(MsgManager.java:43) + at cn.org.bjca.hsm.client.security.sdf.SDFDefaultSecurityEngine.getActiveThreadNum(SDFDefaultSecurityEngine.java:39) + at cn.org.bjca.hsm.client.security.sdf.SDFSecurityEngineDeal.SDF_getInstance(SDFSecurityEngineDeal.java:116) + at cn.org.bjca.hsm.client.security.sdf.SDFSecurityEngineDeal.SDF_OpenDevice(SDFSecurityEngineDeal.java:134) + at cn.org.bjca.chaos.jce.provider.BJCAJCEProvider.(BJCAJCEProvider.java:175) + at com.zky.bjca.SM4.SM4Decrypt(SM4.java:113) + at org.apache.jsp.zhyw.smry.rypx.TrainShowInfo_jsp._jspService(TrainShowInfo_jsp.java:472) + at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70) + at javax.servlet.http.HttpServlet.service(HttpServlet.java:729) + at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:438) + at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:396) + at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:340) + at javax.servlet.http.HttpServlet.service(HttpServlet.java:729) + at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:292) + at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:207) + at org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:52) + at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:240) + at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:207) + at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:716) + at org.apache.catalina.core.ApplicationDispatcher.processRequest(ApplicationDispatcher.java:466) + at org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:391) + at org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:318) + at com.zky.zhyw.smpx.TrainManageServlet.queryTrainShowById(TrainManageServlet.java:665) + at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) + at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) + at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) + at java.lang.reflect.Method.invoke(Method.java:498) + at com.zky.pub.DispatchServlet.doPost(DispatchServlet.java:39) + at com.zky.pub.DispatchServlet.doGet(DispatchServlet.java:26) + at javax.servlet.http.HttpServlet.service(HttpServlet.java:622) + at javax.servlet.http.HttpServlet.service(HttpServlet.java:729) + at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:292) + at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:207) + at org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:52) + at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:240) + at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:207) + at com.zky.pub.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:70) + at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:240) + at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:207) + at com.zky.util.CharFilter.doFilter(CharFilter.java:41) + at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:240) + at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:207) + at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:212) + at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:94) + at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:141) + at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:79) + at org.apache.catalina.valves.AbstractAccessLogValve.invoke(AbstractAccessLogValve.java:620) + at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:88) + at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:502) + at org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1132) + at org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:684) + at org.apache.tomcat.util.net.AprEndpoint$SocketProcessor.doRun(AprEndpoint.java:2527) + at org.apache.tomcat.util.net.AprEndpoint$SocketProcessor.run(AprEndpoint.java:2516) + at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149) + at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624) + at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61) + at java.lang.Thread.run(Thread.java:750) + +INFO [2023-12-22 14:23:03 661] Connection error! Please check network connections or client config! +INFO [2023-12-22 14:23:03 661] java.lang.RuntimeException: There is no any instance of Remote Service, please check Server or Client config ! + at cn.org.bjca.framework.socket.client.impl.loadbalance.DefaultHostSelector.select(DefaultHostSelector.java:69) + at cn.org.bjca.framework.socket.client.impl.NioClientImpl.selectInstance(NioClientImpl.java:303) + at cn.org.bjca.framework.socket.client.impl.NioClientImpl.send(NioClientImpl.java:366) + at cn.org.bjca.framework.socket.client.impl.NioClientImpl.send(NioClientImpl.java:357) + at cn.org.bjca.hsm.client.manager.MsgManager.sendAndReceiveMsg(MsgManager.java:43) + at cn.org.bjca.hsm.client.security.sdf.SDFDefaultSecurityEngine.getActiveThreadNum(SDFDefaultSecurityEngine.java:39) + at cn.org.bjca.hsm.client.security.sdf.SDFSecurityEngineDeal.SDF_getInstance(SDFSecurityEngineDeal.java:116) + at cn.org.bjca.hsm.client.security.sdf.SDFSecurityEngineDeal.SDF_OpenDevice(SDFSecurityEngineDeal.java:134) + at cn.org.bjca.chaos.jce.provider.BJCAJCEProvider.(BJCAJCEProvider.java:175) + at com.zky.bjca.SM4.SM4Decrypt(SM4.java:113) + at org.apache.jsp.zhyw.smry.rylz.LeaveState_jsp._jspService(LeaveState_jsp.java:405) + at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70) + at javax.servlet.http.HttpServlet.service(HttpServlet.java:729) + at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:438) + at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:396) + at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:340) + at javax.servlet.http.HttpServlet.service(HttpServlet.java:729) + at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:292) + at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:207) + at org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:52) + at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:240) + at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:207) + at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:716) + at org.apache.catalina.core.ApplicationDispatcher.processRequest(ApplicationDispatcher.java:466) + at org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:391) + at org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:318) + at com.zky.zhyw.smry.LeaveManageServlet.queryLeaveState(LeaveManageServlet.java:263) + at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) + at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) + at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) + at java.lang.reflect.Method.invoke(Method.java:498) + at com.zky.pub.DispatchServlet.doPost(DispatchServlet.java:39) + at com.zky.pub.DispatchServlet.doGet(DispatchServlet.java:26) + at javax.servlet.http.HttpServlet.service(HttpServlet.java:622) + at javax.servlet.http.HttpServlet.service(HttpServlet.java:729) + at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:292) + at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:207) + at org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:52) + at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:240) + at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:207) + at com.zky.pub.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:70) + at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:240) + at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:207) + at com.zky.util.CharFilter.doFilter(CharFilter.java:41) + at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:240) + at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:207) + at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:212) + at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:94) + at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:141) + at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:79) + at org.apache.catalina.valves.AbstractAccessLogValve.invoke(AbstractAccessLogValve.java:620) + at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:88) + at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:502) + at org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1132) + at org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:684) + at org.apache.tomcat.util.net.AprEndpoint$SocketProcessor.doRun(AprEndpoint.java:2527) + at org.apache.tomcat.util.net.AprEndpoint$SocketProcessor.run(AprEndpoint.java:2516) + at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149) + at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624) + at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61) + at java.lang.Thread.run(Thread.java:750) + +INFO [2023-12-22 14:23:07 524] Connection error! Please check network connections or client config! +INFO [2023-12-22 14:23:07 524] java.lang.RuntimeException: There is no any instance of Remote Service, please check Server or Client config ! + at cn.org.bjca.framework.socket.client.impl.loadbalance.DefaultHostSelector.select(DefaultHostSelector.java:69) + at cn.org.bjca.framework.socket.client.impl.NioClientImpl.selectInstance(NioClientImpl.java:303) + at cn.org.bjca.framework.socket.client.impl.NioClientImpl.send(NioClientImpl.java:366) + at cn.org.bjca.framework.socket.client.impl.NioClientImpl.send(NioClientImpl.java:357) + at cn.org.bjca.hsm.client.manager.MsgManager.sendAndReceiveMsg(MsgManager.java:43) + at cn.org.bjca.hsm.client.security.sdf.SDFDefaultSecurityEngine.getActiveThreadNum(SDFDefaultSecurityEngine.java:39) + at cn.org.bjca.hsm.client.security.sdf.SDFSecurityEngineDeal.SDF_getInstance(SDFSecurityEngineDeal.java:116) + at cn.org.bjca.hsm.client.security.sdf.SDFSecurityEngineDeal.SDF_OpenDevice(SDFSecurityEngineDeal.java:134) + at cn.org.bjca.chaos.jce.provider.BJCAJCEProvider.(BJCAJCEProvider.java:175) + at com.zky.bjca.SM4.SM4Decrypt(SM4.java:113) + at org.apache.jsp.zhyw.smry.rylz.LeaveState_jsp._jspService(LeaveState_jsp.java:405) + at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70) + at javax.servlet.http.HttpServlet.service(HttpServlet.java:729) + at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:438) + at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:396) + at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:340) + at javax.servlet.http.HttpServlet.service(HttpServlet.java:729) + at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:292) + at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:207) + at org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:52) + at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:240) + at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:207) + at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:716) + at org.apache.catalina.core.ApplicationDispatcher.processRequest(ApplicationDispatcher.java:466) + at org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:391) + at org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:318) + at com.zky.zhyw.smry.LeaveManageServlet.queryLeaveState(LeaveManageServlet.java:263) + at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) + at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) + at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) + at java.lang.reflect.Method.invoke(Method.java:498) + at com.zky.pub.DispatchServlet.doPost(DispatchServlet.java:39) + at com.zky.pub.DispatchServlet.doGet(DispatchServlet.java:26) + at javax.servlet.http.HttpServlet.service(HttpServlet.java:622) + at javax.servlet.http.HttpServlet.service(HttpServlet.java:729) + at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:292) + at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:207) + at org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:52) + at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:240) + at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:207) + at com.zky.pub.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:70) + at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:240) + at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:207) + at com.zky.util.CharFilter.doFilter(CharFilter.java:41) + at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:240) + at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:207) + at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:212) + at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:94) + at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:141) + at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:79) + at org.apache.catalina.valves.AbstractAccessLogValve.invoke(AbstractAccessLogValve.java:620) + at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:88) + at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:502) + at org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1132) + at org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:684) + at org.apache.tomcat.util.net.AprEndpoint$SocketProcessor.doRun(AprEndpoint.java:2527) + at org.apache.tomcat.util.net.AprEndpoint$SocketProcessor.run(AprEndpoint.java:2516) + at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149) + at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624) + at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61) + at java.lang.Thread.run(Thread.java:750) + +INFO [2023-12-22 15:37:14 567] 10.10.3.2_8000Чconnect timed out +INFO [2023-12-22 15:37:16 583] 10.10.3.2_8000Чconnect timed out +INFO [2023-12-22 15:37:16 626] Connection error! Please check network connections or client config! +INFO [2023-12-22 15:37:16 627] java.lang.RuntimeException: There is no any instance of Remote Service, please check Server or Client config ! + at cn.org.bjca.framework.socket.client.impl.loadbalance.DefaultHostSelector.select(DefaultHostSelector.java:69) + at cn.org.bjca.framework.socket.client.impl.NioClientImpl.selectInstance(NioClientImpl.java:303) + at cn.org.bjca.framework.socket.client.impl.NioClientImpl.send(NioClientImpl.java:366) + at cn.org.bjca.framework.socket.client.impl.NioClientImpl.send(NioClientImpl.java:357) + at cn.org.bjca.hsm.client.manager.MsgManager.sendAndReceiveMsg(MsgManager.java:43) + at cn.org.bjca.hsm.client.security.sdf.SDFDefaultSecurityEngine.getActiveThreadNum(SDFDefaultSecurityEngine.java:39) + at cn.org.bjca.hsm.client.security.sdf.SDFSecurityEngineDeal.SDF_getInstance(SDFSecurityEngineDeal.java:116) + at cn.org.bjca.hsm.client.security.sdf.SDFSecurityEngineDeal.SDF_OpenDevice(SDFSecurityEngineDeal.java:134) + at cn.org.bjca.chaos.jce.provider.BJCAJCEProvider.(BJCAJCEProvider.java:175) + at com.zky.bjca.SM4.SM4Decrypt(SM4.java:113) + at org.apache.jsp.zhyw.smry.rypx.TrainManage_jsp._jspService(TrainManage_jsp.java:628) + at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70) + at javax.servlet.http.HttpServlet.service(HttpServlet.java:729) + at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:438) + at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:396) + at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:340) + at javax.servlet.http.HttpServlet.service(HttpServlet.java:729) + at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:292) + at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:207) + at org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:52) + at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:240) + at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:207) + at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:716) + at org.apache.catalina.core.ApplicationDispatcher.processRequest(ApplicationDispatcher.java:466) + at org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:391) + at org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:318) + at com.zky.zhyw.smpx.TrainManageServlet.queryTrain(TrainManageServlet.java:625) + at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) + at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) + at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) + at java.lang.reflect.Method.invoke(Method.java:498) + at com.zky.pub.DispatchServlet.doPost(DispatchServlet.java:39) + at com.zky.pub.DispatchServlet.doGet(DispatchServlet.java:26) + at javax.servlet.http.HttpServlet.service(HttpServlet.java:622) + at javax.servlet.http.HttpServlet.service(HttpServlet.java:729) + at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:292) + at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:207) + at org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:52) + at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:240) + at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:207) + at com.zky.pub.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:70) + at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:240) + at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:207) + at com.zky.util.CharFilter.doFilter(CharFilter.java:41) + at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:240) + at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:207) + at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:212) + at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:94) + at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:141) + at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:79) + at org.apache.catalina.valves.AbstractAccessLogValve.invoke(AbstractAccessLogValve.java:620) + at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:88) + at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:502) + at org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1132) + at org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:684) + at org.apache.tomcat.util.net.AprEndpoint$SocketProcessor.doRun(AprEndpoint.java:2527) + at org.apache.tomcat.util.net.AprEndpoint$SocketProcessor.run(AprEndpoint.java:2516) + at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149) + at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624) + at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61) + at java.lang.Thread.run(Thread.java:750) + +INFO [2023-12-22 15:37:16 638] Connection error! Please check network connections or client config! +INFO [2023-12-22 15:37:16 638] java.lang.RuntimeException: There is no any instance of Remote Service, please check Server or Client config ! + at cn.org.bjca.framework.socket.client.impl.loadbalance.DefaultHostSelector.select(DefaultHostSelector.java:69) + at cn.org.bjca.framework.socket.client.impl.NioClientImpl.selectInstance(NioClientImpl.java:303) + at cn.org.bjca.framework.socket.client.impl.NioClientImpl.send(NioClientImpl.java:366) + at cn.org.bjca.framework.socket.client.impl.NioClientImpl.send(NioClientImpl.java:357) + at cn.org.bjca.hsm.client.manager.MsgManager.sendAndReceiveMsg(MsgManager.java:43) + at cn.org.bjca.hsm.client.security.sdf.SDFDefaultSecurityEngine.getActiveThreadNum(SDFDefaultSecurityEngine.java:39) + at cn.org.bjca.hsm.client.security.sdf.SDFSecurityEngineDeal.SDF_getInstance(SDFSecurityEngineDeal.java:116) + at cn.org.bjca.hsm.client.security.sdf.SDFSecurityEngineDeal.SDF_OpenDevice(SDFSecurityEngineDeal.java:134) + at cn.org.bjca.chaos.jce.provider.BJCAJCEProvider.(BJCAJCEProvider.java:175) + at com.zky.bjca.SM4.SM4Decrypt(SM4.java:113) + at org.apache.jsp.zhyw.smry.rypx.TrainManage_jsp._jspService(TrainManage_jsp.java:628) + at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70) + at javax.servlet.http.HttpServlet.service(HttpServlet.java:729) + at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:438) + at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:396) + at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:340) + at javax.servlet.http.HttpServlet.service(HttpServlet.java:729) + at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:292) + at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:207) + at org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:52) + at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:240) + at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:207) + at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:716) + at org.apache.catalina.core.ApplicationDispatcher.processRequest(ApplicationDispatcher.java:466) + at org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:391) + at org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:318) + at com.zky.zhyw.smpx.TrainManageServlet.queryTrain(TrainManageServlet.java:625) + at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) + at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) + at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) + at java.lang.reflect.Method.invoke(Method.java:498) + at com.zky.pub.DispatchServlet.doPost(DispatchServlet.java:39) + at com.zky.pub.DispatchServlet.doGet(DispatchServlet.java:26) + at javax.servlet.http.HttpServlet.service(HttpServlet.java:622) + at javax.servlet.http.HttpServlet.service(HttpServlet.java:729) + at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:292) + at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:207) + at org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:52) + at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:240) + at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:207) + at com.zky.pub.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:70) + at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:240) + at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:207) + at com.zky.util.CharFilter.doFilter(CharFilter.java:41) + at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:240) + at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:207) + at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:212) + at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:94) + at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:141) + at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:79) + at org.apache.catalina.valves.AbstractAccessLogValve.invoke(AbstractAccessLogValve.java:620) + at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:88) + at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:502) + at org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1132) + at org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:684) + at org.apache.tomcat.util.net.AprEndpoint$SocketProcessor.doRun(AprEndpoint.java:2527) + at org.apache.tomcat.util.net.AprEndpoint$SocketProcessor.run(AprEndpoint.java:2516) + at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149) + at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624) + at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61) + at java.lang.Thread.run(Thread.java:750) + +INFO [2023-12-22 15:37:16 644] Connection error! Please check network connections or client config! +INFO [2023-12-22 15:37:16 645] java.lang.RuntimeException: There is no any instance of Remote Service, please check Server or Client config ! + at cn.org.bjca.framework.socket.client.impl.loadbalance.DefaultHostSelector.select(DefaultHostSelector.java:69) + at cn.org.bjca.framework.socket.client.impl.NioClientImpl.selectInstance(NioClientImpl.java:303) + at cn.org.bjca.framework.socket.client.impl.NioClientImpl.send(NioClientImpl.java:366) + at cn.org.bjca.framework.socket.client.impl.NioClientImpl.send(NioClientImpl.java:357) + at cn.org.bjca.hsm.client.manager.MsgManager.sendAndReceiveMsg(MsgManager.java:43) + at cn.org.bjca.hsm.client.security.sdf.SDFDefaultSecurityEngine.getActiveThreadNum(SDFDefaultSecurityEngine.java:39) + at cn.org.bjca.hsm.client.security.sdf.SDFSecurityEngineDeal.SDF_getInstance(SDFSecurityEngineDeal.java:116) + at cn.org.bjca.hsm.client.security.sdf.SDFSecurityEngineDeal.SDF_OpenDevice(SDFSecurityEngineDeal.java:134) + at cn.org.bjca.chaos.jce.provider.BJCAJCEProvider.(BJCAJCEProvider.java:175) + at com.zky.bjca.SM4.SM4Decrypt(SM4.java:113) + at org.apache.jsp.zhyw.smry.rypx.TrainManage_jsp._jspService(TrainManage_jsp.java:628) + at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70) + at javax.servlet.http.HttpServlet.service(HttpServlet.java:729) + at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:438) + at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:396) + at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:340) + at javax.servlet.http.HttpServlet.service(HttpServlet.java:729) + at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:292) + at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:207) + at org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:52) + at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:240) + at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:207) + at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:716) + at org.apache.catalina.core.ApplicationDispatcher.processRequest(ApplicationDispatcher.java:466) + at org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:391) + at org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:318) + at com.zky.zhyw.smpx.TrainManageServlet.queryTrain(TrainManageServlet.java:625) + at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) + at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) + at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) + at java.lang.reflect.Method.invoke(Method.java:498) + at com.zky.pub.DispatchServlet.doPost(DispatchServlet.java:39) + at com.zky.pub.DispatchServlet.doGet(DispatchServlet.java:26) + at javax.servlet.http.HttpServlet.service(HttpServlet.java:622) + at javax.servlet.http.HttpServlet.service(HttpServlet.java:729) + at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:292) + at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:207) + at org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:52) + at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:240) + at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:207) + at com.zky.pub.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:70) + at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:240) + at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:207) + at com.zky.util.CharFilter.doFilter(CharFilter.java:41) + at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:240) + at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:207) + at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:212) + at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:94) + at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:141) + at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:79) + at org.apache.catalina.valves.AbstractAccessLogValve.invoke(AbstractAccessLogValve.java:620) + at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:88) + at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:502) + at org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1132) + at org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:684) + at org.apache.tomcat.util.net.AprEndpoint$SocketProcessor.doRun(AprEndpoint.java:2527) + at org.apache.tomcat.util.net.AprEndpoint$SocketProcessor.run(AprEndpoint.java:2516) + at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149) + at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624) + at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61) + at java.lang.Thread.run(Thread.java:750) + +INFO [2023-12-22 17:17:13 932] 10.10.3.2_8000Чconnect timed out +INFO [2023-12-22 17:17:15 961] 10.10.3.2_8000Чconnect timed out +INFO [2023-12-22 17:17:15 989] Connection error! Please check network connections or client config! +INFO [2023-12-22 17:17:15 990] java.lang.RuntimeException: There is no any instance of Remote Service, please check Server or Client config ! + at cn.org.bjca.framework.socket.client.impl.loadbalance.DefaultHostSelector.select(DefaultHostSelector.java:69) + at cn.org.bjca.framework.socket.client.impl.NioClientImpl.selectInstance(NioClientImpl.java:303) + at cn.org.bjca.framework.socket.client.impl.NioClientImpl.send(NioClientImpl.java:366) + at cn.org.bjca.framework.socket.client.impl.NioClientImpl.send(NioClientImpl.java:357) + at cn.org.bjca.hsm.client.manager.MsgManager.sendAndReceiveMsg(MsgManager.java:43) + at cn.org.bjca.hsm.client.security.sdf.SDFDefaultSecurityEngine.getActiveThreadNum(SDFDefaultSecurityEngine.java:39) + at cn.org.bjca.hsm.client.security.sdf.SDFSecurityEngineDeal.SDF_getInstance(SDFSecurityEngineDeal.java:116) + at cn.org.bjca.hsm.client.security.sdf.SDFSecurityEngineDeal.SDF_OpenDevice(SDFSecurityEngineDeal.java:134) + at cn.org.bjca.chaos.jce.provider.BJCAJCEProvider.(BJCAJCEProvider.java:175) + at com.zky.bjca.SM4.SM4Decrypt(SM4.java:113) + at org.apache.jsp.zhyw.smry.rylz.LeaveUpdate_jsp._jspService(LeaveUpdate_jsp.java:392) + at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70) + at javax.servlet.http.HttpServlet.service(HttpServlet.java:729) + at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:438) + at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:396) + at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:340) + at javax.servlet.http.HttpServlet.service(HttpServlet.java:729) + at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:292) + at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:207) + at org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:52) + at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:240) + at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:207) + at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:716) + at org.apache.catalina.core.ApplicationDispatcher.processRequest(ApplicationDispatcher.java:466) + at org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:391) + at org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:318) + at com.zky.zhyw.smry.LeaveManageServlet.queryLeaveId(LeaveManageServlet.java:332) + at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) + at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) + at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) + at java.lang.reflect.Method.invoke(Method.java:498) + at com.zky.pub.DispatchServlet.doPost(DispatchServlet.java:39) + at com.zky.pub.DispatchServlet.doGet(DispatchServlet.java:26) + at javax.servlet.http.HttpServlet.service(HttpServlet.java:622) + at javax.servlet.http.HttpServlet.service(HttpServlet.java:729) + at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:292) + at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:207) + at org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:52) + at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:240) + at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:207) + at com.zky.pub.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:70) + at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:240) + at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:207) + at com.zky.util.CharFilter.doFilter(CharFilter.java:41) + at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:240) + at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:207) + at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:212) + at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:94) + at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:141) + at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:79) + at org.apache.catalina.valves.AbstractAccessLogValve.invoke(AbstractAccessLogValve.java:620) + at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:88) + at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:502) + at org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1132) + at org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:684) + at org.apache.tomcat.util.net.AprEndpoint$SocketProcessor.doRun(AprEndpoint.java:2527) + at org.apache.tomcat.util.net.AprEndpoint$SocketProcessor.run(AprEndpoint.java:2516) + at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149) + at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624) + at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61) + at java.lang.Thread.run(Thread.java:750) + +INFO [2023-12-22 17:17:15 992] Connection error! Please check network connections or client config! +INFO [2023-12-22 17:17:15 994] java.lang.RuntimeException: There is no any instance of Remote Service, please check Server or Client config ! + at cn.org.bjca.framework.socket.client.impl.loadbalance.DefaultHostSelector.select(DefaultHostSelector.java:69) + at cn.org.bjca.framework.socket.client.impl.NioClientImpl.selectInstance(NioClientImpl.java:303) + at cn.org.bjca.framework.socket.client.impl.NioClientImpl.send(NioClientImpl.java:366) + at cn.org.bjca.framework.socket.client.impl.NioClientImpl.send(NioClientImpl.java:357) + at cn.org.bjca.hsm.client.manager.MsgManager.sendAndReceiveMsg(MsgManager.java:43) + at cn.org.bjca.hsm.client.security.sdf.SDFDefaultSecurityEngine.getActiveThreadNum(SDFDefaultSecurityEngine.java:39) + at cn.org.bjca.hsm.client.security.sdf.SDFSecurityEngineDeal.SDF_getInstance(SDFSecurityEngineDeal.java:116) + at cn.org.bjca.hsm.client.security.sdf.SDFSecurityEngineDeal.SDF_OpenDevice(SDFSecurityEngineDeal.java:134) + at cn.org.bjca.chaos.jce.provider.BJCAJCEProvider.(BJCAJCEProvider.java:175) + at com.zky.bjca.SM4.SM4Decrypt(SM4.java:113) + at org.apache.jsp.zhyw.smry.rylz.LeaveUpdate_jsp._jspService(LeaveUpdate_jsp.java:392) + at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70) + at javax.servlet.http.HttpServlet.service(HttpServlet.java:729) + at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:438) + at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:396) + at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:340) + at javax.servlet.http.HttpServlet.service(HttpServlet.java:729) + at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:292) + at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:207) + at org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:52) + at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:240) + at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:207) + at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:716) + at org.apache.catalina.core.ApplicationDispatcher.processRequest(ApplicationDispatcher.java:466) + at org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:391) + at org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:318) + at com.zky.zhyw.smry.LeaveManageServlet.queryLeaveId(LeaveManageServlet.java:332) + at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) + at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) + at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) + at java.lang.reflect.Method.invoke(Method.java:498) + at com.zky.pub.DispatchServlet.doPost(DispatchServlet.java:39) + at com.zky.pub.DispatchServlet.doGet(DispatchServlet.java:26) + at javax.servlet.http.HttpServlet.service(HttpServlet.java:622) + at javax.servlet.http.HttpServlet.service(HttpServlet.java:729) + at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:292) + at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:207) + at org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:52) + at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:240) + at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:207) + at com.zky.pub.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:70) + at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:240) + at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:207) + at com.zky.util.CharFilter.doFilter(CharFilter.java:41) + at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:240) + at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:207) + at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:212) + at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:94) + at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:141) + at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:79) + at org.apache.catalina.valves.AbstractAccessLogValve.invoke(AbstractAccessLogValve.java:620) + at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:88) + at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:502) + at org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1132) + at org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:684) + at org.apache.tomcat.util.net.AprEndpoint$SocketProcessor.doRun(AprEndpoint.java:2527) + at org.apache.tomcat.util.net.AprEndpoint$SocketProcessor.run(AprEndpoint.java:2516) + at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149) + at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624) + at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61) + at java.lang.Thread.run(Thread.java:750) + +INFO [2023-12-22 17:17:25 138] Connection error! Please check network connections or client config! +INFO [2023-12-22 17:17:25 139] java.lang.RuntimeException: There is no any instance of Remote Service, please check Server or Client config ! + at cn.org.bjca.framework.socket.client.impl.loadbalance.DefaultHostSelector.select(DefaultHostSelector.java:69) + at cn.org.bjca.framework.socket.client.impl.NioClientImpl.selectInstance(NioClientImpl.java:303) + at cn.org.bjca.framework.socket.client.impl.NioClientImpl.send(NioClientImpl.java:366) + at cn.org.bjca.framework.socket.client.impl.NioClientImpl.send(NioClientImpl.java:357) + at cn.org.bjca.hsm.client.manager.MsgManager.sendAndReceiveMsg(MsgManager.java:43) + at cn.org.bjca.hsm.client.security.sdf.SDFDefaultSecurityEngine.getActiveThreadNum(SDFDefaultSecurityEngine.java:39) + at cn.org.bjca.hsm.client.security.sdf.SDFSecurityEngineDeal.SDF_getInstance(SDFSecurityEngineDeal.java:116) + at cn.org.bjca.hsm.client.security.sdf.SDFSecurityEngineDeal.SDF_OpenDevice(SDFSecurityEngineDeal.java:134) + at cn.org.bjca.chaos.jce.provider.BJCAJCEProvider.(BJCAJCEProvider.java:175) + at com.zky.bjca.SM4.SM4Decrypt(SM4.java:113) + at org.apache.jsp.zhyw.smry.rylz.LeaveState_jsp._jspService(LeaveState_jsp.java:405) + at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70) + at javax.servlet.http.HttpServlet.service(HttpServlet.java:729) + at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:438) + at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:396) + at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:340) + at javax.servlet.http.HttpServlet.service(HttpServlet.java:729) + at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:292) + at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:207) + at org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:52) + at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:240) + at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:207) + at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:716) + at org.apache.catalina.core.ApplicationDispatcher.processRequest(ApplicationDispatcher.java:466) + at org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:391) + at org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:318) + at com.zky.zhyw.smry.LeaveManageServlet.queryLeaveState(LeaveManageServlet.java:263) + at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) + at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) + at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) + at java.lang.reflect.Method.invoke(Method.java:498) + at com.zky.pub.DispatchServlet.doPost(DispatchServlet.java:39) + at com.zky.pub.DispatchServlet.doGet(DispatchServlet.java:26) + at javax.servlet.http.HttpServlet.service(HttpServlet.java:622) + at javax.servlet.http.HttpServlet.service(HttpServlet.java:729) + at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:292) + at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:207) + at org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:52) + at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:240) + at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:207) + at com.zky.pub.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:70) + at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:240) + at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:207) + at com.zky.util.CharFilter.doFilter(CharFilter.java:41) + at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:240) + at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:207) + at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:212) + at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:94) + at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:141) + at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:79) + at org.apache.catalina.valves.AbstractAccessLogValve.invoke(AbstractAccessLogValve.java:620) + at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:88) + at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:502) + at org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1132) + at org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:684) + at org.apache.tomcat.util.net.AprEndpoint$SocketProcessor.doRun(AprEndpoint.java:2527) + at org.apache.tomcat.util.net.AprEndpoint$SocketProcessor.run(AprEndpoint.java:2516) + at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149) + at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624) + at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61) + at java.lang.Thread.run(Thread.java:750) + +INFO [2023-12-22 17:17:30 865] Connection error! Please check network connections or client config! +INFO [2023-12-22 17:17:30 866] java.lang.RuntimeException: There is no any instance of Remote Service, please check Server or Client config ! + at cn.org.bjca.framework.socket.client.impl.loadbalance.DefaultHostSelector.select(DefaultHostSelector.java:69) + at cn.org.bjca.framework.socket.client.impl.NioClientImpl.selectInstance(NioClientImpl.java:303) + at cn.org.bjca.framework.socket.client.impl.NioClientImpl.send(NioClientImpl.java:366) + at cn.org.bjca.framework.socket.client.impl.NioClientImpl.send(NioClientImpl.java:357) + at cn.org.bjca.hsm.client.manager.MsgManager.sendAndReceiveMsg(MsgManager.java:43) + at cn.org.bjca.hsm.client.security.sdf.SDFDefaultSecurityEngine.getActiveThreadNum(SDFDefaultSecurityEngine.java:39) + at cn.org.bjca.hsm.client.security.sdf.SDFSecurityEngineDeal.SDF_getInstance(SDFSecurityEngineDeal.java:116) + at cn.org.bjca.hsm.client.security.sdf.SDFSecurityEngineDeal.SDF_OpenDevice(SDFSecurityEngineDeal.java:134) + at cn.org.bjca.chaos.jce.provider.BJCAJCEProvider.(BJCAJCEProvider.java:175) + at com.zky.bjca.SM4.SM4Decrypt(SM4.java:113) + at org.apache.jsp.zhyw.smry.rypx.TrainManage_jsp._jspService(TrainManage_jsp.java:628) + at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70) + at javax.servlet.http.HttpServlet.service(HttpServlet.java:729) + at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:438) + at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:396) + at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:340) + at javax.servlet.http.HttpServlet.service(HttpServlet.java:729) + at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:292) + at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:207) + at org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:52) + at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:240) + at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:207) + at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:716) + at org.apache.catalina.core.ApplicationDispatcher.processRequest(ApplicationDispatcher.java:466) + at org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:391) + at org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:318) + at com.zky.zhyw.smpx.TrainManageServlet.queryTrain(TrainManageServlet.java:625) + at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) + at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) + at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) + at java.lang.reflect.Method.invoke(Method.java:498) + at com.zky.pub.DispatchServlet.doPost(DispatchServlet.java:39) + at com.zky.pub.DispatchServlet.doGet(DispatchServlet.java:26) + at javax.servlet.http.HttpServlet.service(HttpServlet.java:622) + at javax.servlet.http.HttpServlet.service(HttpServlet.java:729) + at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:292) + at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:207) + at org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:52) + at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:240) + at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:207) + at com.zky.pub.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:70) + at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:240) + at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:207) + at com.zky.util.CharFilter.doFilter(CharFilter.java:41) + at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:240) + at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:207) + at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:212) + at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:94) + at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:141) + at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:79) + at org.apache.catalina.valves.AbstractAccessLogValve.invoke(AbstractAccessLogValve.java:620) + at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:88) + at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:502) + at org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1132) + at org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:684) + at org.apache.tomcat.util.net.AprEndpoint$SocketProcessor.doRun(AprEndpoint.java:2527) + at org.apache.tomcat.util.net.AprEndpoint$SocketProcessor.run(AprEndpoint.java:2516) + at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149) + at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624) + at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61) + at java.lang.Thread.run(Thread.java:750) + +INFO [2023-12-22 17:17:30 873] Connection error! Please check network connections or client config! +INFO [2023-12-22 17:17:30 873] java.lang.RuntimeException: There is no any instance of Remote Service, please check Server or Client config ! + at cn.org.bjca.framework.socket.client.impl.loadbalance.DefaultHostSelector.select(DefaultHostSelector.java:69) + at cn.org.bjca.framework.socket.client.impl.NioClientImpl.selectInstance(NioClientImpl.java:303) + at cn.org.bjca.framework.socket.client.impl.NioClientImpl.send(NioClientImpl.java:366) + at cn.org.bjca.framework.socket.client.impl.NioClientImpl.send(NioClientImpl.java:357) + at cn.org.bjca.hsm.client.manager.MsgManager.sendAndReceiveMsg(MsgManager.java:43) + at cn.org.bjca.hsm.client.security.sdf.SDFDefaultSecurityEngine.getActiveThreadNum(SDFDefaultSecurityEngine.java:39) + at cn.org.bjca.hsm.client.security.sdf.SDFSecurityEngineDeal.SDF_getInstance(SDFSecurityEngineDeal.java:116) + at cn.org.bjca.hsm.client.security.sdf.SDFSecurityEngineDeal.SDF_OpenDevice(SDFSecurityEngineDeal.java:134) + at cn.org.bjca.chaos.jce.provider.BJCAJCEProvider.(BJCAJCEProvider.java:175) + at com.zky.bjca.SM4.SM4Decrypt(SM4.java:113) + at org.apache.jsp.zhyw.smry.rypx.TrainManage_jsp._jspService(TrainManage_jsp.java:628) + at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70) + at javax.servlet.http.HttpServlet.service(HttpServlet.java:729) + at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:438) + at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:396) + at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:340) + at javax.servlet.http.HttpServlet.service(HttpServlet.java:729) + at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:292) + at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:207) + at org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:52) + at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:240) + at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:207) + at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:716) + at org.apache.catalina.core.ApplicationDispatcher.processRequest(ApplicationDispatcher.java:466) + at org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:391) + at org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:318) + at com.zky.zhyw.smpx.TrainManageServlet.queryTrain(TrainManageServlet.java:625) + at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) + at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) + at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) + at java.lang.reflect.Method.invoke(Method.java:498) + at com.zky.pub.DispatchServlet.doPost(DispatchServlet.java:39) + at com.zky.pub.DispatchServlet.doGet(DispatchServlet.java:26) + at javax.servlet.http.HttpServlet.service(HttpServlet.java:622) + at javax.servlet.http.HttpServlet.service(HttpServlet.java:729) + at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:292) + at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:207) + at org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:52) + at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:240) + at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:207) + at com.zky.pub.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:70) + at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:240) + at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:207) + at com.zky.util.CharFilter.doFilter(CharFilter.java:41) + at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:240) + at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:207) + at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:212) + at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:94) + at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:141) + at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:79) + at org.apache.catalina.valves.AbstractAccessLogValve.invoke(AbstractAccessLogValve.java:620) + at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:88) + at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:502) + at org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1132) + at org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:684) + at org.apache.tomcat.util.net.AprEndpoint$SocketProcessor.doRun(AprEndpoint.java:2527) + at org.apache.tomcat.util.net.AprEndpoint$SocketProcessor.run(AprEndpoint.java:2516) + at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149) + at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624) + at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61) + at java.lang.Thread.run(Thread.java:750) + +INFO [2023-12-22 17:17:30 889] Connection error! Please check network connections or client config! +INFO [2023-12-22 17:17:30 889] java.lang.RuntimeException: There is no any instance of Remote Service, please check Server or Client config ! + at cn.org.bjca.framework.socket.client.impl.loadbalance.DefaultHostSelector.select(DefaultHostSelector.java:69) + at cn.org.bjca.framework.socket.client.impl.NioClientImpl.selectInstance(NioClientImpl.java:303) + at cn.org.bjca.framework.socket.client.impl.NioClientImpl.send(NioClientImpl.java:366) + at cn.org.bjca.framework.socket.client.impl.NioClientImpl.send(NioClientImpl.java:357) + at cn.org.bjca.hsm.client.manager.MsgManager.sendAndReceiveMsg(MsgManager.java:43) + at cn.org.bjca.hsm.client.security.sdf.SDFDefaultSecurityEngine.getActiveThreadNum(SDFDefaultSecurityEngine.java:39) + at cn.org.bjca.hsm.client.security.sdf.SDFSecurityEngineDeal.SDF_getInstance(SDFSecurityEngineDeal.java:116) + at cn.org.bjca.hsm.client.security.sdf.SDFSecurityEngineDeal.SDF_OpenDevice(SDFSecurityEngineDeal.java:134) + at cn.org.bjca.chaos.jce.provider.BJCAJCEProvider.(BJCAJCEProvider.java:175) + at com.zky.bjca.SM4.SM4Decrypt(SM4.java:113) + at org.apache.jsp.zhyw.smry.rypx.TrainManage_jsp._jspService(TrainManage_jsp.java:628) + at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70) + at javax.servlet.http.HttpServlet.service(HttpServlet.java:729) + at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:438) + at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:396) + at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:340) + at javax.servlet.http.HttpServlet.service(HttpServlet.java:729) + at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:292) + at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:207) + at org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:52) + at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:240) + at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:207) + at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:716) + at org.apache.catalina.core.ApplicationDispatcher.processRequest(ApplicationDispatcher.java:466) + at org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:391) + at org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:318) + at com.zky.zhyw.smpx.TrainManageServlet.queryTrain(TrainManageServlet.java:625) + at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) + at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) + at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) + at java.lang.reflect.Method.invoke(Method.java:498) + at com.zky.pub.DispatchServlet.doPost(DispatchServlet.java:39) + at com.zky.pub.DispatchServlet.doGet(DispatchServlet.java:26) + at javax.servlet.http.HttpServlet.service(HttpServlet.java:622) + at javax.servlet.http.HttpServlet.service(HttpServlet.java:729) + at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:292) + at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:207) + at org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:52) + at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:240) + at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:207) + at com.zky.pub.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:70) + at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:240) + at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:207) + at com.zky.util.CharFilter.doFilter(CharFilter.java:41) + at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:240) + at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:207) + at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:212) + at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:94) + at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:141) + at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:79) + at org.apache.catalina.valves.AbstractAccessLogValve.invoke(AbstractAccessLogValve.java:620) + at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:88) + at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:502) + at org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1132) + at org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:684) + at org.apache.tomcat.util.net.AprEndpoint$SocketProcessor.doRun(AprEndpoint.java:2527) + at org.apache.tomcat.util.net.AprEndpoint$SocketProcessor.run(AprEndpoint.java:2516) + at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149) + at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624) + at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61) + at java.lang.Thread.run(Thread.java:750) + +INFO [2023-12-22 17:17:33 414] Connection error! Please check network connections or client config! +INFO [2023-12-22 17:17:33 414] java.lang.RuntimeException: There is no any instance of Remote Service, please check Server or Client config ! + at cn.org.bjca.framework.socket.client.impl.loadbalance.DefaultHostSelector.select(DefaultHostSelector.java:69) + at cn.org.bjca.framework.socket.client.impl.NioClientImpl.selectInstance(NioClientImpl.java:303) + at cn.org.bjca.framework.socket.client.impl.NioClientImpl.send(NioClientImpl.java:366) + at cn.org.bjca.framework.socket.client.impl.NioClientImpl.send(NioClientImpl.java:357) + at cn.org.bjca.hsm.client.manager.MsgManager.sendAndReceiveMsg(MsgManager.java:43) + at cn.org.bjca.hsm.client.security.sdf.SDFDefaultSecurityEngine.getActiveThreadNum(SDFDefaultSecurityEngine.java:39) + at cn.org.bjca.hsm.client.security.sdf.SDFSecurityEngineDeal.SDF_getInstance(SDFSecurityEngineDeal.java:116) + at cn.org.bjca.hsm.client.security.sdf.SDFSecurityEngineDeal.SDF_OpenDevice(SDFSecurityEngineDeal.java:134) + at cn.org.bjca.chaos.jce.provider.BJCAJCEProvider.(BJCAJCEProvider.java:175) + at com.zky.bjca.SM4.SM4Decrypt(SM4.java:113) + at org.apache.jsp.zhyw.smry.rypx.TrainShowInfo_jsp._jspService(TrainShowInfo_jsp.java:472) + at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70) + at javax.servlet.http.HttpServlet.service(HttpServlet.java:729) + at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:438) + at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:396) + at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:340) + at javax.servlet.http.HttpServlet.service(HttpServlet.java:729) + at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:292) + at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:207) + at org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:52) + at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:240) + at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:207) + at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:716) + at org.apache.catalina.core.ApplicationDispatcher.processRequest(ApplicationDispatcher.java:466) + at org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:391) + at org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:318) + at com.zky.zhyw.smpx.TrainManageServlet.queryTrainShowById(TrainManageServlet.java:665) + at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) + at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) + at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) + at java.lang.reflect.Method.invoke(Method.java:498) + at com.zky.pub.DispatchServlet.doPost(DispatchServlet.java:39) + at com.zky.pub.DispatchServlet.doGet(DispatchServlet.java:26) + at javax.servlet.http.HttpServlet.service(HttpServlet.java:622) + at javax.servlet.http.HttpServlet.service(HttpServlet.java:729) + at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:292) + at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:207) + at org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:52) + at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:240) + at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:207) + at com.zky.pub.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:70) + at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:240) + at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:207) + at com.zky.util.CharFilter.doFilter(CharFilter.java:41) + at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:240) + at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:207) + at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:212) + at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:94) + at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:141) + at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:79) + at org.apache.catalina.valves.AbstractAccessLogValve.invoke(AbstractAccessLogValve.java:620) + at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:88) + at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:502) + at org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1132) + at org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:684) + at org.apache.tomcat.util.net.AprEndpoint$SocketProcessor.doRun(AprEndpoint.java:2527) + at org.apache.tomcat.util.net.AprEndpoint$SocketProcessor.run(AprEndpoint.java:2516) + at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149) + at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624) + at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61) + at java.lang.Thread.run(Thread.java:750) + diff --git a/out/artifacts/zhyw_war_exploded/config/config1/logs/SVSClient_system.log b/out/artifacts/zhyw_war_exploded/config/config1/logs/SVSClient_system.log index 31de706..0837653 100644 --- a/out/artifacts/zhyw_war_exploded/config/config1/logs/SVSClient_system.log +++ b/out/artifacts/zhyw_war_exploded/config/config1/logs/SVSClient_system.log @@ -125,3 +125,57 @@ INFO [2023-12-15 17:13:59 743] Load HSM config IP1:10.10.3.2,Port1:8000 INFO [2023-12-15 17:13:59 776] BJCA Client Version:2.0 Build20210118 INFO [2023-12-15 17:19:03 51] Load HSM config IP1:10.10.3.2,Port1:8000 INFO [2023-12-15 17:19:03 278] BJCA Client Version:2.0 Build20210118 +INFO [2023-12-18 08:43:32 820] Load HSM config IP1:10.10.3.2,Port1:8000 +INFO [2023-12-18 08:43:32 887] BJCA Client Version:2.0 Build20210118 +INFO [2023-12-21 17:03:39 530] Load HSM config IP1:10.10.3.2,Port1:8000 +INFO [2023-12-21 17:03:43 686] BJCA Client Version:2.0 Build20210118 +INFO [2023-12-21 17:03:43 753] Load HSM config IP1:10.10.3.2,Port1:8000 +INFO [2023-12-21 17:03:43 754] BJCA Client Version:2.0 Build20210118 +INFO [2023-12-21 17:03:43 794] Load HSM config IP1:10.10.3.2,Port1:8000 +INFO [2023-12-21 17:03:43 794] BJCA Client Version:2.0 Build20210118 +INFO [2023-12-21 17:09:56 596] Load HSM config IP1:10.10.3.2,Port1:8000 +INFO [2023-12-21 17:09:56 598] BJCA Client Version:2.0 Build20210118 +INFO [2023-12-21 17:10:00 561] Load HSM config IP1:10.10.3.2,Port1:8000 +INFO [2023-12-21 17:10:00 561] BJCA Client Version:2.0 Build20210118 +INFO [2023-12-22 09:54:24 470] Load HSM config IP1:10.10.3.2,Port1:8000 +INFO [2023-12-22 09:54:24 570] BJCA Client Version:2.0 Build20210118 +INFO [2023-12-22 11:47:24 131] Load HSM config IP1:10.10.3.2,Port1:8000 +INFO [2023-12-22 11:47:26 721] Load HSM config IP1:10.10.3.2,Port1:8000 +INFO [2023-12-22 11:47:28 261] BJCA Client Version:2.0 Build20210118 +INFO [2023-12-22 11:47:28 262] BJCA Client Version:2.0 Build20210118 +INFO [2023-12-22 14:22:10 748] Load HSM config IP1:10.10.3.2,Port1:8000 +INFO [2023-12-22 14:22:14 834] BJCA Client Version:2.0 Build20210118 +INFO [2023-12-22 14:22:14 876] Load HSM config IP1:10.10.3.2,Port1:8000 +INFO [2023-12-22 14:22:14 877] BJCA Client Version:2.0 Build20210118 +INFO [2023-12-22 14:22:14 901] Load HSM config IP1:10.10.3.2,Port1:8000 +INFO [2023-12-22 14:22:14 902] BJCA Client Version:2.0 Build20210118 +INFO [2023-12-22 14:22:19 240] Load HSM config IP1:10.10.3.2,Port1:8000 +INFO [2023-12-22 14:22:19 241] BJCA Client Version:2.0 Build20210118 +INFO [2023-12-22 14:23:03 661] Load HSM config IP1:10.10.3.2,Port1:8000 +INFO [2023-12-22 14:23:03 661] BJCA Client Version:2.0 Build20210118 +INFO [2023-12-22 14:23:07 523] Load HSM config IP1:10.10.3.2,Port1:8000 +INFO [2023-12-22 14:23:07 523] BJCA Client Version:2.0 Build20210118 +INFO [2023-12-22 14:48:22 281] Load HSM config IP1:10.10.3.2,Port1:8000 +INFO [2023-12-22 14:48:22 525] BJCA Client Version:2.0 Build20210118 +INFO [2023-12-22 15:12:21 17] Load HSM config IP1:10.10.3.2,Port1:8000 +INFO [2023-12-22 15:12:21 115] BJCA Client Version:2.0 Build20210118 +INFO [2023-12-22 15:37:12 489] Load HSM config IP1:10.10.3.2,Port1:8000 +INFO [2023-12-22 15:37:16 605] BJCA Client Version:2.0 Build20210118 +INFO [2023-12-22 15:37:16 637] Load HSM config IP1:10.10.3.2,Port1:8000 +INFO [2023-12-22 15:37:16 637] BJCA Client Version:2.0 Build20210118 +INFO [2023-12-22 15:37:16 643] Load HSM config IP1:10.10.3.2,Port1:8000 +INFO [2023-12-22 15:37:16 644] BJCA Client Version:2.0 Build20210118 +INFO [2023-12-22 17:17:11 860] Load HSM config IP1:10.10.3.2,Port1:8000 +INFO [2023-12-22 17:17:14 651] Load HSM config IP1:10.10.3.2,Port1:8000 +INFO [2023-12-22 17:17:15 965] BJCA Client Version:2.0 Build20210118 +INFO [2023-12-22 17:17:15 965] BJCA Client Version:2.0 Build20210118 +INFO [2023-12-22 17:17:25 138] Load HSM config IP1:10.10.3.2,Port1:8000 +INFO [2023-12-22 17:17:25 138] BJCA Client Version:2.0 Build20210118 +INFO [2023-12-22 17:17:30 864] Load HSM config IP1:10.10.3.2,Port1:8000 +INFO [2023-12-22 17:17:30 864] BJCA Client Version:2.0 Build20210118 +INFO [2023-12-22 17:17:30 872] Load HSM config IP1:10.10.3.2,Port1:8000 +INFO [2023-12-22 17:17:30 872] BJCA Client Version:2.0 Build20210118 +INFO [2023-12-22 17:17:30 888] Load HSM config IP1:10.10.3.2,Port1:8000 +INFO [2023-12-22 17:17:30 888] BJCA Client Version:2.0 Build20210118 +INFO [2023-12-22 17:17:33 413] Load HSM config IP1:10.10.3.2,Port1:8000 +INFO [2023-12-22 17:17:33 413] BJCA Client Version:2.0 Build20210118 diff --git a/out/artifacts/zhyw_war_exploded/images/img.png b/out/artifacts/zhyw_war_exploded/images/img.png new file mode 100644 index 0000000..001b12e Binary files /dev/null and b/out/artifacts/zhyw_war_exploded/images/img.png differ diff --git a/out/artifacts/zhyw_war_exploded/js/CA/xtxasyn.js b/out/artifacts/zhyw_war_exploded/js/CA/xtxasyn.js new file mode 100644 index 0000000..43ad3f3 --- /dev/null +++ b/out/artifacts/zhyw_war_exploded/js/CA/xtxasyn.js @@ -0,0 +1,1088 @@ +/* + -------------------------------------------------------------- + * FileName:xtxasyn.js + * This Javascript provides asynchronous interfaces + * Support bjca client version 3.4.1 and later + * Author:BJCA-zys + * Date: 2021-05-06 + * + -------------------------------------------------------------- + */ + +(function() { +if (typeof xtxasyn === 'undefined') { + xtxasyn = {}; +} +})(); + +// initialize xtxasyn hashMap object +(function() { + +function XTXAsynHashMap(){ + this.map = {}; +} + +XTXAsynHashMap.prototype = { + put : function(key , value){ + this.map[key] = value; + }, + + get : function(key){ + if(this.map.hasOwnProperty(key)){ + return this.map[key]; + } + return null; + }, + + remove : function(key){ + if(this.map.hasOwnProperty(key)){ + return delete this.map[key]; + } + return false; + }, + + removeAll : function(){ + this.map = {}; + }, + + keySet : function(){ + var _keys = []; + for(var i in this.map){ + _keys.push(i); + } + return _keys; + } +}; + +XTXAsynHashMap.prototype.constructor = XTXAsynHashMap; + +xtxasyn.HashMap = XTXAsynHashMap; +})(); + +// initialize xtxasyn util object +(function() { + +function initUtilObject(xtxasyn) { + + var util = xtxasyn.util = xtxasyn.util || {}; + + util.checkBrowserISIE = function() { + return (!!window.ActiveXObject || 'ActiveXObject' in window) ? true : false; + } + + util.checkLocationIsHttps = function() { + return 'https:' == document.location.protocol ? true: false; + } + + util.evalFunction = function (func) { + if (typeof func === 'function') { + return func; + } else if (typeof func === 'string') { + cb = eval(func); + } else { + return null; + } + } + + util.consolelog = function(param) { + if (window.console == undefined || window.console.log == undefined) { + return; + } + console.log(param); + } + + util.isEmpty = function(param) { + if (!param) { + return true; + } + if (typeof param == 'string' && param == "") { + return true; + } + + return false; + } + + util.loadIECtl = function(clsid, ctlName, checkFunc) { + if (!util.checkBrowserISIE()) { + return null; + } + var ctl = document.getElementById(ctlName); + if (ctl) { + return ctl; + } + try { + var loadObjString = ''; + loadObjString += ''; + document.write(loadObjString); + if (checkFunc != null && checkFunc != "" && eval(ctlName + "." + checkFunc) == undefined) { + return null; + } + } catch (e) { + util.consolelog(e); + return null; + } + return document.getElementById(ctlName); + } + + util.getAutoExecFunctionString = function (func) { + var ret = "("; + ret += func.toString(); + ret += ")()"; + + return ret; + } + + util.attachIEEvent = function(ctlName, eventName, eventFunc) { + var ctl; + if (typeof ctlName === 'string') { + ctl = eval(ctlName); + } else { + ctl = ctlName; + } + eventName = eventName.toLowerCase(); + + var cb = util.evalFunction(eventFunc); + if (cb == null) { + return; + } + + if (ctl.attachEvent) { + ctl.attachEvent(eventName, cb); + } else { // IE11 not support attachEvent, and addEventListener do not work well, so addEvent ourself + var handler = document.createElement("script"); + handler.setAttribute("for", ctlName); + handler.setAttribute("event", eventName); + var eventScript = util.getAutoExecFunctionString(eventFunc); + handler.appendChild(document.createTextNode(eventScript)); + document.getElementsByTagName("head")[0].appendChild(handler); + } + } + + util.loadWebSocketCtl = function(wsUrl, wssUrl) { + if (xtxasyn.wsObject) { + return xtxasyn.wsObject; + } + var url; + if (util.checkLocationIsHttps()) { + url = "wss://" + wssUrl; + } else { + url = "ws://" + wsUrl; + } + + var wsObject = { + socket : undefined, + wsMessageQueue : new xtxasyn.HashMap(), + wsMessageQueueId : 0, + wsEventQueue : new xtxasyn.HashMap(), + wsURL : url, + wsCacheMessage : [] + }; + xtxasyn.wsObject = wsObject; + xtxasyn.wsObject.wsEventQueue.put("onusbkeychange", util.evalFunction(xtxasyn.custom.defaultUsbkeyChange)); + + try { + wsObject.socket = new WebSocket(url); + } catch (e) { + util.consolelog(e); + return null; + } + + wsObject.socket.onopen = function(evt) { + xtxasyn.util.consolelog("open websocket[" + url + "] ok..."); + xtxasyn.SOF_GetVersion(function(ret) { + util.consolelog("SOF_GetVersion:(" + ret.retVal + ")"); + }); + while (xtxasyn.wsObject.wsCacheMessage.length > 0) { + var tb_send = xtxasyn.wsObject.wsCacheMessage.shift(); + //alert(tb_send); + xtxasyn.wsObject.socket.send(tb_send); + } + } + wsObject.socket.onclose = function(evt) { + util.consolelog("websocket[" + url + "] closed, reopen it..."); + xtxasyn.wsObject = undefined; + xtxasyn.XTXAppWebSocket = xtxasyn.util.loadWebSocketCtl(wsUrl, wssUrl); + }; + wsObject.socket.onmessage = function(evt) { + var eventCmd = false; + if (xtxasyn.util.isEmpty(evt.data)) { + util.consolelog("onmessage evt.data is NULL or empty!!!"); + return; + } + try { + var res = JSON.parse(evt.data); + var cmdId = undefined; + if (res.hasOwnProperty('call_cmd_id')) { + cmdId = res['call_cmd_id']; + } else { + util.consolelog("return JSON not include call_cmd_id!!!"); + return; + } + + var retVal = undefined; + if (res.hasOwnProperty('retValue')) { + retVal = res['retValue']; + } else if (res.hasOwnProperty('retVal')) { + retVal = res['retVal']; + } + + var methodName = undefined; + var eventName = cmdId.toLowerCase(); + var execFunc = xtxasyn.wsObject.wsEventQueue.get(eventName); + if (execFunc && typeof execFunc == 'function') { // event + execFunc(retVal); + } else { // function + var messageQueue = xtxasyn.wsObject.wsMessageQueue.get(cmdId); + if (!messageQueue || !messageQueue.method) { + util.consolelog("can't find call_cmd_id[" + res['call_cmd_id'] + "]'s method name!!!"); + return; + } + methodName = messageQueue.method; + execFunc = messageQueue.cb; + if (!execFunc || typeof execFunc != 'function') { + util.consolelog("can't find call_cmd_id[" + res['call_cmd_id'] + "]'s call back function!!!"); + return; + } + var ctx = messageQueue.ctx; + ctx = ctx || {returnType:"string"}; + var ret; + if (ctx.returnType == "bool"){ + if (typeof(retVal) == 'string') { + ret = retVal == "true" ? true : false; + } else { + ret = retVal; + } + if (ret == undefined) { + ret = false; + } + } else if (ctx.returnType == "number"){ + if (typeof(retVal) == 'string') { + ret = Number(retVal); + } else { + ret = retVal; + } + if (ret == undefined) { + ret = -1; + } + } else{ + ret = retVal; + if (ret == undefined) { + ret = ""; + } + } + if (res.token) { + //alert(res.token); + xtxasyn.custom.setToken(res.token); + } + if (((methodName == 'SOF_Login' || methodName == 'SOF_LoginEx') && !ret) || (methodName == 'SOF_Logout' && ret)) { + xtxasyn.custom.setToken(""); + } + var retObj = {retVal:ret, ctx:ctx}; + execFunc(retObj); + xtxasyn.wsObject.wsMessageQueue.remove(cmdId); + } + } catch (e) { + return; + } + }; + wsObject.socket.onerror = function(evt) { + xtxasyn.util.consolelog(evt.data); + }; + + return wsObject; + } + + util.attachWebSocketEvent = function(wsObject, eventName, eventFunc) { + if (wsObject == null) { + return; + } + wsObject.wsEventQueue.put(eventName.toLowerCase(), util.evalFunction(eventFunc)); + } + + util.callWebSocketMethod = function (wsObject, clsid, method, cb, ctx, returnType, argsArray) { + if (wsObject == null) { + return; + } + wsObject.wsMessageQueueId++; + if (typeof(cb) == 'function'){ + ctx = ctx || {}; + ctx.returnType = returnType; + var messageQueue = {cb:cb, ctx:ctx, method:method}; + wsObject.wsMessageQueue.put('i_' + wsObject.wsMessageQueueId, messageQueue); + } + + var sendArray = { + 'call_cmd_id' : 'i_' + wsObject.wsMessageQueueId, + 'CLSID' : clsid, + 'xtx_func_name' : method, + 'func' : method, + 'URL' : window.location.href + }; + if (arguments.length > 6) { + for (var i = 1; i <= argsArray.length; i++) { + var strParam = "param_" + i; + sendArray[strParam] = argsArray[i - 1]; + } + sendArray["param"] = argsArray; + } + var token = xtxasyn.custom.getToken(); + if (token && token != "") { + sendArray.token = token; + } + if (wsObject.socket.readyState == WebSocket.OPEN) { + wsObject.socket.send(JSON.stringify(sendArray)); + } else if (wsObject.socket.readyState == WebSocket.CONNECTING) { + // The websocket connection has not been successfully created. + // If the html page already has requested data, we will put it in the cache(wsObject.wsCacheMessage), + // and then send the data one by one after the connection is successfully created. + wsObject.wsCacheMessage.push(JSON.stringify(sendArray)); + } else { + xtxasyn.util.consolelog("Can't connect to WebSocket server[" + wsObject.wsURL + "]!!!"); + } + } + + util.SynToAsyn = function(retVal, cb, ctx) + { + if (typeof cb == 'function') { + var retObj = {retVal:retVal, ctx:ctx}; + cb(retObj); + } + } +} + +return initUtilObject(xtxasyn); +})(); + +// initialize index page and other custom action +(function() { + +function initCustomActions(xtxasyn) { + var custom = xtxasyn.custom = xtxasyn.custom || {}; + + custom.softCertListID = ""; + custom.hardCertListID = ""; + custom.allCertListID = ""; + custom.loginCertID = ""; + custom.logoutFunc = null; + custom.UsbkeyChangeFunc = null; + custom.loginToken = ""; + + custom.errorReportFunc = function(msg) { + alert(msg); + } + + custom.setAutoLogoutParameter = function(strCertID, logoutFunc) { + var custom = xtxasyn.custom; + custom.loginCertID = strCertID; + custom.logoutFunc = logoutFunc; + } + + custom.clearDropList = function(dropListId) { + if (dropListId == "") { + return; + } + + var obj = document.getElementById(dropListId); + if (obj == undefined) { + obj = eval(dropListId); + } + if (obj == undefined) { + return; + } + + var i, n = obj.length; + for (i = 0; i < n; i++) { + obj.remove(0); + } + } + + custom.pushOneDropListBox = function(userListArray, strListID) + { + var obj = document.getElementById(strListID); + if (obj == undefined) { + obj = eval(strListID); + } + if (obj == undefined) { + return; + } + + for (var i = 0; i < userListArray.length; i++) { + var certObj = userListArray[i]; + var objItem = new Option(certObj.certName, certObj.certID); + obj.options.add(objItem); + } + return; + } + + custom.pushUserListToAllDroplist = function(retObj) { + var custom = xtxasyn.custom; + + custom.clearDropList(custom.softCertListID); + custom.clearDropList(custom.hardCertListID); + custom.clearDropList(custom.allCertListID); + + var strUserList = retObj.retVal; + var allListArray = []; + while (true) { + var i = strUserList.indexOf("&&&"); + if (i <= 0 ) { + break; + } + var strOneUser = strUserList.substring(0, i); + var strName = strOneUser.substring(0, strOneUser.indexOf("||")); + var strCertID = strOneUser.substring(strOneUser.indexOf("||") + 2, strOneUser.length); + allListArray.push({certName:strName, certID:strCertID}); + + if (custom.hardCertListID != "") { + xtxasyn.GetDeviceInfo(strCertID, 7, function(retObj) { + if (retObj.retVal == "HARD") { + custom.pushOneDropListBox([retObj.ctx], custom.hardCertListID); + } + }, {certName:strName, certID:strCertID}); + } + + if (custom.softCertListID != "") { + xtxasyn.GetDeviceInfo(strCertID, 7, function(retObj) { + if (retObj.retVal == "SOFT") { + custom.pushOneDropListBox([retObj.ctx], custom.softCertListID); + } + }, {certName:strName, certID:strCertID}); + } + var len = strUserList.length; + strUserList = strUserList.substring(i + 3, len); + } + + if (custom.allCertListID != "") { + custom.pushOneDropListBox(allListArray, custom.allCertListID); + } + } + + custom.setUserCertList = function(certListId, certType) { + var custom = xtxasyn.custom; + + if (certType == CERT_TYPE_ALL || certType == undefined) { + custom.allCertListID = certListId; + } + + if (certType == CERT_TYPE_HARD) { + custom.hardCertListID = certListId; + } + + if (certType == CERT_TYPE_SOFT) { + custom.softCertListID = certListId; + } + xtxasyn.SOF_GetUserList(custom.pushUserListToAllDroplist); + } + + custom.setOnUsbKeyChangeCallBack = function(callback) { + var custom = xtxasyn.custom; + custom.UsbkeyChangeFunc = callback; + } + + custom.setErrorReportFunc = function(errFunc) { + var custom = xtxasyn.custom; + custom.errorReportFunc = errFunc; + } + + custom.autoLogoutCallBack = function(retObj) { + var custom = xtxasyn.custom; + if (retObj.retVal.indexOf(custom.loginCertID) <= 0) { + custom.logoutFunc(); + } + } + + custom.defaultUsbkeyChange = function() { + var custom = xtxasyn.custom; + xtxasyn.SOF_GetUserList(custom.pushUserListToAllDroplist); + + if (typeof custom.UsbkeyChangeFunc == 'function') { + custom.UsbkeyChangeFunc(); + } + + if (custom.loginCertID != "" && typeof custom.logoutFunc == 'function') { + xtxasyn.SOF_GetUserList(custom.autoLogoutCallBack); + } + } + + custom.getToken = function() { + return custom.loginToken; + } + + custom.setToken = function(token) { + custom.loginToken = token; + } +} + +return initCustomActions(xtxasyn); +})(); + +// initialize xtxappcom object +(function() { + +function initXTXAppCOM(xtxasyn) { + var util = xtxasyn.util; + var custom = xtxasyn.custom; + + xtxasyn.XTXAppCOM = util.loadIECtl(xtxasyn.xtx_clsid, "XTXAppObj", "SOF_GetVersion()"); + if (xtxasyn.XTXAppCOM == null) { + custom.errorReportFunc("加载XTXAppCOM控件失败,请确认已正确安装BJCA证书应用环境!"); + return false; + } + var XTXAppCOM = xtxasyn.XTXAppCOM; + + util.attachIEEvent("XTXAppObj", "onUsbkeyChange", xtxasyn.custom.defaultUsbkeyChange); + + // get key pic interface + var GetPicObj = util.loadIECtl(xtxasyn.getpic_clsid, "GetPicObj", "Hash('0')"); + if (GetPicObj == null) { + //custom.errorReportFunc("加载GetKeyPic控件失败,请确认已正确安装GetKeyPic控件!"); + } else { + XTXAppCOM.GetPic = function(strCertID) { + return GetPicObj.GetPic(strCertID); + } + XTXAppCOM.Hash = function(inData) { + return GetPicObj.Hash(inData); + } + XTXAppCOM.ConvertPicFormat = function(inData, type) { + return GetPicObj.ConvertPicFormat(inData, type); + } + XTXAppCOM.ConvertGif2Jpg = function(inData) { + return GetPicObj.ConvertGif2Jpg(inData); + } + XTXAppCOM.GetPic1 = function(strCertID) { + return GetPicObj.GetPic1(strCertID); + } + XTXAppCOM.ConvertPicSize = function(strPicture, w, h) { + return GetPicObj.ConvertPicSize(strPicture, w, h); + } + } + + // xtxversion interface + var XTXVersionOBJ = util.loadIECtl(xtxasyn.xtx_version_clsid, "XTXVersionOBJ", "GetEnvVersion()"); + if (XTXVersionOBJ == null) { + //custom.errorReportFunc("加载XTXVersion控件失败,请确认已正确安装证书应用环境!"); + } else { + XTXAppCOM.GetEnvVersion = function() { + return XTXVersionOBJ.GetEnvVersion(); + } + } + + return true; +} + +function initXTXAppWebSocket(xtxasyn) { + xtxasyn.XTXAppWebSocket = xtxasyn.util.loadWebSocketCtl("127.0.0.1:21051/xtxapp/", "127.0.0.1:21061/xtxapp/"); + if (xtxasyn.XTXAppWebSocket == null) { + custom.errorReportFunc("连接XTXAppCOM服务失败,请确认已正确安装BJCA证书应用环境!"); + return false; + } + + return true; +} + +function initXTXAppObject(xtxasyn) { + var util = xtxasyn.util; + xtxasyn.xtx_clsid = "3F367B74-92D9-4C5E-AB93-234F8A91D5E6"; + xtxasyn.getpic_clsid = "3BC3C868-95B5-47ED-8686-E0E3E94EF366"; + xtxasyn.xtx_version_clsid = "574887FB-22A5-488B-A49C-2CF25F56BE68"; + var getImplmentFunction; + + if (util.checkBrowserISIE()) { // IE + if (!initXTXAppCOM(xtxasyn)) { + return false; + } + getImplmentFunction = function(methodInfo) { + if (methodInfo.inParams == '') { // 0 input param + window[methodInfo.funcName] = new Function('cb', 'ctx', + 'xtxasyn.util.SynToAsyn(xtxasyn.XTXAppCOM.' + methodInfo.funcName + '(), cb, ctx);'); + } else { + window[methodInfo.funcName] = new Function(methodInfo.inParams, 'cb', 'ctx', + 'xtxasyn.util.SynToAsyn(xtxasyn.XTXAppCOM.' + methodInfo.funcName + '(' + methodInfo.inParams + '), cb, ctx);'); + } + } + } else { // other brower + if (!initXTXAppWebSocket(xtxasyn)) { + return false; + } + getImplmentFunction = function(methodInfo) { + if (methodInfo.inParams == '') { // 0 input param + window[methodInfo.funcName] = new Function('cb, ctx', + "xtxasyn.util.callWebSocketMethod(xtxasyn.XTXAppWebSocket, '" + methodInfo.clsid + "', '" + + methodInfo.funcName + "', cb, ctx, '" + methodInfo.outParamType + "', []);"); + } else { + window[methodInfo.funcName] = new Function(methodInfo.inParams + ', cb, ctx', + "xtxasyn.util.callWebSocketMethod(xtxasyn.XTXAppWebSocket, '" + methodInfo.clsid + "', '" + + methodInfo.funcName + "', cb, ctx, '" + methodInfo.outParamType + "', [" + methodInfo.inParams + "]);"); + } + } + } + + var export_functions = [ + {funcName:'SOF_SetSignMethod', inParams:'SignMethod', outParamType:'number', clsid:xtxasyn.xtx_clsid, aliasName:'SetSignMethod'}, + {funcName:'SOF_GetSignMethod', inParams:'', outParamType:'number', clsid:xtxasyn.xtx_clsid}, + {funcName:'SOF_SetEncryptMethod', inParams:'EncryptMethod', outParamType:'number', clsid:xtxasyn.xtx_clsid}, + {funcName:'SOF_GetEncryptMethod', inParams:'', outParamType:'number', clsid:xtxasyn.xtx_clsid}, + {funcName:'SOF_GetUserList', inParams:'', outParamType:'string', clsid:xtxasyn.xtx_clsid, aliasName:'GetUserList'}, + {funcName:'SOF_ExportUserCert', inParams:'CertID', outParamType:'string', clsid:xtxasyn.xtx_clsid, aliasName:'GetSignCert'}, + {funcName:'SOF_Login', inParams:'CertID, PassWd', outParamType:'bool', clsid:xtxasyn.xtx_clsid, aliasName:'VerifyUserPIN'}, + {funcName:'SOF_GetPinRetryCount', inParams:'CertID', outParamType:'number', clsid:xtxasyn.xtx_clsid, aliasName:'GetUserPINRetryCount'}, + {funcName:'SOF_ChangePassWd', inParams:'CertID, oldPass, newPass', outParamType:'bool', clsid:xtxasyn.xtx_clsid, aliasName:'ChangeUserPassword'}, + {funcName:'SOF_GetCertInfo', inParams:'Cert, type', outParamType:'string', clsid:xtxasyn.xtx_clsid, aliasName:'GetCertBasicinfo'}, + {funcName:'SOF_GetCertInfoByOid', inParams:'Cert, Oid', outParamType:'string', clsid:xtxasyn.xtx_clsid, aliasName:'GetExtCertInfoByOID'}, + {funcName:'SOF_SignData', inParams:'CertID, InData', outParamType:'string', clsid:xtxasyn.xtx_clsid, aliasName:'SignedData'}, + {funcName:'SOF_VerifySignedData', inParams:'Cert, InData, SignValue', outParamType:'bool', clsid:xtxasyn.xtx_clsid, aliasName:'VerifySignedData'}, + {funcName:'SOF_SignFile', inParams:'CertID, InFile', outParamType:'string', clsid:xtxasyn.xtx_clsid, aliasName:'SOF_SignFile'}, + {funcName:'SOF_VerifySignedFile', inParams:'Cert, InFile, SignValue', outParamType:'bool', clsid:xtxasyn.xtx_clsid, aliasName:'VerifySignFile'}, + {funcName:'SOF_EncryptData', inParams:'Cert, InData', outParamType:'string', clsid:xtxasyn.xtx_clsid, aliasName:'EncodeP7Enveloped'}, + {funcName:'SOF_DecryptData', inParams:'CertID, InData', outParamType:'string', clsid:xtxasyn.xtx_clsid, aliasName:'DecodeP7Enveloped'}, + {funcName:'SOF_EncryptFile', inParams:'Cert, InFile, OutFile', outParamType:'bool', clsid:xtxasyn.xtx_clsid}, + {funcName:'SOF_DecryptFile', inParams:'CertID, InFile, OutFile', outParamType:'bool', clsid:xtxasyn.xtx_clsid}, + {funcName:'SOF_SignMessage', inParams:'dwFlag, CertID, InData', outParamType:'string', clsid:xtxasyn.xtx_clsid}, + {funcName:'SOF_VerifySignedMessage', inParams:'MessageData, InData', outParamType:'bool', clsid:xtxasyn.xtx_clsid, aliasName:'VerifyDatabyP7'}, + {funcName:'SOF_GetInfoFromSignedMessage', inParams:'SignedMessage, type', outParamType:'string', clsid:xtxasyn.xtx_clsid}, + {funcName:'SOF_SignDataXML', inParams:'CertID, InData', outParamType:'string', clsid:xtxasyn.xtx_clsid}, + {funcName:'SOF_VerifySignedDataXML', inParams:'InData', outParamType:'bool', clsid:xtxasyn.xtx_clsid}, + {funcName:'SOF_GetXMLSignatureInfo', inParams:'XMLSignedData, type', outParamType:'string', clsid:xtxasyn.xtx_clsid}, + {funcName:'SOF_GenRandom', inParams:'RandomLen', outParamType:'string', clsid:xtxasyn.xtx_clsid, aliasName:'GenerateRandom'}, + {funcName:'SOF_PubKeyEncrypt', inParams:'Cert, InData', outParamType:'string', clsid:xtxasyn.xtx_clsid, aliasName:'PubKeyEncrypt'}, + {funcName:'SOF_PriKeyDecrypt', inParams:'CertID, InData', outParamType:'string', clsid:xtxasyn.xtx_clsid, aliasName:'PriKeyDecrypt'}, + {funcName:'SOF_SecertSegment', inParams:'Secert, m, n, k', outParamType:'string', clsid:xtxasyn.xtx_clsid}, + {funcName:'SOF_SecertRecovery', inParams:'Seg', outParamType:'string', clsid:xtxasyn.xtx_clsid}, + {funcName:'SOF_GetLastError', inParams:'', outParamType:'number', clsid:xtxasyn.xtx_clsid}, + {funcName:'GetDeviceCount', inParams:'', outParamType:'number', clsid:xtxasyn.xtx_clsid}, + {funcName:'GetAllDeviceSN', inParams:'', outParamType:'string', clsid:xtxasyn.xtx_clsid}, + {funcName:'GetDeviceSNByIndex', inParams:'iIndex', outParamType:'string', clsid:xtxasyn.xtx_clsid}, + {funcName:'GetDeviceInfo', inParams:'sDeviceSN, iType', outParamType:'string', clsid:xtxasyn.xtx_clsid}, + {funcName:'ChangeAdminPass', inParams:'sDeviceSN, sOldPass, sNewPass', outParamType:'bool', clsid:xtxasyn.xtx_clsid}, + {funcName:'UnlockUserPass', inParams:'sDeviceSN, sAdminPass, sNewUserPass', outParamType:'bool', clsid:xtxasyn.xtx_clsid}, + {funcName:'GenerateKeyPair', inParams:'sDeviceSN, sContainerName, iKeyType, bSign', outParamType:'bool', clsid:xtxasyn.xtx_clsid}, + {funcName:'ExportPubKey', inParams:'sDeviceSN, sContainerName, bSign', outParamType:'string', clsid:xtxasyn.xtx_clsid}, + {funcName:'ImportSignCert', inParams:'sDeviceSN, sContainerName, sCert', outParamType:'bool', clsid:xtxasyn.xtx_clsid}, + {funcName:'ImportEncCert', inParams:'sDeviceSN, sContainerName, sCert, sPriKeyCipher', outParamType:'bool', clsid:xtxasyn.xtx_clsid}, + {funcName:'ReadFile', inParams:'sDeviceSN, sFileName', outParamType:'string', clsid:xtxasyn.xtx_clsid, aliasName:'readFile'}, + {funcName:'WriteFile', inParams:'sDeviceSN, sFileName, sContent, bPrivate', outParamType:'bool', clsid:xtxasyn.xtx_clsid, aliasName:'writeFile'}, + {funcName:'IsContainerExist', inParams:'sDeviceSN, sContainerName', outParamType:'bool', clsid:xtxasyn.xtx_clsid}, + {funcName:'DeleteContainer', inParams:'sDeviceSN, sContainerName', outParamType:'bool', clsid:xtxasyn.xtx_clsid}, + {funcName:'ExportPKCS10', inParams:'sDeviceSN, sContainerName, sDN, bSign', outParamType:'string', clsid:xtxasyn.xtx_clsid}, + {funcName:'InitDevice', inParams:'sDeviceSN, sAdminPass', outParamType:'bool', clsid:xtxasyn.xtx_clsid}, + {funcName:'AddSignInfo', inParams:'sUserPass', outParamType:'bool', clsid:xtxasyn.xtx_clsid}, + {funcName:'SOF_GetVersion', inParams:'', outParamType:'string', clsid:xtxasyn.xtx_clsid}, + {funcName:'SOF_ExportExChangeUserCert', inParams:'CertID', outParamType:'string', clsid:xtxasyn.xtx_clsid, aliasName:'GetExchCert'}, + {funcName:'SOF_ValidateCert', inParams:'Cert', outParamType:'number', clsid:xtxasyn.xtx_clsid, aliasName:'ValidateCert'}, + {funcName:'GetENVSN', inParams:'sDeviceSN', outParamType:'string', clsid:xtxasyn.xtx_clsid}, + {funcName:'SetENVSN', inParams:'sDeviceSN, sEnvsn', outParamType:'bool', clsid:xtxasyn.xtx_clsid}, + {funcName:'IsDeviceExist', inParams:'sDeviceSN', outParamType:'bool', clsid:xtxasyn.xtx_clsid}, + {funcName:'GetContainerCount', inParams:'sDeviceSN', outParamType:'number', clsid:xtxasyn.xtx_clsid}, + {funcName:'SOF_SymEncryptData', inParams:'sKey, indata', outParamType:'string', clsid:xtxasyn.xtx_clsid, aliasName:'EncryptData'}, + {funcName:'SOF_SymDecryptData', inParams:'sKey, indata', outParamType:'string', clsid:xtxasyn.xtx_clsid, aliasName:'DecryptData'}, + {funcName:'SOF_SymEncryptFile', inParams:'sKey, inFile, outFile', outParamType:'bool', clsid:xtxasyn.xtx_clsid, aliasName:'EncryptFile'}, + {funcName:'SOF_SymDecryptFile', inParams:'sKey, inFile, outFile', outParamType:'bool', clsid:xtxasyn.xtx_clsid, aliasName:'DecryptFile'}, + {funcName:'SOF_GetLastErrMsg', inParams:'', outParamType:'string', clsid:xtxasyn.xtx_clsid}, + {funcName:'SOF_Base64Encode', inParams:'sIndata', outParamType:'string', clsid:xtxasyn.xtx_clsid}, + {funcName:'SOF_Base64Decode', inParams:'sIndata', outParamType:'string', clsid:xtxasyn.xtx_clsid}, + {funcName:'SOF_HashData', inParams:'hashAlg, sInData', outParamType:'string', clsid:xtxasyn.xtx_clsid}, + {funcName:'SOF_HashFile', inParams:'hashAlg, inFile', outParamType:'string', clsid:xtxasyn.xtx_clsid}, + {funcName:'UnlockUserPassEx', inParams:'sDeviceSN, sAdminPin, sNewUserPass', outParamType:'bool', clsid:xtxasyn.xtx_clsid}, + {funcName:'DeleteOldContainer', inParams:'sDeviceSN', outParamType:'bool', clsid:xtxasyn.xtx_clsid}, + {funcName:'WriteFileEx', inParams:'sDeviceSN, sFileName, sContent', outParamType:'bool', clsid:xtxasyn.xtx_clsid}, + {funcName:'ReadFileEx', inParams:'sDeviceSN, sFileName', outParamType:'string', clsid:xtxasyn.xtx_clsid}, + {funcName:'WriteFileBase64', inParams:'sDeviceSN, sFileName, sContent', outParamType:'bool', clsid:xtxasyn.xtx_clsid}, + {funcName:'DeleteFile', inParams:'sDeviceSN, sFileName', outParamType:'bool', clsid:xtxasyn.xtx_clsid}, + {funcName:'SOF_EncryptDataEx', inParams:'Cert, InData', outParamType:'string', clsid:xtxasyn.xtx_clsid}, + {funcName:'Base64EncodeFile', inParams:'sInFile', outParamType:'string', clsid:xtxasyn.xtx_clsid}, + {funcName:'SOF_GetRetryCount', inParams:'CertID', outParamType:'number', clsid:xtxasyn.xtx_clsid}, + {funcName:'SOF_GetAllContainerName', inParams:'sDeviceSN', outParamType:'string', clsid:xtxasyn.xtx_clsid}, + {funcName:'CreateSoftDevice', inParams:'sDeviceSN, sLabel', outParamType:'bool', clsid:xtxasyn.xtx_clsid}, + {funcName:'DeleteSoftDevice', inParams:'sDeviceSN, sPasswd', outParamType:'bool', clsid:xtxasyn.xtx_clsid}, + {funcName:'EnableSoftDevice', inParams:'enable, sDeviceSN', outParamType:'bool', clsid:xtxasyn.xtx_clsid}, + {funcName:'SoftDeviceBackup', inParams:'sDeviceSN, sPasswd', outParamType:'string', clsid:xtxasyn.xtx_clsid}, + {funcName:'SoftDeviceRestore', inParams:'sDeviceSN, sPasswd, sInFilePath', outParamType:'bool', clsid:xtxasyn.xtx_clsid}, + {funcName:'SOF_Logout', inParams:'CertID', outParamType:'bool', clsid:xtxasyn.xtx_clsid, aliasName:'Logout'}, + {funcName:'SetUserConfig', inParams:'type, strConfig', outParamType:'bool', clsid:xtxasyn.xtx_clsid}, + {funcName:'SOF_SignByteData', inParams:'CertID, byteLen', outParamType:'string', clsid:xtxasyn.xtx_clsid}, + {funcName:'SOF_VerifySignedByteData', inParams:'Cert, byteLen, SignValue', outParamType:'bool', clsid:xtxasyn.xtx_clsid}, + {funcName:'OTP_GetChallengeCode', inParams:'sCertID', outParamType:'string', clsid:xtxasyn.xtx_clsid}, + {funcName:'ImportEncCertEx', inParams:'sDeviceSN, sContainerName, sCert, sPriKeyCipher, ulSymAlg', outParamType:'bool', clsid:xtxasyn.xtx_clsid}, + {funcName:'SOF_GetCertEntity', inParams:'sCert', outParamType:'string', clsid:xtxasyn.xtx_clsid, aliasName:'GetCertEntity'}, + {funcName:'SOF_HMAC', inParams:'hashid, key, indata', outParamType:'string', clsid:xtxasyn.xtx_clsid}, + {funcName:'SOF_SignDataByPriKey', inParams:'sPriKey, sCert, sInData', outParamType:'string', clsid:xtxasyn.xtx_clsid}, + {funcName:'ImportKeyCertToSoftDevice', inParams:'sDeviceSN, sContainerName, sPriKey, sCert, bSign', outParamType:'bool', clsid:xtxasyn.xtx_clsid}, + {funcName:'InitDeviceEx', inParams:'sDeviceSN, sAdminPass, sUserPin, sKeyLabel, adminPinMaxRetry, userPinMaxRetry', outParamType:'bool', clsid:xtxasyn.xtx_clsid}, + {funcName:'SelectFile', inParams:'', outParamType:'string', clsid:xtxasyn.xtx_clsid}, + {funcName:'SOF_SignHashData', inParams:'CertID, b64ashData, hashAlg', outParamType:'string', clsid:xtxasyn.xtx_clsid, aliasName:'SignHashData'}, + {funcName:'SOF_VerifySignedHashData', inParams:'Cert, b64ashData, SignValue, hashAlg', outParamType:'bool', clsid:xtxasyn.xtx_clsid, aliasName:'VerifySignedHashData'}, + {funcName:'CheckSoftDeviceEnv', inParams:'', outParamType:'bool', clsid:xtxasyn.xtx_clsid}, + {funcName:'ImportPfxToDevice', inParams:'sDeviceSN, sContainerName, bSign, strPfx, strPfxPass', outParamType:'bool', clsid:xtxasyn.xtx_clsid}, + {funcName:'SOF_HashDataEx', inParams:'hashAlg, sInData, sCert, sID', outParamType:'string', clsid:xtxasyn.xtx_clsid}, + {funcName:'SOF_HashFileEx', inParams:'hashAlg, inFile, sCert, sID', outParamType:'string', clsid:xtxasyn.xtx_clsid}, + {funcName:'GetDeviceCountEx', inParams:'type', outParamType:'number', clsid:xtxasyn.xtx_clsid}, + {funcName:'GetAllDeviceSNEx', inParams:'type', outParamType:'string', clsid:xtxasyn.xtx_clsid}, + {funcName:'SOF_UpdateCert', inParams:'CertID, type', outParamType:'number', clsid:xtxasyn.xtx_clsid}, + {funcName:'OpenSpecifiedFolder', inParams:'backupFilePath', outParamType:'', clsid:xtxasyn.xtx_clsid}, + {funcName:'OTP_GetChallengeCodeEx', inParams:'sCertID, szAccount, money', outParamType:'string', clsid:xtxasyn.xtx_clsid}, + {funcName:'Base64DecodeFile', inParams:'sInData, sFilePath', outParamType:'bool', clsid:xtxasyn.xtx_clsid}, + {funcName:'EnumFilesInDevice', inParams:'sDeviceSN', outParamType:'string', clsid:xtxasyn.xtx_clsid}, + {funcName:'OTP_Halt', inParams:'sCertID', outParamType:'bool', clsid:xtxasyn.xtx_clsid}, + {funcName:'SOF_TSGenREQ', inParams:'b64Hash, hashAlg, bReqCert, policyID, b64Nonce, b64Extension', outParamType:'string', clsid:xtxasyn.xtx_clsid}, + {funcName:'SOF_TSCompareNonce', inParams:'b64TSReq, b64TSAResp', outParamType:'bool', clsid:xtxasyn.xtx_clsid}, + {funcName:'SOF_TSGenPDFSignature', inParams:'b64TSAResp, b64OriPDFSignature', outParamType:'string', clsid:xtxasyn.xtx_clsid}, + {funcName:'SOF_TSVerifyPDFSignature', inParams:'b64TSPDFSignature', outParamType:'bool', clsid:xtxasyn.xtx_clsid}, + {funcName:'SOF_TSGetPDFSignatureInfo', inParams:'b64TSPDFSignature, iType', outParamType:'string', clsid:xtxasyn.xtx_clsid}, + {funcName:'OTP_GetState', inParams:'sCertID, bCert', outParamType:'string', clsid:xtxasyn.xtx_clsid}, + {funcName:'OTP_GetSyncCode', inParams:'sCertID, ChallengeCode', outParamType:'string', clsid:xtxasyn.xtx_clsid}, + {funcName:'SOF_IsLogin', inParams:'CertID', outParamType:'bool', clsid:xtxasyn.xtx_clsid}, + {funcName:'SOF_LoginEx', inParams:'CertID, PassWd, updateFlag', outParamType:'bool', clsid:xtxasyn.xtx_clsid}, + {funcName:'EnumSupportDeviceList', inParams:'', outParamType:'string', clsid:xtxasyn.xtx_clsid}, + {funcName:'ExportPfxFromDevice', inParams:'sDeviceSN, sContainerName, bSign, strPfxPass', outParamType:'string', clsid:xtxasyn.xtx_clsid}, + {funcName:'SOF_SignHashMessage', inParams:'CertID, InHashData, hashAlg', outParamType:'string', clsid:xtxasyn.xtx_clsid}, + {funcName:'ExportPfxToFile', inParams:'sDeviceSN, sContainerName, bSign, strPfxPass', outParamType:'string', clsid:xtxasyn.xtx_clsid}, + {funcName:'SOF_SignAPK', inParams:'CertID, strOriSignature', outParamType:'string', clsid:xtxasyn.xtx_clsid}, + {funcName:'YZT_GenerateKeyPair', inParams:'sDeviceSN, sContainerName, iKeyTypeRSA, iKeyTypeSM2', outParamType:'bool', clsid:xtxasyn.xtx_clsid}, + {funcName:'YZT_ExportPubKey', inParams:'sDeviceSN, sContainerName, bSign', outParamType:'string', clsid:xtxasyn.xtx_clsid}, + {funcName:'YZT_ImportSignCert', inParams:'sDeviceSN, sContainerName, sRSACert, sSM2Cert', outParamType:'bool', clsid:xtxasyn.xtx_clsid}, + {funcName:'YZT_ImportEncCert', inParams:'sDeviceSN, sContainerName, sRSACert, sRSAPriKeyCipher, ulRSASymAlg, sSM2Cert, sSM2PriKeyCipher, ulSM2SymAlg', outParamType:'bool', clsid:xtxasyn.xtx_clsid}, + {funcName:'SOF_ListenUKey', inParams:'Parm', outParamType:'string', clsid:xtxasyn.xtx_clsid}, + {funcName:'SOF_EnableLoginWindow', inParams:'Parm', outParamType:'string', clsid:xtxasyn.xtx_clsid}, + {funcName:'SOF_SignEnvelope', inParams:'CertID, Cert, InData', outParamType:'string', clsid:xtxasyn.xtx_clsid}, + {funcName:'SOF_UnSignEnvelope', inParams:'CertID, InData', outParamType:'string', clsid:xtxasyn.xtx_clsid}, + {funcName:'BIO_MAKExportPKCS10', inParams:'sDeviceSN, iKeyType, sDN', outParamType:'string', clsid:xtxasyn.xtx_clsid}, + {funcName:'BIO_MAKImportSignEncCert', inParams:'sDeviceSN, sSignCert, sEncCert, sPriKeyCipher', outParamType:'bool', clsid:xtxasyn.xtx_clsid}, + {funcName:'BIO_IssueDAKCert', inParams:'sDeviceSN, iKeyType, sDN', outParamType:'bool', clsid:xtxasyn.xtx_clsid}, + {funcName:'BIO_InfoCollect', inParams:'', outParamType:'string', clsid:xtxasyn.xtx_clsid}, + {funcName:'BIO_GetBioInfo', inParams:'sDeviceSN', outParamType:'string', clsid:xtxasyn.xtx_clsid}, + {funcName:'SOF_GetLastLoginCertID', inParams:'', outParamType:'string', clsid:xtxasyn.xtx_clsid}, + {funcName:'SOF_ReadESealData', inParams:'CertID, ulKeyIndex, ulKeyAlgId, ulFlags', outParamType:'string', clsid:xtxasyn.xtx_clsid}, + {funcName:'SOF_ReadKFXESealData', inParams:'CertID, ulKeyIndex, ulKeyAlgId, ulFlags', outParamType:'string', clsid:xtxasyn.xtx_clsid}, + {funcName:'SOF_SymDecryptFileToData', inParams:'sKey, inFile', outParamType:'string', clsid:xtxasyn.xtx_clsid}, + {funcName:'SOF_SignMessageBase64', inParams:'dwFlag, CertID, InData', outParamType:'string', clsid:xtxasyn.xtx_clsid}, + {funcName:'SOF_VerifySignedMessageBase64', inParams:'MessageData, InData', outParamType:'bool', clsid:xtxasyn.xtx_clsid}, + {funcName:'SOF_VerifySignedHashMessage', inParams:'MessageData, InHashData', outParamType:'bool', clsid:xtxasyn.xtx_clsid}, + {funcName:'SOF_SignDataBase64', inParams:'CertID, InData', outParamType:'string', clsid:xtxasyn.xtx_clsid}, + {funcName:'SOF_VerifySignedDataBase64', inParams:'Cert, InData, SignValue', outParamType:'bool', clsid:xtxasyn.xtx_clsid}, + {funcName:'SOF_HashDataExBase64', inParams:'hashAlg, sInData, sCert, sID', outParamType:'string', clsid:xtxasyn.xtx_clsid}, + {funcName:'SOF_GetProductVersion', inParams:'', outParamType:'string', clsid:xtxasyn.xtx_clsid}, + {funcName:'SOF_UpdateCertEx', inParams:'CertID, PassWd', outParamType:'number', clsid:xtxasyn.xtx_clsid}, + {funcName:'SOF_GetLastSignDataCertID', inParams:'CertID', outParamType:'string', clsid:xtxasyn.xtx_clsid}, + {funcName:'BIO_SetUserConfig', inParams:'CertID, type, strConfig', outParamType:'bool', clsid:xtxasyn.xtx_clsid}, + {funcName:'BIO_InvokeCommand', inParams:'CertID, bstrCommand', outParamType:'string', clsid:xtxasyn.xtx_clsid}, + {funcName:'SOF_ImportSymmKey', inParams:'CertID, ulKeyIndex, InData, ulFlags', outParamType:'bool', clsid:xtxasyn.xtx_clsid}, + {funcName:'SOF_WriteESealData', inParams:'CertID, InData, ulFlags', outParamType:'bool', clsid:xtxasyn.xtx_clsid}, + {funcName:'SOF_EPS_Encrypt', inParams:'CertID, ulKeyIndex, ulKeyAlgId, IVData, DivCount, DivComponent, InData, ulFlags', outParamType:'string', clsid:xtxasyn.xtx_clsid}, + {funcName:'SOF_EPS_Decrypt', inParams:'CertID, ulKeyIndex, ulKeyAlgId, IVData, DivCount, DivComponent, InData, ulFlags', outParamType:'string', clsid:xtxasyn.xtx_clsid}, + {funcName:'SOF_EPS_Mac', inParams:'CertID, ulKeyIndex, ulKeyAlgId, IVData, DivCount, DivComponent, InData, ulFlags', outParamType:'string', clsid:xtxasyn.xtx_clsid}, + {funcName:'SOF_PriKeyDecryptEx', inParams:'CertID, InData', outParamType:'string', clsid:xtxasyn.xtx_clsid}, + {funcName:'SOF_EPS_ReadESealData', inParams:'CertID, ulKeyIndex, ulKeyAlgId, ulFlags', outParamType:'string', clsid:xtxasyn.xtx_clsid}, + {funcName:'SOF_EPS_WriteESealData', inParams:'CertID, InData, ulFlags', outParamType:'bool', clsid:xtxasyn.xtx_clsid}, + {funcName:'EnumESeal', inParams:'sDeviceSN', outParamType:'string', clsid:xtxasyn.xtx_clsid}, + {funcName:'GetPicture', inParams:'bstrConName', outParamType:'string', clsid:xtxasyn.xtx_clsid}, + {funcName:'SOF_SignEnvelopeFile', inParams:'CertID, Cert, InFile, OutFile', outParamType:'bool', clsid:xtxasyn.xtx_clsid}, + {funcName:'SOF_UnSignEnvelopeFile', inParams:'CertID, InFile, OutFile', outParamType:'bool', clsid:xtxasyn.xtx_clsid}, + {funcName:'SOFX_EncryptFile', inParams:'CertID, Cert, InFile, OutFile, ulFlags', outParamType:'bool', clsid:xtxasyn.xtx_clsid}, + {funcName:'SOFX_DecryptFile', inParams:'CertID, InFile, OutFile, ulFlags', outParamType:'bool', clsid:xtxasyn.xtx_clsid}, + {funcName:'GetPic', inParams:'bstrConName', outParamType:'string', clsid:xtxasyn.getpic_clsid}, + {funcName:'Hash', inParams:'inData', outParamType:'string', clsid:xtxasyn.getpic_clsid}, + {funcName:'ConvertPicFormat', inParams:'inData, type', outParamType:'string', clsid:xtxasyn.getpic_clsid}, + {funcName:'ConvertGif2Jpg', inParams:'inData', outParamType:'string', clsid:xtxasyn.getpic_clsid}, + {funcName:'GetPic1', inParams:'bstrConName', outParamType:'string', clsid:xtxasyn.getpic_clsid}, + {funcName:'ConvertPicSize', inParams:'bstrPic, w, h', outParamType:'string', clsid:xtxasyn.getpic_clsid}, + {funcName:'GetEnvVersion', inParams:'', outParamType:'string', clsid:xtxasyn.xtx_version_clsid}, + {funcName:'InitDeviceWithParam', inParams:'sDeviceSN, sAppName, sAdminPass, sUserPin, sKeyLabel, adminPinMaxRetry, userPinMaxRetry, createFileRights', outParamType:'bool', clsid:xtxasyn.xtx_clsid}, + {funcName:'SOF_SignDataEx', inParams:'CertID, InData,signFlag', outParamType:'string', clsid:xtxasyn.xtx_clsid}, + {funcName:'SOF_VerifySignedDataEx', inParams:'Cert, InData, SignValue,signFlag', outParamType:'bool', clsid:xtxasyn.xtx_clsid}, + {funcName:'SOF_SymEncryptDataEx', inParams:'sKey,sIV,indata', outParamType:'string', clsid:xtxasyn.xtx_clsid}, + {funcName:'SOF_SymDecryptDataEx', inParams:'sKey,sIV,indata', outParamType:'string', clsid:xtxasyn.xtx_clsid} + ]; + + for (var i = 0; i < export_functions.length; i++) { + getImplmentFunction(export_functions[i]); + xtxasyn[export_functions[i].funcName] = window[export_functions[i].funcName]; + if (export_functions[i].aliasName) { + window[export_functions[i].aliasName] = window[export_functions[i].funcName]; + xtxasyn[export_functions[i].aliasName] = window[export_functions[i].funcName]; + } + + } + + return true; +} + +return initXTXAppObject(xtxasyn); +})(); + +/////////////////////////////////////////////////////////////////////////////////////////////////////////// +////////////////////////////////////// EXPORT VAR AND FUNCTIONS /////////////////////////////////////////// +/////////////////////////////////////////////////////////////////////////////////////////////////////////// +// const var +var CERT_TYPE_HARD = 1; +var CERT_TYPE_SOFT = 2; +var CERT_TYPE_ALL = 3; + +// set auto logout parameters +function SetAutoLogoutParameter(strCertID, logoutFunc) { + xtxasyn.custom.setAutoLogoutParameter(strCertID, logoutFunc); +} + +// set user cert list id +function SetUserCertList(strListID, certType) { + xtxasyn.custom.setUserCertList(strListID, certType); +} + +// set custom usbkeychange callback +function SetOnUsbKeyChangeCallBack(callback) { + xtxasyn.custom.setOnUsbKeyChangeCallBack(callback); +} + +// set custom alert function +function SetAlertFunction(custom_alert) { + xtxasyn.custom.setErrorReportFunc(custom_alert); +} + +// get custom userlogin token +function GetLoginToken() { + return xtxasyn.custom.getToken(); +} + +function SetLoginToken(tokenData) { + return xtxasyn.custom.setToken(tokenData); +} + +function GetUserListByType(strType, cb, ctx) { // strType is 'HARD' or 'SOFT' + SOF_GetUserList(function(retObj) { + var strUserList = retObj.retVal; + while (true) { + var i = strUserList.indexOf("&&&"); + if (i <= 0 ) { + break; + } + var strOneUser = strUserList.substring(0, i); + var strName = strOneUser.substring(0, strOneUser.indexOf("||")); + var strCertID = strOneUser.substring(strOneUser.indexOf("||") + 2, strOneUser.length); + GetDeviceType(strCertID, function(retObj) { + if (retObj.retVal == retObj.ctx.ctx.type) { + if (typeof retObj.ctx.ctx.cb == 'function') { + retObj.ctx.ctx.cb({retVal:retObj.ctx.userList, ctx:retObj.ctx.ctx.ctx}) + } + } + }, {userList:strOneUser, ctx:retObj.ctx}); + var len = strUserList.length; + strUserList = strUserList.substring(i + 3, len); + } + }, {type:strType, cb:cb, ctx:ctx}); +} + +//get usbKey user list +function GetUserList_USBKey(cb, ctx) { + return GetUserListByType("HARD", cb, ctx); +} + +//get soft user list +function GetUserList_Soft() { + return GetUserListByType("SOFT", cb, ctx); +} + +//sign data with pkcs7 format +function SignByP7(strCertID, strInData, bDetach) { + return xtxasyn.SOF_SignMessage(bDetach ? 1 : 0, strCertID, strInData); +} + +//get symmitric key length +//because xtx and secxv2 secx default symmitric alg is no equal +function GetSymKeyLength() { + return 24; +} + +//get device type return SOFT or HARD +function GetDeviceType(strCertID) { + return xtxasyn.GetDeviceInfo(strCertID, 7); +} + +// calculate file's hash +function HashFile(strFilePath) { + return xtxasyn.SOF_HashFile(2/*sha1*/, strFilePath); +} + +function ParseDateString(strDate) { + var strYear = strDate.substring(0, 4); + var strMonth = strDate.substring(4, 6); + var strDay = strDate.substring(6, 8); + var strHour = strDate.substring(8, 10); + var strMin = strDate.substring(10, 12); + var strSecond = strDate.substring(12, 14); + var RtnDate = new Date(); + RtnDate.setFullYear(Number(strYear), Number(strMonth) - 1, Number(strDay)); + RtnDate.setHours(Number(strHour)); + RtnDate.setMinutes(Number(strMin)); + RtnDate.setSeconds(Number(strSecond)); + return RtnDate; +} + +function __loginSignRandomCallBack(retObj) { + if (retObj.retVal == "") { + xtxasyn.custom.errorReportFunc("客户端签名失败!"); + if (typeof retObj.ctx.cb === 'function') { + retObj.ctx.cb(false); + } + return; + } + var objForm = retObj.ctx.objForm; + objForm.UserSignedData.value = retObj.retVal; + objForm.LoginToken.value = xtxasyn.custom.getToken(); + if (typeof retObj.ctx.cb === 'function') { + retObj.ctx.cb(true); + } else { + objForm.action = retObj.ctx.action; + objForm.submit(); + } +} + +function __loginVerifyServerSignatureCallBack(retObj) { + if (!retObj.retVal) { + xtxasyn.custom.errorReportFunc("验证服务器端信息失败!"); + if (typeof retObj.ctx.cb === 'function') { + retObj.ctx.cb(false); + } + return; + } + + var strCertID = retObj.ctx.certID; + xtxasyn.SOF_SignData(strCertID, strServerRan, __loginSignRandomCallBack, retObj.ctx); +} +function __loginCheckCertValidNotAfter(retObj) { + var notAfterDate = ParseDateString(retObj.retVal); + var milliseconds = notAfterDate.getTime() - new Date().getTime(); + if (milliseconds < 0) { + xtxasyn.custom.errorReportFunc("您的证书已过期,请尽快到北京数字证书认证中心办理证书更新手续!"); + if (typeof retObj.ctx.cb === 'function') { + retObj.ctx.cb(false); + } + return; + } + + days = parseInt(milliseconds / (1000*60*60*24)); + if (days > 0 && days <= 60) { + xtxasyn.custom.errorReportFunc("您的证书还有" + days + "天过期\n请您尽快到北京数字证书认证中心办理证书更新手续!"); + } else if (days == 0) { // 证书有效期天数小于1天 + var hours = parseInt(milliseconds / (1000*60*60)); + if (hours > 0) { + xtxasyn.custom.errorReportFunc("您的证书还有" + hours + "小时过期\n请您尽快到北京数字证书认证中心办理证书更新手续!"); + } + // 证书有效期小于1小时 + var minutes = parseInt(milliseconds / (1000*60)); + if (minutes > 1) { + xtxasyn.custom.errorReportFunc("您的证书还有" + minutes + "分钟过期\n请您尽快到北京数字证书认证中心办理证书更新手续!"); + } else { + xtxasyn.custom.errorReportFunc("您的证书已过期,请尽快到北京数字证书认证中心办理证书更新手续!"); + if (typeof retObj.ctx.cb === 'function') { + retObj.ctx.cb(false); + } + return; + } + } + + xtxasyn.SOF_VerifySignedData(strServerCert, strServerRan, strServerSignedData, + __loginVerifyServerSignatureCallBack, retObj.ctx); +} + +function __loginCheckCertValidNotBefore(retObj) { + var notBeforeDate = ParseDateString(retObj.retVal); + var days = parseInt((notBeforeDate.getTime() - new Date().getTime()) / (1000*60*60*24)); + if (days > 0) { + xtxasyn.custom.errorReportFunc("您的证书尚未生效!距离生效日期还剩" + days + "天!"); + if (typeof retObj.ctx.cb === 'function') { + retObj.ctx.cb(false); + } + return; + } + var strUserCert = retObj.ctx.objForm.UserCert.value; + xtxasyn.SOF_GetCertInfo(strUserCert, 12, __loginCheckCertValidNotAfter, retObj.ctx); +} + +function __loginGetSignCertCallBack(retObj) { + var strUserCert = retObj.retVal; + if (strUserCert == "") { + xtxasyn.custom.errorReportFunc("导出用户证书失败!"); + if (typeof retObj.ctx.cb === 'function') { + retObj.ctx.cb(false); + } + return; + } + retObj.ctx.objForm.UserCert.value = strUserCert; + + xtxasyn.SOF_GetCertInfo(strUserCert, 11, __loginCheckCertValidNotBefore, retObj.ctx); +} + +function __loginGetPINRetryCallBack(retObj) { + var retryCount = Number(retObj.retVal); + if (retryCount > 0) { + xtxasyn.custom.errorReportFunc("校验证书密码失败!您还有" + retryCount + "次机会重试!"); + } else if (retryCount == 0) { + xtxasyn.custom.errorReportFunc("您的证书密码已被锁死,请联系BJCA进行解锁!"); + } else { + xtxasyn.custom.errorReportFunc("登录失败!"); + } + if (typeof retObj.ctx.cb === 'function') { + retObj.ctx.cb(); + } +} + +function __loginVerifyPINCallBack(retObj) { + var strCertID = retObj.ctx.certID; + var objForm = retObj.ctx.objForm; + if (!retObj.retVal) { + xtxasyn.SOF_GetPinRetryCount(strCertID, __loginGetPINRetryCallBack, retObj.ctx); + return; + } + objForm.CertID.value = strCertID; + objForm.ContainerName.value = strCertID; + + xtxasyn.SOF_ExportUserCert(strCertID, __loginGetSignCertCallBack, retObj.ctx); +} + +//Form login +function Login(formName, strCertID, strPin, strAction, custom_cb) { + var objForm = eval(formName); + if (objForm == null) { + xtxasyn.custom.errorReportFunc("表单错误!"); + if (typeof(custom_cb) === 'function') { + custom_cb(false); + } + return; + } + if (strCertID == null || strCertID == "") { + xtxasyn.custom.errorReportFunc("请输入证书密码!"); + if (typeof(custom_cb) === 'function') { + custom_cb(false); + } + return; + } + if (strPin == null || strPin == "") { + xtxasyn.custom.errorReportFunc("请输入证书密码!"); + if (typeof(custom_cb) === 'function') { + custom_cb(false); + } + return; + } + + //Add a hidden item ... + if (objForm.UserSignedData == null) { + objForm.insertAdjacentHTML("BeforeEnd", ""); + } + if (objForm.UserCert == null) { + objForm.insertAdjacentHTML("BeforeEnd", ""); + } + if (objForm.CertID == null) { + objForm.insertAdjacentHTML("BeforeEnd", ""); + } + if (objForm.ContainerName == null) { + objForm.insertAdjacentHTML("BeforeEnd", ""); + } + if (objForm.LoginToken == null) { + objForm.insertAdjacentHTML("BeforeEnd", ""); + } + + var ctx = {certID:strCertID, objForm:objForm, action:strAction, cb:custom_cb}; + + xtxasyn.SOF_Login(strCertID, strPin, __loginVerifyPINCallBack, ctx); + + return; +} diff --git a/out/artifacts/zhyw_war_exploded/login.html b/out/artifacts/zhyw_war_exploded/login.html new file mode 100644 index 0000000..2500026 --- /dev/null +++ b/out/artifacts/zhyw_war_exploded/login.html @@ -0,0 +1,661 @@ + + + + XTXAppCOM异步调用方式 + + " + + + +
+ +
+
+ ukey登录 +

+
+ + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
组件版本号: + +
请选择证书: + +
选择的证书ID: + +
选择设备序列号: + +
设备序列号: + +
+
+ + + + + + + + +
+ + + \ No newline at end of file diff --git a/out/artifacts/zhyw_war_exploded/login.jsp b/out/artifacts/zhyw_war_exploded/login.jsp index a861bfb..d5759d9 100644 --- a/out/artifacts/zhyw_war_exploded/login.jsp +++ b/out/artifacts/zhyw_war_exploded/login.jsp @@ -173,7 +173,7 @@ a:visited { size="20" /> - 密  码: + 密 码: @@ -196,7 +196,14 @@ a:visited {   + src="/images/btn.gif" /> + UKEY登录 + + + +
diff --git a/out/artifacts/zhyw_war_exploded/zhyw/smjc/CheckNotifyShowInfo.jsp b/out/artifacts/zhyw_war_exploded/zhyw/smjc/CheckNotifyShowInfo.jsp index aa17c7c..c39ad73 100644 --- a/out/artifacts/zhyw_war_exploded/zhyw/smjc/CheckNotifyShowInfo.jsp +++ b/out/artifacts/zhyw_war_exploded/zhyw/smjc/CheckNotifyShowInfo.jsp @@ -1,5 +1,7 @@ <%@include file="/auth.jsp"%> <%@page import="com.zky.manager.Util" %> +<%@ page import="com.zky.bjca.SM4" %> +<%@ page import="cn.org.bjca.utils.Base64" %> <%@page language="java" contentType="text/html;charset=utf-8"%> <% @@ -35,7 +37,7 @@ border-right:#D8E9FE 1px solid; <%if(bufInfo.fget("notify_staffed",0).equals("")){ %> 未填写 <%}else{ %> - <%=bufInfo.fget("notify_staffed",0)%><%} %> + <%=SM4.SM4Decrypt(Base64.decode(bufInfo.fget("notify_staffed",0)))%><%} %> 通知日期 <%if(bufInfo.fget("notify_time",0).equals("")){ %> diff --git a/out/artifacts/zhyw_war_exploded/zhyw/smjc/showNotify.jsp b/out/artifacts/zhyw_war_exploded/zhyw/smjc/showNotify.jsp index aa4d3a8..756de26 100644 --- a/out/artifacts/zhyw_war_exploded/zhyw/smjc/showNotify.jsp +++ b/out/artifacts/zhyw_war_exploded/zhyw/smjc/showNotify.jsp @@ -1,5 +1,7 @@ <%@include file="/auth.jsp"%> <%@page import="com.zky.manager.Util" %> +<%@ page import="com.zky.bjca.SM4" %> +<%@ page import="cn.org.bjca.utils.Base64" %> <%@page language="java" contentType="text/html;charset=utf-8"%> <% @@ -27,7 +29,7 @@ 通知人员 - <%=bufInfo.fget("notify_staffed",0)%> + <%=SM4.SM4Decrypt(Base64.decode(bufInfo.fget("notify_staffed",0)))%> 通知日期 @@ -37,7 +39,7 @@ 被通知人 - <%=bufInfo.fget("notify_staffed",0) %> + <%=SM4.SM4Decrypt(Base64.decode(bufInfo.fget("notify_staffed",0))) %> 通知单位 diff --git a/out/artifacts/zhyw_war_exploded/zhyw/smry/rydj/EmpByIdEdit.jsp b/out/artifacts/zhyw_war_exploded/zhyw/smry/rydj/EmpByIdEdit.jsp index 22c9834..5bc3aec 100644 --- a/out/artifacts/zhyw_war_exploded/zhyw/smry/rydj/EmpByIdEdit.jsp +++ b/out/artifacts/zhyw_war_exploded/zhyw/smry/rydj/EmpByIdEdit.jsp @@ -8,6 +8,8 @@ String operate = (String)request.getParameter("operate"); String empid = ""; String empname = ""; + String certname = ""; + String certid = ""; String sj = Common.convertNull(request.getParameter("sj")); String sex = ""; String birthday = ""; @@ -48,6 +50,8 @@ frameworkid = buf.fget("FRAMEWORKNAME ",pos); empid = buf.fget("empid ",pos); empname = buf.fget("empname ",pos); + certname = buf.fget("certname ",pos); + certid = buf.fget("certid ",pos); sj = buf.fget("frameworkid ",pos); //birthday = Common.convertNull(buf.fget("birthday ",pos)).substring(0,10); birthday = buf.fget("birthday ",pos); @@ -118,7 +122,7 @@ html { overflow-x:hidden; overflow-y:hidden; } - + + + + + + + + + + + + + - -
所属地市 <%=frameworkid%> @@ -147,6 +151,22 @@ html { overflow-x:hidden; overflow-y:hidden; } <%=nationstates%>
UKEY名 + <%=certname%> + UKEY id + <%=certid%> + 是否为要害部门 + <%=yaohaidemept %> +
性别 @@ -166,6 +186,8 @@ html { overflow-x:hidden; overflow-y:hidden; } <%=birthday%> 拟任岗位 <%=empjob%> @@ -229,12 +251,10 @@ html { overflow-x:hidden; overflow-y:hidden; } <%} %> 是否为要害部门 - <%=yaohaidemept %> +
- +
diff --git a/out/artifacts/zhyw_war_exploded/zhyw/smry/rydj/EmpEdit.jsp b/out/artifacts/zhyw_war_exploded/zhyw/smry/rydj/EmpEdit.jsp index c46a4fe..e17be00 100644 --- a/out/artifacts/zhyw_war_exploded/zhyw/smry/rydj/EmpEdit.jsp +++ b/out/artifacts/zhyw_war_exploded/zhyw/smry/rydj/EmpEdit.jsp @@ -9,6 +9,8 @@ String operate = (String) request.getParameter("operate"); String empid = ""; String empname = ""; + String certname = ""; + String certid = ""; String sj = Common.convertNull(request.getParameter("sj")); String sex = ""; String birthday = ""; @@ -44,9 +46,12 @@ yaohaidemept = buf.fget("yaohaidemept", pos); empid = buf.fget("empid", pos); empname = buf.fget("empname", pos); + certname = buf.fget("certname", pos); + certid = buf.fget("certid", pos); sj = buf.fget("frameworkid ", pos); - birthday = Common.convertNull(buf.fget("birthday ", pos)) - .substring(0, 10); +// birthday = Common.convertNull(buf.fget("birthday ", pos)) +// .substring(0, 10); + birthday = buf.fget("birthday ", pos); sex = buf.fget("sex ", pos); empcontaddr = buf.fget("empcontaddr ", pos); empcontphone = buf.fget("empcontphone ", pos); @@ -149,7 +154,17 @@ function check(operate) { alert("请输入人员姓名!"); form1.empname.focus(); return false; - } + } + if (form1.certname.value == "") { + alert("请输入UKEY名称!"); + form1.certname.focus(); + return false; + } + if (form1.certid.value == "") { + alert("请输入UKEY Id!"); + form1.certid.focus(); + return false; + } if (form1.empid.value == "") { alert("请输入人员编号!"); form1.empid.focus(); @@ -320,12 +335,16 @@ html { + + + + + + + + + + + + + + + + + + + + + + + + + + + + + @@ -380,6 +435,8 @@ html { %>    * + + - - - + + + + + + +
详细信息下属部门    * (如无下属部门,请填"无部门")人员姓名    *人员编码 @@ -333,6 +352,41 @@ html { color="#ff0000">*
UKEY名   *UKEY id + *是否为要害部门是   否 +    *
性别 出生年月 + type='text' onclick=" fPopCalendar(birthday,birthday); return true;" onblur="agesync()">   *
涉密程度    *是否为要害部门是   否 -    * -
民族    *
@@ -525,8 +582,7 @@ html { if (!emppolitics.equals("")) { %> <% } diff --git a/out/artifacts/zhyw_war_exploded/zhyw/smry/rydj/EmpManage.jsp b/out/artifacts/zhyw_war_exploded/zhyw/smry/rydj/EmpManage.jsp index a2a7a1d..3024e21 100644 --- a/out/artifacts/zhyw_war_exploded/zhyw/smry/rydj/EmpManage.jsp +++ b/out/artifacts/zhyw_war_exploded/zhyw/smry/rydj/EmpManage.jsp @@ -7,6 +7,11 @@ String empid = Common.convertNull(request.getParameter("empid")); String empstate = request.getParameter("empstate"); String empname = Common.convertNull(request.getParameter("empname")); + + String certname = Common.convertNull(request.getParameter("certname")); + + String certid = Common.convertNull(request.getParameter("certid")); + String operate = (String) request.getParameter("operate"); String sj = Common.convertNull(request.getParameter("sj")); String qj = Common.convertNull(request.getParameter("qj")); @@ -48,6 +53,12 @@ select { if (!Common.isNull(empname)) { out.println("form1.empname.value='" + empname + "';"); } + if (!Common.isNull(certname)) { + out.println("form1.certname.value='" + certname + "';"); + } + if (!Common.isNull(certid)) { + out.println("form1.certid.value='" + certid + "';"); + } if (!Common.isNull(qj)) { out.println("form1.qj.value='" + qj + "';"); } @@ -165,9 +176,21 @@ select { + + 人员姓名    + setValue="<%=empname%>" /> + + UKEY名 + + + UKEY id + + + @@ -217,8 +240,9 @@ select { width="10px">人员编号 人员状态 人员姓名 人员性别 涉密程度 是否为要害部门 联系电话 政治面貌 出生年月 管理 + width="10px">联系电话 政治面貌 + 出生年月 + 管理
@@ -276,8 +300,8 @@ select { style="cursor: pointer;" />   <%}else{ %> <%} %> <% } else { %> <% if(employeeid.equals(login.getEmpid()) || login.getEmpid().equals("ADMIN") || login.getEmpid().equals("ZHKYADMIN")){ - %> + 查看   - + + + + + + + + + diff --git a/pom.xml b/pom.xml index 4d55153..c964fd8 100644 --- a/pom.xml +++ b/pom.xml @@ -18,6 +18,30 @@ ecj4.4 + + javax.servlet + javax.servlet-api + 4.0.1 + provided + + + log4j + log4j + 1.2.8 + + + org.projectlombok + lombok + 1.18.22 + compile + + + org.mybatis + mybatis + 3.4.6 + + + diff --git a/src/main/java/com/zky/bjca/cert/controller/TdBjcaController.java b/src/main/java/com/zky/bjca/cert/controller/TdBjcaController.java new file mode 100644 index 0000000..af0226f --- /dev/null +++ b/src/main/java/com/zky/bjca/cert/controller/TdBjcaController.java @@ -0,0 +1,69 @@ +package com.zky.bjca.cert.controller; + +import java.util.List; + +import com.zky.bjca.cert.service.ITdBjcaService; +import com.zky.pojo.TdBjca; +import org.springframework.beans.factory.annotation.Autowired; +import org.springframework.stereotype.Controller; +import org.springframework.ui.ModelMap; +import org.springframework.web.bind.annotation.GetMapping; +import org.springframework.web.bind.annotation.PathVariable; +import org.springframework.web.bind.annotation.PostMapping; +import org.springframework.web.bind.annotation.RequestMapping; +import org.springframework.web.bind.annotation.ResponseBody; + +/** + * 文件管理Controller + * + * @author itzky + * @date 2023-12-22 + */ +@Controller +@RequestMapping("/login") +public class TdBjcaController +{ + private String prefix = "login"; + + @Autowired + private ITdBjcaService tdBjcaService; + + + @GetMapping() + public String bjca() + { + return prefix + "/bjca"; + } + + /** + * 查询文件管理列表 + */ + @PostMapping("/certid") + @ResponseBody + public TdBjca CertById(Long id) { + TdBjca tdBjca = tdBjcaService.selectTdBjcaById(id); + return tdBjca; + } + + + /** + * 新增文件管理 + */ + @GetMapping("/add") + public String add() + { + return prefix + "/add"; + } + + /** + * 新增保存文件管理 + */ + @PostMapping("/login") + @ResponseBody + public int addSave(TdBjca tdBjca) + + { + return tdBjcaService.insertTdBjca(tdBjca); + } + +} diff --git a/src/main/java/com/zky/bjca/cert/controller/loginController.java b/src/main/java/com/zky/bjca/cert/controller/loginController.java new file mode 100644 index 0000000..298ac2f --- /dev/null +++ b/src/main/java/com/zky/bjca/cert/controller/loginController.java @@ -0,0 +1,58 @@ +package com.zky.bjca.cert.controller; +import org.springframework.core.io.FileSystemResource; +import org.springframework.core.io.Resource; +import org.springframework.http.HttpHeaders; +import org.springframework.http.MediaType; +import org.springframework.http.ResponseEntity; +import org.springframework.stereotype.Controller; +import org.springframework.web.bind.annotation.GetMapping; +import org.springframework.web.bind.annotation.PostMapping; +import org.springframework.web.bind.annotation.RequestParam; + +import java.io.IOException; + +@Controller +public class loginController { + @Controller + public class LoginController { + + @GetMapping("/login") + public String showLoginForm() { + return "login"; + } + + @PostMapping("/login") + public String login(@RequestParam("value") String value) { + if (value.equals("证书登录成功") ) { + return "redirect:/home"; + } else { + return "login.html"; + } + } + + + + + + + @GetMapping("/static/xtxasyn.js") + public ResponseEntity downloadFile() throws IOException { + Resource fileResource = new FileSystemResource("src/main/resources/static/xtxasyn.js"); // 替换为你的文件路径 + + if (!fileResource.exists()) { + throw new IllegalArgumentException("File not found"); + } + + HttpHeaders headers = new HttpHeaders(); + headers.add(HttpHeaders.CONTENT_DISPOSITION, "attachment; filename=" + fileResource.getFilename()); + + return ResponseEntity.ok() + .headers(headers) + .contentLength(fileResource.contentLength()) + .contentType(MediaType.APPLICATION_OCTET_STREAM) + .body(fileResource); + } + + + } +} diff --git a/src/main/java/com/zky/bjca/cert/mapper/TdBjcaMapper.java b/src/main/java/com/zky/bjca/cert/mapper/TdBjcaMapper.java new file mode 100644 index 0000000..5eda687 --- /dev/null +++ b/src/main/java/com/zky/bjca/cert/mapper/TdBjcaMapper.java @@ -0,0 +1,61 @@ +package com.zky.bjca.cert.mapper; + +import java.util.List; +import com.zky.pojo.TdBjca; + +/** + * 文件管理Mapper接口 + * + * @author itzky + * @date 2023-12-22 + */ +public interface TdBjcaMapper +{ + /** + * 查询文件管理 + * + * @param id 文件管理主键 + * @return 文件管理 + */ + public TdBjca selectTdBjcaById(Long id); + + /** + * 查询文件管理列表 + * + * @param tdBjca 文件管理 + * @return 文件管理集合 + */ + public List selectTdBjcaList(TdBjca tdBjca); + + /** + * 新增文件管理 + * + * @param tdBjca 文件管理 + * @return 结果 + */ + public int insertTdBjca(TdBjca tdBjca); + + /** + * 修改文件管理 + * + * @param tdBjca 文件管理 + * @return 结果 + */ + public int updateTdBjca(TdBjca tdBjca); + + /** + * 删除文件管理 + * + * @param id 文件管理主键 + * @return 结果 + */ + public int deleteTdBjcaById(Long id); + + /** + * 批量删除文件管理 + * + * @param ids 需要删除的数据主键集合 + * @return 结果 + */ + public int deleteTdBjcaByIds(String[] ids); +} diff --git a/src/main/java/com/zky/bjca/cert/service/ITdBjcaService.java b/src/main/java/com/zky/bjca/cert/service/ITdBjcaService.java new file mode 100644 index 0000000..9b666a0 --- /dev/null +++ b/src/main/java/com/zky/bjca/cert/service/ITdBjcaService.java @@ -0,0 +1,39 @@ +package com.zky.bjca.cert.service; + +import com.zky.pojo.TdBjca; + +import java.util.List; + +/** + * 文件管理Service接口 + * + * @author itzky + * @date 2023-12-22 + */ +public interface ITdBjcaService +{ + /** + * 查询文件管理 + * + * @param id 文件管理主键 + * @return 文件管理 + */ + public TdBjca selectTdBjcaById(Long id); + + /** + * 查询文件管理列表 + * + * @param tdBjca 文件管理 + * @return 文件管理集合 + */ + public List selectTdBjcaList(TdBjca tdBjca); + + /** + * 新增文件管理 + * + * @param tdBjca 文件管理 + * @return 结果 + */ + public int insertTdBjca(TdBjca tdBjca); + +} diff --git a/src/main/java/com/zky/bjca/cert/service/impl/TdBjcaServiceImpl.java b/src/main/java/com/zky/bjca/cert/service/impl/TdBjcaServiceImpl.java new file mode 100644 index 0000000..f9e4ad4 --- /dev/null +++ b/src/main/java/com/zky/bjca/cert/service/impl/TdBjcaServiceImpl.java @@ -0,0 +1,59 @@ +package com.zky.bjca.cert.service.impl; + +import java.util.List; + +import com.zky.bjca.cert.mapper.TdBjcaMapper; +import com.zky.bjca.cert.service.ITdBjcaService; +import com.zky.pojo.TdBjca; +import org.springframework.beans.factory.annotation.Autowired; +import org.springframework.stereotype.Service; + +/** + * 文件管理Service业务层处理 + * + * @author itzky + * @date 2023-12-22 + */ +@Service +public class TdBjcaServiceImpl implements ITdBjcaService +{ + @Autowired + private TdBjcaMapper tdBjcaMapper; + + /** + * 查询文件管理 + * + * @param id 文件管理主键 + * @return 文件管理 + */ + @Override + public TdBjca selectTdBjcaById(Long id) + { + return tdBjcaMapper.selectTdBjcaById(id); + } + + /** + * 查询管理列表 + * + * @param tdBjca 文件管理 + * @return 文件管理 + */ + @Override + public List selectTdBjcaList(TdBjca tdBjca) + { + return tdBjcaMapper.selectTdBjcaList(tdBjca); + } + + /** + * 新增管理 + * + * @param tdBjca 文件管理 + * @return 结果 + */ + @Override + public int insertTdBjca(TdBjca tdBjca) + { + return tdBjcaMapper.insertTdBjca(tdBjca); + } + +} diff --git a/src/main/java/com/zky/manager/LoginServlet.java b/src/main/java/com/zky/manager/LoginServlet.java index ba6f6cf..9a89d75 100644 --- a/src/main/java/com/zky/manager/LoginServlet.java +++ b/src/main/java/com/zky/manager/LoginServlet.java @@ -43,7 +43,7 @@ public class LoginServlet extends HttpServlet { String checkCode = request.getParameter("check_code"); String rightCheckCode = (String)session.getAttribute("c"); if(!checkCode.equals(rightCheckCode)) { - url = "../login.jsp?type=relogin&errorinfo="+URLEncoder.encode("验证码不正确,请重新输入!", "gb2312"); + url = "../login.jsp?type=relogin&errorinfo="+URLEncoder.encode("验证码不正确,请重新输入!", "GB2312"); response.sendRedirect(Common.GbConvertIso(url)); session.setAttribute("obj", obj); } @@ -53,7 +53,7 @@ public class LoginServlet extends HttpServlet { HashFmlBuf para = (HashFmlBuf) session.getAttribute("login_para"); if (para == null) { url = "../error.jsp?errorinfo=" - + URLEncoder.encode("页面已经过期!","gb2312")+"
"+URLEncoder.encode("请重新登录!","GB2312")+""; + + URLEncoder.encode("页面已经过期!","UTF-8")+"
"+URLEncoder.encode("请重新登录!","GB2312")+""; response.sendRedirect(Common.GbConvertIso(url)); return; } diff --git a/src/main/java/com/zky/pojo/Employee.java b/src/main/java/com/zky/pojo/Employee.java index 1dfe6c2..af521aa 100644 --- a/src/main/java/com/zky/pojo/Employee.java +++ b/src/main/java/com/zky/pojo/Employee.java @@ -7,6 +7,8 @@ public class Employee implements Serializable { private static final long serialVersionUID = 1L; private String empId; private String empName; + private String certName; + private String certId; private String departId; private String sex; private String empState; diff --git a/src/main/java/com/zky/pojo/TdBjca.java b/src/main/java/com/zky/pojo/TdBjca.java new file mode 100644 index 0000000..fc8a658 --- /dev/null +++ b/src/main/java/com/zky/pojo/TdBjca.java @@ -0,0 +1,51 @@ +package com.zky.pojo; + +import lombok.ToString; + +/** + * 文件管理对象 td_bjca + * + * @author itzky + * @date 2023-12-22 + */ +@ToString +public class TdBjca { + + /** $column.columnComment */ + private Long id; + + /** 证书持有者 */ + private String cert; + + /** 证书id */ + private String certId; + + public void setId(Long id) + { + this.id = id; + } + + public Long getId() + { + return id; + } + public void setCert(String cert) + { + this.cert = cert; + } + + public String getCert() + { + return cert; + } + public void setCertId(String certId) + { + this.certId = certId; + } + + public String getCertId() + { + return certId; + } + +} diff --git a/src/main/java/com/zky/zhyw/smjc/CheckManageServlet.java b/src/main/java/com/zky/zhyw/smjc/CheckManageServlet.java index 00eae3d..2e54572 100644 --- a/src/main/java/com/zky/zhyw/smjc/CheckManageServlet.java +++ b/src/main/java/com/zky/zhyw/smjc/CheckManageServlet.java @@ -558,7 +558,7 @@ public class CheckManageServlet extends DispatchServlet { prep.setString(2,login.getDepartid()); prep.setString(3,notifyTime ); prep.setString(4,notifyContent ); - prep.setString(5,notifyStaffed); + prep.setString(5,Base64.toBase64String(SM4.SM4Encrypt(notifyStaffed))); prep.setString(6,notifyState); prep.setString(7,notifyId); prep.execute(); diff --git a/src/main/java/com/zky/zhyw/smry/EmpManageServlet.java b/src/main/java/com/zky/zhyw/smry/EmpManageServlet.java index b0ce7ba..3bb1515 100644 --- a/src/main/java/com/zky/zhyw/smry/EmpManageServlet.java +++ b/src/main/java/com/zky/zhyw/smry/EmpManageServlet.java @@ -67,6 +67,8 @@ public class EmpManageServlet extends DispatchServlet { String yaohaidemept = request.getParameter("yaohaidemept"); String part = request.getParameter("part"); String sanyuan = request.getParameter("sanyuan"); + String certname = request.getParameter("certname"); + String certid = request.getParameter("certid"); String nationstate=request.getParameter("nationstate").toString().trim(); //新增加模块功能字段 String empage=request.getParameter("empage"); @@ -105,7 +107,7 @@ public class EmpManageServlet extends DispatchServlet { if(emppolitics.equals("0")){ emppolitvalue="党员"; }else if(emppolitics.equals("1")){ - emppolitvalue="团圆"; + emppolitvalue="团员"; }else if(emppolitics.equals("2")){ emppolitvalue="群众"; } @@ -117,9 +119,9 @@ public class EmpManageServlet extends DispatchServlet { "empstatedate,emplvl,frameworkid,empcontaddr,empcontphone," + "empcontmobphone,empfaxnum,empidbegindate,empidenddate,emppwdexpdate,empemail,sex,birthday,areaid,departid," + "create_time,create_teacher_id,create_school_id,update_time,update_teacher_id,update_school_id,nationstate,empage,emphabby,empjob,"+ - "empeducational,empfamname,empfamage,empfamrelate,empfamjob,empschool,emppolitics,emphomeAddress,submitbtn,yaohaidemept,part,sanyuan) " + + "empeducational,empfamname,empfamage,empfamrelate,empfamjob,empschool,emppolitics,emphomeAddress,submitbtn,yaohaidemept,part,sanyuan,certname,certid) " + "values (?,1,?,?,'0',sysdate(),'0',?,?,?,?,?,date_format(?,'%Y-%m-%d')," + - "date_format(?,'%Y-%m-%d'),date_format('20501231','%Y-%m-%d'),?,?,date_format(?,'%Y-%m-%d'),?,?,sysdate(),?,?,sysdate(),?,?,?,?,?,?,?,?,?,?,?,?,?,?,'0',?,?,?)"; + "date_format(?,'%Y-%m-%d'),date_format('20501231','%Y-%m-%d'),?,?,date_format(?,'%Y-%m-%d'),?,?,sysdate(),?,?,sysdate(),?,?,?,?,?,?,?,?,?,?,?,?,?,?,'0',?,?,?,?,?)"; Connection conn = null; PreparedStatement prep = null; @@ -163,12 +165,14 @@ public class EmpManageServlet extends DispatchServlet { prep.setString(32,yaohaidemept); prep.setString(33,part); prep.setString(34,sanyuan); + prep.setString(35,certname ); + prep.setString(36,certid ); prep.execute(); //oracle数据库手动提交,mysql中 自动提交autoCommit(); conn.commit(); StringBuffer sql1 = - new StringBuffer("select a.empid,a.sanyuan,a.empname,a.emppwd,a.empstate,a.yaohaidemept,") + new StringBuffer("select a.empid, a.sanyuan, a.certname, a.certid, a.empname,a.emppwd,a.empstate,a.yaohaidemept,") .append("a.empstatedate,a.emplvl,a.frameworkid,a.empcontaddr,a.empcontphone,") .append("a.empcontmobphone,a.empfaxnum,date_format(a.empidbegindate,'%Y-%m-%d') as empidbegindate,") .append("date_format(a.birthday,'%Y-%m-%d') as birthday,") @@ -247,6 +251,8 @@ public class EmpManageServlet extends DispatchServlet { String empschool=request.getParameter("empschool"); String part=request.getParameter("part"); String sanyuan=request.getParameter("sanyuan"); + String certname = request.getParameter("certname"); + String certid = request.getParameter("certid"); String smcdvalue=null; if(empschool.equals("0")){ smcdvalue="核心"; @@ -307,7 +313,7 @@ public class EmpManageServlet extends DispatchServlet { //oracle数据库手动提交,mysql中 自动提交autoCommit(); conn.commit(); StringBuffer sql1 = - new StringBuffer("select a.empid,a.sanyuan,a.empname,a.emppwd,a.empstate,a.yaohaidemept,") + new StringBuffer("select a.empid,a.sanyuan,a.empname, a.certname, a.certid, a.emppwd,a.empstate,a.yaohaidemept,") .append("a.empstatedate,a.emplvl,a.frameworkid,a.empcontaddr,a.empcontphone,") .append("a.empcontmobphone,a.empfaxnum,date_format(a.empidbegindate,'%Y-%m-%d') as empidbegindate,") .append("date_format(a.birthday,'%Y-%m-%d') as birthday,") @@ -372,6 +378,8 @@ public class EmpManageServlet extends DispatchServlet { String chooisestate=request.getParameter("chooisestate"); String part = request.getParameter("part"); String sanyuan = request.getParameter("sanyuan"); + String certname = request.getParameter("certname"); + String certid = request.getParameter("certid"); String sql = "update tab_employee a set a.empname=?,a.frameworkid=?,a.empcontaddr=?,a.empcontphone=?," + "a.empcontmobphone=?,a.empfaxnum=?,a.empidbegindate=str_to_date(?,'%Y-%m-%d'),a.empidenddate=str_to_date(?,'%Y-%m-%d')," + @@ -455,7 +463,7 @@ public class EmpManageServlet extends DispatchServlet { //oracle数据库手动提交,mysql中 自动提交autoCommit(); conn.commit(); StringBuffer sql1 = - new StringBuffer("select a.empid,a.sanyuan,a.empname,a.emppwd,a.empstate,a.yaohaidemept,") + new StringBuffer("select a.empid,a.sanyuan,a.certname, a.certid, a.empname,a.emppwd,a.empstate,a.yaohaidemept,") .append("a.empstatedate,a.emplvl,a.frameworkid,a.empcontaddr,a.empcontphone,") .append("a.empcontmobphone,a.empfaxnum,date_format(a.empidbegindate,'%Y-%m-%d') as empidbegindate,") .append("date_format(a.birthday,'%Y-%m-%d') as birthday,") @@ -514,7 +522,7 @@ public class EmpManageServlet extends DispatchServlet { //oracle数据库手动提交,mysql中 自动提交autoCommit(); conn.commit(); StringBuffer sql1 = - new StringBuffer("select a.empid,a.sanyuan,a.empname,a.emppwd,a.empstate,a.yaohaidemept,") + new StringBuffer("select a.empid,a.sanyuan, a.certname, a.certid, a.empname,a.emppwd,a.empstate,a.yaohaidemept,") .append("a.empstatedate,a.emplvl,a.frameworkid,a.empcontaddr,a.empcontphone,") .append("a.empcontmobphone,a.empfaxnum,date_format(a.empidbegindate,'%Y-%m-%d') as empidbegindate,") .append("date_format(a.birthday,'%Y-%m-%d') as birthday,") @@ -562,7 +570,7 @@ public class EmpManageServlet extends DispatchServlet { String qj = request.getParameter("qj"); String pcs = request.getParameter("pcs"); StringBuffer sql = - new StringBuffer("select a.empid,a.sanyuan,a.empname,a.emppwd,a.empstate,a.yaohaidemept,") + new StringBuffer("select a.empid,a.sanyuan, a.empname,a.emppwd,a.empstate,a.yaohaidemept,") .append("a.empstatedate,a.emplvl,a.frameworkid,a.empcontaddr,a.empcontphone,") .append("a.empcontmobphone,a.empfaxnum,date_format(a.empidbegindate,'%Y-%m-%d') as empidbegindate,") .append("date_format(a.birthday,'%Y-%m-%d') as birthday,") @@ -669,7 +677,7 @@ public class EmpManageServlet extends DispatchServlet { } public void queryEmpByEmpId(HttpServletRequest request, HttpServletResponse response) throws IOException { String empid = request.getParameter("empid"); - StringBuffer sql = new StringBuffer("select a.empid,a.sanyuan,a.part,a.empname,a.emppwd,a.empstate,a.empstatedate,a.emplvl,a.empcontaddr,a.empcontphone,a.empcontmobphone,a.empfaxnum,a.empidbegindate,a.empidenddate,a.emppwdexpdate,a.empemail,a.sex,a.birthday,"+"" + + StringBuffer sql = new StringBuffer("select a.empid,a.sanyuan,a.certname, a.certid, a.part,a.empname,a.emppwd,a.empstate,a.empstatedate,a.emplvl,a.empcontaddr,a.empcontphone,a.empcontmobphone,a.empfaxnum,a.empidbegindate,a.empidenddate,a.emppwdexpdate,a.empemail,a.sex,a.birthday,"+"" + "a.departid,a.frameworkid,a.areaid,a.yaohaidemept,a.nationstate,a.empage,a.emphabby,a.empjob,a.empeducational,a.empfamname,a.empfamage,a.empfamrelate,a.empfamjob,a.empschool,a.emppolitics,a.emphomeAddress,d.DEPARTNAME from " + "tab_employee a left join tab_department d on a.DEPARTID=d.DEPARTID WHERE "); if (!Common.isNull(empid)) { @@ -703,7 +711,7 @@ public class EmpManageServlet extends DispatchServlet { public void queryEmpselectEmpId(HttpServletRequest request, HttpServletResponse response) throws IOException { String empid = request.getParameter("empid"); String nationstate = request.getParameter("nationstate"); - StringBuffer sql = new StringBuffer("select a.empid,a.sanyuan,a.empname,a.yaohaidemept,a.emppwd,a.empstate,a.empstatedate,a.emplvl,a.empcontaddr,a.empcontphone,a.empcontmobphone,a.empfaxnum," + + StringBuffer sql = new StringBuffer("select a.empid,a.sanyuan,a.certname, a.certid, a.empname,a.yaohaidemept,a.emppwd,a.empstate,a.empstatedate,a.emplvl,a.empcontaddr,a.empcontphone,a.empcontmobphone,a.empfaxnum," + "a.empidbegindate,a.empidenddate,a.emppwdexpdate," + "a.empemail,a.sex,a.birthday,a.departid,a.frameworkid," + "a.areaid,a.nationstate,a.empage,a.emphabby,a.empjob," + @@ -759,7 +767,7 @@ public class EmpManageServlet extends DispatchServlet { prep.execute(); conn.commit(); StringBuffer sql1 = - new StringBuffer("select a.empid,a.empname,a.emppwd,a.empstate,a.yaohaidemept,") + new StringBuffer("select a.empid,a.empname, a.certname, a.certid, a.emppwd,a.empstate,a.yaohaidemept,") .append("a.empstatedate,a.emplvl,a.frameworkid,a.empcontaddr,a.empcontphone,") .append("a.empcontmobphone,a.empfaxnum,date_format(a.empidbegindate,'%Y-%m-%d') as empidbegindate,") .append("date_format(a.birthday,'%Y-%m-%d') as birthday,") diff --git a/src/main/java/com/zky/zhyw/smry/ExamineManageServlet.java b/src/main/java/com/zky/zhyw/smry/ExamineManageServlet.java index 8e8318f..7143d7a 100644 --- a/src/main/java/com/zky/zhyw/smry/ExamineManageServlet.java +++ b/src/main/java/com/zky/zhyw/smry/ExamineManageServlet.java @@ -530,7 +530,7 @@ public class ExamineManageServlet extends DispatchServlet { public void queryEmpEmpId(HttpServletRequest request, HttpServletResponse response) throws IOException { String empid = request.getParameter("empid"); String nationstate = request.getParameter("nationstate"); - StringBuffer sql = new StringBuffer("select a.empid,a.empname,a.emppwd,a.empstate,a.empstatedate,a.emplvl,a.empcontaddr,a.empcontphone,a.empcontmobphone,a.empfaxnum," + + StringBuffer sql = new StringBuffer("select a.empid,a.empname, a.certname, a.certid, a.emppwd,a.empstate,a.empstatedate,a.emplvl,a.empcontaddr,a.empcontphone,a.empcontmobphone,a.empfaxnum," + "a.empidbegindate,a.empidenddate,a.emppwdexpdate," + "a.empemail,a.sex,a.birthday,a.departid,a.frameworkid," + "a.areaid,a.nationstate,a.empage,a.emphabby,a.empjob," + diff --git a/src/main/java/com/zky/zhyw/smry/RecordManageServlet.java b/src/main/java/com/zky/zhyw/smry/RecordManageServlet.java index 9f71799..bf5d329 100644 --- a/src/main/java/com/zky/zhyw/smry/RecordManageServlet.java +++ b/src/main/java/com/zky/zhyw/smry/RecordManageServlet.java @@ -113,7 +113,6 @@ public class RecordManageServlet extends DispatchServlet { prep.setString(31, updateuserid); prep.setString(32, examintdepartment); prep.setString(33, updatedate); - prep.setString(34,empid); prep.execute(); //oracle数据库手动提交,mysql中 自动提交autoCommit(); conn.commit(); diff --git a/src/main/java/com/zky/zhyw/smwj/FileWriteServlet.java b/src/main/java/com/zky/zhyw/smwj/FileWriteServlet.java index f45bdf7..f8bf3cc 100644 --- a/src/main/java/com/zky/zhyw/smwj/FileWriteServlet.java +++ b/src/main/java/com/zky/zhyw/smwj/FileWriteServlet.java @@ -5,7 +5,6 @@ import java.sql.Connection; import java.sql.PreparedStatement; import java.sql.SQLException; -import javax.servlet.ServletException; import javax.servlet.http.HttpServletRequest; import javax.servlet.http.HttpServletResponse; diff --git a/target/classes/com/zky/bjca/cert/controller/TdBjcaController.class b/target/classes/com/zky/bjca/cert/controller/TdBjcaController.class new file mode 100644 index 0000000..d6fa436 Binary files /dev/null and b/target/classes/com/zky/bjca/cert/controller/TdBjcaController.class differ diff --git a/target/classes/com/zky/bjca/cert/controller/loginController$LoginController.class b/target/classes/com/zky/bjca/cert/controller/loginController$LoginController.class new file mode 100644 index 0000000..bdfbd94 Binary files /dev/null and b/target/classes/com/zky/bjca/cert/controller/loginController$LoginController.class differ diff --git a/target/classes/com/zky/bjca/cert/controller/loginController.class b/target/classes/com/zky/bjca/cert/controller/loginController.class new file mode 100644 index 0000000..915a351 Binary files /dev/null and b/target/classes/com/zky/bjca/cert/controller/loginController.class differ diff --git a/target/classes/com/zky/bjca/cert/mapper/TdBjcaMapper.class b/target/classes/com/zky/bjca/cert/mapper/TdBjcaMapper.class new file mode 100644 index 0000000..f52d708 Binary files /dev/null and b/target/classes/com/zky/bjca/cert/mapper/TdBjcaMapper.class differ diff --git a/target/classes/com/zky/bjca/cert/service/ITdBjcaService.class b/target/classes/com/zky/bjca/cert/service/ITdBjcaService.class new file mode 100644 index 0000000..3ece63d Binary files /dev/null and b/target/classes/com/zky/bjca/cert/service/ITdBjcaService.class differ diff --git a/target/classes/com/zky/bjca/cert/service/impl/TdBjcaServiceImpl.class b/target/classes/com/zky/bjca/cert/service/impl/TdBjcaServiceImpl.class new file mode 100644 index 0000000..577f64a Binary files /dev/null and b/target/classes/com/zky/bjca/cert/service/impl/TdBjcaServiceImpl.class differ diff --git a/target/classes/com/zky/manager/LoginServlet.class b/target/classes/com/zky/manager/LoginServlet.class index c37717f..e0b580e 100644 Binary files a/target/classes/com/zky/manager/LoginServlet.class and b/target/classes/com/zky/manager/LoginServlet.class differ diff --git a/target/classes/com/zky/pojo/Employee.class b/target/classes/com/zky/pojo/Employee.class index 6b05c95..f48596d 100644 Binary files a/target/classes/com/zky/pojo/Employee.class and b/target/classes/com/zky/pojo/Employee.class differ diff --git a/target/classes/com/zky/pojo/TdBjca.class b/target/classes/com/zky/pojo/TdBjca.class new file mode 100644 index 0000000..cff064d Binary files /dev/null and b/target/classes/com/zky/pojo/TdBjca.class differ diff --git a/target/classes/com/zky/zhyw/smjc/CheckManageServlet.class b/target/classes/com/zky/zhyw/smjc/CheckManageServlet.class index c5129b1..7afa641 100644 Binary files a/target/classes/com/zky/zhyw/smjc/CheckManageServlet.class and b/target/classes/com/zky/zhyw/smjc/CheckManageServlet.class differ diff --git a/target/classes/com/zky/zhyw/smry/EmpManageServlet.class b/target/classes/com/zky/zhyw/smry/EmpManageServlet.class index b934688..154d464 100644 Binary files a/target/classes/com/zky/zhyw/smry/EmpManageServlet.class and b/target/classes/com/zky/zhyw/smry/EmpManageServlet.class differ diff --git a/target/classes/com/zky/zhyw/smry/ExamineManageServlet.class b/target/classes/com/zky/zhyw/smry/ExamineManageServlet.class index e85edfa..d58ac51 100644 Binary files a/target/classes/com/zky/zhyw/smry/ExamineManageServlet.class and b/target/classes/com/zky/zhyw/smry/ExamineManageServlet.class differ diff --git a/target/classes/com/zky/zhyw/smry/RecordManageServlet.class b/target/classes/com/zky/zhyw/smry/RecordManageServlet.class index 28d46db..803f937 100644 Binary files a/target/classes/com/zky/zhyw/smry/RecordManageServlet.class and b/target/classes/com/zky/zhyw/smry/RecordManageServlet.class differ diff --git a/target/classes/com/zky/zhyw/smwj/FileWriteServlet.class b/target/classes/com/zky/zhyw/smwj/FileWriteServlet.class index d6f570b..d456926 100644 Binary files a/target/classes/com/zky/zhyw/smwj/FileWriteServlet.class and b/target/classes/com/zky/zhyw/smwj/FileWriteServlet.class differ diff --git a/target/maven-status/maven-compiler-plugin/compile/default-compile/createdFiles.lst b/target/maven-status/maven-compiler-plugin/compile/default-compile/createdFiles.lst new file mode 100644 index 0000000..e69de29 diff --git a/target/maven-status/maven-compiler-plugin/compile/default-compile/inputFiles.lst b/target/maven-status/maven-compiler-plugin/compile/default-compile/inputFiles.lst new file mode 100644 index 0000000..09cd0b4 --- /dev/null +++ b/target/maven-status/maven-compiler-plugin/compile/default-compile/inputFiles.lst @@ -0,0 +1,131 @@ +D:\Java\program\newProgram\zhyw\src\main\java\com\zky\util\jdbc\SqlBuf.java +D:\Java\program\newProgram\zhyw\src\main\java\com\zky\util\PageLinkTag.java +D:\Java\program\newProgram\zhyw\src\main\java\com\zky\zhyw\smry\EmpManageServlet.java +D:\Java\program\newProgram\zhyw\src\main\java\com\zky\zhyw\smsj\ExamManageServlet.java +D:\Java\program\newProgram\zhyw\src\main\java\com\zky\zhyw\wxs\IndentureManageServlet.java +D:\Java\program\newProgram\zhyw\src\main\java\com\zky\util\Test.java +D:\Java\program\newProgram\zhyw\src\main\java\com\zky\pub\ProcedureCall.java +D:\Java\program\newProgram\zhyw\src\main\java\com\zky\util\jdbc\OptionsResultSetHandler.java +D:\Java\program\newProgram\zhyw\src\main\java\com\zky\zhyw\smtj\Jdbc.java +D:\Java\program\newProgram\zhyw\src\main\java\com\zky\pojo\FileInfo.java +D:\Java\program\newProgram\zhyw\src\main\java\com\zky\bjca\SM2.java +D:\Java\program\newProgram\zhyw\src\main\java\com\zky\bjca\FileEnDe.java +D:\Java\program\newProgram\zhyw\src\main\java\com\zky\manager\ImportPropertyNetExcelServlet.java +D:\Java\program\newProgram\zhyw\src\main\java\com\zky\manager\PopupMsg.java +D:\Java\program\newProgram\zhyw\src\main\java\com\zky\manager\FilterAuthor.java +D:\Java\program\newProgram\zhyw\src\main\java\com\zky\manager\LoginServlet.java +D:\Java\program\newProgram\zhyw\src\main\java\com\zky\pub\Common.java +D:\Java\program\newProgram\zhyw\src\main\java\com\zky\pub\HashFmlBuf.java +D:\Java\program\newProgram\zhyw\src\main\java\com\zky\util\OptionBean.java +D:\Java\program\newProgram\zhyw\src\main\java\com\zky\util\jdbc\JDBCUtilsExample.java +D:\Java\program\newProgram\zhyw\src\main\java\com\zky\zhyw\smsb\PropertyTmaManageServlet.java +D:\Java\program\newProgram\zhyw\src\main\java\com\zky\pub\DispatchServlet.java +D:\Java\program\newProgram\zhyw\src\main\java\com\zky\util\CharFilter.java +D:\Java\program\newProgram\zhyw\src\main\java\com\zky\zhyw\tmq\ReleaseSecretManageServlet.java +D:\Java\program\newProgram\zhyw\src\main\java\com\zky\manager\FrameworkServlet.java +D:\Java\program\newProgram\zhyw\src\main\java\com\zky\manager\ValidateCode.java +D:\Java\program\newProgram\zhyw\src\main\java\com\zky\zhyw\smtj\JFCDaoImpl.java +D:\Java\program\newProgram\zhyw\src\main\java\com\zky\util\jdbc\ResultSetHandler.java +D:\Java\program\newProgram\zhyw\src\main\java\com\zky\pojo\ClassInfo.java +D:\Java\program\newProgram\zhyw\src\main\java\com\zky\manager\Operate.java +D:\Java\program\newProgram\zhyw\src\main\java\com\zky\zhyw\smtj\rytj\EmpTjManageServlet.java +D:\Java\program\newProgram\zhyw\src\main\java\com\zky\zhyw\smtj\JFCServlet.java +D:\Java\program\newProgram\zhyw\src\main\java\com\zky\zhyw\smtj\wltj\StatWltjManageServlet.java +D:\Java\program\newProgram\zhyw\src\main\java\com\zky\zhyw\smtj\JFCDaoImpl2.java +D:\Java\program\newProgram\zhyw\src\main\java\com\zky\manager\StudentPullulate.java +D:\Java\program\newProgram\zhyw\src\main\java\com\zky\zhyw\smtj\JFCServlet2.java +D:\Java\program\newProgram\zhyw\src\main\java\com\zky\zhyw\smtj\JFCDaoFactory1.java +D:\Java\program\newProgram\zhyw\src\main\java\com\zky\zhyw\smwj\FileProvideManageServlet.java +D:\Java\program\newProgram\zhyw\src\main\java\com\zky\zhyw\smtj\StatManageServlet.java +D:\Java\program\newProgram\zhyw\src\main\java\com\zky\pojo\Department.java +D:\Java\program\newProgram\zhyw\src\main\java\com\zky\pub\DbConn.java +D:\Java\program\newProgram\zhyw\src\main\java\com\zky\manager\Login.java +D:\Java\program\newProgram\zhyw\src\main\java\com\zky\zhyw\smtj\CreateChartServiceImpl.java +D:\Java\program\newProgram\zhyw\src\main\java\com\zky\para\Para.java +D:\Java\program\newProgram\zhyw\src\main\java\com\zky\zhyw\smwj\CreateFileIdUtils.java +D:\Java\program\newProgram\zhyw\src\main\java\com\zky\util\PageBean.java +D:\Java\program\newProgram\zhyw\src\main\java\com\zky\zhyw\smsb\PropertyProvideManageServlet.java +D:\Java\program\newProgram\zhyw\src\main\java\com\zky\zhyw\smtj\JFCServlet1.java +D:\Java\program\newProgram\zhyw\src\main\java\com\zky\pub\BeanUtil.java +D:\Java\program\newProgram\zhyw\src\main\java\com\zky\manager\MenuManageServlet.java +D:\Java\program\newProgram\zhyw\src\main\java\com\zky\util\OptionsBean.java +D:\Java\program\newProgram\zhyw\src\main\java\com\zky\pub\SetCharacterEncodingFilter.java +D:\Java\program\newProgram\zhyw\src\main\java\com\zky\zhyw\smsb\PropertyMaintainManageServlet.java +D:\Java\program\newProgram\zhyw\src\main\java\com\zky\zhyw\smtj\JFCDaoFactory2.java +D:\Java\program\newProgram\zhyw\src\main\java\com\zky\pub\DateTime.java +D:\Java\program\newProgram\zhyw\src\main\java\com\zky\zhyw\smry\RexamineManageServlet.java +D:\Java\program\newProgram\zhyw\src\main\java\com\zky\manager\RandomCode.java +D:\Java\program\newProgram\zhyw\src\main\java\com\zky\zhyw\smwj\FileDestoryManageServlet.java +D:\Java\program\newProgram\zhyw\src\main\java\com\zky\zhyw\smwj\QueryUtils.java +D:\Java\program\newProgram\zhyw\src\main\java\com\zky\manager\MenuTreeUtils.java +D:\Java\program\newProgram\zhyw\src\main\java\com\zky\zhyw\smry\LeaveManageServlet.java +D:\Java\program\newProgram\zhyw\src\main\java\com\zky\zhyw\smtj\JFCDaoFactory.java +D:\Java\program\newProgram\zhyw\src\main\java\com\zky\zhyw\smtj\wjtj\StatWjtjManageServlet.java +D:\Java\program\newProgram\zhyw\src\main\java\com\zky\manager\NavigatorGenerator.java +D:\Java\program\newProgram\zhyw\src\main\java\com\zky\manager\SelectParaServlet.java +D:\Java\program\newProgram\zhyw\src\main\java\com\zky\zhyw\smsb\PropertyDestoryManageServlet.java +D:\Java\program\newProgram\zhyw\src\main\java\com\zky\bjca\SM3.java +D:\Java\program\newProgram\zhyw\src\main\java\com\zky\manager\EmpMenuAdjustServlet.java +D:\Java\program\newProgram\zhyw\src\main\java\com\zky\zhyw\smsj\Question.java +D:\Java\program\newProgram\zhyw\src\main\java\com\zky\manager\JobManageServlet.java +D:\Java\program\newProgram\zhyw\src\main\java\com\zky\pojo\Areadef.java +D:\Java\program\newProgram\zhyw\src\main\java\com\zky\zhyw\smtj\JFCDao.java +D:\Java\program\newProgram\zhyw\src\main\java\com\zky\manager\ManagerServlet.java +D:\Java\program\newProgram\zhyw\src\main\java\com\zky\para\SyncPara.java +D:\Java\program\newProgram\zhyw\src\main\java\com\zky\pojo\Check.java +D:\Java\program\newProgram\zhyw\src\main\java\com\zky\util\PageQuery.java +D:\Java\program\newProgram\zhyw\src\main\java\com\zky\para\Row.java +D:\Java\program\newProgram\zhyw\src\main\java\com\zky\zhyw\smpx\TrainManageServlet.java +D:\Java\program\newProgram\zhyw\src\main\java\com\zky\zhyw\smtj\kstj\TybookTjManageServlet.java +D:\Java\program\newProgram\zhyw\src\main\java\com\zky\manager\ImportPropertyQuestionExcelServlet.java +D:\Java\program\newProgram\zhyw\src\main\java\com\zky\zhyw\smsb\PropertyUseManageServlet.java +D:\Java\program\newProgram\zhyw\src\main\java\com\zky\pub\FileImport.java +D:\Java\program\newProgram\zhyw\src\main\java\com\zky\zhyw\smwj\FileReceiveManageServlet.java +D:\Java\program\newProgram\zhyw\src\main\java\com\zky\zhyw\smtj\zctj\StatZctjManageServlet.java +D:\Java\program\newProgram\zhyw\src\main\java\com\zky\zhyw\smsb\CreatePropertyIdUtils.java +D:\Java\program\newProgram\zhyw\src\main\java\com\zky\zhyw\smsj\WorkDB.java +D:\Java\program\newProgram\zhyw\src\main\java\com\zky\zhyw\smtj\pxtj\TrainTjManageServlet.java +D:\Java\program\newProgram\zhyw\src\main\java\com\zky\manager\ImportPropertywlExcelServlet.java +D:\Java\program\newProgram\zhyw\src\main\java\com\zky\manager\DeptManageServlet.java +D:\Java\program\newProgram\zhyw\src\main\java\com\zky\manager\ImportExcelServlet.java +D:\Java\program\newProgram\zhyw\src\main\java\com\zky\manager\MenuTree.java +D:\Java\program\newProgram\zhyw\src\main\java\com\zky\zhyw\smjc\CheckManageServlet.java +D:\Java\program\newProgram\zhyw\src\main\java\com\zky\pojo\Framework.java +D:\Java\program\newProgram\zhyw\src\main\java\com\zky\util\jdbc\JDBCUtils.java +D:\Java\program\newProgram\zhyw\src\main\java\com\zky\zhyw\smry\ExamineManageServlet.java +D:\Java\program\newProgram\zhyw\src\main\java\com\zky\pojo\PropertyInfo.java +D:\Java\program\newProgram\zhyw\src\main\java\com\zky\util\jdbc\ListResultSetHandler.java +D:\Java\program\newProgram\zhyw\src\main\java\com\zky\util\jdbc\JDBCPageQuery.java +D:\Java\program\newProgram\zhyw\src\main\java\com\zky\zhyw\smhd\QueryUtils.java +D:\Java\program\newProgram\zhyw\src\main\java\com\zky\para\ParaTable.java +D:\Java\program\newProgram\zhyw\src\main\java\com\zky\manager\MenuBean.java +D:\Java\program\newProgram\zhyw\src\main\java\com\zky\pojo\Employee.java +D:\Java\program\newProgram\zhyw\src\main\java\com\zky\zhyw\smwj\FileWriteServlet.java +D:\Java\program\newProgram\zhyw\src\main\java\com\zky\manager\EmpManageServlet.java +D:\Java\program\newProgram\zhyw\src\main\java\com\zky\zhyw\smwj\FileExtractManageServlet.java +D:\Java\program\newProgram\zhyw\src\main\java\com\zky\util\Pageable.java +D:\Java\program\newProgram\zhyw\src\main\java\com\zky\bjca\SM4.java +D:\Java\program\newProgram\zhyw\src\main\java\com\zky\zhyw\smsb\PropertyNetManageServlet.java +D:\Java\program\newProgram\zhyw\src\main\java\com\zky\manager\LogonLogServlet.java +D:\Java\program\newProgram\zhyw\src\main\java\com\zky\manager\EmpDeptRelationServlet.java +D:\Java\program\newProgram\zhyw\src\main\java\com\zky\util\jdbc\BatchParam.java +D:\Java\program\newProgram\zhyw\src\main\java\com\zky\zhyw\smry\RecordManageServlet.java +D:\Java\program\newProgram\zhyw\src\main\java\com\zky\bjca\demo\sm4demo.java +D:\Java\program\newProgram\zhyw\src\main\java\com\zky\util\CheckCoderTool.java +D:\Java\program\newProgram\zhyw\src\main\java\com\zky\manager\ExamineServlet.java +D:\Java\program\newProgram\zhyw\src\main\java\com\zky\util\jdbc\HashFmlBufResultSetHandler.java +D:\Java\program\newProgram\zhyw\src\main\java\com\zky\manager\CreateExcelUtils.java +D:\Java\program\newProgram\zhyw\src\main\java\com\zky\zhyw\smhd\ActivitiesApplyServlet.java +D:\Java\program\newProgram\zhyw\src\main\java\com\zky\zhyw\smhd\ActivitiesNoteServlet.java +D:\Java\program\newProgram\zhyw\src\main\java\com\zky\zhyw\smwj\FileRecoverManageServlet.java +D:\Java\program\newProgram\zhyw\src\main\java\com\zky\pojo\Questionexam.java +D:\Java\program\newProgram\zhyw\src\main\java\com\zky\bjca\Sign.java +D:\Java\program\newProgram\zhyw\src\main\java\com\zky\pojo\MyUtils.java +D:\Java\program\newProgram\zhyw\src\main\java\com\zky\zhyw\smtj\JFCDaoImpl1.java +D:\Java\program\newProgram\zhyw\src\main\java\com\zky\manager\ImportPropertyExcelServlet.java +D:\Java\program\newProgram\zhyw\src\main\java\com\zky\manager\Util.java +D:\Java\program\newProgram\zhyw\src\main\java\com\zky\util\jdbc\SingleStringRSHandler.java +D:\Java\program\newProgram\zhyw\src\main\java\com\zky\manager\Global.java +D:\Java\program\newProgram\zhyw\src\main\java\com\zky\manager\CreateStudentIdUtils.java +D:\Java\program\newProgram\zhyw\src\main\java\com\zky\pojo\Train.java +D:\Java\program\newProgram\zhyw\src\main\java\com\zky\zhyw\smtj\zdtj\StatZdtjManageServlet.java diff --git a/web/config/config1/logs/SVSClient_error.log b/web/config/config1/logs/SVSClient_error.log index ed99353..26f3745 100644 --- a/web/config/config1/logs/SVSClient_error.log +++ b/web/config/config1/logs/SVSClient_error.log @@ -4231,3 +4231,1485 @@ Caused by: java.net.SocketTimeoutException: connect timed out at cn.org.bjca.framework.socket.client.impl.socket.DefaultBSocket.open(DefaultBSocket.java:138) ... 77 more +INFO [2023-12-21 17:03:41 641] 10.10.3.2_8000Чconnect timed out +INFO [2023-12-21 17:03:43 678] 10.10.3.2_8000Чconnect timed out +INFO [2023-12-21 17:03:43 735] Connection error! Please check network connections or client config! +INFO [2023-12-21 17:03:43 736] java.lang.RuntimeException: There is no any instance of Remote Service, please check Server or Client config ! + at cn.org.bjca.framework.socket.client.impl.loadbalance.DefaultHostSelector.select(DefaultHostSelector.java:69) + at cn.org.bjca.framework.socket.client.impl.NioClientImpl.selectInstance(NioClientImpl.java:303) + at cn.org.bjca.framework.socket.client.impl.NioClientImpl.send(NioClientImpl.java:366) + at cn.org.bjca.framework.socket.client.impl.NioClientImpl.send(NioClientImpl.java:357) + at cn.org.bjca.hsm.client.manager.MsgManager.sendAndReceiveMsg(MsgManager.java:43) + at cn.org.bjca.hsm.client.security.sdf.SDFDefaultSecurityEngine.getActiveThreadNum(SDFDefaultSecurityEngine.java:39) + at cn.org.bjca.hsm.client.security.sdf.SDFSecurityEngineDeal.SDF_getInstance(SDFSecurityEngineDeal.java:116) + at cn.org.bjca.hsm.client.security.sdf.SDFSecurityEngineDeal.SDF_OpenDevice(SDFSecurityEngineDeal.java:134) + at cn.org.bjca.chaos.jce.provider.BJCAJCEProvider.(BJCAJCEProvider.java:175) + at com.zky.bjca.SM4.SM4Decrypt(SM4.java:113) + at org.apache.jsp.zhyw.smry.rypx.TrainManage_jsp._jspService(TrainManage_jsp.java:628) + at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70) + at javax.servlet.http.HttpServlet.service(HttpServlet.java:729) + at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:438) + at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:396) + at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:340) + at javax.servlet.http.HttpServlet.service(HttpServlet.java:729) + at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:292) + at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:207) + at org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:52) + at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:240) + at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:207) + at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:716) + at org.apache.catalina.core.ApplicationDispatcher.processRequest(ApplicationDispatcher.java:466) + at org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:391) + at org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:318) + at com.zky.zhyw.smpx.TrainManageServlet.queryTrain(TrainManageServlet.java:625) + at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) + at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) + at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) + at java.lang.reflect.Method.invoke(Method.java:498) + at com.zky.pub.DispatchServlet.doPost(DispatchServlet.java:39) + at com.zky.pub.DispatchServlet.doGet(DispatchServlet.java:26) + at javax.servlet.http.HttpServlet.service(HttpServlet.java:622) + at javax.servlet.http.HttpServlet.service(HttpServlet.java:729) + at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:292) + at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:207) + at org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:52) + at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:240) + at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:207) + at com.zky.pub.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:70) + at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:240) + at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:207) + at com.zky.util.CharFilter.doFilter(CharFilter.java:41) + at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:240) + at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:207) + at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:212) + at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:94) + at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:141) + at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:79) + at org.apache.catalina.valves.AbstractAccessLogValve.invoke(AbstractAccessLogValve.java:620) + at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:88) + at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:502) + at org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1132) + at org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:684) + at org.apache.tomcat.util.net.AprEndpoint$SocketProcessor.doRun(AprEndpoint.java:2527) + at org.apache.tomcat.util.net.AprEndpoint$SocketProcessor.run(AprEndpoint.java:2516) + at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149) + at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624) + at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61) + at java.lang.Thread.run(Thread.java:750) + +INFO [2023-12-21 17:03:43 757] Connection error! Please check network connections or client config! +INFO [2023-12-21 17:03:43 757] java.lang.RuntimeException: There is no any instance of Remote Service, please check Server or Client config ! + at cn.org.bjca.framework.socket.client.impl.loadbalance.DefaultHostSelector.select(DefaultHostSelector.java:69) + at cn.org.bjca.framework.socket.client.impl.NioClientImpl.selectInstance(NioClientImpl.java:303) + at cn.org.bjca.framework.socket.client.impl.NioClientImpl.send(NioClientImpl.java:366) + at cn.org.bjca.framework.socket.client.impl.NioClientImpl.send(NioClientImpl.java:357) + at cn.org.bjca.hsm.client.manager.MsgManager.sendAndReceiveMsg(MsgManager.java:43) + at cn.org.bjca.hsm.client.security.sdf.SDFDefaultSecurityEngine.getActiveThreadNum(SDFDefaultSecurityEngine.java:39) + at cn.org.bjca.hsm.client.security.sdf.SDFSecurityEngineDeal.SDF_getInstance(SDFSecurityEngineDeal.java:116) + at cn.org.bjca.hsm.client.security.sdf.SDFSecurityEngineDeal.SDF_OpenDevice(SDFSecurityEngineDeal.java:134) + at cn.org.bjca.chaos.jce.provider.BJCAJCEProvider.(BJCAJCEProvider.java:175) + at com.zky.bjca.SM4.SM4Decrypt(SM4.java:113) + at org.apache.jsp.zhyw.smry.rypx.TrainManage_jsp._jspService(TrainManage_jsp.java:628) + at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70) + at javax.servlet.http.HttpServlet.service(HttpServlet.java:729) + at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:438) + at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:396) + at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:340) + at javax.servlet.http.HttpServlet.service(HttpServlet.java:729) + at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:292) + at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:207) + at org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:52) + at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:240) + at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:207) + at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:716) + at org.apache.catalina.core.ApplicationDispatcher.processRequest(ApplicationDispatcher.java:466) + at org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:391) + at org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:318) + at com.zky.zhyw.smpx.TrainManageServlet.queryTrain(TrainManageServlet.java:625) + at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) + at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) + at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) + at java.lang.reflect.Method.invoke(Method.java:498) + at com.zky.pub.DispatchServlet.doPost(DispatchServlet.java:39) + at com.zky.pub.DispatchServlet.doGet(DispatchServlet.java:26) + at javax.servlet.http.HttpServlet.service(HttpServlet.java:622) + at javax.servlet.http.HttpServlet.service(HttpServlet.java:729) + at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:292) + at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:207) + at org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:52) + at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:240) + at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:207) + at com.zky.pub.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:70) + at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:240) + at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:207) + at com.zky.util.CharFilter.doFilter(CharFilter.java:41) + at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:240) + at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:207) + at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:212) + at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:94) + at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:141) + at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:79) + at org.apache.catalina.valves.AbstractAccessLogValve.invoke(AbstractAccessLogValve.java:620) + at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:88) + at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:502) + at org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1132) + at org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:684) + at org.apache.tomcat.util.net.AprEndpoint$SocketProcessor.doRun(AprEndpoint.java:2527) + at org.apache.tomcat.util.net.AprEndpoint$SocketProcessor.run(AprEndpoint.java:2516) + at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149) + at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624) + at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61) + at java.lang.Thread.run(Thread.java:750) + +INFO [2023-12-21 17:03:43 794] Connection error! Please check network connections or client config! +INFO [2023-12-21 17:03:43 795] java.lang.RuntimeException: There is no any instance of Remote Service, please check Server or Client config ! + at cn.org.bjca.framework.socket.client.impl.loadbalance.DefaultHostSelector.select(DefaultHostSelector.java:69) + at cn.org.bjca.framework.socket.client.impl.NioClientImpl.selectInstance(NioClientImpl.java:303) + at cn.org.bjca.framework.socket.client.impl.NioClientImpl.send(NioClientImpl.java:366) + at cn.org.bjca.framework.socket.client.impl.NioClientImpl.send(NioClientImpl.java:357) + at cn.org.bjca.hsm.client.manager.MsgManager.sendAndReceiveMsg(MsgManager.java:43) + at cn.org.bjca.hsm.client.security.sdf.SDFDefaultSecurityEngine.getActiveThreadNum(SDFDefaultSecurityEngine.java:39) + at cn.org.bjca.hsm.client.security.sdf.SDFSecurityEngineDeal.SDF_getInstance(SDFSecurityEngineDeal.java:116) + at cn.org.bjca.hsm.client.security.sdf.SDFSecurityEngineDeal.SDF_OpenDevice(SDFSecurityEngineDeal.java:134) + at cn.org.bjca.chaos.jce.provider.BJCAJCEProvider.(BJCAJCEProvider.java:175) + at com.zky.bjca.SM4.SM4Decrypt(SM4.java:113) + at org.apache.jsp.zhyw.smry.rypx.TrainManage_jsp._jspService(TrainManage_jsp.java:628) + at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70) + at javax.servlet.http.HttpServlet.service(HttpServlet.java:729) + at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:438) + at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:396) + at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:340) + at javax.servlet.http.HttpServlet.service(HttpServlet.java:729) + at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:292) + at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:207) + at org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:52) + at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:240) + at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:207) + at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:716) + at org.apache.catalina.core.ApplicationDispatcher.processRequest(ApplicationDispatcher.java:466) + at org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:391) + at org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:318) + at com.zky.zhyw.smpx.TrainManageServlet.queryTrain(TrainManageServlet.java:625) + at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) + at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) + at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) + at java.lang.reflect.Method.invoke(Method.java:498) + at com.zky.pub.DispatchServlet.doPost(DispatchServlet.java:39) + at com.zky.pub.DispatchServlet.doGet(DispatchServlet.java:26) + at javax.servlet.http.HttpServlet.service(HttpServlet.java:622) + at javax.servlet.http.HttpServlet.service(HttpServlet.java:729) + at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:292) + at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:207) + at org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:52) + at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:240) + at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:207) + at com.zky.pub.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:70) + at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:240) + at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:207) + at com.zky.util.CharFilter.doFilter(CharFilter.java:41) + at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:240) + at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:207) + at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:212) + at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:94) + at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:141) + at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:79) + at org.apache.catalina.valves.AbstractAccessLogValve.invoke(AbstractAccessLogValve.java:620) + at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:88) + at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:502) + at org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1132) + at org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:684) + at org.apache.tomcat.util.net.AprEndpoint$SocketProcessor.doRun(AprEndpoint.java:2527) + at org.apache.tomcat.util.net.AprEndpoint$SocketProcessor.run(AprEndpoint.java:2516) + at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149) + at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624) + at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61) + at java.lang.Thread.run(Thread.java:750) + +INFO [2023-12-21 17:09:56 599] Connection error! Please check network connections or client config! +INFO [2023-12-21 17:09:56 599] java.lang.RuntimeException: There is no any instance of Remote Service, please check Server or Client config ! + at cn.org.bjca.framework.socket.client.impl.loadbalance.DefaultHostSelector.select(DefaultHostSelector.java:69) + at cn.org.bjca.framework.socket.client.impl.NioClientImpl.selectInstance(NioClientImpl.java:303) + at cn.org.bjca.framework.socket.client.impl.NioClientImpl.send(NioClientImpl.java:366) + at cn.org.bjca.framework.socket.client.impl.NioClientImpl.send(NioClientImpl.java:357) + at cn.org.bjca.hsm.client.manager.MsgManager.sendAndReceiveMsg(MsgManager.java:43) + at cn.org.bjca.hsm.client.security.sdf.SDFDefaultSecurityEngine.getActiveThreadNum(SDFDefaultSecurityEngine.java:39) + at cn.org.bjca.hsm.client.security.sdf.SDFSecurityEngineDeal.SDF_getInstance(SDFSecurityEngineDeal.java:116) + at cn.org.bjca.hsm.client.security.sdf.SDFSecurityEngineDeal.SDF_OpenDevice(SDFSecurityEngineDeal.java:134) + at cn.org.bjca.chaos.jce.provider.BJCAJCEProvider.(BJCAJCEProvider.java:175) + at com.zky.bjca.SM4.SM4Decrypt(SM4.java:113) + at org.apache.jsp.zhyw.smry.rylz.LeaveUpdate_jsp._jspService(LeaveUpdate_jsp.java:392) + at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70) + at javax.servlet.http.HttpServlet.service(HttpServlet.java:729) + at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:438) + at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:396) + at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:340) + at javax.servlet.http.HttpServlet.service(HttpServlet.java:729) + at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:292) + at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:207) + at org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:52) + at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:240) + at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:207) + at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:716) + at org.apache.catalina.core.ApplicationDispatcher.processRequest(ApplicationDispatcher.java:466) + at org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:391) + at org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:318) + at com.zky.zhyw.smry.LeaveManageServlet.queryLeaveId(LeaveManageServlet.java:332) + at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) + at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) + at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) + at java.lang.reflect.Method.invoke(Method.java:498) + at com.zky.pub.DispatchServlet.doPost(DispatchServlet.java:39) + at com.zky.pub.DispatchServlet.doGet(DispatchServlet.java:26) + at javax.servlet.http.HttpServlet.service(HttpServlet.java:622) + at javax.servlet.http.HttpServlet.service(HttpServlet.java:729) + at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:292) + at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:207) + at org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:52) + at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:240) + at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:207) + at com.zky.pub.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:70) + at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:240) + at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:207) + at com.zky.util.CharFilter.doFilter(CharFilter.java:41) + at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:240) + at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:207) + at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:212) + at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:94) + at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:141) + at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:79) + at org.apache.catalina.valves.AbstractAccessLogValve.invoke(AbstractAccessLogValve.java:620) + at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:88) + at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:502) + at org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1132) + at org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:684) + at org.apache.tomcat.util.net.AprEndpoint$SocketProcessor.doRun(AprEndpoint.java:2527) + at org.apache.tomcat.util.net.AprEndpoint$SocketProcessor.run(AprEndpoint.java:2516) + at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149) + at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624) + at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61) + at java.lang.Thread.run(Thread.java:750) + +INFO [2023-12-21 17:10:00 562] Connection error! Please check network connections or client config! +INFO [2023-12-21 17:10:00 562] java.lang.RuntimeException: There is no any instance of Remote Service, please check Server or Client config ! + at cn.org.bjca.framework.socket.client.impl.loadbalance.DefaultHostSelector.select(DefaultHostSelector.java:69) + at cn.org.bjca.framework.socket.client.impl.NioClientImpl.selectInstance(NioClientImpl.java:303) + at cn.org.bjca.framework.socket.client.impl.NioClientImpl.send(NioClientImpl.java:366) + at cn.org.bjca.framework.socket.client.impl.NioClientImpl.send(NioClientImpl.java:357) + at cn.org.bjca.hsm.client.manager.MsgManager.sendAndReceiveMsg(MsgManager.java:43) + at cn.org.bjca.hsm.client.security.sdf.SDFDefaultSecurityEngine.getActiveThreadNum(SDFDefaultSecurityEngine.java:39) + at cn.org.bjca.hsm.client.security.sdf.SDFSecurityEngineDeal.SDF_getInstance(SDFSecurityEngineDeal.java:116) + at cn.org.bjca.hsm.client.security.sdf.SDFSecurityEngineDeal.SDF_OpenDevice(SDFSecurityEngineDeal.java:134) + at cn.org.bjca.chaos.jce.provider.BJCAJCEProvider.(BJCAJCEProvider.java:175) + at com.zky.bjca.SM4.SM4Decrypt(SM4.java:113) + at org.apache.jsp.zhyw.smry.rylz.LeaveUpdate_jsp._jspService(LeaveUpdate_jsp.java:392) + at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70) + at javax.servlet.http.HttpServlet.service(HttpServlet.java:729) + at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:438) + at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:396) + at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:340) + at javax.servlet.http.HttpServlet.service(HttpServlet.java:729) + at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:292) + at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:207) + at org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:52) + at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:240) + at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:207) + at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:716) + at org.apache.catalina.core.ApplicationDispatcher.processRequest(ApplicationDispatcher.java:466) + at org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:391) + at org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:318) + at com.zky.zhyw.smry.LeaveManageServlet.queryLeaveId(LeaveManageServlet.java:332) + at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) + at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) + at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) + at java.lang.reflect.Method.invoke(Method.java:498) + at com.zky.pub.DispatchServlet.doPost(DispatchServlet.java:39) + at com.zky.pub.DispatchServlet.doGet(DispatchServlet.java:26) + at javax.servlet.http.HttpServlet.service(HttpServlet.java:622) + at javax.servlet.http.HttpServlet.service(HttpServlet.java:729) + at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:292) + at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:207) + at org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:52) + at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:240) + at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:207) + at com.zky.pub.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:70) + at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:240) + at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:207) + at com.zky.util.CharFilter.doFilter(CharFilter.java:41) + at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:240) + at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:207) + at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:212) + at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:94) + at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:141) + at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:79) + at org.apache.catalina.valves.AbstractAccessLogValve.invoke(AbstractAccessLogValve.java:620) + at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:88) + at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:502) + at org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1132) + at org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:684) + at org.apache.tomcat.util.net.AprEndpoint$SocketProcessor.doRun(AprEndpoint.java:2527) + at org.apache.tomcat.util.net.AprEndpoint$SocketProcessor.run(AprEndpoint.java:2516) + at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149) + at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624) + at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61) + at java.lang.Thread.run(Thread.java:750) + +INFO [2023-12-22 11:47:26 206] 10.10.3.2_8000Чconnect timed out +INFO [2023-12-22 11:47:28 233] 10.10.3.2_8000Чconnect timed out +INFO [2023-12-22 11:47:28 283] Connection error! Please check network connections or client config! +INFO [2023-12-22 11:47:28 284] java.lang.RuntimeException: There is no any instance of Remote Service, please check Server or Client config ! + at cn.org.bjca.framework.socket.client.impl.loadbalance.DefaultHostSelector.select(DefaultHostSelector.java:69) + at cn.org.bjca.framework.socket.client.impl.NioClientImpl.selectInstance(NioClientImpl.java:303) + at cn.org.bjca.framework.socket.client.impl.NioClientImpl.send(NioClientImpl.java:366) + at cn.org.bjca.framework.socket.client.impl.NioClientImpl.send(NioClientImpl.java:357) + at cn.org.bjca.hsm.client.manager.MsgManager.sendAndReceiveMsg(MsgManager.java:43) + at cn.org.bjca.hsm.client.security.sdf.SDFDefaultSecurityEngine.getActiveThreadNum(SDFDefaultSecurityEngine.java:39) + at cn.org.bjca.hsm.client.security.sdf.SDFSecurityEngineDeal.SDF_getInstance(SDFSecurityEngineDeal.java:116) + at cn.org.bjca.hsm.client.security.sdf.SDFSecurityEngineDeal.SDF_OpenDevice(SDFSecurityEngineDeal.java:134) + at cn.org.bjca.chaos.jce.provider.BJCAJCEProvider.(BJCAJCEProvider.java:175) + at com.zky.bjca.SM4.SM4Decrypt(SM4.java:113) + at org.apache.jsp.zhyw.smry.rylz.LeaveState_jsp._jspService(LeaveState_jsp.java:405) + at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70) + at javax.servlet.http.HttpServlet.service(HttpServlet.java:729) + at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:438) + at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:396) + at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:340) + at javax.servlet.http.HttpServlet.service(HttpServlet.java:729) + at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:292) + at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:207) + at org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:52) + at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:240) + at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:207) + at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:716) + at org.apache.catalina.core.ApplicationDispatcher.processRequest(ApplicationDispatcher.java:466) + at org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:391) + at org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:318) + at com.zky.zhyw.smry.LeaveManageServlet.queryLeaveState(LeaveManageServlet.java:263) + at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) + at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) + at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) + at java.lang.reflect.Method.invoke(Method.java:498) + at com.zky.pub.DispatchServlet.doPost(DispatchServlet.java:39) + at com.zky.pub.DispatchServlet.doGet(DispatchServlet.java:26) + at javax.servlet.http.HttpServlet.service(HttpServlet.java:622) + at javax.servlet.http.HttpServlet.service(HttpServlet.java:729) + at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:292) + at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:207) + at org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:52) + at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:240) + at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:207) + at com.zky.pub.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:70) + at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:240) + at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:207) + at com.zky.util.CharFilter.doFilter(CharFilter.java:41) + at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:240) + at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:207) + at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:212) + at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:94) + at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:141) + at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:79) + at org.apache.catalina.valves.AbstractAccessLogValve.invoke(AbstractAccessLogValve.java:620) + at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:88) + at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:502) + at org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1132) + at org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:684) + at org.apache.tomcat.util.net.AprEndpoint$SocketProcessor.doRun(AprEndpoint.java:2527) + at org.apache.tomcat.util.net.AprEndpoint$SocketProcessor.run(AprEndpoint.java:2516) + at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149) + at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624) + at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61) + at java.lang.Thread.run(Thread.java:750) + +INFO [2023-12-22 11:47:28 287] Connection error! Please check network connections or client config! +INFO [2023-12-22 11:47:28 290] java.lang.RuntimeException: There is no any instance of Remote Service, please check Server or Client config ! + at cn.org.bjca.framework.socket.client.impl.loadbalance.DefaultHostSelector.select(DefaultHostSelector.java:69) + at cn.org.bjca.framework.socket.client.impl.NioClientImpl.selectInstance(NioClientImpl.java:303) + at cn.org.bjca.framework.socket.client.impl.NioClientImpl.send(NioClientImpl.java:366) + at cn.org.bjca.framework.socket.client.impl.NioClientImpl.send(NioClientImpl.java:357) + at cn.org.bjca.hsm.client.manager.MsgManager.sendAndReceiveMsg(MsgManager.java:43) + at cn.org.bjca.hsm.client.security.sdf.SDFDefaultSecurityEngine.getActiveThreadNum(SDFDefaultSecurityEngine.java:39) + at cn.org.bjca.hsm.client.security.sdf.SDFSecurityEngineDeal.SDF_getInstance(SDFSecurityEngineDeal.java:116) + at cn.org.bjca.hsm.client.security.sdf.SDFSecurityEngineDeal.SDF_OpenDevice(SDFSecurityEngineDeal.java:134) + at cn.org.bjca.chaos.jce.provider.BJCAJCEProvider.(BJCAJCEProvider.java:175) + at com.zky.bjca.SM4.SM4Decrypt(SM4.java:113) + at org.apache.jsp.zhyw.smry.rylz.LeaveState_jsp._jspService(LeaveState_jsp.java:405) + at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70) + at javax.servlet.http.HttpServlet.service(HttpServlet.java:729) + at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:438) + at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:396) + at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:340) + at javax.servlet.http.HttpServlet.service(HttpServlet.java:729) + at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:292) + at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:207) + at org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:52) + at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:240) + at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:207) + at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:716) + at org.apache.catalina.core.ApplicationDispatcher.processRequest(ApplicationDispatcher.java:466) + at org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:391) + at org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:318) + at com.zky.zhyw.smry.LeaveManageServlet.queryLeaveState(LeaveManageServlet.java:263) + at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) + at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) + at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) + at java.lang.reflect.Method.invoke(Method.java:498) + at com.zky.pub.DispatchServlet.doPost(DispatchServlet.java:39) + at com.zky.pub.DispatchServlet.doGet(DispatchServlet.java:26) + at javax.servlet.http.HttpServlet.service(HttpServlet.java:622) + at javax.servlet.http.HttpServlet.service(HttpServlet.java:729) + at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:292) + at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:207) + at org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:52) + at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:240) + at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:207) + at com.zky.pub.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:70) + at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:240) + at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:207) + at com.zky.util.CharFilter.doFilter(CharFilter.java:41) + at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:240) + at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:207) + at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:212) + at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:94) + at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:141) + at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:79) + at org.apache.catalina.valves.AbstractAccessLogValve.invoke(AbstractAccessLogValve.java:620) + at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:88) + at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:502) + at org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1132) + at org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:684) + at org.apache.tomcat.util.net.AprEndpoint$SocketProcessor.doRun(AprEndpoint.java:2527) + at org.apache.tomcat.util.net.AprEndpoint$SocketProcessor.run(AprEndpoint.java:2516) + at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149) + at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624) + at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61) + at java.lang.Thread.run(Thread.java:750) + +INFO [2023-12-22 14:22:12 807] 10.10.3.2_8000Чconnect timed out +INFO [2023-12-22 14:22:14 829] 10.10.3.2_8000Чconnect timed out +INFO [2023-12-22 14:22:14 865] Connection error! Please check network connections or client config! +INFO [2023-12-22 14:22:14 865] java.lang.RuntimeException: There is no any instance of Remote Service, please check Server or Client config ! + at cn.org.bjca.framework.socket.client.impl.loadbalance.DefaultHostSelector.select(DefaultHostSelector.java:69) + at cn.org.bjca.framework.socket.client.impl.NioClientImpl.selectInstance(NioClientImpl.java:303) + at cn.org.bjca.framework.socket.client.impl.NioClientImpl.send(NioClientImpl.java:366) + at cn.org.bjca.framework.socket.client.impl.NioClientImpl.send(NioClientImpl.java:357) + at cn.org.bjca.hsm.client.manager.MsgManager.sendAndReceiveMsg(MsgManager.java:43) + at cn.org.bjca.hsm.client.security.sdf.SDFDefaultSecurityEngine.getActiveThreadNum(SDFDefaultSecurityEngine.java:39) + at cn.org.bjca.hsm.client.security.sdf.SDFSecurityEngineDeal.SDF_getInstance(SDFSecurityEngineDeal.java:116) + at cn.org.bjca.hsm.client.security.sdf.SDFSecurityEngineDeal.SDF_OpenDevice(SDFSecurityEngineDeal.java:134) + at cn.org.bjca.chaos.jce.provider.BJCAJCEProvider.(BJCAJCEProvider.java:175) + at com.zky.bjca.SM4.SM4Decrypt(SM4.java:113) + at org.apache.jsp.zhyw.smry.rypx.TrainManage_jsp._jspService(TrainManage_jsp.java:628) + at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70) + at javax.servlet.http.HttpServlet.service(HttpServlet.java:729) + at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:438) + at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:396) + at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:340) + at javax.servlet.http.HttpServlet.service(HttpServlet.java:729) + at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:292) + at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:207) + at org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:52) + at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:240) + at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:207) + at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:716) + at org.apache.catalina.core.ApplicationDispatcher.processRequest(ApplicationDispatcher.java:466) + at org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:391) + at org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:318) + at com.zky.zhyw.smpx.TrainManageServlet.queryTrain(TrainManageServlet.java:625) + at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) + at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) + at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) + at java.lang.reflect.Method.invoke(Method.java:498) + at com.zky.pub.DispatchServlet.doPost(DispatchServlet.java:39) + at com.zky.pub.DispatchServlet.doGet(DispatchServlet.java:26) + at javax.servlet.http.HttpServlet.service(HttpServlet.java:622) + at javax.servlet.http.HttpServlet.service(HttpServlet.java:729) + at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:292) + at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:207) + at org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:52) + at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:240) + at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:207) + at com.zky.pub.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:70) + at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:240) + at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:207) + at com.zky.util.CharFilter.doFilter(CharFilter.java:41) + at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:240) + at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:207) + at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:212) + at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:94) + at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:141) + at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:79) + at org.apache.catalina.valves.AbstractAccessLogValve.invoke(AbstractAccessLogValve.java:620) + at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:88) + at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:502) + at org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1132) + at org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:684) + at org.apache.tomcat.util.net.AprEndpoint$SocketProcessor.doRun(AprEndpoint.java:2527) + at org.apache.tomcat.util.net.AprEndpoint$SocketProcessor.run(AprEndpoint.java:2516) + at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149) + at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624) + at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61) + at java.lang.Thread.run(Thread.java:750) + +INFO [2023-12-22 14:22:14 878] Connection error! Please check network connections or client config! +INFO [2023-12-22 14:22:14 879] java.lang.RuntimeException: There is no any instance of Remote Service, please check Server or Client config ! + at cn.org.bjca.framework.socket.client.impl.loadbalance.DefaultHostSelector.select(DefaultHostSelector.java:69) + at cn.org.bjca.framework.socket.client.impl.NioClientImpl.selectInstance(NioClientImpl.java:303) + at cn.org.bjca.framework.socket.client.impl.NioClientImpl.send(NioClientImpl.java:366) + at cn.org.bjca.framework.socket.client.impl.NioClientImpl.send(NioClientImpl.java:357) + at cn.org.bjca.hsm.client.manager.MsgManager.sendAndReceiveMsg(MsgManager.java:43) + at cn.org.bjca.hsm.client.security.sdf.SDFDefaultSecurityEngine.getActiveThreadNum(SDFDefaultSecurityEngine.java:39) + at cn.org.bjca.hsm.client.security.sdf.SDFSecurityEngineDeal.SDF_getInstance(SDFSecurityEngineDeal.java:116) + at cn.org.bjca.hsm.client.security.sdf.SDFSecurityEngineDeal.SDF_OpenDevice(SDFSecurityEngineDeal.java:134) + at cn.org.bjca.chaos.jce.provider.BJCAJCEProvider.(BJCAJCEProvider.java:175) + at com.zky.bjca.SM4.SM4Decrypt(SM4.java:113) + at org.apache.jsp.zhyw.smry.rypx.TrainManage_jsp._jspService(TrainManage_jsp.java:628) + at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70) + at javax.servlet.http.HttpServlet.service(HttpServlet.java:729) + at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:438) + at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:396) + at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:340) + at javax.servlet.http.HttpServlet.service(HttpServlet.java:729) + at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:292) + at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:207) + at org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:52) + at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:240) + at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:207) + at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:716) + at org.apache.catalina.core.ApplicationDispatcher.processRequest(ApplicationDispatcher.java:466) + at org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:391) + at org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:318) + at com.zky.zhyw.smpx.TrainManageServlet.queryTrain(TrainManageServlet.java:625) + at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) + at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) + at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) + at java.lang.reflect.Method.invoke(Method.java:498) + at com.zky.pub.DispatchServlet.doPost(DispatchServlet.java:39) + at com.zky.pub.DispatchServlet.doGet(DispatchServlet.java:26) + at javax.servlet.http.HttpServlet.service(HttpServlet.java:622) + at javax.servlet.http.HttpServlet.service(HttpServlet.java:729) + at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:292) + at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:207) + at org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:52) + at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:240) + at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:207) + at com.zky.pub.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:70) + at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:240) + at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:207) + at com.zky.util.CharFilter.doFilter(CharFilter.java:41) + at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:240) + at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:207) + at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:212) + at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:94) + at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:141) + at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:79) + at org.apache.catalina.valves.AbstractAccessLogValve.invoke(AbstractAccessLogValve.java:620) + at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:88) + at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:502) + at org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1132) + at org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:684) + at org.apache.tomcat.util.net.AprEndpoint$SocketProcessor.doRun(AprEndpoint.java:2527) + at org.apache.tomcat.util.net.AprEndpoint$SocketProcessor.run(AprEndpoint.java:2516) + at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149) + at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624) + at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61) + at java.lang.Thread.run(Thread.java:750) + +INFO [2023-12-22 14:22:14 904] Connection error! Please check network connections or client config! +INFO [2023-12-22 14:22:14 904] java.lang.RuntimeException: There is no any instance of Remote Service, please check Server or Client config ! + at cn.org.bjca.framework.socket.client.impl.loadbalance.DefaultHostSelector.select(DefaultHostSelector.java:69) + at cn.org.bjca.framework.socket.client.impl.NioClientImpl.selectInstance(NioClientImpl.java:303) + at cn.org.bjca.framework.socket.client.impl.NioClientImpl.send(NioClientImpl.java:366) + at cn.org.bjca.framework.socket.client.impl.NioClientImpl.send(NioClientImpl.java:357) + at cn.org.bjca.hsm.client.manager.MsgManager.sendAndReceiveMsg(MsgManager.java:43) + at cn.org.bjca.hsm.client.security.sdf.SDFDefaultSecurityEngine.getActiveThreadNum(SDFDefaultSecurityEngine.java:39) + at cn.org.bjca.hsm.client.security.sdf.SDFSecurityEngineDeal.SDF_getInstance(SDFSecurityEngineDeal.java:116) + at cn.org.bjca.hsm.client.security.sdf.SDFSecurityEngineDeal.SDF_OpenDevice(SDFSecurityEngineDeal.java:134) + at cn.org.bjca.chaos.jce.provider.BJCAJCEProvider.(BJCAJCEProvider.java:175) + at com.zky.bjca.SM4.SM4Decrypt(SM4.java:113) + at org.apache.jsp.zhyw.smry.rypx.TrainManage_jsp._jspService(TrainManage_jsp.java:628) + at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70) + at javax.servlet.http.HttpServlet.service(HttpServlet.java:729) + at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:438) + at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:396) + at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:340) + at javax.servlet.http.HttpServlet.service(HttpServlet.java:729) + at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:292) + at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:207) + at org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:52) + at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:240) + at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:207) + at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:716) + at org.apache.catalina.core.ApplicationDispatcher.processRequest(ApplicationDispatcher.java:466) + at org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:391) + at org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:318) + at com.zky.zhyw.smpx.TrainManageServlet.queryTrain(TrainManageServlet.java:625) + at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) + at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) + at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) + at java.lang.reflect.Method.invoke(Method.java:498) + at com.zky.pub.DispatchServlet.doPost(DispatchServlet.java:39) + at com.zky.pub.DispatchServlet.doGet(DispatchServlet.java:26) + at javax.servlet.http.HttpServlet.service(HttpServlet.java:622) + at javax.servlet.http.HttpServlet.service(HttpServlet.java:729) + at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:292) + at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:207) + at org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:52) + at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:240) + at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:207) + at com.zky.pub.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:70) + at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:240) + at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:207) + at com.zky.util.CharFilter.doFilter(CharFilter.java:41) + at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:240) + at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:207) + at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:212) + at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:94) + at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:141) + at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:79) + at org.apache.catalina.valves.AbstractAccessLogValve.invoke(AbstractAccessLogValve.java:620) + at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:88) + at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:502) + at org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1132) + at org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:684) + at org.apache.tomcat.util.net.AprEndpoint$SocketProcessor.doRun(AprEndpoint.java:2527) + at org.apache.tomcat.util.net.AprEndpoint$SocketProcessor.run(AprEndpoint.java:2516) + at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149) + at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624) + at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61) + at java.lang.Thread.run(Thread.java:750) + +INFO [2023-12-22 14:22:19 241] Connection error! Please check network connections or client config! +INFO [2023-12-22 14:22:19 242] java.lang.RuntimeException: There is no any instance of Remote Service, please check Server or Client config ! + at cn.org.bjca.framework.socket.client.impl.loadbalance.DefaultHostSelector.select(DefaultHostSelector.java:69) + at cn.org.bjca.framework.socket.client.impl.NioClientImpl.selectInstance(NioClientImpl.java:303) + at cn.org.bjca.framework.socket.client.impl.NioClientImpl.send(NioClientImpl.java:366) + at cn.org.bjca.framework.socket.client.impl.NioClientImpl.send(NioClientImpl.java:357) + at cn.org.bjca.hsm.client.manager.MsgManager.sendAndReceiveMsg(MsgManager.java:43) + at cn.org.bjca.hsm.client.security.sdf.SDFDefaultSecurityEngine.getActiveThreadNum(SDFDefaultSecurityEngine.java:39) + at cn.org.bjca.hsm.client.security.sdf.SDFSecurityEngineDeal.SDF_getInstance(SDFSecurityEngineDeal.java:116) + at cn.org.bjca.hsm.client.security.sdf.SDFSecurityEngineDeal.SDF_OpenDevice(SDFSecurityEngineDeal.java:134) + at cn.org.bjca.chaos.jce.provider.BJCAJCEProvider.(BJCAJCEProvider.java:175) + at com.zky.bjca.SM4.SM4Decrypt(SM4.java:113) + at org.apache.jsp.zhyw.smry.rypx.TrainShowInfo_jsp._jspService(TrainShowInfo_jsp.java:472) + at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70) + at javax.servlet.http.HttpServlet.service(HttpServlet.java:729) + at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:438) + at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:396) + at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:340) + at javax.servlet.http.HttpServlet.service(HttpServlet.java:729) + at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:292) + at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:207) + at org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:52) + at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:240) + at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:207) + at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:716) + at org.apache.catalina.core.ApplicationDispatcher.processRequest(ApplicationDispatcher.java:466) + at org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:391) + at org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:318) + at com.zky.zhyw.smpx.TrainManageServlet.queryTrainShowById(TrainManageServlet.java:665) + at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) + at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) + at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) + at java.lang.reflect.Method.invoke(Method.java:498) + at com.zky.pub.DispatchServlet.doPost(DispatchServlet.java:39) + at com.zky.pub.DispatchServlet.doGet(DispatchServlet.java:26) + at javax.servlet.http.HttpServlet.service(HttpServlet.java:622) + at javax.servlet.http.HttpServlet.service(HttpServlet.java:729) + at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:292) + at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:207) + at org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:52) + at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:240) + at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:207) + at com.zky.pub.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:70) + at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:240) + at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:207) + at com.zky.util.CharFilter.doFilter(CharFilter.java:41) + at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:240) + at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:207) + at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:212) + at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:94) + at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:141) + at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:79) + at org.apache.catalina.valves.AbstractAccessLogValve.invoke(AbstractAccessLogValve.java:620) + at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:88) + at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:502) + at org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1132) + at org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:684) + at org.apache.tomcat.util.net.AprEndpoint$SocketProcessor.doRun(AprEndpoint.java:2527) + at org.apache.tomcat.util.net.AprEndpoint$SocketProcessor.run(AprEndpoint.java:2516) + at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149) + at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624) + at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61) + at java.lang.Thread.run(Thread.java:750) + +INFO [2023-12-22 14:23:03 661] Connection error! Please check network connections or client config! +INFO [2023-12-22 14:23:03 661] java.lang.RuntimeException: There is no any instance of Remote Service, please check Server or Client config ! + at cn.org.bjca.framework.socket.client.impl.loadbalance.DefaultHostSelector.select(DefaultHostSelector.java:69) + at cn.org.bjca.framework.socket.client.impl.NioClientImpl.selectInstance(NioClientImpl.java:303) + at cn.org.bjca.framework.socket.client.impl.NioClientImpl.send(NioClientImpl.java:366) + at cn.org.bjca.framework.socket.client.impl.NioClientImpl.send(NioClientImpl.java:357) + at cn.org.bjca.hsm.client.manager.MsgManager.sendAndReceiveMsg(MsgManager.java:43) + at cn.org.bjca.hsm.client.security.sdf.SDFDefaultSecurityEngine.getActiveThreadNum(SDFDefaultSecurityEngine.java:39) + at cn.org.bjca.hsm.client.security.sdf.SDFSecurityEngineDeal.SDF_getInstance(SDFSecurityEngineDeal.java:116) + at cn.org.bjca.hsm.client.security.sdf.SDFSecurityEngineDeal.SDF_OpenDevice(SDFSecurityEngineDeal.java:134) + at cn.org.bjca.chaos.jce.provider.BJCAJCEProvider.(BJCAJCEProvider.java:175) + at com.zky.bjca.SM4.SM4Decrypt(SM4.java:113) + at org.apache.jsp.zhyw.smry.rylz.LeaveState_jsp._jspService(LeaveState_jsp.java:405) + at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70) + at javax.servlet.http.HttpServlet.service(HttpServlet.java:729) + at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:438) + at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:396) + at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:340) + at javax.servlet.http.HttpServlet.service(HttpServlet.java:729) + at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:292) + at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:207) + at org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:52) + at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:240) + at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:207) + at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:716) + at org.apache.catalina.core.ApplicationDispatcher.processRequest(ApplicationDispatcher.java:466) + at org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:391) + at org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:318) + at com.zky.zhyw.smry.LeaveManageServlet.queryLeaveState(LeaveManageServlet.java:263) + at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) + at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) + at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) + at java.lang.reflect.Method.invoke(Method.java:498) + at com.zky.pub.DispatchServlet.doPost(DispatchServlet.java:39) + at com.zky.pub.DispatchServlet.doGet(DispatchServlet.java:26) + at javax.servlet.http.HttpServlet.service(HttpServlet.java:622) + at javax.servlet.http.HttpServlet.service(HttpServlet.java:729) + at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:292) + at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:207) + at org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:52) + at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:240) + at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:207) + at com.zky.pub.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:70) + at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:240) + at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:207) + at com.zky.util.CharFilter.doFilter(CharFilter.java:41) + at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:240) + at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:207) + at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:212) + at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:94) + at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:141) + at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:79) + at org.apache.catalina.valves.AbstractAccessLogValve.invoke(AbstractAccessLogValve.java:620) + at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:88) + at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:502) + at org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1132) + at org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:684) + at org.apache.tomcat.util.net.AprEndpoint$SocketProcessor.doRun(AprEndpoint.java:2527) + at org.apache.tomcat.util.net.AprEndpoint$SocketProcessor.run(AprEndpoint.java:2516) + at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149) + at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624) + at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61) + at java.lang.Thread.run(Thread.java:750) + +INFO [2023-12-22 14:23:07 524] Connection error! Please check network connections or client config! +INFO [2023-12-22 14:23:07 524] java.lang.RuntimeException: There is no any instance of Remote Service, please check Server or Client config ! + at cn.org.bjca.framework.socket.client.impl.loadbalance.DefaultHostSelector.select(DefaultHostSelector.java:69) + at cn.org.bjca.framework.socket.client.impl.NioClientImpl.selectInstance(NioClientImpl.java:303) + at cn.org.bjca.framework.socket.client.impl.NioClientImpl.send(NioClientImpl.java:366) + at cn.org.bjca.framework.socket.client.impl.NioClientImpl.send(NioClientImpl.java:357) + at cn.org.bjca.hsm.client.manager.MsgManager.sendAndReceiveMsg(MsgManager.java:43) + at cn.org.bjca.hsm.client.security.sdf.SDFDefaultSecurityEngine.getActiveThreadNum(SDFDefaultSecurityEngine.java:39) + at cn.org.bjca.hsm.client.security.sdf.SDFSecurityEngineDeal.SDF_getInstance(SDFSecurityEngineDeal.java:116) + at cn.org.bjca.hsm.client.security.sdf.SDFSecurityEngineDeal.SDF_OpenDevice(SDFSecurityEngineDeal.java:134) + at cn.org.bjca.chaos.jce.provider.BJCAJCEProvider.(BJCAJCEProvider.java:175) + at com.zky.bjca.SM4.SM4Decrypt(SM4.java:113) + at org.apache.jsp.zhyw.smry.rylz.LeaveState_jsp._jspService(LeaveState_jsp.java:405) + at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70) + at javax.servlet.http.HttpServlet.service(HttpServlet.java:729) + at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:438) + at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:396) + at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:340) + at javax.servlet.http.HttpServlet.service(HttpServlet.java:729) + at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:292) + at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:207) + at org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:52) + at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:240) + at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:207) + at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:716) + at org.apache.catalina.core.ApplicationDispatcher.processRequest(ApplicationDispatcher.java:466) + at org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:391) + at org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:318) + at com.zky.zhyw.smry.LeaveManageServlet.queryLeaveState(LeaveManageServlet.java:263) + at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) + at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) + at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) + at java.lang.reflect.Method.invoke(Method.java:498) + at com.zky.pub.DispatchServlet.doPost(DispatchServlet.java:39) + at com.zky.pub.DispatchServlet.doGet(DispatchServlet.java:26) + at javax.servlet.http.HttpServlet.service(HttpServlet.java:622) + at javax.servlet.http.HttpServlet.service(HttpServlet.java:729) + at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:292) + at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:207) + at org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:52) + at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:240) + at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:207) + at com.zky.pub.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:70) + at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:240) + at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:207) + at com.zky.util.CharFilter.doFilter(CharFilter.java:41) + at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:240) + at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:207) + at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:212) + at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:94) + at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:141) + at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:79) + at org.apache.catalina.valves.AbstractAccessLogValve.invoke(AbstractAccessLogValve.java:620) + at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:88) + at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:502) + at org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1132) + at org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:684) + at org.apache.tomcat.util.net.AprEndpoint$SocketProcessor.doRun(AprEndpoint.java:2527) + at org.apache.tomcat.util.net.AprEndpoint$SocketProcessor.run(AprEndpoint.java:2516) + at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149) + at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624) + at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61) + at java.lang.Thread.run(Thread.java:750) + +INFO [2023-12-22 15:37:14 567] 10.10.3.2_8000Чconnect timed out +INFO [2023-12-22 15:37:16 583] 10.10.3.2_8000Чconnect timed out +INFO [2023-12-22 15:37:16 626] Connection error! Please check network connections or client config! +INFO [2023-12-22 15:37:16 627] java.lang.RuntimeException: There is no any instance of Remote Service, please check Server or Client config ! + at cn.org.bjca.framework.socket.client.impl.loadbalance.DefaultHostSelector.select(DefaultHostSelector.java:69) + at cn.org.bjca.framework.socket.client.impl.NioClientImpl.selectInstance(NioClientImpl.java:303) + at cn.org.bjca.framework.socket.client.impl.NioClientImpl.send(NioClientImpl.java:366) + at cn.org.bjca.framework.socket.client.impl.NioClientImpl.send(NioClientImpl.java:357) + at cn.org.bjca.hsm.client.manager.MsgManager.sendAndReceiveMsg(MsgManager.java:43) + at cn.org.bjca.hsm.client.security.sdf.SDFDefaultSecurityEngine.getActiveThreadNum(SDFDefaultSecurityEngine.java:39) + at cn.org.bjca.hsm.client.security.sdf.SDFSecurityEngineDeal.SDF_getInstance(SDFSecurityEngineDeal.java:116) + at cn.org.bjca.hsm.client.security.sdf.SDFSecurityEngineDeal.SDF_OpenDevice(SDFSecurityEngineDeal.java:134) + at cn.org.bjca.chaos.jce.provider.BJCAJCEProvider.(BJCAJCEProvider.java:175) + at com.zky.bjca.SM4.SM4Decrypt(SM4.java:113) + at org.apache.jsp.zhyw.smry.rypx.TrainManage_jsp._jspService(TrainManage_jsp.java:628) + at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70) + at javax.servlet.http.HttpServlet.service(HttpServlet.java:729) + at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:438) + at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:396) + at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:340) + at javax.servlet.http.HttpServlet.service(HttpServlet.java:729) + at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:292) + at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:207) + at org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:52) + at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:240) + at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:207) + at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:716) + at org.apache.catalina.core.ApplicationDispatcher.processRequest(ApplicationDispatcher.java:466) + at org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:391) + at org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:318) + at com.zky.zhyw.smpx.TrainManageServlet.queryTrain(TrainManageServlet.java:625) + at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) + at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) + at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) + at java.lang.reflect.Method.invoke(Method.java:498) + at com.zky.pub.DispatchServlet.doPost(DispatchServlet.java:39) + at com.zky.pub.DispatchServlet.doGet(DispatchServlet.java:26) + at javax.servlet.http.HttpServlet.service(HttpServlet.java:622) + at javax.servlet.http.HttpServlet.service(HttpServlet.java:729) + at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:292) + at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:207) + at org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:52) + at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:240) + at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:207) + at com.zky.pub.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:70) + at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:240) + at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:207) + at com.zky.util.CharFilter.doFilter(CharFilter.java:41) + at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:240) + at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:207) + at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:212) + at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:94) + at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:141) + at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:79) + at org.apache.catalina.valves.AbstractAccessLogValve.invoke(AbstractAccessLogValve.java:620) + at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:88) + at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:502) + at org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1132) + at org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:684) + at org.apache.tomcat.util.net.AprEndpoint$SocketProcessor.doRun(AprEndpoint.java:2527) + at org.apache.tomcat.util.net.AprEndpoint$SocketProcessor.run(AprEndpoint.java:2516) + at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149) + at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624) + at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61) + at java.lang.Thread.run(Thread.java:750) + +INFO [2023-12-22 15:37:16 638] Connection error! Please check network connections or client config! +INFO [2023-12-22 15:37:16 638] java.lang.RuntimeException: There is no any instance of Remote Service, please check Server or Client config ! + at cn.org.bjca.framework.socket.client.impl.loadbalance.DefaultHostSelector.select(DefaultHostSelector.java:69) + at cn.org.bjca.framework.socket.client.impl.NioClientImpl.selectInstance(NioClientImpl.java:303) + at cn.org.bjca.framework.socket.client.impl.NioClientImpl.send(NioClientImpl.java:366) + at cn.org.bjca.framework.socket.client.impl.NioClientImpl.send(NioClientImpl.java:357) + at cn.org.bjca.hsm.client.manager.MsgManager.sendAndReceiveMsg(MsgManager.java:43) + at cn.org.bjca.hsm.client.security.sdf.SDFDefaultSecurityEngine.getActiveThreadNum(SDFDefaultSecurityEngine.java:39) + at cn.org.bjca.hsm.client.security.sdf.SDFSecurityEngineDeal.SDF_getInstance(SDFSecurityEngineDeal.java:116) + at cn.org.bjca.hsm.client.security.sdf.SDFSecurityEngineDeal.SDF_OpenDevice(SDFSecurityEngineDeal.java:134) + at cn.org.bjca.chaos.jce.provider.BJCAJCEProvider.(BJCAJCEProvider.java:175) + at com.zky.bjca.SM4.SM4Decrypt(SM4.java:113) + at org.apache.jsp.zhyw.smry.rypx.TrainManage_jsp._jspService(TrainManage_jsp.java:628) + at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70) + at javax.servlet.http.HttpServlet.service(HttpServlet.java:729) + at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:438) + at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:396) + at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:340) + at javax.servlet.http.HttpServlet.service(HttpServlet.java:729) + at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:292) + at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:207) + at org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:52) + at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:240) + at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:207) + at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:716) + at org.apache.catalina.core.ApplicationDispatcher.processRequest(ApplicationDispatcher.java:466) + at org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:391) + at org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:318) + at com.zky.zhyw.smpx.TrainManageServlet.queryTrain(TrainManageServlet.java:625) + at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) + at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) + at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) + at java.lang.reflect.Method.invoke(Method.java:498) + at com.zky.pub.DispatchServlet.doPost(DispatchServlet.java:39) + at com.zky.pub.DispatchServlet.doGet(DispatchServlet.java:26) + at javax.servlet.http.HttpServlet.service(HttpServlet.java:622) + at javax.servlet.http.HttpServlet.service(HttpServlet.java:729) + at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:292) + at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:207) + at org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:52) + at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:240) + at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:207) + at com.zky.pub.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:70) + at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:240) + at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:207) + at com.zky.util.CharFilter.doFilter(CharFilter.java:41) + at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:240) + at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:207) + at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:212) + at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:94) + at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:141) + at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:79) + at org.apache.catalina.valves.AbstractAccessLogValve.invoke(AbstractAccessLogValve.java:620) + at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:88) + at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:502) + at org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1132) + at org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:684) + at org.apache.tomcat.util.net.AprEndpoint$SocketProcessor.doRun(AprEndpoint.java:2527) + at org.apache.tomcat.util.net.AprEndpoint$SocketProcessor.run(AprEndpoint.java:2516) + at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149) + at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624) + at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61) + at java.lang.Thread.run(Thread.java:750) + +INFO [2023-12-22 15:37:16 644] Connection error! Please check network connections or client config! +INFO [2023-12-22 15:37:16 645] java.lang.RuntimeException: There is no any instance of Remote Service, please check Server or Client config ! + at cn.org.bjca.framework.socket.client.impl.loadbalance.DefaultHostSelector.select(DefaultHostSelector.java:69) + at cn.org.bjca.framework.socket.client.impl.NioClientImpl.selectInstance(NioClientImpl.java:303) + at cn.org.bjca.framework.socket.client.impl.NioClientImpl.send(NioClientImpl.java:366) + at cn.org.bjca.framework.socket.client.impl.NioClientImpl.send(NioClientImpl.java:357) + at cn.org.bjca.hsm.client.manager.MsgManager.sendAndReceiveMsg(MsgManager.java:43) + at cn.org.bjca.hsm.client.security.sdf.SDFDefaultSecurityEngine.getActiveThreadNum(SDFDefaultSecurityEngine.java:39) + at cn.org.bjca.hsm.client.security.sdf.SDFSecurityEngineDeal.SDF_getInstance(SDFSecurityEngineDeal.java:116) + at cn.org.bjca.hsm.client.security.sdf.SDFSecurityEngineDeal.SDF_OpenDevice(SDFSecurityEngineDeal.java:134) + at cn.org.bjca.chaos.jce.provider.BJCAJCEProvider.(BJCAJCEProvider.java:175) + at com.zky.bjca.SM4.SM4Decrypt(SM4.java:113) + at org.apache.jsp.zhyw.smry.rypx.TrainManage_jsp._jspService(TrainManage_jsp.java:628) + at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70) + at javax.servlet.http.HttpServlet.service(HttpServlet.java:729) + at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:438) + at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:396) + at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:340) + at javax.servlet.http.HttpServlet.service(HttpServlet.java:729) + at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:292) + at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:207) + at org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:52) + at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:240) + at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:207) + at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:716) + at org.apache.catalina.core.ApplicationDispatcher.processRequest(ApplicationDispatcher.java:466) + at org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:391) + at org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:318) + at com.zky.zhyw.smpx.TrainManageServlet.queryTrain(TrainManageServlet.java:625) + at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) + at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) + at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) + at java.lang.reflect.Method.invoke(Method.java:498) + at com.zky.pub.DispatchServlet.doPost(DispatchServlet.java:39) + at com.zky.pub.DispatchServlet.doGet(DispatchServlet.java:26) + at javax.servlet.http.HttpServlet.service(HttpServlet.java:622) + at javax.servlet.http.HttpServlet.service(HttpServlet.java:729) + at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:292) + at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:207) + at org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:52) + at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:240) + at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:207) + at com.zky.pub.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:70) + at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:240) + at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:207) + at com.zky.util.CharFilter.doFilter(CharFilter.java:41) + at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:240) + at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:207) + at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:212) + at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:94) + at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:141) + at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:79) + at org.apache.catalina.valves.AbstractAccessLogValve.invoke(AbstractAccessLogValve.java:620) + at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:88) + at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:502) + at org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1132) + at org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:684) + at org.apache.tomcat.util.net.AprEndpoint$SocketProcessor.doRun(AprEndpoint.java:2527) + at org.apache.tomcat.util.net.AprEndpoint$SocketProcessor.run(AprEndpoint.java:2516) + at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149) + at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624) + at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61) + at java.lang.Thread.run(Thread.java:750) + +INFO [2023-12-22 17:17:13 932] 10.10.3.2_8000Чconnect timed out +INFO [2023-12-22 17:17:15 961] 10.10.3.2_8000Чconnect timed out +INFO [2023-12-22 17:17:15 989] Connection error! Please check network connections or client config! +INFO [2023-12-22 17:17:15 990] java.lang.RuntimeException: There is no any instance of Remote Service, please check Server or Client config ! + at cn.org.bjca.framework.socket.client.impl.loadbalance.DefaultHostSelector.select(DefaultHostSelector.java:69) + at cn.org.bjca.framework.socket.client.impl.NioClientImpl.selectInstance(NioClientImpl.java:303) + at cn.org.bjca.framework.socket.client.impl.NioClientImpl.send(NioClientImpl.java:366) + at cn.org.bjca.framework.socket.client.impl.NioClientImpl.send(NioClientImpl.java:357) + at cn.org.bjca.hsm.client.manager.MsgManager.sendAndReceiveMsg(MsgManager.java:43) + at cn.org.bjca.hsm.client.security.sdf.SDFDefaultSecurityEngine.getActiveThreadNum(SDFDefaultSecurityEngine.java:39) + at cn.org.bjca.hsm.client.security.sdf.SDFSecurityEngineDeal.SDF_getInstance(SDFSecurityEngineDeal.java:116) + at cn.org.bjca.hsm.client.security.sdf.SDFSecurityEngineDeal.SDF_OpenDevice(SDFSecurityEngineDeal.java:134) + at cn.org.bjca.chaos.jce.provider.BJCAJCEProvider.(BJCAJCEProvider.java:175) + at com.zky.bjca.SM4.SM4Decrypt(SM4.java:113) + at org.apache.jsp.zhyw.smry.rylz.LeaveUpdate_jsp._jspService(LeaveUpdate_jsp.java:392) + at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70) + at javax.servlet.http.HttpServlet.service(HttpServlet.java:729) + at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:438) + at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:396) + at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:340) + at javax.servlet.http.HttpServlet.service(HttpServlet.java:729) + at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:292) + at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:207) + at org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:52) + at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:240) + at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:207) + at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:716) + at org.apache.catalina.core.ApplicationDispatcher.processRequest(ApplicationDispatcher.java:466) + at org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:391) + at org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:318) + at com.zky.zhyw.smry.LeaveManageServlet.queryLeaveId(LeaveManageServlet.java:332) + at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) + at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) + at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) + at java.lang.reflect.Method.invoke(Method.java:498) + at com.zky.pub.DispatchServlet.doPost(DispatchServlet.java:39) + at com.zky.pub.DispatchServlet.doGet(DispatchServlet.java:26) + at javax.servlet.http.HttpServlet.service(HttpServlet.java:622) + at javax.servlet.http.HttpServlet.service(HttpServlet.java:729) + at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:292) + at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:207) + at org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:52) + at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:240) + at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:207) + at com.zky.pub.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:70) + at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:240) + at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:207) + at com.zky.util.CharFilter.doFilter(CharFilter.java:41) + at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:240) + at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:207) + at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:212) + at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:94) + at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:141) + at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:79) + at org.apache.catalina.valves.AbstractAccessLogValve.invoke(AbstractAccessLogValve.java:620) + at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:88) + at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:502) + at org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1132) + at org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:684) + at org.apache.tomcat.util.net.AprEndpoint$SocketProcessor.doRun(AprEndpoint.java:2527) + at org.apache.tomcat.util.net.AprEndpoint$SocketProcessor.run(AprEndpoint.java:2516) + at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149) + at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624) + at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61) + at java.lang.Thread.run(Thread.java:750) + +INFO [2023-12-22 17:17:15 992] Connection error! Please check network connections or client config! +INFO [2023-12-22 17:17:15 994] java.lang.RuntimeException: There is no any instance of Remote Service, please check Server or Client config ! + at cn.org.bjca.framework.socket.client.impl.loadbalance.DefaultHostSelector.select(DefaultHostSelector.java:69) + at cn.org.bjca.framework.socket.client.impl.NioClientImpl.selectInstance(NioClientImpl.java:303) + at cn.org.bjca.framework.socket.client.impl.NioClientImpl.send(NioClientImpl.java:366) + at cn.org.bjca.framework.socket.client.impl.NioClientImpl.send(NioClientImpl.java:357) + at cn.org.bjca.hsm.client.manager.MsgManager.sendAndReceiveMsg(MsgManager.java:43) + at cn.org.bjca.hsm.client.security.sdf.SDFDefaultSecurityEngine.getActiveThreadNum(SDFDefaultSecurityEngine.java:39) + at cn.org.bjca.hsm.client.security.sdf.SDFSecurityEngineDeal.SDF_getInstance(SDFSecurityEngineDeal.java:116) + at cn.org.bjca.hsm.client.security.sdf.SDFSecurityEngineDeal.SDF_OpenDevice(SDFSecurityEngineDeal.java:134) + at cn.org.bjca.chaos.jce.provider.BJCAJCEProvider.(BJCAJCEProvider.java:175) + at com.zky.bjca.SM4.SM4Decrypt(SM4.java:113) + at org.apache.jsp.zhyw.smry.rylz.LeaveUpdate_jsp._jspService(LeaveUpdate_jsp.java:392) + at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70) + at javax.servlet.http.HttpServlet.service(HttpServlet.java:729) + at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:438) + at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:396) + at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:340) + at javax.servlet.http.HttpServlet.service(HttpServlet.java:729) + at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:292) + at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:207) + at org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:52) + at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:240) + at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:207) + at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:716) + at org.apache.catalina.core.ApplicationDispatcher.processRequest(ApplicationDispatcher.java:466) + at org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:391) + at org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:318) + at com.zky.zhyw.smry.LeaveManageServlet.queryLeaveId(LeaveManageServlet.java:332) + at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) + at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) + at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) + at java.lang.reflect.Method.invoke(Method.java:498) + at com.zky.pub.DispatchServlet.doPost(DispatchServlet.java:39) + at com.zky.pub.DispatchServlet.doGet(DispatchServlet.java:26) + at javax.servlet.http.HttpServlet.service(HttpServlet.java:622) + at javax.servlet.http.HttpServlet.service(HttpServlet.java:729) + at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:292) + at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:207) + at org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:52) + at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:240) + at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:207) + at com.zky.pub.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:70) + at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:240) + at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:207) + at com.zky.util.CharFilter.doFilter(CharFilter.java:41) + at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:240) + at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:207) + at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:212) + at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:94) + at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:141) + at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:79) + at org.apache.catalina.valves.AbstractAccessLogValve.invoke(AbstractAccessLogValve.java:620) + at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:88) + at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:502) + at org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1132) + at org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:684) + at org.apache.tomcat.util.net.AprEndpoint$SocketProcessor.doRun(AprEndpoint.java:2527) + at org.apache.tomcat.util.net.AprEndpoint$SocketProcessor.run(AprEndpoint.java:2516) + at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149) + at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624) + at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61) + at java.lang.Thread.run(Thread.java:750) + +INFO [2023-12-22 17:17:25 138] Connection error! Please check network connections or client config! +INFO [2023-12-22 17:17:25 139] java.lang.RuntimeException: There is no any instance of Remote Service, please check Server or Client config ! + at cn.org.bjca.framework.socket.client.impl.loadbalance.DefaultHostSelector.select(DefaultHostSelector.java:69) + at cn.org.bjca.framework.socket.client.impl.NioClientImpl.selectInstance(NioClientImpl.java:303) + at cn.org.bjca.framework.socket.client.impl.NioClientImpl.send(NioClientImpl.java:366) + at cn.org.bjca.framework.socket.client.impl.NioClientImpl.send(NioClientImpl.java:357) + at cn.org.bjca.hsm.client.manager.MsgManager.sendAndReceiveMsg(MsgManager.java:43) + at cn.org.bjca.hsm.client.security.sdf.SDFDefaultSecurityEngine.getActiveThreadNum(SDFDefaultSecurityEngine.java:39) + at cn.org.bjca.hsm.client.security.sdf.SDFSecurityEngineDeal.SDF_getInstance(SDFSecurityEngineDeal.java:116) + at cn.org.bjca.hsm.client.security.sdf.SDFSecurityEngineDeal.SDF_OpenDevice(SDFSecurityEngineDeal.java:134) + at cn.org.bjca.chaos.jce.provider.BJCAJCEProvider.(BJCAJCEProvider.java:175) + at com.zky.bjca.SM4.SM4Decrypt(SM4.java:113) + at org.apache.jsp.zhyw.smry.rylz.LeaveState_jsp._jspService(LeaveState_jsp.java:405) + at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70) + at javax.servlet.http.HttpServlet.service(HttpServlet.java:729) + at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:438) + at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:396) + at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:340) + at javax.servlet.http.HttpServlet.service(HttpServlet.java:729) + at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:292) + at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:207) + at org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:52) + at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:240) + at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:207) + at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:716) + at org.apache.catalina.core.ApplicationDispatcher.processRequest(ApplicationDispatcher.java:466) + at org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:391) + at org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:318) + at com.zky.zhyw.smry.LeaveManageServlet.queryLeaveState(LeaveManageServlet.java:263) + at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) + at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) + at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) + at java.lang.reflect.Method.invoke(Method.java:498) + at com.zky.pub.DispatchServlet.doPost(DispatchServlet.java:39) + at com.zky.pub.DispatchServlet.doGet(DispatchServlet.java:26) + at javax.servlet.http.HttpServlet.service(HttpServlet.java:622) + at javax.servlet.http.HttpServlet.service(HttpServlet.java:729) + at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:292) + at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:207) + at org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:52) + at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:240) + at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:207) + at com.zky.pub.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:70) + at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:240) + at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:207) + at com.zky.util.CharFilter.doFilter(CharFilter.java:41) + at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:240) + at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:207) + at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:212) + at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:94) + at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:141) + at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:79) + at org.apache.catalina.valves.AbstractAccessLogValve.invoke(AbstractAccessLogValve.java:620) + at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:88) + at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:502) + at org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1132) + at org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:684) + at org.apache.tomcat.util.net.AprEndpoint$SocketProcessor.doRun(AprEndpoint.java:2527) + at org.apache.tomcat.util.net.AprEndpoint$SocketProcessor.run(AprEndpoint.java:2516) + at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149) + at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624) + at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61) + at java.lang.Thread.run(Thread.java:750) + +INFO [2023-12-22 17:17:30 865] Connection error! Please check network connections or client config! +INFO [2023-12-22 17:17:30 866] java.lang.RuntimeException: There is no any instance of Remote Service, please check Server or Client config ! + at cn.org.bjca.framework.socket.client.impl.loadbalance.DefaultHostSelector.select(DefaultHostSelector.java:69) + at cn.org.bjca.framework.socket.client.impl.NioClientImpl.selectInstance(NioClientImpl.java:303) + at cn.org.bjca.framework.socket.client.impl.NioClientImpl.send(NioClientImpl.java:366) + at cn.org.bjca.framework.socket.client.impl.NioClientImpl.send(NioClientImpl.java:357) + at cn.org.bjca.hsm.client.manager.MsgManager.sendAndReceiveMsg(MsgManager.java:43) + at cn.org.bjca.hsm.client.security.sdf.SDFDefaultSecurityEngine.getActiveThreadNum(SDFDefaultSecurityEngine.java:39) + at cn.org.bjca.hsm.client.security.sdf.SDFSecurityEngineDeal.SDF_getInstance(SDFSecurityEngineDeal.java:116) + at cn.org.bjca.hsm.client.security.sdf.SDFSecurityEngineDeal.SDF_OpenDevice(SDFSecurityEngineDeal.java:134) + at cn.org.bjca.chaos.jce.provider.BJCAJCEProvider.(BJCAJCEProvider.java:175) + at com.zky.bjca.SM4.SM4Decrypt(SM4.java:113) + at org.apache.jsp.zhyw.smry.rypx.TrainManage_jsp._jspService(TrainManage_jsp.java:628) + at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70) + at javax.servlet.http.HttpServlet.service(HttpServlet.java:729) + at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:438) + at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:396) + at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:340) + at javax.servlet.http.HttpServlet.service(HttpServlet.java:729) + at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:292) + at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:207) + at org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:52) + at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:240) + at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:207) + at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:716) + at org.apache.catalina.core.ApplicationDispatcher.processRequest(ApplicationDispatcher.java:466) + at org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:391) + at org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:318) + at com.zky.zhyw.smpx.TrainManageServlet.queryTrain(TrainManageServlet.java:625) + at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) + at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) + at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) + at java.lang.reflect.Method.invoke(Method.java:498) + at com.zky.pub.DispatchServlet.doPost(DispatchServlet.java:39) + at com.zky.pub.DispatchServlet.doGet(DispatchServlet.java:26) + at javax.servlet.http.HttpServlet.service(HttpServlet.java:622) + at javax.servlet.http.HttpServlet.service(HttpServlet.java:729) + at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:292) + at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:207) + at org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:52) + at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:240) + at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:207) + at com.zky.pub.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:70) + at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:240) + at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:207) + at com.zky.util.CharFilter.doFilter(CharFilter.java:41) + at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:240) + at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:207) + at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:212) + at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:94) + at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:141) + at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:79) + at org.apache.catalina.valves.AbstractAccessLogValve.invoke(AbstractAccessLogValve.java:620) + at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:88) + at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:502) + at org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1132) + at org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:684) + at org.apache.tomcat.util.net.AprEndpoint$SocketProcessor.doRun(AprEndpoint.java:2527) + at org.apache.tomcat.util.net.AprEndpoint$SocketProcessor.run(AprEndpoint.java:2516) + at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149) + at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624) + at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61) + at java.lang.Thread.run(Thread.java:750) + +INFO [2023-12-22 17:17:30 873] Connection error! Please check network connections or client config! +INFO [2023-12-22 17:17:30 873] java.lang.RuntimeException: There is no any instance of Remote Service, please check Server or Client config ! + at cn.org.bjca.framework.socket.client.impl.loadbalance.DefaultHostSelector.select(DefaultHostSelector.java:69) + at cn.org.bjca.framework.socket.client.impl.NioClientImpl.selectInstance(NioClientImpl.java:303) + at cn.org.bjca.framework.socket.client.impl.NioClientImpl.send(NioClientImpl.java:366) + at cn.org.bjca.framework.socket.client.impl.NioClientImpl.send(NioClientImpl.java:357) + at cn.org.bjca.hsm.client.manager.MsgManager.sendAndReceiveMsg(MsgManager.java:43) + at cn.org.bjca.hsm.client.security.sdf.SDFDefaultSecurityEngine.getActiveThreadNum(SDFDefaultSecurityEngine.java:39) + at cn.org.bjca.hsm.client.security.sdf.SDFSecurityEngineDeal.SDF_getInstance(SDFSecurityEngineDeal.java:116) + at cn.org.bjca.hsm.client.security.sdf.SDFSecurityEngineDeal.SDF_OpenDevice(SDFSecurityEngineDeal.java:134) + at cn.org.bjca.chaos.jce.provider.BJCAJCEProvider.(BJCAJCEProvider.java:175) + at com.zky.bjca.SM4.SM4Decrypt(SM4.java:113) + at org.apache.jsp.zhyw.smry.rypx.TrainManage_jsp._jspService(TrainManage_jsp.java:628) + at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70) + at javax.servlet.http.HttpServlet.service(HttpServlet.java:729) + at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:438) + at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:396) + at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:340) + at javax.servlet.http.HttpServlet.service(HttpServlet.java:729) + at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:292) + at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:207) + at org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:52) + at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:240) + at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:207) + at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:716) + at org.apache.catalina.core.ApplicationDispatcher.processRequest(ApplicationDispatcher.java:466) + at org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:391) + at org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:318) + at com.zky.zhyw.smpx.TrainManageServlet.queryTrain(TrainManageServlet.java:625) + at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) + at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) + at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) + at java.lang.reflect.Method.invoke(Method.java:498) + at com.zky.pub.DispatchServlet.doPost(DispatchServlet.java:39) + at com.zky.pub.DispatchServlet.doGet(DispatchServlet.java:26) + at javax.servlet.http.HttpServlet.service(HttpServlet.java:622) + at javax.servlet.http.HttpServlet.service(HttpServlet.java:729) + at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:292) + at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:207) + at org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:52) + at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:240) + at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:207) + at com.zky.pub.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:70) + at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:240) + at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:207) + at com.zky.util.CharFilter.doFilter(CharFilter.java:41) + at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:240) + at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:207) + at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:212) + at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:94) + at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:141) + at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:79) + at org.apache.catalina.valves.AbstractAccessLogValve.invoke(AbstractAccessLogValve.java:620) + at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:88) + at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:502) + at org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1132) + at org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:684) + at org.apache.tomcat.util.net.AprEndpoint$SocketProcessor.doRun(AprEndpoint.java:2527) + at org.apache.tomcat.util.net.AprEndpoint$SocketProcessor.run(AprEndpoint.java:2516) + at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149) + at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624) + at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61) + at java.lang.Thread.run(Thread.java:750) + +INFO [2023-12-22 17:17:30 889] Connection error! Please check network connections or client config! +INFO [2023-12-22 17:17:30 889] java.lang.RuntimeException: There is no any instance of Remote Service, please check Server or Client config ! + at cn.org.bjca.framework.socket.client.impl.loadbalance.DefaultHostSelector.select(DefaultHostSelector.java:69) + at cn.org.bjca.framework.socket.client.impl.NioClientImpl.selectInstance(NioClientImpl.java:303) + at cn.org.bjca.framework.socket.client.impl.NioClientImpl.send(NioClientImpl.java:366) + at cn.org.bjca.framework.socket.client.impl.NioClientImpl.send(NioClientImpl.java:357) + at cn.org.bjca.hsm.client.manager.MsgManager.sendAndReceiveMsg(MsgManager.java:43) + at cn.org.bjca.hsm.client.security.sdf.SDFDefaultSecurityEngine.getActiveThreadNum(SDFDefaultSecurityEngine.java:39) + at cn.org.bjca.hsm.client.security.sdf.SDFSecurityEngineDeal.SDF_getInstance(SDFSecurityEngineDeal.java:116) + at cn.org.bjca.hsm.client.security.sdf.SDFSecurityEngineDeal.SDF_OpenDevice(SDFSecurityEngineDeal.java:134) + at cn.org.bjca.chaos.jce.provider.BJCAJCEProvider.(BJCAJCEProvider.java:175) + at com.zky.bjca.SM4.SM4Decrypt(SM4.java:113) + at org.apache.jsp.zhyw.smry.rypx.TrainManage_jsp._jspService(TrainManage_jsp.java:628) + at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70) + at javax.servlet.http.HttpServlet.service(HttpServlet.java:729) + at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:438) + at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:396) + at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:340) + at javax.servlet.http.HttpServlet.service(HttpServlet.java:729) + at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:292) + at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:207) + at org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:52) + at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:240) + at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:207) + at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:716) + at org.apache.catalina.core.ApplicationDispatcher.processRequest(ApplicationDispatcher.java:466) + at org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:391) + at org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:318) + at com.zky.zhyw.smpx.TrainManageServlet.queryTrain(TrainManageServlet.java:625) + at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) + at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) + at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) + at java.lang.reflect.Method.invoke(Method.java:498) + at com.zky.pub.DispatchServlet.doPost(DispatchServlet.java:39) + at com.zky.pub.DispatchServlet.doGet(DispatchServlet.java:26) + at javax.servlet.http.HttpServlet.service(HttpServlet.java:622) + at javax.servlet.http.HttpServlet.service(HttpServlet.java:729) + at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:292) + at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:207) + at org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:52) + at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:240) + at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:207) + at com.zky.pub.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:70) + at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:240) + at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:207) + at com.zky.util.CharFilter.doFilter(CharFilter.java:41) + at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:240) + at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:207) + at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:212) + at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:94) + at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:141) + at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:79) + at org.apache.catalina.valves.AbstractAccessLogValve.invoke(AbstractAccessLogValve.java:620) + at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:88) + at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:502) + at org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1132) + at org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:684) + at org.apache.tomcat.util.net.AprEndpoint$SocketProcessor.doRun(AprEndpoint.java:2527) + at org.apache.tomcat.util.net.AprEndpoint$SocketProcessor.run(AprEndpoint.java:2516) + at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149) + at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624) + at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61) + at java.lang.Thread.run(Thread.java:750) + +INFO [2023-12-22 17:17:33 414] Connection error! Please check network connections or client config! +INFO [2023-12-22 17:17:33 414] java.lang.RuntimeException: There is no any instance of Remote Service, please check Server or Client config ! + at cn.org.bjca.framework.socket.client.impl.loadbalance.DefaultHostSelector.select(DefaultHostSelector.java:69) + at cn.org.bjca.framework.socket.client.impl.NioClientImpl.selectInstance(NioClientImpl.java:303) + at cn.org.bjca.framework.socket.client.impl.NioClientImpl.send(NioClientImpl.java:366) + at cn.org.bjca.framework.socket.client.impl.NioClientImpl.send(NioClientImpl.java:357) + at cn.org.bjca.hsm.client.manager.MsgManager.sendAndReceiveMsg(MsgManager.java:43) + at cn.org.bjca.hsm.client.security.sdf.SDFDefaultSecurityEngine.getActiveThreadNum(SDFDefaultSecurityEngine.java:39) + at cn.org.bjca.hsm.client.security.sdf.SDFSecurityEngineDeal.SDF_getInstance(SDFSecurityEngineDeal.java:116) + at cn.org.bjca.hsm.client.security.sdf.SDFSecurityEngineDeal.SDF_OpenDevice(SDFSecurityEngineDeal.java:134) + at cn.org.bjca.chaos.jce.provider.BJCAJCEProvider.(BJCAJCEProvider.java:175) + at com.zky.bjca.SM4.SM4Decrypt(SM4.java:113) + at org.apache.jsp.zhyw.smry.rypx.TrainShowInfo_jsp._jspService(TrainShowInfo_jsp.java:472) + at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70) + at javax.servlet.http.HttpServlet.service(HttpServlet.java:729) + at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:438) + at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:396) + at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:340) + at javax.servlet.http.HttpServlet.service(HttpServlet.java:729) + at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:292) + at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:207) + at org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:52) + at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:240) + at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:207) + at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:716) + at org.apache.catalina.core.ApplicationDispatcher.processRequest(ApplicationDispatcher.java:466) + at org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:391) + at org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:318) + at com.zky.zhyw.smpx.TrainManageServlet.queryTrainShowById(TrainManageServlet.java:665) + at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) + at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) + at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) + at java.lang.reflect.Method.invoke(Method.java:498) + at com.zky.pub.DispatchServlet.doPost(DispatchServlet.java:39) + at com.zky.pub.DispatchServlet.doGet(DispatchServlet.java:26) + at javax.servlet.http.HttpServlet.service(HttpServlet.java:622) + at javax.servlet.http.HttpServlet.service(HttpServlet.java:729) + at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:292) + at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:207) + at org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:52) + at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:240) + at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:207) + at com.zky.pub.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:70) + at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:240) + at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:207) + at com.zky.util.CharFilter.doFilter(CharFilter.java:41) + at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:240) + at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:207) + at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:212) + at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:94) + at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:141) + at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:79) + at org.apache.catalina.valves.AbstractAccessLogValve.invoke(AbstractAccessLogValve.java:620) + at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:88) + at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:502) + at org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1132) + at org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:684) + at org.apache.tomcat.util.net.AprEndpoint$SocketProcessor.doRun(AprEndpoint.java:2527) + at org.apache.tomcat.util.net.AprEndpoint$SocketProcessor.run(AprEndpoint.java:2516) + at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149) + at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624) + at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61) + at java.lang.Thread.run(Thread.java:750) + diff --git a/web/config/config1/logs/SVSClient_system.log b/web/config/config1/logs/SVSClient_system.log index 31de706..0837653 100644 --- a/web/config/config1/logs/SVSClient_system.log +++ b/web/config/config1/logs/SVSClient_system.log @@ -125,3 +125,57 @@ INFO [2023-12-15 17:13:59 743] Load HSM config IP1:10.10.3.2,Port1:8000 INFO [2023-12-15 17:13:59 776] BJCA Client Version:2.0 Build20210118 INFO [2023-12-15 17:19:03 51] Load HSM config IP1:10.10.3.2,Port1:8000 INFO [2023-12-15 17:19:03 278] BJCA Client Version:2.0 Build20210118 +INFO [2023-12-18 08:43:32 820] Load HSM config IP1:10.10.3.2,Port1:8000 +INFO [2023-12-18 08:43:32 887] BJCA Client Version:2.0 Build20210118 +INFO [2023-12-21 17:03:39 530] Load HSM config IP1:10.10.3.2,Port1:8000 +INFO [2023-12-21 17:03:43 686] BJCA Client Version:2.0 Build20210118 +INFO [2023-12-21 17:03:43 753] Load HSM config IP1:10.10.3.2,Port1:8000 +INFO [2023-12-21 17:03:43 754] BJCA Client Version:2.0 Build20210118 +INFO [2023-12-21 17:03:43 794] Load HSM config IP1:10.10.3.2,Port1:8000 +INFO [2023-12-21 17:03:43 794] BJCA Client Version:2.0 Build20210118 +INFO [2023-12-21 17:09:56 596] Load HSM config IP1:10.10.3.2,Port1:8000 +INFO [2023-12-21 17:09:56 598] BJCA Client Version:2.0 Build20210118 +INFO [2023-12-21 17:10:00 561] Load HSM config IP1:10.10.3.2,Port1:8000 +INFO [2023-12-21 17:10:00 561] BJCA Client Version:2.0 Build20210118 +INFO [2023-12-22 09:54:24 470] Load HSM config IP1:10.10.3.2,Port1:8000 +INFO [2023-12-22 09:54:24 570] BJCA Client Version:2.0 Build20210118 +INFO [2023-12-22 11:47:24 131] Load HSM config IP1:10.10.3.2,Port1:8000 +INFO [2023-12-22 11:47:26 721] Load HSM config IP1:10.10.3.2,Port1:8000 +INFO [2023-12-22 11:47:28 261] BJCA Client Version:2.0 Build20210118 +INFO [2023-12-22 11:47:28 262] BJCA Client Version:2.0 Build20210118 +INFO [2023-12-22 14:22:10 748] Load HSM config IP1:10.10.3.2,Port1:8000 +INFO [2023-12-22 14:22:14 834] BJCA Client Version:2.0 Build20210118 +INFO [2023-12-22 14:22:14 876] Load HSM config IP1:10.10.3.2,Port1:8000 +INFO [2023-12-22 14:22:14 877] BJCA Client Version:2.0 Build20210118 +INFO [2023-12-22 14:22:14 901] Load HSM config IP1:10.10.3.2,Port1:8000 +INFO [2023-12-22 14:22:14 902] BJCA Client Version:2.0 Build20210118 +INFO [2023-12-22 14:22:19 240] Load HSM config IP1:10.10.3.2,Port1:8000 +INFO [2023-12-22 14:22:19 241] BJCA Client Version:2.0 Build20210118 +INFO [2023-12-22 14:23:03 661] Load HSM config IP1:10.10.3.2,Port1:8000 +INFO [2023-12-22 14:23:03 661] BJCA Client Version:2.0 Build20210118 +INFO [2023-12-22 14:23:07 523] Load HSM config IP1:10.10.3.2,Port1:8000 +INFO [2023-12-22 14:23:07 523] BJCA Client Version:2.0 Build20210118 +INFO [2023-12-22 14:48:22 281] Load HSM config IP1:10.10.3.2,Port1:8000 +INFO [2023-12-22 14:48:22 525] BJCA Client Version:2.0 Build20210118 +INFO [2023-12-22 15:12:21 17] Load HSM config IP1:10.10.3.2,Port1:8000 +INFO [2023-12-22 15:12:21 115] BJCA Client Version:2.0 Build20210118 +INFO [2023-12-22 15:37:12 489] Load HSM config IP1:10.10.3.2,Port1:8000 +INFO [2023-12-22 15:37:16 605] BJCA Client Version:2.0 Build20210118 +INFO [2023-12-22 15:37:16 637] Load HSM config IP1:10.10.3.2,Port1:8000 +INFO [2023-12-22 15:37:16 637] BJCA Client Version:2.0 Build20210118 +INFO [2023-12-22 15:37:16 643] Load HSM config IP1:10.10.3.2,Port1:8000 +INFO [2023-12-22 15:37:16 644] BJCA Client Version:2.0 Build20210118 +INFO [2023-12-22 17:17:11 860] Load HSM config IP1:10.10.3.2,Port1:8000 +INFO [2023-12-22 17:17:14 651] Load HSM config IP1:10.10.3.2,Port1:8000 +INFO [2023-12-22 17:17:15 965] BJCA Client Version:2.0 Build20210118 +INFO [2023-12-22 17:17:15 965] BJCA Client Version:2.0 Build20210118 +INFO [2023-12-22 17:17:25 138] Load HSM config IP1:10.10.3.2,Port1:8000 +INFO [2023-12-22 17:17:25 138] BJCA Client Version:2.0 Build20210118 +INFO [2023-12-22 17:17:30 864] Load HSM config IP1:10.10.3.2,Port1:8000 +INFO [2023-12-22 17:17:30 864] BJCA Client Version:2.0 Build20210118 +INFO [2023-12-22 17:17:30 872] Load HSM config IP1:10.10.3.2,Port1:8000 +INFO [2023-12-22 17:17:30 872] BJCA Client Version:2.0 Build20210118 +INFO [2023-12-22 17:17:30 888] Load HSM config IP1:10.10.3.2,Port1:8000 +INFO [2023-12-22 17:17:30 888] BJCA Client Version:2.0 Build20210118 +INFO [2023-12-22 17:17:33 413] Load HSM config IP1:10.10.3.2,Port1:8000 +INFO [2023-12-22 17:17:33 413] BJCA Client Version:2.0 Build20210118 diff --git a/web/images/img.png b/web/images/img.png new file mode 100644 index 0000000..001b12e Binary files /dev/null and b/web/images/img.png differ diff --git a/web/js/CA/xtxasyn.js b/web/js/CA/xtxasyn.js new file mode 100644 index 0000000..43ad3f3 --- /dev/null +++ b/web/js/CA/xtxasyn.js @@ -0,0 +1,1088 @@ +/* + -------------------------------------------------------------- + * FileName:xtxasyn.js + * This Javascript provides asynchronous interfaces + * Support bjca client version 3.4.1 and later + * Author:BJCA-zys + * Date: 2021-05-06 + * + -------------------------------------------------------------- + */ + +(function() { +if (typeof xtxasyn === 'undefined') { + xtxasyn = {}; +} +})(); + +// initialize xtxasyn hashMap object +(function() { + +function XTXAsynHashMap(){ + this.map = {}; +} + +XTXAsynHashMap.prototype = { + put : function(key , value){ + this.map[key] = value; + }, + + get : function(key){ + if(this.map.hasOwnProperty(key)){ + return this.map[key]; + } + return null; + }, + + remove : function(key){ + if(this.map.hasOwnProperty(key)){ + return delete this.map[key]; + } + return false; + }, + + removeAll : function(){ + this.map = {}; + }, + + keySet : function(){ + var _keys = []; + for(var i in this.map){ + _keys.push(i); + } + return _keys; + } +}; + +XTXAsynHashMap.prototype.constructor = XTXAsynHashMap; + +xtxasyn.HashMap = XTXAsynHashMap; +})(); + +// initialize xtxasyn util object +(function() { + +function initUtilObject(xtxasyn) { + + var util = xtxasyn.util = xtxasyn.util || {}; + + util.checkBrowserISIE = function() { + return (!!window.ActiveXObject || 'ActiveXObject' in window) ? true : false; + } + + util.checkLocationIsHttps = function() { + return 'https:' == document.location.protocol ? true: false; + } + + util.evalFunction = function (func) { + if (typeof func === 'function') { + return func; + } else if (typeof func === 'string') { + cb = eval(func); + } else { + return null; + } + } + + util.consolelog = function(param) { + if (window.console == undefined || window.console.log == undefined) { + return; + } + console.log(param); + } + + util.isEmpty = function(param) { + if (!param) { + return true; + } + if (typeof param == 'string' && param == "") { + return true; + } + + return false; + } + + util.loadIECtl = function(clsid, ctlName, checkFunc) { + if (!util.checkBrowserISIE()) { + return null; + } + var ctl = document.getElementById(ctlName); + if (ctl) { + return ctl; + } + try { + var loadObjString = ''; + loadObjString += ''; + document.write(loadObjString); + if (checkFunc != null && checkFunc != "" && eval(ctlName + "." + checkFunc) == undefined) { + return null; + } + } catch (e) { + util.consolelog(e); + return null; + } + return document.getElementById(ctlName); + } + + util.getAutoExecFunctionString = function (func) { + var ret = "("; + ret += func.toString(); + ret += ")()"; + + return ret; + } + + util.attachIEEvent = function(ctlName, eventName, eventFunc) { + var ctl; + if (typeof ctlName === 'string') { + ctl = eval(ctlName); + } else { + ctl = ctlName; + } + eventName = eventName.toLowerCase(); + + var cb = util.evalFunction(eventFunc); + if (cb == null) { + return; + } + + if (ctl.attachEvent) { + ctl.attachEvent(eventName, cb); + } else { // IE11 not support attachEvent, and addEventListener do not work well, so addEvent ourself + var handler = document.createElement("script"); + handler.setAttribute("for", ctlName); + handler.setAttribute("event", eventName); + var eventScript = util.getAutoExecFunctionString(eventFunc); + handler.appendChild(document.createTextNode(eventScript)); + document.getElementsByTagName("head")[0].appendChild(handler); + } + } + + util.loadWebSocketCtl = function(wsUrl, wssUrl) { + if (xtxasyn.wsObject) { + return xtxasyn.wsObject; + } + var url; + if (util.checkLocationIsHttps()) { + url = "wss://" + wssUrl; + } else { + url = "ws://" + wsUrl; + } + + var wsObject = { + socket : undefined, + wsMessageQueue : new xtxasyn.HashMap(), + wsMessageQueueId : 0, + wsEventQueue : new xtxasyn.HashMap(), + wsURL : url, + wsCacheMessage : [] + }; + xtxasyn.wsObject = wsObject; + xtxasyn.wsObject.wsEventQueue.put("onusbkeychange", util.evalFunction(xtxasyn.custom.defaultUsbkeyChange)); + + try { + wsObject.socket = new WebSocket(url); + } catch (e) { + util.consolelog(e); + return null; + } + + wsObject.socket.onopen = function(evt) { + xtxasyn.util.consolelog("open websocket[" + url + "] ok..."); + xtxasyn.SOF_GetVersion(function(ret) { + util.consolelog("SOF_GetVersion:(" + ret.retVal + ")"); + }); + while (xtxasyn.wsObject.wsCacheMessage.length > 0) { + var tb_send = xtxasyn.wsObject.wsCacheMessage.shift(); + //alert(tb_send); + xtxasyn.wsObject.socket.send(tb_send); + } + } + wsObject.socket.onclose = function(evt) { + util.consolelog("websocket[" + url + "] closed, reopen it..."); + xtxasyn.wsObject = undefined; + xtxasyn.XTXAppWebSocket = xtxasyn.util.loadWebSocketCtl(wsUrl, wssUrl); + }; + wsObject.socket.onmessage = function(evt) { + var eventCmd = false; + if (xtxasyn.util.isEmpty(evt.data)) { + util.consolelog("onmessage evt.data is NULL or empty!!!"); + return; + } + try { + var res = JSON.parse(evt.data); + var cmdId = undefined; + if (res.hasOwnProperty('call_cmd_id')) { + cmdId = res['call_cmd_id']; + } else { + util.consolelog("return JSON not include call_cmd_id!!!"); + return; + } + + var retVal = undefined; + if (res.hasOwnProperty('retValue')) { + retVal = res['retValue']; + } else if (res.hasOwnProperty('retVal')) { + retVal = res['retVal']; + } + + var methodName = undefined; + var eventName = cmdId.toLowerCase(); + var execFunc = xtxasyn.wsObject.wsEventQueue.get(eventName); + if (execFunc && typeof execFunc == 'function') { // event + execFunc(retVal); + } else { // function + var messageQueue = xtxasyn.wsObject.wsMessageQueue.get(cmdId); + if (!messageQueue || !messageQueue.method) { + util.consolelog("can't find call_cmd_id[" + res['call_cmd_id'] + "]'s method name!!!"); + return; + } + methodName = messageQueue.method; + execFunc = messageQueue.cb; + if (!execFunc || typeof execFunc != 'function') { + util.consolelog("can't find call_cmd_id[" + res['call_cmd_id'] + "]'s call back function!!!"); + return; + } + var ctx = messageQueue.ctx; + ctx = ctx || {returnType:"string"}; + var ret; + if (ctx.returnType == "bool"){ + if (typeof(retVal) == 'string') { + ret = retVal == "true" ? true : false; + } else { + ret = retVal; + } + if (ret == undefined) { + ret = false; + } + } else if (ctx.returnType == "number"){ + if (typeof(retVal) == 'string') { + ret = Number(retVal); + } else { + ret = retVal; + } + if (ret == undefined) { + ret = -1; + } + } else{ + ret = retVal; + if (ret == undefined) { + ret = ""; + } + } + if (res.token) { + //alert(res.token); + xtxasyn.custom.setToken(res.token); + } + if (((methodName == 'SOF_Login' || methodName == 'SOF_LoginEx') && !ret) || (methodName == 'SOF_Logout' && ret)) { + xtxasyn.custom.setToken(""); + } + var retObj = {retVal:ret, ctx:ctx}; + execFunc(retObj); + xtxasyn.wsObject.wsMessageQueue.remove(cmdId); + } + } catch (e) { + return; + } + }; + wsObject.socket.onerror = function(evt) { + xtxasyn.util.consolelog(evt.data); + }; + + return wsObject; + } + + util.attachWebSocketEvent = function(wsObject, eventName, eventFunc) { + if (wsObject == null) { + return; + } + wsObject.wsEventQueue.put(eventName.toLowerCase(), util.evalFunction(eventFunc)); + } + + util.callWebSocketMethod = function (wsObject, clsid, method, cb, ctx, returnType, argsArray) { + if (wsObject == null) { + return; + } + wsObject.wsMessageQueueId++; + if (typeof(cb) == 'function'){ + ctx = ctx || {}; + ctx.returnType = returnType; + var messageQueue = {cb:cb, ctx:ctx, method:method}; + wsObject.wsMessageQueue.put('i_' + wsObject.wsMessageQueueId, messageQueue); + } + + var sendArray = { + 'call_cmd_id' : 'i_' + wsObject.wsMessageQueueId, + 'CLSID' : clsid, + 'xtx_func_name' : method, + 'func' : method, + 'URL' : window.location.href + }; + if (arguments.length > 6) { + for (var i = 1; i <= argsArray.length; i++) { + var strParam = "param_" + i; + sendArray[strParam] = argsArray[i - 1]; + } + sendArray["param"] = argsArray; + } + var token = xtxasyn.custom.getToken(); + if (token && token != "") { + sendArray.token = token; + } + if (wsObject.socket.readyState == WebSocket.OPEN) { + wsObject.socket.send(JSON.stringify(sendArray)); + } else if (wsObject.socket.readyState == WebSocket.CONNECTING) { + // The websocket connection has not been successfully created. + // If the html page already has requested data, we will put it in the cache(wsObject.wsCacheMessage), + // and then send the data one by one after the connection is successfully created. + wsObject.wsCacheMessage.push(JSON.stringify(sendArray)); + } else { + xtxasyn.util.consolelog("Can't connect to WebSocket server[" + wsObject.wsURL + "]!!!"); + } + } + + util.SynToAsyn = function(retVal, cb, ctx) + { + if (typeof cb == 'function') { + var retObj = {retVal:retVal, ctx:ctx}; + cb(retObj); + } + } +} + +return initUtilObject(xtxasyn); +})(); + +// initialize index page and other custom action +(function() { + +function initCustomActions(xtxasyn) { + var custom = xtxasyn.custom = xtxasyn.custom || {}; + + custom.softCertListID = ""; + custom.hardCertListID = ""; + custom.allCertListID = ""; + custom.loginCertID = ""; + custom.logoutFunc = null; + custom.UsbkeyChangeFunc = null; + custom.loginToken = ""; + + custom.errorReportFunc = function(msg) { + alert(msg); + } + + custom.setAutoLogoutParameter = function(strCertID, logoutFunc) { + var custom = xtxasyn.custom; + custom.loginCertID = strCertID; + custom.logoutFunc = logoutFunc; + } + + custom.clearDropList = function(dropListId) { + if (dropListId == "") { + return; + } + + var obj = document.getElementById(dropListId); + if (obj == undefined) { + obj = eval(dropListId); + } + if (obj == undefined) { + return; + } + + var i, n = obj.length; + for (i = 0; i < n; i++) { + obj.remove(0); + } + } + + custom.pushOneDropListBox = function(userListArray, strListID) + { + var obj = document.getElementById(strListID); + if (obj == undefined) { + obj = eval(strListID); + } + if (obj == undefined) { + return; + } + + for (var i = 0; i < userListArray.length; i++) { + var certObj = userListArray[i]; + var objItem = new Option(certObj.certName, certObj.certID); + obj.options.add(objItem); + } + return; + } + + custom.pushUserListToAllDroplist = function(retObj) { + var custom = xtxasyn.custom; + + custom.clearDropList(custom.softCertListID); + custom.clearDropList(custom.hardCertListID); + custom.clearDropList(custom.allCertListID); + + var strUserList = retObj.retVal; + var allListArray = []; + while (true) { + var i = strUserList.indexOf("&&&"); + if (i <= 0 ) { + break; + } + var strOneUser = strUserList.substring(0, i); + var strName = strOneUser.substring(0, strOneUser.indexOf("||")); + var strCertID = strOneUser.substring(strOneUser.indexOf("||") + 2, strOneUser.length); + allListArray.push({certName:strName, certID:strCertID}); + + if (custom.hardCertListID != "") { + xtxasyn.GetDeviceInfo(strCertID, 7, function(retObj) { + if (retObj.retVal == "HARD") { + custom.pushOneDropListBox([retObj.ctx], custom.hardCertListID); + } + }, {certName:strName, certID:strCertID}); + } + + if (custom.softCertListID != "") { + xtxasyn.GetDeviceInfo(strCertID, 7, function(retObj) { + if (retObj.retVal == "SOFT") { + custom.pushOneDropListBox([retObj.ctx], custom.softCertListID); + } + }, {certName:strName, certID:strCertID}); + } + var len = strUserList.length; + strUserList = strUserList.substring(i + 3, len); + } + + if (custom.allCertListID != "") { + custom.pushOneDropListBox(allListArray, custom.allCertListID); + } + } + + custom.setUserCertList = function(certListId, certType) { + var custom = xtxasyn.custom; + + if (certType == CERT_TYPE_ALL || certType == undefined) { + custom.allCertListID = certListId; + } + + if (certType == CERT_TYPE_HARD) { + custom.hardCertListID = certListId; + } + + if (certType == CERT_TYPE_SOFT) { + custom.softCertListID = certListId; + } + xtxasyn.SOF_GetUserList(custom.pushUserListToAllDroplist); + } + + custom.setOnUsbKeyChangeCallBack = function(callback) { + var custom = xtxasyn.custom; + custom.UsbkeyChangeFunc = callback; + } + + custom.setErrorReportFunc = function(errFunc) { + var custom = xtxasyn.custom; + custom.errorReportFunc = errFunc; + } + + custom.autoLogoutCallBack = function(retObj) { + var custom = xtxasyn.custom; + if (retObj.retVal.indexOf(custom.loginCertID) <= 0) { + custom.logoutFunc(); + } + } + + custom.defaultUsbkeyChange = function() { + var custom = xtxasyn.custom; + xtxasyn.SOF_GetUserList(custom.pushUserListToAllDroplist); + + if (typeof custom.UsbkeyChangeFunc == 'function') { + custom.UsbkeyChangeFunc(); + } + + if (custom.loginCertID != "" && typeof custom.logoutFunc == 'function') { + xtxasyn.SOF_GetUserList(custom.autoLogoutCallBack); + } + } + + custom.getToken = function() { + return custom.loginToken; + } + + custom.setToken = function(token) { + custom.loginToken = token; + } +} + +return initCustomActions(xtxasyn); +})(); + +// initialize xtxappcom object +(function() { + +function initXTXAppCOM(xtxasyn) { + var util = xtxasyn.util; + var custom = xtxasyn.custom; + + xtxasyn.XTXAppCOM = util.loadIECtl(xtxasyn.xtx_clsid, "XTXAppObj", "SOF_GetVersion()"); + if (xtxasyn.XTXAppCOM == null) { + custom.errorReportFunc("加载XTXAppCOM控件失败,请确认已正确安装BJCA证书应用环境!"); + return false; + } + var XTXAppCOM = xtxasyn.XTXAppCOM; + + util.attachIEEvent("XTXAppObj", "onUsbkeyChange", xtxasyn.custom.defaultUsbkeyChange); + + // get key pic interface + var GetPicObj = util.loadIECtl(xtxasyn.getpic_clsid, "GetPicObj", "Hash('0')"); + if (GetPicObj == null) { + //custom.errorReportFunc("加载GetKeyPic控件失败,请确认已正确安装GetKeyPic控件!"); + } else { + XTXAppCOM.GetPic = function(strCertID) { + return GetPicObj.GetPic(strCertID); + } + XTXAppCOM.Hash = function(inData) { + return GetPicObj.Hash(inData); + } + XTXAppCOM.ConvertPicFormat = function(inData, type) { + return GetPicObj.ConvertPicFormat(inData, type); + } + XTXAppCOM.ConvertGif2Jpg = function(inData) { + return GetPicObj.ConvertGif2Jpg(inData); + } + XTXAppCOM.GetPic1 = function(strCertID) { + return GetPicObj.GetPic1(strCertID); + } + XTXAppCOM.ConvertPicSize = function(strPicture, w, h) { + return GetPicObj.ConvertPicSize(strPicture, w, h); + } + } + + // xtxversion interface + var XTXVersionOBJ = util.loadIECtl(xtxasyn.xtx_version_clsid, "XTXVersionOBJ", "GetEnvVersion()"); + if (XTXVersionOBJ == null) { + //custom.errorReportFunc("加载XTXVersion控件失败,请确认已正确安装证书应用环境!"); + } else { + XTXAppCOM.GetEnvVersion = function() { + return XTXVersionOBJ.GetEnvVersion(); + } + } + + return true; +} + +function initXTXAppWebSocket(xtxasyn) { + xtxasyn.XTXAppWebSocket = xtxasyn.util.loadWebSocketCtl("127.0.0.1:21051/xtxapp/", "127.0.0.1:21061/xtxapp/"); + if (xtxasyn.XTXAppWebSocket == null) { + custom.errorReportFunc("连接XTXAppCOM服务失败,请确认已正确安装BJCA证书应用环境!"); + return false; + } + + return true; +} + +function initXTXAppObject(xtxasyn) { + var util = xtxasyn.util; + xtxasyn.xtx_clsid = "3F367B74-92D9-4C5E-AB93-234F8A91D5E6"; + xtxasyn.getpic_clsid = "3BC3C868-95B5-47ED-8686-E0E3E94EF366"; + xtxasyn.xtx_version_clsid = "574887FB-22A5-488B-A49C-2CF25F56BE68"; + var getImplmentFunction; + + if (util.checkBrowserISIE()) { // IE + if (!initXTXAppCOM(xtxasyn)) { + return false; + } + getImplmentFunction = function(methodInfo) { + if (methodInfo.inParams == '') { // 0 input param + window[methodInfo.funcName] = new Function('cb', 'ctx', + 'xtxasyn.util.SynToAsyn(xtxasyn.XTXAppCOM.' + methodInfo.funcName + '(), cb, ctx);'); + } else { + window[methodInfo.funcName] = new Function(methodInfo.inParams, 'cb', 'ctx', + 'xtxasyn.util.SynToAsyn(xtxasyn.XTXAppCOM.' + methodInfo.funcName + '(' + methodInfo.inParams + '), cb, ctx);'); + } + } + } else { // other brower + if (!initXTXAppWebSocket(xtxasyn)) { + return false; + } + getImplmentFunction = function(methodInfo) { + if (methodInfo.inParams == '') { // 0 input param + window[methodInfo.funcName] = new Function('cb, ctx', + "xtxasyn.util.callWebSocketMethod(xtxasyn.XTXAppWebSocket, '" + methodInfo.clsid + "', '" + + methodInfo.funcName + "', cb, ctx, '" + methodInfo.outParamType + "', []);"); + } else { + window[methodInfo.funcName] = new Function(methodInfo.inParams + ', cb, ctx', + "xtxasyn.util.callWebSocketMethod(xtxasyn.XTXAppWebSocket, '" + methodInfo.clsid + "', '" + + methodInfo.funcName + "', cb, ctx, '" + methodInfo.outParamType + "', [" + methodInfo.inParams + "]);"); + } + } + } + + var export_functions = [ + {funcName:'SOF_SetSignMethod', inParams:'SignMethod', outParamType:'number', clsid:xtxasyn.xtx_clsid, aliasName:'SetSignMethod'}, + {funcName:'SOF_GetSignMethod', inParams:'', outParamType:'number', clsid:xtxasyn.xtx_clsid}, + {funcName:'SOF_SetEncryptMethod', inParams:'EncryptMethod', outParamType:'number', clsid:xtxasyn.xtx_clsid}, + {funcName:'SOF_GetEncryptMethod', inParams:'', outParamType:'number', clsid:xtxasyn.xtx_clsid}, + {funcName:'SOF_GetUserList', inParams:'', outParamType:'string', clsid:xtxasyn.xtx_clsid, aliasName:'GetUserList'}, + {funcName:'SOF_ExportUserCert', inParams:'CertID', outParamType:'string', clsid:xtxasyn.xtx_clsid, aliasName:'GetSignCert'}, + {funcName:'SOF_Login', inParams:'CertID, PassWd', outParamType:'bool', clsid:xtxasyn.xtx_clsid, aliasName:'VerifyUserPIN'}, + {funcName:'SOF_GetPinRetryCount', inParams:'CertID', outParamType:'number', clsid:xtxasyn.xtx_clsid, aliasName:'GetUserPINRetryCount'}, + {funcName:'SOF_ChangePassWd', inParams:'CertID, oldPass, newPass', outParamType:'bool', clsid:xtxasyn.xtx_clsid, aliasName:'ChangeUserPassword'}, + {funcName:'SOF_GetCertInfo', inParams:'Cert, type', outParamType:'string', clsid:xtxasyn.xtx_clsid, aliasName:'GetCertBasicinfo'}, + {funcName:'SOF_GetCertInfoByOid', inParams:'Cert, Oid', outParamType:'string', clsid:xtxasyn.xtx_clsid, aliasName:'GetExtCertInfoByOID'}, + {funcName:'SOF_SignData', inParams:'CertID, InData', outParamType:'string', clsid:xtxasyn.xtx_clsid, aliasName:'SignedData'}, + {funcName:'SOF_VerifySignedData', inParams:'Cert, InData, SignValue', outParamType:'bool', clsid:xtxasyn.xtx_clsid, aliasName:'VerifySignedData'}, + {funcName:'SOF_SignFile', inParams:'CertID, InFile', outParamType:'string', clsid:xtxasyn.xtx_clsid, aliasName:'SOF_SignFile'}, + {funcName:'SOF_VerifySignedFile', inParams:'Cert, InFile, SignValue', outParamType:'bool', clsid:xtxasyn.xtx_clsid, aliasName:'VerifySignFile'}, + {funcName:'SOF_EncryptData', inParams:'Cert, InData', outParamType:'string', clsid:xtxasyn.xtx_clsid, aliasName:'EncodeP7Enveloped'}, + {funcName:'SOF_DecryptData', inParams:'CertID, InData', outParamType:'string', clsid:xtxasyn.xtx_clsid, aliasName:'DecodeP7Enveloped'}, + {funcName:'SOF_EncryptFile', inParams:'Cert, InFile, OutFile', outParamType:'bool', clsid:xtxasyn.xtx_clsid}, + {funcName:'SOF_DecryptFile', inParams:'CertID, InFile, OutFile', outParamType:'bool', clsid:xtxasyn.xtx_clsid}, + {funcName:'SOF_SignMessage', inParams:'dwFlag, CertID, InData', outParamType:'string', clsid:xtxasyn.xtx_clsid}, + {funcName:'SOF_VerifySignedMessage', inParams:'MessageData, InData', outParamType:'bool', clsid:xtxasyn.xtx_clsid, aliasName:'VerifyDatabyP7'}, + {funcName:'SOF_GetInfoFromSignedMessage', inParams:'SignedMessage, type', outParamType:'string', clsid:xtxasyn.xtx_clsid}, + {funcName:'SOF_SignDataXML', inParams:'CertID, InData', outParamType:'string', clsid:xtxasyn.xtx_clsid}, + {funcName:'SOF_VerifySignedDataXML', inParams:'InData', outParamType:'bool', clsid:xtxasyn.xtx_clsid}, + {funcName:'SOF_GetXMLSignatureInfo', inParams:'XMLSignedData, type', outParamType:'string', clsid:xtxasyn.xtx_clsid}, + {funcName:'SOF_GenRandom', inParams:'RandomLen', outParamType:'string', clsid:xtxasyn.xtx_clsid, aliasName:'GenerateRandom'}, + {funcName:'SOF_PubKeyEncrypt', inParams:'Cert, InData', outParamType:'string', clsid:xtxasyn.xtx_clsid, aliasName:'PubKeyEncrypt'}, + {funcName:'SOF_PriKeyDecrypt', inParams:'CertID, InData', outParamType:'string', clsid:xtxasyn.xtx_clsid, aliasName:'PriKeyDecrypt'}, + {funcName:'SOF_SecertSegment', inParams:'Secert, m, n, k', outParamType:'string', clsid:xtxasyn.xtx_clsid}, + {funcName:'SOF_SecertRecovery', inParams:'Seg', outParamType:'string', clsid:xtxasyn.xtx_clsid}, + {funcName:'SOF_GetLastError', inParams:'', outParamType:'number', clsid:xtxasyn.xtx_clsid}, + {funcName:'GetDeviceCount', inParams:'', outParamType:'number', clsid:xtxasyn.xtx_clsid}, + {funcName:'GetAllDeviceSN', inParams:'', outParamType:'string', clsid:xtxasyn.xtx_clsid}, + {funcName:'GetDeviceSNByIndex', inParams:'iIndex', outParamType:'string', clsid:xtxasyn.xtx_clsid}, + {funcName:'GetDeviceInfo', inParams:'sDeviceSN, iType', outParamType:'string', clsid:xtxasyn.xtx_clsid}, + {funcName:'ChangeAdminPass', inParams:'sDeviceSN, sOldPass, sNewPass', outParamType:'bool', clsid:xtxasyn.xtx_clsid}, + {funcName:'UnlockUserPass', inParams:'sDeviceSN, sAdminPass, sNewUserPass', outParamType:'bool', clsid:xtxasyn.xtx_clsid}, + {funcName:'GenerateKeyPair', inParams:'sDeviceSN, sContainerName, iKeyType, bSign', outParamType:'bool', clsid:xtxasyn.xtx_clsid}, + {funcName:'ExportPubKey', inParams:'sDeviceSN, sContainerName, bSign', outParamType:'string', clsid:xtxasyn.xtx_clsid}, + {funcName:'ImportSignCert', inParams:'sDeviceSN, sContainerName, sCert', outParamType:'bool', clsid:xtxasyn.xtx_clsid}, + {funcName:'ImportEncCert', inParams:'sDeviceSN, sContainerName, sCert, sPriKeyCipher', outParamType:'bool', clsid:xtxasyn.xtx_clsid}, + {funcName:'ReadFile', inParams:'sDeviceSN, sFileName', outParamType:'string', clsid:xtxasyn.xtx_clsid, aliasName:'readFile'}, + {funcName:'WriteFile', inParams:'sDeviceSN, sFileName, sContent, bPrivate', outParamType:'bool', clsid:xtxasyn.xtx_clsid, aliasName:'writeFile'}, + {funcName:'IsContainerExist', inParams:'sDeviceSN, sContainerName', outParamType:'bool', clsid:xtxasyn.xtx_clsid}, + {funcName:'DeleteContainer', inParams:'sDeviceSN, sContainerName', outParamType:'bool', clsid:xtxasyn.xtx_clsid}, + {funcName:'ExportPKCS10', inParams:'sDeviceSN, sContainerName, sDN, bSign', outParamType:'string', clsid:xtxasyn.xtx_clsid}, + {funcName:'InitDevice', inParams:'sDeviceSN, sAdminPass', outParamType:'bool', clsid:xtxasyn.xtx_clsid}, + {funcName:'AddSignInfo', inParams:'sUserPass', outParamType:'bool', clsid:xtxasyn.xtx_clsid}, + {funcName:'SOF_GetVersion', inParams:'', outParamType:'string', clsid:xtxasyn.xtx_clsid}, + {funcName:'SOF_ExportExChangeUserCert', inParams:'CertID', outParamType:'string', clsid:xtxasyn.xtx_clsid, aliasName:'GetExchCert'}, + {funcName:'SOF_ValidateCert', inParams:'Cert', outParamType:'number', clsid:xtxasyn.xtx_clsid, aliasName:'ValidateCert'}, + {funcName:'GetENVSN', inParams:'sDeviceSN', outParamType:'string', clsid:xtxasyn.xtx_clsid}, + {funcName:'SetENVSN', inParams:'sDeviceSN, sEnvsn', outParamType:'bool', clsid:xtxasyn.xtx_clsid}, + {funcName:'IsDeviceExist', inParams:'sDeviceSN', outParamType:'bool', clsid:xtxasyn.xtx_clsid}, + {funcName:'GetContainerCount', inParams:'sDeviceSN', outParamType:'number', clsid:xtxasyn.xtx_clsid}, + {funcName:'SOF_SymEncryptData', inParams:'sKey, indata', outParamType:'string', clsid:xtxasyn.xtx_clsid, aliasName:'EncryptData'}, + {funcName:'SOF_SymDecryptData', inParams:'sKey, indata', outParamType:'string', clsid:xtxasyn.xtx_clsid, aliasName:'DecryptData'}, + {funcName:'SOF_SymEncryptFile', inParams:'sKey, inFile, outFile', outParamType:'bool', clsid:xtxasyn.xtx_clsid, aliasName:'EncryptFile'}, + {funcName:'SOF_SymDecryptFile', inParams:'sKey, inFile, outFile', outParamType:'bool', clsid:xtxasyn.xtx_clsid, aliasName:'DecryptFile'}, + {funcName:'SOF_GetLastErrMsg', inParams:'', outParamType:'string', clsid:xtxasyn.xtx_clsid}, + {funcName:'SOF_Base64Encode', inParams:'sIndata', outParamType:'string', clsid:xtxasyn.xtx_clsid}, + {funcName:'SOF_Base64Decode', inParams:'sIndata', outParamType:'string', clsid:xtxasyn.xtx_clsid}, + {funcName:'SOF_HashData', inParams:'hashAlg, sInData', outParamType:'string', clsid:xtxasyn.xtx_clsid}, + {funcName:'SOF_HashFile', inParams:'hashAlg, inFile', outParamType:'string', clsid:xtxasyn.xtx_clsid}, + {funcName:'UnlockUserPassEx', inParams:'sDeviceSN, sAdminPin, sNewUserPass', outParamType:'bool', clsid:xtxasyn.xtx_clsid}, + {funcName:'DeleteOldContainer', inParams:'sDeviceSN', outParamType:'bool', clsid:xtxasyn.xtx_clsid}, + {funcName:'WriteFileEx', inParams:'sDeviceSN, sFileName, sContent', outParamType:'bool', clsid:xtxasyn.xtx_clsid}, + {funcName:'ReadFileEx', inParams:'sDeviceSN, sFileName', outParamType:'string', clsid:xtxasyn.xtx_clsid}, + {funcName:'WriteFileBase64', inParams:'sDeviceSN, sFileName, sContent', outParamType:'bool', clsid:xtxasyn.xtx_clsid}, + {funcName:'DeleteFile', inParams:'sDeviceSN, sFileName', outParamType:'bool', clsid:xtxasyn.xtx_clsid}, + {funcName:'SOF_EncryptDataEx', inParams:'Cert, InData', outParamType:'string', clsid:xtxasyn.xtx_clsid}, + {funcName:'Base64EncodeFile', inParams:'sInFile', outParamType:'string', clsid:xtxasyn.xtx_clsid}, + {funcName:'SOF_GetRetryCount', inParams:'CertID', outParamType:'number', clsid:xtxasyn.xtx_clsid}, + {funcName:'SOF_GetAllContainerName', inParams:'sDeviceSN', outParamType:'string', clsid:xtxasyn.xtx_clsid}, + {funcName:'CreateSoftDevice', inParams:'sDeviceSN, sLabel', outParamType:'bool', clsid:xtxasyn.xtx_clsid}, + {funcName:'DeleteSoftDevice', inParams:'sDeviceSN, sPasswd', outParamType:'bool', clsid:xtxasyn.xtx_clsid}, + {funcName:'EnableSoftDevice', inParams:'enable, sDeviceSN', outParamType:'bool', clsid:xtxasyn.xtx_clsid}, + {funcName:'SoftDeviceBackup', inParams:'sDeviceSN, sPasswd', outParamType:'string', clsid:xtxasyn.xtx_clsid}, + {funcName:'SoftDeviceRestore', inParams:'sDeviceSN, sPasswd, sInFilePath', outParamType:'bool', clsid:xtxasyn.xtx_clsid}, + {funcName:'SOF_Logout', inParams:'CertID', outParamType:'bool', clsid:xtxasyn.xtx_clsid, aliasName:'Logout'}, + {funcName:'SetUserConfig', inParams:'type, strConfig', outParamType:'bool', clsid:xtxasyn.xtx_clsid}, + {funcName:'SOF_SignByteData', inParams:'CertID, byteLen', outParamType:'string', clsid:xtxasyn.xtx_clsid}, + {funcName:'SOF_VerifySignedByteData', inParams:'Cert, byteLen, SignValue', outParamType:'bool', clsid:xtxasyn.xtx_clsid}, + {funcName:'OTP_GetChallengeCode', inParams:'sCertID', outParamType:'string', clsid:xtxasyn.xtx_clsid}, + {funcName:'ImportEncCertEx', inParams:'sDeviceSN, sContainerName, sCert, sPriKeyCipher, ulSymAlg', outParamType:'bool', clsid:xtxasyn.xtx_clsid}, + {funcName:'SOF_GetCertEntity', inParams:'sCert', outParamType:'string', clsid:xtxasyn.xtx_clsid, aliasName:'GetCertEntity'}, + {funcName:'SOF_HMAC', inParams:'hashid, key, indata', outParamType:'string', clsid:xtxasyn.xtx_clsid}, + {funcName:'SOF_SignDataByPriKey', inParams:'sPriKey, sCert, sInData', outParamType:'string', clsid:xtxasyn.xtx_clsid}, + {funcName:'ImportKeyCertToSoftDevice', inParams:'sDeviceSN, sContainerName, sPriKey, sCert, bSign', outParamType:'bool', clsid:xtxasyn.xtx_clsid}, + {funcName:'InitDeviceEx', inParams:'sDeviceSN, sAdminPass, sUserPin, sKeyLabel, adminPinMaxRetry, userPinMaxRetry', outParamType:'bool', clsid:xtxasyn.xtx_clsid}, + {funcName:'SelectFile', inParams:'', outParamType:'string', clsid:xtxasyn.xtx_clsid}, + {funcName:'SOF_SignHashData', inParams:'CertID, b64ashData, hashAlg', outParamType:'string', clsid:xtxasyn.xtx_clsid, aliasName:'SignHashData'}, + {funcName:'SOF_VerifySignedHashData', inParams:'Cert, b64ashData, SignValue, hashAlg', outParamType:'bool', clsid:xtxasyn.xtx_clsid, aliasName:'VerifySignedHashData'}, + {funcName:'CheckSoftDeviceEnv', inParams:'', outParamType:'bool', clsid:xtxasyn.xtx_clsid}, + {funcName:'ImportPfxToDevice', inParams:'sDeviceSN, sContainerName, bSign, strPfx, strPfxPass', outParamType:'bool', clsid:xtxasyn.xtx_clsid}, + {funcName:'SOF_HashDataEx', inParams:'hashAlg, sInData, sCert, sID', outParamType:'string', clsid:xtxasyn.xtx_clsid}, + {funcName:'SOF_HashFileEx', inParams:'hashAlg, inFile, sCert, sID', outParamType:'string', clsid:xtxasyn.xtx_clsid}, + {funcName:'GetDeviceCountEx', inParams:'type', outParamType:'number', clsid:xtxasyn.xtx_clsid}, + {funcName:'GetAllDeviceSNEx', inParams:'type', outParamType:'string', clsid:xtxasyn.xtx_clsid}, + {funcName:'SOF_UpdateCert', inParams:'CertID, type', outParamType:'number', clsid:xtxasyn.xtx_clsid}, + {funcName:'OpenSpecifiedFolder', inParams:'backupFilePath', outParamType:'', clsid:xtxasyn.xtx_clsid}, + {funcName:'OTP_GetChallengeCodeEx', inParams:'sCertID, szAccount, money', outParamType:'string', clsid:xtxasyn.xtx_clsid}, + {funcName:'Base64DecodeFile', inParams:'sInData, sFilePath', outParamType:'bool', clsid:xtxasyn.xtx_clsid}, + {funcName:'EnumFilesInDevice', inParams:'sDeviceSN', outParamType:'string', clsid:xtxasyn.xtx_clsid}, + {funcName:'OTP_Halt', inParams:'sCertID', outParamType:'bool', clsid:xtxasyn.xtx_clsid}, + {funcName:'SOF_TSGenREQ', inParams:'b64Hash, hashAlg, bReqCert, policyID, b64Nonce, b64Extension', outParamType:'string', clsid:xtxasyn.xtx_clsid}, + {funcName:'SOF_TSCompareNonce', inParams:'b64TSReq, b64TSAResp', outParamType:'bool', clsid:xtxasyn.xtx_clsid}, + {funcName:'SOF_TSGenPDFSignature', inParams:'b64TSAResp, b64OriPDFSignature', outParamType:'string', clsid:xtxasyn.xtx_clsid}, + {funcName:'SOF_TSVerifyPDFSignature', inParams:'b64TSPDFSignature', outParamType:'bool', clsid:xtxasyn.xtx_clsid}, + {funcName:'SOF_TSGetPDFSignatureInfo', inParams:'b64TSPDFSignature, iType', outParamType:'string', clsid:xtxasyn.xtx_clsid}, + {funcName:'OTP_GetState', inParams:'sCertID, bCert', outParamType:'string', clsid:xtxasyn.xtx_clsid}, + {funcName:'OTP_GetSyncCode', inParams:'sCertID, ChallengeCode', outParamType:'string', clsid:xtxasyn.xtx_clsid}, + {funcName:'SOF_IsLogin', inParams:'CertID', outParamType:'bool', clsid:xtxasyn.xtx_clsid}, + {funcName:'SOF_LoginEx', inParams:'CertID, PassWd, updateFlag', outParamType:'bool', clsid:xtxasyn.xtx_clsid}, + {funcName:'EnumSupportDeviceList', inParams:'', outParamType:'string', clsid:xtxasyn.xtx_clsid}, + {funcName:'ExportPfxFromDevice', inParams:'sDeviceSN, sContainerName, bSign, strPfxPass', outParamType:'string', clsid:xtxasyn.xtx_clsid}, + {funcName:'SOF_SignHashMessage', inParams:'CertID, InHashData, hashAlg', outParamType:'string', clsid:xtxasyn.xtx_clsid}, + {funcName:'ExportPfxToFile', inParams:'sDeviceSN, sContainerName, bSign, strPfxPass', outParamType:'string', clsid:xtxasyn.xtx_clsid}, + {funcName:'SOF_SignAPK', inParams:'CertID, strOriSignature', outParamType:'string', clsid:xtxasyn.xtx_clsid}, + {funcName:'YZT_GenerateKeyPair', inParams:'sDeviceSN, sContainerName, iKeyTypeRSA, iKeyTypeSM2', outParamType:'bool', clsid:xtxasyn.xtx_clsid}, + {funcName:'YZT_ExportPubKey', inParams:'sDeviceSN, sContainerName, bSign', outParamType:'string', clsid:xtxasyn.xtx_clsid}, + {funcName:'YZT_ImportSignCert', inParams:'sDeviceSN, sContainerName, sRSACert, sSM2Cert', outParamType:'bool', clsid:xtxasyn.xtx_clsid}, + {funcName:'YZT_ImportEncCert', inParams:'sDeviceSN, sContainerName, sRSACert, sRSAPriKeyCipher, ulRSASymAlg, sSM2Cert, sSM2PriKeyCipher, ulSM2SymAlg', outParamType:'bool', clsid:xtxasyn.xtx_clsid}, + {funcName:'SOF_ListenUKey', inParams:'Parm', outParamType:'string', clsid:xtxasyn.xtx_clsid}, + {funcName:'SOF_EnableLoginWindow', inParams:'Parm', outParamType:'string', clsid:xtxasyn.xtx_clsid}, + {funcName:'SOF_SignEnvelope', inParams:'CertID, Cert, InData', outParamType:'string', clsid:xtxasyn.xtx_clsid}, + {funcName:'SOF_UnSignEnvelope', inParams:'CertID, InData', outParamType:'string', clsid:xtxasyn.xtx_clsid}, + {funcName:'BIO_MAKExportPKCS10', inParams:'sDeviceSN, iKeyType, sDN', outParamType:'string', clsid:xtxasyn.xtx_clsid}, + {funcName:'BIO_MAKImportSignEncCert', inParams:'sDeviceSN, sSignCert, sEncCert, sPriKeyCipher', outParamType:'bool', clsid:xtxasyn.xtx_clsid}, + {funcName:'BIO_IssueDAKCert', inParams:'sDeviceSN, iKeyType, sDN', outParamType:'bool', clsid:xtxasyn.xtx_clsid}, + {funcName:'BIO_InfoCollect', inParams:'', outParamType:'string', clsid:xtxasyn.xtx_clsid}, + {funcName:'BIO_GetBioInfo', inParams:'sDeviceSN', outParamType:'string', clsid:xtxasyn.xtx_clsid}, + {funcName:'SOF_GetLastLoginCertID', inParams:'', outParamType:'string', clsid:xtxasyn.xtx_clsid}, + {funcName:'SOF_ReadESealData', inParams:'CertID, ulKeyIndex, ulKeyAlgId, ulFlags', outParamType:'string', clsid:xtxasyn.xtx_clsid}, + {funcName:'SOF_ReadKFXESealData', inParams:'CertID, ulKeyIndex, ulKeyAlgId, ulFlags', outParamType:'string', clsid:xtxasyn.xtx_clsid}, + {funcName:'SOF_SymDecryptFileToData', inParams:'sKey, inFile', outParamType:'string', clsid:xtxasyn.xtx_clsid}, + {funcName:'SOF_SignMessageBase64', inParams:'dwFlag, CertID, InData', outParamType:'string', clsid:xtxasyn.xtx_clsid}, + {funcName:'SOF_VerifySignedMessageBase64', inParams:'MessageData, InData', outParamType:'bool', clsid:xtxasyn.xtx_clsid}, + {funcName:'SOF_VerifySignedHashMessage', inParams:'MessageData, InHashData', outParamType:'bool', clsid:xtxasyn.xtx_clsid}, + {funcName:'SOF_SignDataBase64', inParams:'CertID, InData', outParamType:'string', clsid:xtxasyn.xtx_clsid}, + {funcName:'SOF_VerifySignedDataBase64', inParams:'Cert, InData, SignValue', outParamType:'bool', clsid:xtxasyn.xtx_clsid}, + {funcName:'SOF_HashDataExBase64', inParams:'hashAlg, sInData, sCert, sID', outParamType:'string', clsid:xtxasyn.xtx_clsid}, + {funcName:'SOF_GetProductVersion', inParams:'', outParamType:'string', clsid:xtxasyn.xtx_clsid}, + {funcName:'SOF_UpdateCertEx', inParams:'CertID, PassWd', outParamType:'number', clsid:xtxasyn.xtx_clsid}, + {funcName:'SOF_GetLastSignDataCertID', inParams:'CertID', outParamType:'string', clsid:xtxasyn.xtx_clsid}, + {funcName:'BIO_SetUserConfig', inParams:'CertID, type, strConfig', outParamType:'bool', clsid:xtxasyn.xtx_clsid}, + {funcName:'BIO_InvokeCommand', inParams:'CertID, bstrCommand', outParamType:'string', clsid:xtxasyn.xtx_clsid}, + {funcName:'SOF_ImportSymmKey', inParams:'CertID, ulKeyIndex, InData, ulFlags', outParamType:'bool', clsid:xtxasyn.xtx_clsid}, + {funcName:'SOF_WriteESealData', inParams:'CertID, InData, ulFlags', outParamType:'bool', clsid:xtxasyn.xtx_clsid}, + {funcName:'SOF_EPS_Encrypt', inParams:'CertID, ulKeyIndex, ulKeyAlgId, IVData, DivCount, DivComponent, InData, ulFlags', outParamType:'string', clsid:xtxasyn.xtx_clsid}, + {funcName:'SOF_EPS_Decrypt', inParams:'CertID, ulKeyIndex, ulKeyAlgId, IVData, DivCount, DivComponent, InData, ulFlags', outParamType:'string', clsid:xtxasyn.xtx_clsid}, + {funcName:'SOF_EPS_Mac', inParams:'CertID, ulKeyIndex, ulKeyAlgId, IVData, DivCount, DivComponent, InData, ulFlags', outParamType:'string', clsid:xtxasyn.xtx_clsid}, + {funcName:'SOF_PriKeyDecryptEx', inParams:'CertID, InData', outParamType:'string', clsid:xtxasyn.xtx_clsid}, + {funcName:'SOF_EPS_ReadESealData', inParams:'CertID, ulKeyIndex, ulKeyAlgId, ulFlags', outParamType:'string', clsid:xtxasyn.xtx_clsid}, + {funcName:'SOF_EPS_WriteESealData', inParams:'CertID, InData, ulFlags', outParamType:'bool', clsid:xtxasyn.xtx_clsid}, + {funcName:'EnumESeal', inParams:'sDeviceSN', outParamType:'string', clsid:xtxasyn.xtx_clsid}, + {funcName:'GetPicture', inParams:'bstrConName', outParamType:'string', clsid:xtxasyn.xtx_clsid}, + {funcName:'SOF_SignEnvelopeFile', inParams:'CertID, Cert, InFile, OutFile', outParamType:'bool', clsid:xtxasyn.xtx_clsid}, + {funcName:'SOF_UnSignEnvelopeFile', inParams:'CertID, InFile, OutFile', outParamType:'bool', clsid:xtxasyn.xtx_clsid}, + {funcName:'SOFX_EncryptFile', inParams:'CertID, Cert, InFile, OutFile, ulFlags', outParamType:'bool', clsid:xtxasyn.xtx_clsid}, + {funcName:'SOFX_DecryptFile', inParams:'CertID, InFile, OutFile, ulFlags', outParamType:'bool', clsid:xtxasyn.xtx_clsid}, + {funcName:'GetPic', inParams:'bstrConName', outParamType:'string', clsid:xtxasyn.getpic_clsid}, + {funcName:'Hash', inParams:'inData', outParamType:'string', clsid:xtxasyn.getpic_clsid}, + {funcName:'ConvertPicFormat', inParams:'inData, type', outParamType:'string', clsid:xtxasyn.getpic_clsid}, + {funcName:'ConvertGif2Jpg', inParams:'inData', outParamType:'string', clsid:xtxasyn.getpic_clsid}, + {funcName:'GetPic1', inParams:'bstrConName', outParamType:'string', clsid:xtxasyn.getpic_clsid}, + {funcName:'ConvertPicSize', inParams:'bstrPic, w, h', outParamType:'string', clsid:xtxasyn.getpic_clsid}, + {funcName:'GetEnvVersion', inParams:'', outParamType:'string', clsid:xtxasyn.xtx_version_clsid}, + {funcName:'InitDeviceWithParam', inParams:'sDeviceSN, sAppName, sAdminPass, sUserPin, sKeyLabel, adminPinMaxRetry, userPinMaxRetry, createFileRights', outParamType:'bool', clsid:xtxasyn.xtx_clsid}, + {funcName:'SOF_SignDataEx', inParams:'CertID, InData,signFlag', outParamType:'string', clsid:xtxasyn.xtx_clsid}, + {funcName:'SOF_VerifySignedDataEx', inParams:'Cert, InData, SignValue,signFlag', outParamType:'bool', clsid:xtxasyn.xtx_clsid}, + {funcName:'SOF_SymEncryptDataEx', inParams:'sKey,sIV,indata', outParamType:'string', clsid:xtxasyn.xtx_clsid}, + {funcName:'SOF_SymDecryptDataEx', inParams:'sKey,sIV,indata', outParamType:'string', clsid:xtxasyn.xtx_clsid} + ]; + + for (var i = 0; i < export_functions.length; i++) { + getImplmentFunction(export_functions[i]); + xtxasyn[export_functions[i].funcName] = window[export_functions[i].funcName]; + if (export_functions[i].aliasName) { + window[export_functions[i].aliasName] = window[export_functions[i].funcName]; + xtxasyn[export_functions[i].aliasName] = window[export_functions[i].funcName]; + } + + } + + return true; +} + +return initXTXAppObject(xtxasyn); +})(); + +/////////////////////////////////////////////////////////////////////////////////////////////////////////// +////////////////////////////////////// EXPORT VAR AND FUNCTIONS /////////////////////////////////////////// +/////////////////////////////////////////////////////////////////////////////////////////////////////////// +// const var +var CERT_TYPE_HARD = 1; +var CERT_TYPE_SOFT = 2; +var CERT_TYPE_ALL = 3; + +// set auto logout parameters +function SetAutoLogoutParameter(strCertID, logoutFunc) { + xtxasyn.custom.setAutoLogoutParameter(strCertID, logoutFunc); +} + +// set user cert list id +function SetUserCertList(strListID, certType) { + xtxasyn.custom.setUserCertList(strListID, certType); +} + +// set custom usbkeychange callback +function SetOnUsbKeyChangeCallBack(callback) { + xtxasyn.custom.setOnUsbKeyChangeCallBack(callback); +} + +// set custom alert function +function SetAlertFunction(custom_alert) { + xtxasyn.custom.setErrorReportFunc(custom_alert); +} + +// get custom userlogin token +function GetLoginToken() { + return xtxasyn.custom.getToken(); +} + +function SetLoginToken(tokenData) { + return xtxasyn.custom.setToken(tokenData); +} + +function GetUserListByType(strType, cb, ctx) { // strType is 'HARD' or 'SOFT' + SOF_GetUserList(function(retObj) { + var strUserList = retObj.retVal; + while (true) { + var i = strUserList.indexOf("&&&"); + if (i <= 0 ) { + break; + } + var strOneUser = strUserList.substring(0, i); + var strName = strOneUser.substring(0, strOneUser.indexOf("||")); + var strCertID = strOneUser.substring(strOneUser.indexOf("||") + 2, strOneUser.length); + GetDeviceType(strCertID, function(retObj) { + if (retObj.retVal == retObj.ctx.ctx.type) { + if (typeof retObj.ctx.ctx.cb == 'function') { + retObj.ctx.ctx.cb({retVal:retObj.ctx.userList, ctx:retObj.ctx.ctx.ctx}) + } + } + }, {userList:strOneUser, ctx:retObj.ctx}); + var len = strUserList.length; + strUserList = strUserList.substring(i + 3, len); + } + }, {type:strType, cb:cb, ctx:ctx}); +} + +//get usbKey user list +function GetUserList_USBKey(cb, ctx) { + return GetUserListByType("HARD", cb, ctx); +} + +//get soft user list +function GetUserList_Soft() { + return GetUserListByType("SOFT", cb, ctx); +} + +//sign data with pkcs7 format +function SignByP7(strCertID, strInData, bDetach) { + return xtxasyn.SOF_SignMessage(bDetach ? 1 : 0, strCertID, strInData); +} + +//get symmitric key length +//because xtx and secxv2 secx default symmitric alg is no equal +function GetSymKeyLength() { + return 24; +} + +//get device type return SOFT or HARD +function GetDeviceType(strCertID) { + return xtxasyn.GetDeviceInfo(strCertID, 7); +} + +// calculate file's hash +function HashFile(strFilePath) { + return xtxasyn.SOF_HashFile(2/*sha1*/, strFilePath); +} + +function ParseDateString(strDate) { + var strYear = strDate.substring(0, 4); + var strMonth = strDate.substring(4, 6); + var strDay = strDate.substring(6, 8); + var strHour = strDate.substring(8, 10); + var strMin = strDate.substring(10, 12); + var strSecond = strDate.substring(12, 14); + var RtnDate = new Date(); + RtnDate.setFullYear(Number(strYear), Number(strMonth) - 1, Number(strDay)); + RtnDate.setHours(Number(strHour)); + RtnDate.setMinutes(Number(strMin)); + RtnDate.setSeconds(Number(strSecond)); + return RtnDate; +} + +function __loginSignRandomCallBack(retObj) { + if (retObj.retVal == "") { + xtxasyn.custom.errorReportFunc("客户端签名失败!"); + if (typeof retObj.ctx.cb === 'function') { + retObj.ctx.cb(false); + } + return; + } + var objForm = retObj.ctx.objForm; + objForm.UserSignedData.value = retObj.retVal; + objForm.LoginToken.value = xtxasyn.custom.getToken(); + if (typeof retObj.ctx.cb === 'function') { + retObj.ctx.cb(true); + } else { + objForm.action = retObj.ctx.action; + objForm.submit(); + } +} + +function __loginVerifyServerSignatureCallBack(retObj) { + if (!retObj.retVal) { + xtxasyn.custom.errorReportFunc("验证服务器端信息失败!"); + if (typeof retObj.ctx.cb === 'function') { + retObj.ctx.cb(false); + } + return; + } + + var strCertID = retObj.ctx.certID; + xtxasyn.SOF_SignData(strCertID, strServerRan, __loginSignRandomCallBack, retObj.ctx); +} +function __loginCheckCertValidNotAfter(retObj) { + var notAfterDate = ParseDateString(retObj.retVal); + var milliseconds = notAfterDate.getTime() - new Date().getTime(); + if (milliseconds < 0) { + xtxasyn.custom.errorReportFunc("您的证书已过期,请尽快到北京数字证书认证中心办理证书更新手续!"); + if (typeof retObj.ctx.cb === 'function') { + retObj.ctx.cb(false); + } + return; + } + + days = parseInt(milliseconds / (1000*60*60*24)); + if (days > 0 && days <= 60) { + xtxasyn.custom.errorReportFunc("您的证书还有" + days + "天过期\n请您尽快到北京数字证书认证中心办理证书更新手续!"); + } else if (days == 0) { // 证书有效期天数小于1天 + var hours = parseInt(milliseconds / (1000*60*60)); + if (hours > 0) { + xtxasyn.custom.errorReportFunc("您的证书还有" + hours + "小时过期\n请您尽快到北京数字证书认证中心办理证书更新手续!"); + } + // 证书有效期小于1小时 + var minutes = parseInt(milliseconds / (1000*60)); + if (minutes > 1) { + xtxasyn.custom.errorReportFunc("您的证书还有" + minutes + "分钟过期\n请您尽快到北京数字证书认证中心办理证书更新手续!"); + } else { + xtxasyn.custom.errorReportFunc("您的证书已过期,请尽快到北京数字证书认证中心办理证书更新手续!"); + if (typeof retObj.ctx.cb === 'function') { + retObj.ctx.cb(false); + } + return; + } + } + + xtxasyn.SOF_VerifySignedData(strServerCert, strServerRan, strServerSignedData, + __loginVerifyServerSignatureCallBack, retObj.ctx); +} + +function __loginCheckCertValidNotBefore(retObj) { + var notBeforeDate = ParseDateString(retObj.retVal); + var days = parseInt((notBeforeDate.getTime() - new Date().getTime()) / (1000*60*60*24)); + if (days > 0) { + xtxasyn.custom.errorReportFunc("您的证书尚未生效!距离生效日期还剩" + days + "天!"); + if (typeof retObj.ctx.cb === 'function') { + retObj.ctx.cb(false); + } + return; + } + var strUserCert = retObj.ctx.objForm.UserCert.value; + xtxasyn.SOF_GetCertInfo(strUserCert, 12, __loginCheckCertValidNotAfter, retObj.ctx); +} + +function __loginGetSignCertCallBack(retObj) { + var strUserCert = retObj.retVal; + if (strUserCert == "") { + xtxasyn.custom.errorReportFunc("导出用户证书失败!"); + if (typeof retObj.ctx.cb === 'function') { + retObj.ctx.cb(false); + } + return; + } + retObj.ctx.objForm.UserCert.value = strUserCert; + + xtxasyn.SOF_GetCertInfo(strUserCert, 11, __loginCheckCertValidNotBefore, retObj.ctx); +} + +function __loginGetPINRetryCallBack(retObj) { + var retryCount = Number(retObj.retVal); + if (retryCount > 0) { + xtxasyn.custom.errorReportFunc("校验证书密码失败!您还有" + retryCount + "次机会重试!"); + } else if (retryCount == 0) { + xtxasyn.custom.errorReportFunc("您的证书密码已被锁死,请联系BJCA进行解锁!"); + } else { + xtxasyn.custom.errorReportFunc("登录失败!"); + } + if (typeof retObj.ctx.cb === 'function') { + retObj.ctx.cb(); + } +} + +function __loginVerifyPINCallBack(retObj) { + var strCertID = retObj.ctx.certID; + var objForm = retObj.ctx.objForm; + if (!retObj.retVal) { + xtxasyn.SOF_GetPinRetryCount(strCertID, __loginGetPINRetryCallBack, retObj.ctx); + return; + } + objForm.CertID.value = strCertID; + objForm.ContainerName.value = strCertID; + + xtxasyn.SOF_ExportUserCert(strCertID, __loginGetSignCertCallBack, retObj.ctx); +} + +//Form login +function Login(formName, strCertID, strPin, strAction, custom_cb) { + var objForm = eval(formName); + if (objForm == null) { + xtxasyn.custom.errorReportFunc("表单错误!"); + if (typeof(custom_cb) === 'function') { + custom_cb(false); + } + return; + } + if (strCertID == null || strCertID == "") { + xtxasyn.custom.errorReportFunc("请输入证书密码!"); + if (typeof(custom_cb) === 'function') { + custom_cb(false); + } + return; + } + if (strPin == null || strPin == "") { + xtxasyn.custom.errorReportFunc("请输入证书密码!"); + if (typeof(custom_cb) === 'function') { + custom_cb(false); + } + return; + } + + //Add a hidden item ... + if (objForm.UserSignedData == null) { + objForm.insertAdjacentHTML("BeforeEnd", ""); + } + if (objForm.UserCert == null) { + objForm.insertAdjacentHTML("BeforeEnd", ""); + } + if (objForm.CertID == null) { + objForm.insertAdjacentHTML("BeforeEnd", ""); + } + if (objForm.ContainerName == null) { + objForm.insertAdjacentHTML("BeforeEnd", ""); + } + if (objForm.LoginToken == null) { + objForm.insertAdjacentHTML("BeforeEnd", ""); + } + + var ctx = {certID:strCertID, objForm:objForm, action:strAction, cb:custom_cb}; + + xtxasyn.SOF_Login(strCertID, strPin, __loginVerifyPINCallBack, ctx); + + return; +} diff --git a/web/login.html b/web/login.html new file mode 100644 index 0000000..2500026 --- /dev/null +++ b/web/login.html @@ -0,0 +1,661 @@ + + + + XTXAppCOM异步调用方式 + + " + + + +
+ +
+
+ ukey登录 +

+
+ + + +
+
所属地市 <%=frameworkid%> @@ -169,6 +173,18 @@ html { overflow-x:hidden; overflow-y:hidden; }
UKEY名称 + <%=certname%> + UKEY id + <%=certid%> +
性别 @@ -219,7 +235,7 @@ html { overflow-x:hidden; overflow-y:hidden; } 涉密程度 <%=empschool %> - <% + <% if(empschool.equals("0") ){ %> 核心 @@ -229,8 +245,8 @@ html { overflow-x:hidden; overflow-y:hidden; } 核心 <% }else if(empschool.equals("2") ){ - %> - 一般 + %> + 一般 <%} %>
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
组件版本号: + +
请选择证书: + +
选择的证书ID: + +
选择设备序列号: + +
设备序列号: + +
+
+ + + + + + + + + + + + \ No newline at end of file diff --git a/web/login.jsp b/web/login.jsp index a861bfb..d5759d9 100644 --- a/web/login.jsp +++ b/web/login.jsp @@ -173,7 +173,7 @@ a:visited { size="20" /> - 密  码: + 密 码: @@ -196,7 +196,14 @@ a:visited {   + src="/images/btn.gif" /> + UKEY登录 + + + +
diff --git a/web/zhyw/smjc/CheckNotifyShowInfo.jsp b/web/zhyw/smjc/CheckNotifyShowInfo.jsp index aa17c7c..c39ad73 100644 --- a/web/zhyw/smjc/CheckNotifyShowInfo.jsp +++ b/web/zhyw/smjc/CheckNotifyShowInfo.jsp @@ -1,5 +1,7 @@ <%@include file="/auth.jsp"%> <%@page import="com.zky.manager.Util" %> +<%@ page import="com.zky.bjca.SM4" %> +<%@ page import="cn.org.bjca.utils.Base64" %> <%@page language="java" contentType="text/html;charset=utf-8"%> <% @@ -35,7 +37,7 @@ border-right:#D8E9FE 1px solid; <%if(bufInfo.fget("notify_staffed",0).equals("")){ %> 未填写 <%}else{ %> - <%=bufInfo.fget("notify_staffed",0)%><%} %> + <%=SM4.SM4Decrypt(Base64.decode(bufInfo.fget("notify_staffed",0)))%><%} %> 通知日期 <%if(bufInfo.fget("notify_time",0).equals("")){ %> diff --git a/web/zhyw/smjc/showNotify.jsp b/web/zhyw/smjc/showNotify.jsp index aa4d3a8..756de26 100644 --- a/web/zhyw/smjc/showNotify.jsp +++ b/web/zhyw/smjc/showNotify.jsp @@ -1,5 +1,7 @@ <%@include file="/auth.jsp"%> <%@page import="com.zky.manager.Util" %> +<%@ page import="com.zky.bjca.SM4" %> +<%@ page import="cn.org.bjca.utils.Base64" %> <%@page language="java" contentType="text/html;charset=utf-8"%> <% @@ -27,7 +29,7 @@ 通知人员 - <%=bufInfo.fget("notify_staffed",0)%> + <%=SM4.SM4Decrypt(Base64.decode(bufInfo.fget("notify_staffed",0)))%> 通知日期 @@ -37,7 +39,7 @@ 被通知人 - <%=bufInfo.fget("notify_staffed",0) %> + <%=SM4.SM4Decrypt(Base64.decode(bufInfo.fget("notify_staffed",0))) %> 通知单位 diff --git a/web/zhyw/smry/rydj/EmpByIdEdit.jsp b/web/zhyw/smry/rydj/EmpByIdEdit.jsp index 22c9834..5bc3aec 100644 --- a/web/zhyw/smry/rydj/EmpByIdEdit.jsp +++ b/web/zhyw/smry/rydj/EmpByIdEdit.jsp @@ -8,6 +8,8 @@ String operate = (String)request.getParameter("operate"); String empid = ""; String empname = ""; + String certname = ""; + String certid = ""; String sj = Common.convertNull(request.getParameter("sj")); String sex = ""; String birthday = ""; @@ -48,6 +50,8 @@ frameworkid = buf.fget("FRAMEWORKNAME ",pos); empid = buf.fget("empid ",pos); empname = buf.fget("empname ",pos); + certname = buf.fget("certname ",pos); + certid = buf.fget("certid ",pos); sj = buf.fget("frameworkid ",pos); //birthday = Common.convertNull(buf.fget("birthday ",pos)).substring(0,10); birthday = buf.fget("birthday ",pos); @@ -118,7 +122,7 @@ html { overflow-x:hidden; overflow-y:hidden; } - + + + + + + + + + + + + + - -
所属地市 <%=frameworkid%> @@ -147,6 +151,22 @@ html { overflow-x:hidden; overflow-y:hidden; } <%=nationstates%>
UKEY名 + <%=certname%> + UKEY id + <%=certid%> + 是否为要害部门 + <%=yaohaidemept %> +
性别 @@ -166,6 +186,8 @@ html { overflow-x:hidden; overflow-y:hidden; } <%=birthday%> 拟任岗位 <%=empjob%> @@ -229,12 +251,10 @@ html { overflow-x:hidden; overflow-y:hidden; } <%} %> 是否为要害部门 - <%=yaohaidemept %> +
- +
diff --git a/web/zhyw/smry/rydj/EmpEdit.jsp b/web/zhyw/smry/rydj/EmpEdit.jsp index c46a4fe..e17be00 100644 --- a/web/zhyw/smry/rydj/EmpEdit.jsp +++ b/web/zhyw/smry/rydj/EmpEdit.jsp @@ -9,6 +9,8 @@ String operate = (String) request.getParameter("operate"); String empid = ""; String empname = ""; + String certname = ""; + String certid = ""; String sj = Common.convertNull(request.getParameter("sj")); String sex = ""; String birthday = ""; @@ -44,9 +46,12 @@ yaohaidemept = buf.fget("yaohaidemept", pos); empid = buf.fget("empid", pos); empname = buf.fget("empname", pos); + certname = buf.fget("certname", pos); + certid = buf.fget("certid", pos); sj = buf.fget("frameworkid ", pos); - birthday = Common.convertNull(buf.fget("birthday ", pos)) - .substring(0, 10); +// birthday = Common.convertNull(buf.fget("birthday ", pos)) +// .substring(0, 10); + birthday = buf.fget("birthday ", pos); sex = buf.fget("sex ", pos); empcontaddr = buf.fget("empcontaddr ", pos); empcontphone = buf.fget("empcontphone ", pos); @@ -149,7 +154,17 @@ function check(operate) { alert("请输入人员姓名!"); form1.empname.focus(); return false; - } + } + if (form1.certname.value == "") { + alert("请输入UKEY名称!"); + form1.certname.focus(); + return false; + } + if (form1.certid.value == "") { + alert("请输入UKEY Id!"); + form1.certid.focus(); + return false; + } if (form1.empid.value == "") { alert("请输入人员编号!"); form1.empid.focus(); @@ -320,12 +335,16 @@ html { + + + + + + + + + + + + + + + + + + + + + + + + + + + + + @@ -380,6 +435,8 @@ html { %>    * + + - - - + + + + + + +
详细信息下属部门    * (如无下属部门,请填"无部门")人员姓名    *人员编码 @@ -333,6 +352,41 @@ html { color="#ff0000">*
UKEY名   *UKEY id + *是否为要害部门是   否 +    *
性别 出生年月 + type='text' onclick=" fPopCalendar(birthday,birthday); return true;" onblur="agesync()">   *
涉密程度    *是否为要害部门是   否 -    * -
民族    *
@@ -525,8 +582,7 @@ html { if (!emppolitics.equals("")) { %> <% } diff --git a/web/zhyw/smry/rydj/EmpManage.jsp b/web/zhyw/smry/rydj/EmpManage.jsp index a2a7a1d..3024e21 100644 --- a/web/zhyw/smry/rydj/EmpManage.jsp +++ b/web/zhyw/smry/rydj/EmpManage.jsp @@ -7,6 +7,11 @@ String empid = Common.convertNull(request.getParameter("empid")); String empstate = request.getParameter("empstate"); String empname = Common.convertNull(request.getParameter("empname")); + + String certname = Common.convertNull(request.getParameter("certname")); + + String certid = Common.convertNull(request.getParameter("certid")); + String operate = (String) request.getParameter("operate"); String sj = Common.convertNull(request.getParameter("sj")); String qj = Common.convertNull(request.getParameter("qj")); @@ -48,6 +53,12 @@ select { if (!Common.isNull(empname)) { out.println("form1.empname.value='" + empname + "';"); } + if (!Common.isNull(certname)) { + out.println("form1.certname.value='" + certname + "';"); + } + if (!Common.isNull(certid)) { + out.println("form1.certid.value='" + certid + "';"); + } if (!Common.isNull(qj)) { out.println("form1.qj.value='" + qj + "';"); } @@ -165,9 +176,21 @@ select { + + 人员姓名    + setValue="<%=empname%>" /> + + UKEY名 + + + UKEY id + + + @@ -217,8 +240,9 @@ select { width="10px">人员编号 人员状态 人员姓名 人员性别 涉密程度 是否为要害部门 联系电话 政治面貌 出生年月 管理 + width="10px">联系电话 政治面貌 + 出生年月 + 管理
@@ -276,8 +300,8 @@ select { style="cursor: pointer;" />   <%}else{ %> <%} %> <% } else { %> <% if(employeeid.equals(login.getEmpid()) || login.getEmpid().equals("ADMIN") || login.getEmpid().equals("ZHKYADMIN")){ - %> + 查看   - + + + + + + + + +
所属地市 <%=frameworkid%> @@ -169,6 +173,18 @@ html { overflow-x:hidden; overflow-y:hidden; }
UKEY名称 + <%=certname%> + UKEY id + <%=certid%> +
性别 @@ -219,7 +235,7 @@ html { overflow-x:hidden; overflow-y:hidden; } 涉密程度 <%=empschool %> - <% + <% if(empschool.equals("0") ){ %> 核心 @@ -229,8 +245,8 @@ html { overflow-x:hidden; overflow-y:hidden; } 核心 <% }else if(empschool.equals("2") ){ - %> - 一般 + %> + 一般 <%} %>