Overview
When installing Aurea Process (CX Process, Savvion or SBM) 2015 SP1, you run the setupSBM.cmd as part of the installation process and are seeing the following exception:
Exception in thread "main" java.lang.RuntimeException: Exception occured in <loadEncrypter()>
at com.savvion.sbm.util.PService.throwException(Unknown Source)
at com.savvion.sbm.util.PService.loadEncrypter(Unknown Source)
at com.savvion.sbm.util.PService.init(Unknown Source)
at com.savvion.sbm.util.PService.<init>(Unknown Source)
at com.savvion.sbm.util.PService.self(Unknown Source)
at com.savvion.sbm.util.SBMDatabase.readProperties(Unknown Source)
at com.savvion.sbm.util.SBMDatabase.<init>(Unknown Source)
at com.savvion.sbm.util.SBMDatabase.self(Unknown Source)
at com.savvion.sbm.rmt.core.RespositoryManager.prepareRepository(Unknown Source)
at com.savvion.sbm.rmt.core.BMRepository.parseCommand(Unknown Source)
at com.savvion.sbm.rmt.core.BMRepository.main(Unknown Source)
Caused by: java.lang.RuntimeException: Exception occured in <generateKey()>
at com.savvion.sbm.util.PServiceImpl.throwException(Unknown Source)
at com.savvion.sbm.util.PServiceImpl.generateKey(Unknown Source)
at com.savvion.sbm.util.PServiceImpl.init(Unknown Source)
at com.savvion.sbm.util.PServiceImpl.<init>(Unknown Source)
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:57)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
at java.lang.reflect.Constructor.newInstance(Constructor.java:526)
at java.lang.Class.newInstance(Class.java:374)
... 10 more
Caused by: java.security.NoSuchAlgorithmException: DES SecretKeyFactory not available
at javax.crypto.SecretKeyFactory.<init>(SecretKeyFactory.java:121)
at javax.crypto.SecretKeyFactory.getInstance(SecretKeyFactory.java:159)
... 18 more
Prerequisites
- Installing Aurea Process (SBM) 2015 SP1
- Websphere Application Server 8.5 (with embedded Java 7)
- Permissions to run the Websphere Application Server 8.5 Installation Manager
Information
Prior to running the Aurea Process 2015 SP1 installer, you will need to apply the fix for Java 7 provided by IBM via the Installation Manager for Websphere Application Server 8.5. Once the fix for Java 7 is applied to your Websphere Application Server, you can run the setupSBM command as part of the installation without error.
Note: If you have run the installer without applying the Java 7 fix to Websphere Application Server, you will notice that the Java Home value is not being picked up automatically when WebSphere is selected during the first run of the installer.
Once the Java 7 fix for Websphere Application Server is properly installed, you have to rerun the first setup which should pick the Java Home value pointing to the version of Java provided by the Websphere Application Server. After the installation is complete the setupSBM command will properly load the DES SecretKeyFactory.