AnsweredAssumed Answered

AFX SSL Installation Error

Question asked by Steve Alexandre on Sep 18, 2019
Latest reply on Feb 4, 2020 by Almos Kovacs



When I try to install the AFX Server, I have an error :


[root@akhenaton deploy]# ./ -q
Current value JAVA_HOME=/etc/alternatives/java_sdk_openjdk
/etc/alternatives/java_sdk_openjdk directory is present
New value JAVA_HOME=/etc/alternatives/java_sdk_openjdk
Installation started on Wed Sep 18 10:38:04 UTC 2019

QUIET mode specified. User prompts will be disabled.
Setting MULE_HOME to /home/oracle/AFX/esb...

Expanding AFX server archive to /tmp/AFX...

Configuring AFX environment script...

Configuring SSL Certificates for AFX Server...
Args: createclient afx.localhost.localdomain /tmp/AFX/esb/conf
Error: A JNI error has occurred, please check your installation and try again
Exception in thread "main" java.lang.NoClassDefFoundError: org/bouncycastle/jce/provider/BouncyCastleProvider
at java.lang.Class.getDeclaredMethods0(Native Method)
at java.lang.Class.privateGetDeclaredMethods(
at java.lang.Class.privateGetMethodRecursive(
at java.lang.Class.getMethod0(
at java.lang.Class.getMethod(
at sun.launcher.LauncherHelper.validateMainClass(
at sun.launcher.LauncherHelper.checkAndLoadMain(
Caused by: java.lang.ClassNotFoundException: org.bouncycastle.jce.provider.BouncyCastleProvider
at java.lang.ClassLoader.loadClass(
at sun.misc.Launcher$AppClassLoader.loadClass(
at java.lang.ClassLoader.loadClass(
... 7 more

FATAL ERROR!! Failed to create SSL certificate for AFX server using Aveksa CA

FAILURE!! AFX installation FAILED due to FATAL ERRORS on Wed Sep 18 10:38:09 UTC 2019

Please see /tmp/afx-install.log for more information.