Регулярно ошибка при подписи чеков
Здравствуйте. по несколько раз на день возникают ошибки при подписании чеков.
С чем может быть связано?
лог утм
2019-06-28 14:11:33,622 INFO es.programador.http.AbstractServlet - Получен чек
2019-06-28 14:11:34,014 INFO es.programador.http.AbstractServlet - [Future] Результат проверки чека: [Проверка пройдена]
2019-06-28 14:12:25,316 ERROR ru.centerinform.crypto.c - Ошибка подписи документа
java.lang.IllegalStateException: sun.security.pkcs11.wrapper.PKCS11Exception: CKR_SESSION_HANDLE_INVALID
at ru.centerinform.crypto.m.a(Unknown Source)
at ru.centerinform.crypto.n.a(Unknown Source)
at ru.centerinform.crypto.j.b(Unknown Source)
at ru.centerinform.crypto.j.a(Unknown Source)
at ru.centerinform.crypto.c.a(Unknown Source)
at ru.centerinform.crypto.c.a(Unknown Source)
at es.programador.http.AbstractServlet.a(Unknown Source)
at es.programador.http.AbstractServlet.a(Unknown Source)
at es.programador.http.AbstractServlet.doPost(Unknown Source)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:707)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:790)
at org.eclipse.jetty.servlet.ServletHolder.handle(ServletHolder.java:821)
at org.eclipse.jetty.servlet.ServletHandler.doHandle(ServletHandler.java:583)
at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:143)
at org.eclipse.jetty.security.SecurityHandler.handle(SecurityHandler.java:548)
at org.eclipse.jetty.server.session.SessionHandler.doHandle(SessionHandler.java:226)
at org.eclipse.jetty.server.handler.ContextHandler.doHandle(ContextHandler.java:1158)
at org.eclipse.jetty.servlet.ServletHandler.doScope(ServletHandler.java:511)
at org.eclipse.jetty.server.session.SessionHandler.doScope(SessionHandler.java:185)
at org.eclipse.jetty.server.handler.ContextHandler.doScope(ContextHandler.java:1090)
at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:141)
at org.eclipse.jetty.server.handler.ContextHandlerCollection.handle(ContextHandlerCollection.java:213)
at org.eclipse.jetty.server.handler.RequestLogHandler.handle(RequestLogHandler.java:56)
at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:119)
at org.eclipse.jetty.server.Server.handle(Server.java:517)
at org.eclipse.jetty.server.HttpChannel.handle(HttpChannel.java:306)
at org.eclipse.jetty.server.HttpConnection.onFillable(HttpConnection.java:242)
at org.eclipse.jetty.io.AbstractConnection$ReadCallback.succeeded(AbstractConnection.java:261)
at org.eclipse.jetty.io.FillInterest.fillable(FillInterest.java:95)
at org.eclipse.jetty.io.SelectChannelEndPoint$2.run(SelectChannelEndPoint.java:75)
at org.eclipse.jetty.util.thread.strategy.ExecuteProduceConsume.produceAndRun(ExecuteProduceConsume.java:213)
at org.eclipse.jetty.util.thread.strategy.ExecuteProduceConsume.run(ExecuteProduceConsume.java:147)
at org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(QueuedThreadPool.java:654)
at org.eclipse.jetty.util.thread.QueuedThreadPool$3.run(QueuedThreadPool.java:572)
at java.lang.Thread.run(Unknown Source)
Caused by: sun.security.pkcs11.wrapper.PKCS11Exception: CKR_SESSION_HANDLE_INVALID
at sun.security.pkcs11.wrapper.PKCS11.C_SignInit(Native Method)
at sun.security.pkcs11.wrapper.PKCS11$SynchronizedPKCS11.C_SignInit(PKCS11.java:1721)
... 35 more
2019-06-28 14:12:25,319 WARN ru.centerinform.crypto.j - Ошибка выхода из ключа
sun.security.pkcs11.wrapper.PKCS11Exception: CKR_SESSION_HANDLE_INVALID
at sun.security.pkcs11.wrapper.PKCS11.C_Logout(Native Method)
at sun.security.pkcs11.wrapper.PKCS11$SynchronizedPKCS11.C_Logout(PKCS11.java:1603)
at ru.centerinform.crypto.j.a(Unknown Source)
at ru.centerinform.crypto.c.a(Unknown Source)
at ru.centerinform.crypto.c.a(Unknown Source)
at es.programador.http.AbstractServlet.a(Unknown Source)
at es.programador.http.AbstractServlet.a(Unknown Source)
at es.programador.http.AbstractServlet.doPost(Unknown Source)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:707)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:790)
at org.eclipse.jetty.servlet.ServletHolder.handle(ServletHolder.java:821)
at org.eclipse.jetty.servlet.ServletHandler.doHandle(ServletHandler.java:583)
at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:143)
at org.eclipse.jetty.security.SecurityHandler.handle(SecurityHandler.java:548)
at org.eclipse.jetty.server.session.SessionHandler.doHandle(SessionHandler.java:226)
at org.eclipse.jetty.server.handler.ContextHandler.doHandle(ContextHandler.java:1158)
at org.eclipse.jetty.servlet.ServletHandler.doScope(ServletHandler.java:511)
at org.eclipse.jetty.server.session.SessionHandler.doScope(SessionHandler.java:185)
at org.eclipse.jetty.server.handler.ContextHandler.doScope(ContextHandler.java:1090)
at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:141)
at org.eclipse.jetty.server.handler.ContextHandlerCollection.handle(ContextHandlerCollection.java:213)
at org.eclipse.jetty.server.handler.RequestLogHandler.handle(RequestLogHandler.java:56)
at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:119)
at org.eclipse.jetty.server.Server.handle(Server.java:517)
at org.eclipse.jetty.server.HttpChannel.handle(HttpChannel.java:306)
at org.eclipse.jetty.server.HttpConnection.onFillable(HttpConnection.java:242)
at org.eclipse.jetty.io.AbstractConnection$ReadCallback.succeeded(AbstractConnection.java:261)
at org.eclipse.jetty.io.FillInterest.fillable(FillInterest.java:95)
at org.eclipse.jetty.io.SelectChannelEndPoint$2.run(SelectChannelEndPoint.java:75)
at org.eclipse.jetty.util.thread.strategy.ExecuteProduceConsume.produceAndRun(ExecuteProduceConsume.java:213)
at org.eclipse.jetty.util.thread.strategy.ExecuteProduceConsume.run(ExecuteProduceConsume.java:147)
at org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(QueuedThreadPool.java:654)
at org.eclipse.jetty.util.thread.QueuedThreadPool$3.run(QueuedThreadPool.java:572)
at java.lang.Thread.run(Unknown Source)
2019-06-28 14:12:25,322 ERROR es.programador.transport.e.b - Проблемы с RSA ключом
java.security.ProviderException: Token has been removed
at sun.security.pkcs11.Session.id(Session.java:91)
at sun.security.pkcs11.SessionManager.ensureValid(SessionManager.java:161)
at sun.security.pkcs11.SessionManager.getOpSession(SessionManager.java:144)
at sun.security.pkcs11.Token.getOpSession(Token.java:303)
at sun.security.pkcs11.P11KeyStore.engineGetKey(P11KeyStore.java:307)
at java.security.KeyStore.getKey(Unknown Source)
at es.programador.transport.e.b.b(Unknown Source)
at es.programador.transport.e.b.c(Unknown Source)
at es.programador.transport.o$a.a(Unknown Source)
at es.programador.a.c.a(Unknown Source)
at es.programador.transport.i.e.a(Unknown Source)
at es.programador.transport.i.d.execute(Unknown Source)
at org.quartz.core.JobRunShell.run(JobRunShell.java:213)
at org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:557)
2019-06-28 14:12:25,323 WARN ru.centerinform.crypto.j - Ошибка закрытия сессии
sun.security.pkcs11.wrapper.PKCS11Exception: CKR_SESSION_HANDLE_INVALID
at sun.security.pkcs11.wrapper.PKCS11.C_CloseSession(Native Method)
at sun.security.pkcs11.wrapper.PKCS11$SynchronizedPKCS11.C_CloseSession(PKCS11.java:1589)
at ru.centerinform.crypto.j.a(Unknown Source)
at ru.centerinform.crypto.c.a(Unknown Source)
at ru.centerinform.crypto.c.a(Unknown Source)
at es.programador.http.AbstractServlet.a(Unknown Source)
at es.programador.http.AbstractServlet.a(Unknown Source)
at es.programador.http.AbstractServlet.doPost(Unknown Source)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:707)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:790)
at org.eclipse.jetty.servlet.ServletHolder.handle(ServletHolder.java:821)
at org.eclipse.jetty.servlet.ServletHandler.doHandle(ServletHandler.java:583)
at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:143)
at org.eclipse.jetty.security.SecurityHandler.handle(SecurityHandler.java:548)
at org.eclipse.jetty.server.session.SessionHandler.doHandle(SessionHandler.java:226)
at org.eclipse.jetty.server.handler.ContextHandler.doHandle(ContextHandler.java:1158)
at org.eclipse.jetty.servlet.ServletHandler.doScope(ServletHandler.java:511)
at org.eclipse.jetty.server.session.SessionHandler.doScope(SessionHandler.java:185)
at org.eclipse.jetty.server.handler.ContextHandler.doScope(ContextHandler.java:1090)
at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:141)
at org.eclipse.jetty.server.handler.ContextHandlerCollection.handle(ContextHandlerCollection.java:213)
at org.eclipse.jetty.server.handler.RequestLogHandler.handle(RequestLogHandler.java:56)
at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:119)
at org.eclipse.jetty.server.Server.handle(Server.java:517)
at org.eclipse.jetty.server.HttpChannel.handle(HttpChannel.java:306)
at org.eclipse.jetty.server.HttpConnection.onFillable(HttpConnection.java:242)
at org.eclipse.jetty.io.AbstractConnection$ReadCallback.succeeded(AbstractConnection.java:261)
at org.eclipse.jetty.io.FillInterest.fillable(FillInterest.java:95)
at org.eclipse.jetty.io.SelectChannelEndPoint$2.run(SelectChannelEndPoint.java:75)
at org.eclipse.jetty.util.thread.strategy.ExecuteProduceConsume.produceAndRun(ExecuteProduceConsume.java:213)
at org.eclipse.jetty.util.thread.strategy.ExecuteProduceConsume.run(ExecuteProduceConsume.java:147)
at org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(QueuedThreadPool.java:654)
at org.eclipse.jetty.util.thread.QueuedThreadPool$3.run(QueuedThreadPool.java:572)
at java.lang.Thread.run(Unknown Source)
2019-06-28 14:12:25,326 INFO ru.centerinform.crypto.c - Вторая попытка подписать документ
2019-06-28 14:12:25,327 INFO ru.centerinform.crypto.c - Инициализации криптобиблиотеки
2019-06-28 14:12:25,377 ERROR ru.centerinform.crypto.c - Ошибка переинициализации криптографера
java.lang.IllegalStateException: Ошибка поиска модели
at ru.centerinform.crypto.j.a(Unknown Source)
at ru.centerinform.crypto.j.a(Unknown Source)
at ru.centerinform.crypto.c.k(Unknown Source)
at ru.centerinform.crypto.c.i(Unknown Source)
at ru.centerinform.crypto.c.a(Unknown Source)
at ru.centerinform.crypto.c.a(Unknown Source)
at ru.centerinform.crypto.c.a(Unknown Source)
at es.programador.http.AbstractServlet.a(Unknown Source)
at es.programador.http.AbstractServlet.a(Unknown Source)
at es.programador.http.AbstractServlet.doPost(Unknown Source)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:707)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:790)
at org.eclipse.jetty.servlet.ServletHolder.handle(ServletHolder.java:821)
at org.eclipse.jetty.servlet.ServletHandler.doHandle(ServletHandler.java:583)
at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:143)
at org.eclipse.jetty.security.SecurityHandler.handle(SecurityHandler.java:548)
at org.eclipse.jetty.server.session.SessionHandler.doHandle(SessionHandler.java:226)
at org.eclipse.jetty.server.handler.ContextHandler.doHandle(ContextHandler.java:1158)
at org.eclipse.jetty.servlet.ServletHandler.doScope(ServletHandler.java:511)
at org.eclipse.jetty.server.session.SessionHandler.doScope(SessionHandler.java:185)
at org.eclipse.jetty.server.handler.ContextHandler.doScope(ContextHandler.java:1090)
at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:141)
at org.eclipse.jetty.server.handler.ContextHandlerCollection.handle(ContextHandlerCollection.java:213)
at org.eclipse.jetty.server.handler.RequestLogHandler.handle(RequestLogHandler.java:56)
at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:119)
at org.eclipse.jetty.server.Server.handle(Server.java:517)
at org.eclipse.jetty.server.HttpChannel.handle(HttpChannel.java:306)
at org.eclipse.jetty.server.HttpConnection.onFillable(HttpConnection.java:242)
at org.eclipse.jetty.io.AbstractConnection$ReadCallback.succeeded(AbstractConnection.java:261)
at org.eclipse.jetty.io.FillInterest.fillable(FillInterest.java:95)
at org.eclipse.jetty.io.SelectChannelEndPoint$2.run(SelectChannelEndPoint.java:75)
at org.eclipse.jetty.util.thread.strategy.ExecuteProduceConsume.produceAndRun(ExecuteProduceConsume.java:213)
at org.eclipse.jetty.util.thread.strategy.ExecuteProduceConsume.run(ExecuteProduceConsume.java:147)
at org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(QueuedThreadPool.java:654)
at org.eclipse.jetty.util.thread.QueuedThreadPool$3.run(QueuedThreadPool.java:572)
at java.lang.Thread.run(Unknown Source)
Caused by: sun.security.pkcs11.wrapper.PKCS11Exception: CKR_TOKEN_NOT_PRESENT
at sun.security.pkcs11.wrapper.PKCS11.C_GetTokenInfo(Native Method)
at sun.security.pkcs11.wrapper.PKCS11$SynchronizedPKCS11.C_GetTokenInfo(PKCS11.java:1569)
... 36 more
2019-06-28 14:12:25,383 ERROR es.programador.http.AbstractServlet - Некорректное состояние транспортного терминала
java.lang.IllegalStateException: Не удалось подписать документ
at ru.centerinform.crypto.c.a(Unknown Source)
at ru.centerinform.crypto.c.a(Unknown Source)
at es.programador.http.AbstractServlet.a(Unknown Source)
at es.programador.http.AbstractServlet.a(Unknown Source)
at es.programador.http.AbstractServlet.doPost(Unknown Source)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:707)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:790)
at org.eclipse.jetty.servlet.ServletHolder.handle(ServletHolder.java:821)
at org.eclipse.jetty.servlet.ServletHandler.doHandle(ServletHandler.java:583)
at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:143)
at org.eclipse.jetty.security.SecurityHandler.handle(SecurityHandler.java:548)
at org.eclipse.jetty.server.session.SessionHandler.doHandle(SessionHandler.java:226)
at org.eclipse.jetty.server.handler.ContextHandler.doHandle(ContextHandler.java:1158)
at org.eclipse.jetty.servlet.ServletHandler.doScope(ServletHandler.java:511)
at org.eclipse.jetty.server.session.SessionHandler.doScope(SessionHandler.java:185)
at org.eclipse.jetty.server.handler.ContextHandler.doScope(ContextHandler.java:1090)
at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:141)
at org.eclipse.jetty.server.handler.ContextHandlerCollection.handle(ContextHandlerCollection.java:213)
at org.eclipse.jetty.server.handler.RequestLogHandler.handle(RequestLogHandler.java:56)
at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:119)
at org.eclipse.jetty.server.Server.handle(Server.java:517)
at org.eclipse.jetty.server.HttpChannel.handle(HttpChannel.java:306)
at org.eclipse.jetty.server.HttpConnection.onFillable(HttpConnection.java:242)
at org.eclipse.jetty.io.AbstractConnection$ReadCallback.succeeded(AbstractConnection.java:261)
at org.eclipse.jetty.io.FillInterest.fillable(FillInterest.java:95)
at org.eclipse.jetty.io.SelectChannelEndPoint$2.run(SelectChannelEndPoint.java:75)
at org.eclipse.jetty.util.thread.strategy.ExecuteProduceConsume.produceAndRun(ExecuteProduceConsume.java:213)
at org.eclipse.jetty.util.thread.strategy.ExecuteProduceConsume.run(ExecuteProduceConsume.java:147)
at org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(QueuedThreadPool.java:654)
at org.eclipse.jetty.util.thread.QueuedThreadPool$3.run(QueuedThreadPool.java:572)
at java.lang.Thread.run(Unknown Source)
2019-06-28 14:12:25,398 ERROR es.programador.transport.e.b - Ошибка переинициализации RSA
java.security.ProviderException: Initialization failed
at sun.security.pkcs11.SunPKCS11.<init>(SunPKCS11.java:376)
at sun.security.pkcs11.SunPKCS11.<init>(SunPKCS11.java:107)
at es.programador.transport.e.b.b(Unknown Source)
at es.programador.transport.e.b.d(Unknown Source)
at es.programador.transport.e.b.b(Unknown Source)
at es.programador.transport.e.b.c(Unknown Source)
at es.programador.transport.o$a.a(Unknown Source)
at es.programador.a.c.a(Unknown Source)
at es.programador.transport.i.e.a(Unknown Source)
at es.programador.transport.i.d.execute(Unknown Source)
at org.quartz.core.JobRunShell.run(JobRunShell.java:213)
at org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:557)
Caused by: java.security.ProviderException: slotListIndex is 0 but token only has 0 slots
at sun.security.pkcs11.SunPKCS11.<init>(SunPKCS11.java:357)
... 11 more
2019-06-28 14:12:25,494 ERROR es.programador.transport.i.e - Ошибка при получении и чтении документов с сервера ЕГАИС
java.io.IOException: Ошибка при проверке ключа
at es.programador.a.c.a(Unknown Source)
at es.programador.transport.i.e.a(Unknown Source)
at es.programador.transport.i.d.execute(Unknown Source)
at org.quartz.core.JobRunShell.run(JobRunShell.java:213)
at org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:557)
2019-06-28 14:12:25,531 ERROR es.programador.transport.e.b - Проблемы с RSA ключом
java.security.ProviderException: Token has been removed
at sun.security.pkcs11.Token.ensureValid(Token.java:249)
at sun.security.pkcs11.P11KeyStore.engineGetKey(P11KeyStore.java:295)
at java.security.KeyStore.getKey(Unknown Source)
at es.programador.transport.e.b.b(Unknown Source)
at es.programador.transport.e.b.c(Unknown Source)
at es.programador.transport.o$a.a(Unknown Source)
at es.programador.a.c.a(Unknown Source)
at es.programador.transport.i.e.a(Unknown Source)
at es.programador.transport.i.d.execute(Unknown Source)
at org.quartz.core.JobRunShell.run(JobRunShell.java:213)
at org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:557)
2019-06-28 14:12:25,558 ERROR es.programador.transport.e.b - Ошибка переинициализации RSA
java.security.ProviderException: Initialization failed
at sun.security.pkcs11.SunPKCS11.<init>(SunPKCS11.java:376)
at sun.security.pkcs11.SunPKCS11.<init>(SunPKCS11.java:107)
at es.programador.transport.e.b.b(Unknown Source)
at es.programador.transport.e.b.d(Unknown Source)
at es.programador.transport.e.b.b(Unknown Source)
at es.programador.transport.e.b.c(Unknown Source)
at es.programador.transport.o$a.a(Unknown Source)
at es.programador.a.c.a(Unknown Source)
at es.programador.transport.i.e.a(Unknown Source)
at es.programador.transport.i.d.execute(Unknown Source)
at org.quartz.core.JobRunShell.run(JobRunShell.java:213)
at org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:557)
Caused by: java.security.ProviderException: slotListIndex is 0 but token only has 0 slots
at sun.security.pkcs11.SunPKCS11.<init>(SunPKCS11.java:357)
... 11 more
2019-06-28 14:12:25,559 ERROR es.programador.transport.i.e - Ошибка при получении и чтении документов с сервера ЕГАИС
java.io.IOException: Ошибка при проверке ключа
at es.programador.a.c.a(Unknown Source)
at es.programador.transport.i.e.a(Unknown Source)
at es.programador.transport.i.d.execute(Unknown Source)
at org.quartz.core.JobRunShell.run(JobRunShell.java:213)
at org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:557)
2019-06-28 14:12:25,564 INFO es.programador.transport.p - Удаление документов скачанных ранее чем 2019-06-27 14:12:25 в статусах [2]
2019-06-28 14:12:25,564 INFO es.programador.transport.p - Документы DOC_TYPE: [WayBill, WayBill_v2, WayBill_v3, FormBRegInfo, Form2RegInfo, WayBillAct, WayBillAct_v2, WayBillAct_v3, WayBillTicket, Ticket] удалены не будут.
2019-06-28 14:12:25,571 INFO es.programador.transport.p - Удаление документов скачанных ранее чем 2019-06-21 14:12:25 в статусах [2]
2019-06-28 14:12:25,572 INFO es.programador.transport.i.e - Завершение задачи получения документов с сервера ЕГАИС
2019-06-28 14:12:25,572 INFO es.programador.transport.i.d - Завершение задачи получения документов с сервера ЕГАИС по расписанию
2019-06-28 14:12:25,754 INFO es.programador.transport.i.d - Завершение задачи обмена документами с сервером ЕГАИС по расписанию
2019-06-28 14:13:22,502 INFO es.programador.transport.i.d - Начало задачи обмена документами с сервером ЕГАИС по расписанию
2019-06-28 14:13:22,502 INFO es.programador.transport.i.d - Отправка данных на сервер ЕГАИС по расписанию
2019-06-28 14:13:22,503 INFO es.programador.transport.o - Отправка данных на сервер ЕГАИС
2019-06-28 14:13:22,521 INFO es.programador.transport.g - Удаление исходящих документов в статусе: [1, 41]
2019-06-28 14:13:22,523 INFO es.programador.transport.o - Завершение задачи отправки документов на сервер ЕГАИС
2019-06-28 14:13:22,523 INFO es.programador.transport.i.d - Завершение задачи отправки документов на сервера ЕГАИС по расписанию
2019-06-28 14:13:22,523 INFO es.programador.transport.i.d - Получение документов с сервера ЕГАИС по расписанию
2019-06-28 14:13:22,523 INFO es.programador.transport.i.e - Получение документов с сервера ЕГАИС
2019-06-28 14:13:22,528 INFO es.programador.transport.i.e - Счетчик непогашенных чеков: [4]
2019-06-28 14:13:22,532 INFO es.programador.transport.i.e - Счетчик непогашенных запросов: [81]
2019-06-28 14:13:23,028 INFO es.programador.http.AbstractServlet - Получен чек
2019-06-28 14:13:23,100 INFO ru.centerinform.crypto.c - Инициализации криптобиблиотеки
2019-06-28 14:13:23,381 INFO es.programador.http.AbstractServlet - [Future] Результат проверки чека: [Проверка пройдена]
2019-06-28 14:13:23,826 INFO es.programador.transport.i.e - Счетчик непогашенных АСКП: [0]
2019-06-28 14:13:23,848 ERROR es.programador.transport.e.b - Проблемы с RSA ключом
java.security.ProviderException: Token has been removed
at sun.security.pkcs11.Token.ensureValid(Token.java:249)
at sun.security.pkcs11.P11KeyStore.engineGetKey(P11KeyStore.java:295)
at java.security.KeyStore.getKey(Unknown Source)
at es.programador.transport.e.b.b(Unknown Source)
at es.programador.transport.e.b.c(Unknown Source)
at es.programador.transport.o$a.a(Unknown Source)
at es.programador.a.c.a(Unknown Source)
at es.programador.transport.i.e.a(Unknown Source)
at es.programador.transport.i.d.execute(Unknown Source)
at org.quartz.core.JobRunShell.run(JobRunShell.java:213)
at org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:557)
2019-06-28 14:13:24,010 WARN ru.centerinform.crypto.c - Не удалось получить сертификат []
java.lang.ArrayIndexOutOfBoundsException: 0
at ru.centerinform.crypto.j.a(Unknown Source)
at ru.centerinform.crypto.c.b(Unknown Source)
at ru.centerinform.crypto.c.k(Unknown Source)
at ru.centerinform.crypto.c.i(Unknown Source)
at ru.centerinform.crypto.c.a(Unknown Source)
at ru.centerinform.crypto.c.a(Unknown Source)
at es.programador.http.AbstractServlet.a(Unknown Source)
at es.programador.http.AbstractServlet.a(Unknown Source)
at es.programador.http.AbstractServlet.doPost(Unknown Source)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:707)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:790)
at org.eclipse.jetty.servlet.ServletHolder.handle(ServletHolder.java:821)
at org.eclipse.jetty.servlet.ServletHandler.doHandle(ServletHandler.java:583)
at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:143)
at org.eclipse.jetty.security.SecurityHandler.handle(SecurityHandler.java:548)
at org.eclipse.jetty.server.session.SessionHandler.doHandle(SessionHandler.java:226)
at org.eclipse.jetty.server.handler.ContextHandler.doHandle(ContextHandler.java:1158)
at org.eclipse.jetty.servlet.ServletHandler.doScope(ServletHandler.java:511)
at org.eclipse.jetty.server.session.SessionHandler.doScope(SessionHandler.java:185)
at org.eclipse.jetty.server.handler.ContextHandler.doScope(ContextHandler.java:1090)
at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:141)
at org.eclipse.jetty.server.handler.ContextHandlerCollection.handle(ContextHandlerCollection.java:213)
at org.eclipse.jetty.server.handler.RequestLogHandler.handle(RequestLogHandler.java:56)
at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:119)
at org.eclipse.jetty.server.Server.handle(Server.java:517)
at org.eclipse.jetty.server.HttpChannel.handle(HttpChannel.java:306)
at org.eclipse.jetty.server.HttpConnection.onFillable(HttpConnection.java:242)
at org.eclipse.jetty.io.AbstractConnection$ReadCallback.succeeded(AbstractConnection.java:261)
at org.eclipse.jetty.io.FillInterest.fillable(FillInterest.java:95)
at org.eclipse.jetty.io.SelectChannelEndPoint$2.run(SelectChannelEndPoint.java:75)
at org.eclipse.jetty.util.thread.strategy.ExecuteProduceConsume.produceAndRun(ExecuteProduceConsume.java:213)
at org.eclipse.jetty.util.thread.strategy.ExecuteProduceConsume.run(ExecuteProduceConsume.java:147)
at org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(QueuedThreadPool.java:654)
at org.eclipse.jetty.util.thread.QueuedThreadPool$3.run(QueuedThreadPool.java:572)
at java.lang.Thread.run(Unknown Source)
2019-06-28 14:13:24,186 INFO es.programador.transport.e.b - Найден слот смарт-карты [0:Rutoken ECP ]
2019-06-28 14:13:24,996 INFO ru.centerinform.crypto.c - Используется сертификат SerialNumber: 67d48d0068aa6eab44f72043001f6c9e
2019-06-28 14:13:25,425 INFO es.programador.http.AbstractServlet - Сохранение данных для последующей отправки: Ticket{inn=1101059370, kpp=110145004, address=г. Сыктывкар, ул. Интернациональная, д.133, cashboxId=9284000100135856, sequenceId=243, ticketId=28466, rawDate=2806191411, products=[Bottle {barcode=22N0000SNF76E8JUSF48TR781218007006805AG2K122BQAH7BVPFQ12R9DFA30NLEAF, price=479.00, ean=, volume=0.5000}]}
2019-06-28 14:13:28,012 INFO es.programador.transport.e.b - Используется сертификат SerialNumber: 479908a50000000abdaa
2019-06-28 14:13:28,748 INFO es.programador.transport.i.e - Запрос документов с сервера