Pheox - Forums
  [Search] Search   [Recent Topics] Recent Topics   [Hottest Topics] Hottest Topics   [Top Downloads] Top Downloads   [Groups] Back to home page 
[Register] Register /  [Login] Login 

Problems with evaluation JCAPI RSS feed
Forum Index » General Issues
Author Message
smari aymen

Visitor

Joined: Jan 8, 2009
Messages: 1
Offline
Hi,

I've installed an evaluation copy of JCAPI and wrote a simple Java test program to see how it worked and see that it does work. The evaluation worked fine in a standalone application , allowing me to load and print out the contents of the certificates from a usb token. However, when I tried to use it in our aweb application we get this exception:

java.lang.ExceptionInInitializerError
Caused by: java.security.ProviderException: Verification of JCAPI JAR file integrity failed.
Reason: null
at com.pheox.jcapi.f.g(Unknown Source)
at com.pheox.jcapi.JCAPIProvider.init(Unknown Source)
at com.pheox.jcapi.JCAPIProvider.<clinit>(Unknown Source)
... 60 more


We are quite interested in your product, but only if we can get it to work.
It is clear that the third party provided obfuscation solution causes this problem so can you give us an upgrated jar to test it in our web application (deployed on tomcat).


Thanks,
SMARI AYMEN
tommy

Visitor

Joined: May 30, 2005
Messages: 148
Offline
Hi Smari,

This has nothing to do with the obfuscation applied onto the JCAPI.dll file. The DLL has not yet been dynamically linked into the JVM process when your exception occur.
Your problem comes from either of two reasons:
1. The file jcapi.jar have been tampered with.
2. In internal unknown error in JCAPI never discovered earlier has occurred.

Can you please supply us the following information:
1. The jcapi.jar file you are using (just attach it to this forum thread).
2. The output from executing method JCAPIUtil.getEnvironmentInfo() from within a Java app. For more info, see page 35 in the JCAPI User's Guide.
3. The version of your Tomcat installation.
4. A minimal WAR file which triggers this error.
5. Any other additional information which can help us to solve this problem, for example any special settings used for Tomcat or Java.

We will try to get as close as possible to emulate your environment in order to reproduce your problem.

Thanks.

Regards,
Tommy
 
Forum Index » General Issues
Go to:   
Mobile view
Powered by JForum 2.8.3 © 2023 JForum Team • Maintained by Andowson Chang and Ulf Dittmer