TIBCO BusinessEvents studio-tools utility on AIX failed with Execption: java.lang.ExceptionInInitializerError (java.lang.ClassNotFoundException: com.sun.net.ssl.internal.ssl.Provider)

TIBCO BusinessEvents studio-tools utility on AIX failed with Execption: java.lang.ExceptionInInitializerError (java.lang.ClassNotFoundException: com.sun.net.ssl.internal.ssl.Provider)

book

Article ID: KB0085947

calendar_today

Updated On:

Products Versions
TIBCO BusinessEvents Enterprise Edition -
Not Applicable -

Description

Resolution:

Description:
===========
studio-tools on AIX failed with Execption java.lang.ExceptionInInitializerError (java.lang.ClassNotFoundException: com.sun.net.ssl.internal.ssl.Provider)

Environment:
===========
TIBCO BusinessEvents 5.1.x
AIX systems

Symptoms:
=========
Exception:
!ENTRY org.eclipse.osgi 4 0 2013-10-02 11:35:31.176
!MESSAGE Application error
!STACK 1
java.lang.ExceptionInInitializerError
        at java.lang.J9VMInternals.initialize(J9VMInternals.java:222)
        at java.lang.Class.forNameImpl(Native Method)
        at java.lang.Class.forName(Class.java:139)
        at com.tibco.security.impl.new.Object.init(SecurityVendor.java:129)
        at com.tibco.security.impl.new.Object.init(SecurityVendor.java:85)
        at com.tibco.security.impl.new.OOoO.init(CryptoVendor.java:46)
        at com.tibco.security.impl.new.OOoO.getInstance(CryptoVendor.java:90)
        at com.tibco.security.Crypto.undo(Crypto.java:73)
        at com.tibco.security.ObfuscationEngine.decrypt(ObfuscationEngine.java:319)
        at com.tibco.security.ObfuscationEngine.encrypt(ObfuscationEngine.java:277)
        at com.tibco.be.util.packaging.descriptors.impl.NameValuePairPassword.charArrayToEncryptedString(NameValuePairPassword.java:45)
        at com.tibco.be.util.packaging.descriptors.impl.NameValuePairPassword.&ltinit>(NameValuePairPassword.java:35)
        at com.tibco.cep.studio.core.util.Utils.a(Unknown Source)
        at com.tibco.cep.studio.core.util.Utils.getSubstitutionVariablesAsDescriptor(Unknown Source)
        at com.tibco.cep.studio.core.util.packaging.impl.EMFEarPackager.setGlobalVars(Unknown Source)
        at com.tibco.cep.studio.core.util.packaging.impl.EMFEarPackager.close(Unknown Source)
        at com.tibco.cep.studio.cli.studiotools.BuildEarCLI.runOperation(Unknown Source)
        at com.tibco.cep.studio.cli.studiotools.StudioCommandLineInterpreter.executeCommandLine(Unknown Source)
        at com.tibco.cep.studio.cli.studiotools.StudioCommandLineInterpreter.main(Unknown Source)
        at com.tibco.cep.studio.cli.studiotools.StudioToolsApplication.start(Unknown Source)
        at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:196)
        at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:110)
        at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:79)
        at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:344)
        at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:179)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:60)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:37)
        at java.lang.reflect.Method.invoke(Method.java:611)
        at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:622)
        at org.eclipse.equinox.launcher.Main.basicRun(Main.java:577)
        at org.eclipse.equinox.launcher.Main.run(Main.java:1410)
        at org.eclipse.equinox.launcher.Main.main(Main.java:1386)
Caused by: java.lang.RuntimeException: cannot find JSSE security provider com.sun.net.ssl.internal.ssl.Provider: java.lang.ClassNotFoundException: com.sun.net.ssl.internal.ssl.Provider
        at com.tibco.security.providers.SecurityVendor_j2se.&ltclinit>(SecurityVendor_j2se.java:70)
        at java.lang.J9VMInternals.initializeImpl(Native Method)
        at java.lang.J9VMInternals.initialize(J9VMInternals.java:200)
        ... 32 more
Caused by: java.lang.ClassNotFoundException: com.sun.net.ssl.internal.ssl.Provider
        at java.lang.Class.forName(Class.java:172)
        at com.tibco.security.providers.SecurityVendor_j2se.&ltclinit>(SecurityVendor_j2se.java:68)
        ... 34 more

Cause:
======
AIX uses IBM JRE whcich requires IBM as the security provider.

Resolution:
===========
update/add property below in studio-tools.tra

java.property.TIBCO_SECURITY_VENDOR=ibm

Issue/Introduction

TIBCO BusinessEvents studio-tools utility on AIX failed with Execption: java.lang.ExceptionInInitializerError (java.lang.ClassNotFoundException: com.sun.net.ssl.internal.ssl.Provider)