IBM Support

webMethods Knowlegebase : java.lang.SecurityException: Self-Integrity Check FAILED when access wm API as runnable JAR file (1725301)

Troubleshooting


Problem

The following error occurs, when running a Java Application as a runnable JAR file to access services remotely using the webMethods API- import com.wm.app.b2b.client*;

Exception in thread "main" java.lang.RuntimeException: Could not create an instance of an "iaik.security.ssl.IaikProvider". Perhaps the Toolkit is not configure

d properly: java.lang.SecurityException: Self-Integrity Check FAILED: java.lang.SecurityException: C:\xxxx.jar contains at least one unsigned class file -- xxx.class

at iaik.security.ssl.SecurityProvider.getSecurityProvider(Unknown Source)

at iaik.security.ssl.SSLContext.<init>(Unknown Source)

at iaik.security.ssl.SSLClientContext.<init>(Unknown Source)

at iaik.security.ssl.SSLClientContext.<init>(Unknown Source)

at com.wm.ext.iaik.IaikSecureSocket.setup(IaikSecureSocket.java:288)

at com.wm.ext.iaik.IaikSecureSocket.<init>(IaikSecureSocket.java:278)

at com.wm.net.socket.SocketFactories.getFactory(SocketFactories.java:45)

at com.wm.net.NetURLConnection.trySSLConnect(NetURLConnection.java:677)

at com.wm.net.NetURLConnection.httpsConnect(NetURLConnection.java:598)

at com.wm.net.NetURLConnection.connect(NetURLConnection.java:131)

at com.wm.net.HttpURLConnection.getOutputStream(HttpURLConnection.java:458)

at com.wm.net.HttpURLConnection.getOutputStream(HttpURLConnection.java:441)

at com.wm.app.b2b.client.Context.invoke(Context.java:1003)

at com.wm.app.b2b.client.Context.invoke(Context.java:939)

at com.wm.app.b2b.client.Context.connect(Context.java:576)

at com.wm.app.b2b.client.Context.connect(Context.java:530)

at ...

Error does not occur, when running the Java Application as a Class file.

Document Location

Worldwide

[{"Line of Business":{"code":"LOB77","label":"Automation Platform"},"Business Unit":{"code":"BU048","label":"IBM Software"},"Product":{"code":"SSVYEV","label":"IBM webMethods Integration"},"ARM Category":[{"code":"a8mKe00000000AQIAY","label":"webMethods Integration Server (PIE)"}],"ARM Case Number":"","Platform":[{"code":"PF025","label":"Windows XP Professional"}],"Version":"7.1.2"},{"Line of Business":{"code":"LOB77","label":"Automation Platform"},"Business Unit":{"code":"BU048","label":"IBM Software"},"Product":{"code":"SSFIWYE","label":"IBM webMethods B2B"},"ARM Category":[{"code":"a8mKe00000000AQIAY","label":"webMethods Integration Server (PIE)"}],"ARM Case Number":"","Platform":[{"code":"PF025","label":"Windows XP Professional"}],"Version":"7.1.2"},{"Line of Business":{"code":"LOB77","label":"Automation Platform"},"Business Unit":{"code":"BU048","label":"IBM Software"},"Product":{"code":"SSQG2X","label":"IBM webMethods Managed File Transfer"},"ARM Category":[{"code":"a8mKe00000000AQIAY","label":"webMethods Integration Server (PIE)"}],"ARM Case Number":"","Platform":[{"code":"PF025","label":"Windows XP Professional"}],"Version":"7.1.2"}]

Log InLog in to view more of this document

This document has the abstract of a technical article that is available to authorized users once you have logged on. Please use Log in button above to access the full document. After log in, if you do not have the right authorization for this document, there will be instructions on what to do next.

Document Information

Modified date:
20 March 2025

UID

ibm17218893