CSP library bit must be set. Please set CSP library bit to 32 or 64

Автор Vladimir85, 25 Февраль 2019, 11:50:48

« предыдущая тема - следующая тема »

0 Пользователей и 1 Гость просматривают эту тему.

Вниз

Vladimir85

Доброго времени суток!

Подскажите, с чем может быть проблема:

CSP library bit must be set. Please set CSP library bit to 32 or 64
java.lang.RuntimeException: CSP library bit must be set. Please set CSP library bit to 32 or 64
   at kz.gamma.tumarcsp.TumarCspFunctions.cpAcquireContext(TumarCspFunctions.java:68)
   at kz.gamma.tumarcsp.AlgParamUtil.getAttribute(AlgParamUtil.java:88)
   at kz.gamma.tumarcsp.AlgParamUtil.setKey(AlgParamUtil.java:112)
   at kz.gamma.tumarcsp.AlgParamUtil.<init>(AlgParamUtil.java:30)
   at kz.gamma.jce.provider.GammaTechProvider.setKeyAlgID(GammaTechProvider.java:164)
   at kz.gamma.jce.provider.GammaTechProvider.<init>(GammaTechProvider.java:137)
   at outsystems.noselectronicdigitalsignature.actions.ActSignData.signApplication(ActSignData.java:60)
   at outsystems.noselectronicdigitalsignature.actions.ActSignData.mosSignData(ActSignData.java:44)
   at osapm_cmn_objects.referencesproxy.rssextensionelectronicdigitalsignature.actions.ActSignData.mosSignData(Unknown Source)
   at osapm_cmn_objects.actions.ActSignData.executeSignData(Unknown Source)
   at osapm_cmn_objects.actions.Functions.rssextensionelectronicdigitalsignature_ActSignData(Unknown Source)
   at osapm_cmn_objects.actions.ActSignDecisions.executeSignDecisions(Unknown Source)
   at osapm_cmn_objects.webservices.SignDecisionECPImpl.executeSign(Unknown Source)
   at osapm_cmn_objects.webservices.SignDecisionECPImpl.Sign(Unknown Source)
   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:497)
   at org.jboss.as.ee.component.ManagedReferenceMethodInterceptor.processInvocation(ManagedReferenceMethodInterceptor.java:52)
   at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:288)
   at org.jboss.invocation.WeavedInterceptor.processInvocation(WeavedInterceptor.java:53)
   at org.jboss.as.ee.component.interceptors.UserInterceptorFactory$1.processInvocation(UserInterceptorFactory.java:63)
   at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:288)
   at org.jboss.invocation.WeavedInterceptor.processInvocation(WeavedInterceptor.java:53)
   at org.jboss.as.ee.component.interceptors.UserInterceptorFactory$1.processInvocation(UserInterceptorFactory.java:63)
   at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:288)
   at org.jboss.invocation.InitialInterceptor.processInvocation(InitialInterceptor.java:21)
   at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:288)
   at org.jboss.invocation.ChainedInterceptor.processInvocation(ChainedInterceptor.java:61)
   at org.jboss.as.ee.component.interceptors.ComponentDispatcherInterceptor.processInvocation(ComponentDispatcherInterceptor.java:53)
   at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:288)
   at org.jboss.as.webservices.deployers.WSComponentInstanceAssociationInterceptor.processInvocation(WSComponentInstanceAssociationInterceptor.java:49)
   at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:288)
   at org.jboss.invocation.ChainedInterceptor.processInvocation(ChainedInterceptor.java:61)
   at org.jboss.as.ee.component.ViewService$View.invoke(ViewService.java:185)
   at org.jboss.as.webservices.invocation.AbstractInvocationHandler.invoke(AbstractInvocationHandler.java:129)
   at org.jboss.wsf.stack.cxf.JBossWSInvoker.performInvocation(JBossWSInvoker.java:177)
   at org.apache.cxf.service.invoker.AbstractInvoker.invoke(AbstractInvoker.java:104)
   at org.apache.cxf.jaxws.AbstractJAXWSMethodInvoker.invoke(AbstractJAXWSMethodInvoker.java:237)
   at org.apache.cxf.jaxws.JAXWSMethodInvoker.invoke(JAXWSMethodInvoker.java:69)
   at org.jboss.wsf.stack.cxf.JBossWSInvoker.invoke(JBossWSInvoker.java:146)
   at org.apache.cxf.interceptor.ServiceInvokerInterceptor$1.run(ServiceInvokerInterceptor.java:58)
   at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
   at java.util.concurrent.FutureTask.run(FutureTask.java:266)
   at org.apache.cxf.workqueue.SynchronousExecutor.execute(SynchronousExecutor.java:37)
   at org.apache.cxf.interceptor.ServiceInvokerInterceptor.handleMessage(ServiceInvokerInterceptor.java:107)
   at org.apache.cxf.phase.PhaseInterceptorChain.doIntercept(PhaseInterceptorChain.java:272)
   at org.apache.cxf.transport.ChainInitiationObserver.onMessage(ChainInitiationObserver.java:121)
   at org.apache.cxf.transport.http.AbstractHTTPDestination.invoke(AbstractHTTPDestination.java:249)
   at org.jboss.wsf.stack.cxf.RequestHandlerImpl.handleHttpRequest(RequestHandlerImpl.java:97)
   at org.jboss.wsf.stack.cxf.transport.ServletHelper.callRequestHandler(ServletHelper.java:131)
   at org.jboss.wsf.stack.cxf.CXFServletExt.invoke(CXFServletExt.java:88)
   at org.apache.cxf.transport.servlet.AbstractHTTPServlet.handleRequest(AbstractHTTPServlet.java:289)
   at org.apache.cxf.transport.servlet.AbstractHTTPServlet.doPost(AbstractHTTPServlet.java:209)
   at javax.servlet.http.HttpServlet.service(HttpServlet.java:754)
   at org.jboss.wsf.stack.cxf.CXFServletExt.service(CXFServletExt.java:136)
   at org.jboss.wsf.spi.deployment.WSFServlet.service(WSFServlet.java:140)
   at javax.servlet.http.HttpServlet.service(HttpServlet.java:847)
   at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:295)
   at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:214)
   at outsystems.hubedition.webwidgets.BaseRequestStartupFilter.doFilter(Unknown Source)
   at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:246)
   at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:214)
   at outsystems.hubedition.webwidgets.filters.HttpContextFilter.doFilter(Unknown Source)
   at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:246)
   at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:214)
   at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:231)
   at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:149)
   at org.jboss.as.web.security.SecurityContextAssociationValve.invoke(SecurityContextAssociationValve.java:169)
   at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:150)
   at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:97)
   at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:559)
   at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:102)
   at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:344)
   at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:854)
   at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:653)
   at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:926)
   at java.lang.Thread.run(Thread.java:745)

Vladimir85

Согласно описанию, что находил на форуме проблема в том, что либо отсутствуют доступы к библиотеке, либо же отсутствует сама библиотека
Но в нашем случае, решение, которое помогает - перезапуск сервера. Но это решение довольно накладное.

Вверх