-
Notifications
You must be signed in to change notification settings - Fork 121
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
JSignPdf in a batch mode gets stuck after signature creation and removing PKCS11 security provider #184
Comments
I did several testing and I can confirm:
When this file is present and contains configuration for the Czech Republic identity card (second version issued from 07/2018):
then I am able to complete signing in a batch mode but JSignPDF program gets stuck after removing PKCS11 security provider. Please see the output in the previous post. No difference when using “proxy DLL” (eopproxyp11.dll) or the correct DLL directly (eop2v1czep11.dll). Any idea why JSignPDF is working in a different way in a batch mode and GUI mode in Windows? |
Ah, I see, you tried it. Wasn't reading fully the first message. |
Let me add more information and correct my previous statement:
I think the problem is related to manipulation with PKCS11 library ( If the issues is not in JSignPDF program and it is in the provided PKCS11 library, then there is no help, I am afraid. |
Could you try using jstack -l <JavaProcessId> |
Thank you for help. Unfortunately, I am not able to get the trace while the java process gets stuck – getting „access denied“ error regardless of running the Let me demonstrate my testcase:
JSignPDF starts in a GUI mode and it writes to CMD window as a console output:
In the second CMD window as a local admin:
OK. I got some output. Now I close the JSignPDF. Its window closes but
Try to run jstack:
Access denied error. Any clue? Did I something wrong? |
At first, thank you for a great SW.
Sometime it helps to press Ctrl+C to interrupt it but most of the time I need to close the whole window with
Command Prompt
.Any clue how to debug what is going wrong in a batch mode?
The text was updated successfully, but these errors were encountered: