TIBCO BusinessEvents (BE) be-engine on engine startup gives class not found of iaik/asn1/structures/AlgorithmID.

TIBCO BusinessEvents (BE) be-engine on engine startup gives class not found of iaik/asn1/structures/AlgorithmID.

book

Article ID: KB0087466

calendar_today

Updated On:

Products Versions
TIBCO BusinessEvents Enterprise Edition -
Not Applicable -

Description

Resolution:
Description:
=========
be-engine is unable to start because of a class loader error. See 'Symptoms' for full error stack.

Environment:
=========

Symptoms:
=========
2012 Oct 03 13:25:23:401 GMT -4 [. . .] Info [main] - [runtime.session] Registering Ontology Classes...
2012 Oct 03 13:25:24:602 GMT -4 [. . .] Error [main] - [root] Exception in thread "main"
2012 Oct 03 13:25:24:602 GMT -4 [. . .] Error [main] - [root] java.lang.NoClassDefFoundError: iaik/asn1/structures/AlgorithmID
2012 Oct 03 13:25:24:602 GMT -4 [. . .] Error [main] - [root]     at java.lang.ClassLoader.defineClass1(Native Method)
2012 Oct 03 13:25:24:602 GMT -4 [. . .] Error [main] - [root]     at java.lang.ClassLoader.defineClassCond(ClassLoader.java:632)
2012 Oct 03 13:25:24:602 GMT -4 [. . .] Error [main] - [root]     at java.lang.ClassLoader.defineClass(ClassLoader.java:616)
2012 Oct 03 13:25:24:617 GMT -4 [. . .] Error [main] - [root]     at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:141)
2012 Oct 03 13:25:24:617 GMT -4 [. . .] Error [main] - [root]     at java.net.URLClassLoader.defineClass(URLClassLoader.java:283)
2012 Oct 03 13:25:24:617 GMT -4 [. . .] Error [main] - [root]     at java.net.URLClassLoader.access$000(URLClassLoader.java:58)
2012 Oct 03 13:25:24:617 GMT -4 [. . .] Error [main] - [root]     at java.net.URLClassLoader$1.run(URLClassLoader.java:197)
2012 Oct 03 13:25:24:617 GMT -4 [. . .] Error [main] - [root]     at java.security.AccessController.doPrivileged(Native Method)
2012 Oct 03 13:25:24:617 GMT -4 [. . .] Error [main] - [root]     at java.net.URLClassLoader.findClass(URLClassLoader.java:190)
2012 Oct 03 13:25:24:617 GMT -4 [. . .] Error [main] - [root]     at sun.misc.Launcher$ExtClassLoader.findClass

Cause:
=========
This error is related to the Encryption software (PKCS) in the classpath or the Encryption options being specified. Searching the web one can find many reports of the same problem.  For instance, For example:
http://scn.sap.com/message/3833280 which importing iaik.jar. The cause is the missing jar file iaik.jar.

Resolution:
=========
Add the  iaik.jar to the CLASSPATH.

Issue/Introduction

TIBCO BusinessEvents (BE) be-engine on engine startup gives class not found of iaik/asn1/structures/AlgorithmID.