Unable to generate an encrypted password for eaijavaplugin.properties file
book
Article ID: KB0070081
calendar_today
Updated On:
Products
Versions
TIBCO iProcess Technology Plug-ins
11.8.0, 11.9.0
Description
The script provided in the TIBCO iProcess Technology Plug-ins documentation for generating a newly encrypted password to be set in the eaijavaplugin.properties file produces an error. Below is the script and the resulting error:
Script #!/bin/ksh swdir=/tibco/hardikipe1180 java=$SWDIR/java/bin/java cp=$SWDIR/eaijava/libs/bootstrap/log4j-api-2.11.1.jar set cp=$cp:$SWDIR/eaijava/libs/bootstrap/log4j-core-2.11.1.jar set cp=$cp:$SWDIR/eaijava/libs/bootstrap/tiblog.jar cp=$cp:$SWDIR/eaijava/libs/repository/system/crypto.jar cp=$cp:$SWDIR/eaijava/libs/repository/plugin/common_utils_library.jar $java -cp $cp com.staffware.integration.utils.java.library.encrypt.DESEncrypterEx $
Error: Exception in thread "main" java.lang.NoClassDefFoundError: com/tibco/logging/TIBLogger at com.staffware.integration.utils.java.library.encrypt.DESEncrypter.initLog4jConsoleAppenderStderr(DESEncrypter.java:76) at com.staffware.integration.utils.java.library.encrypt.DESEncrypterEx.main(DESEncrypterEx.java:24) Caused by: java.lang.ClassNotFoundException: com.tibco.logging.TIBLogger at java.base/jdk.internal.loader.BuiltinClassLoader.loadClass(BuiltinClassLoader.java:581) at java.base/jdk.internal.loader.ClassLoaders$AppClassLoader.loadClass(ClassLoaders.java:178) at java.base/java.lang.ClassLoader.loadClass(ClassLoader.java:521) ... 2 more
Issue/Introduction
Unable to generate an encrypted password for eaijavaplugin.properties file
Environment
TIBCO iProcess TechPlugins 11.8.x ,11.9.x
UNIX Operating System
Resolution
The Unix example script incorrectly has 'set',which is for Windows systems, in two of the classpath definitions. To resolve the error perform the following:
1. Remove the set command from the beginning of both lines as below
2. Invoke your script by typing the name you have given it at the command prompt. 3. Type the database password. The password is not echoed to the screen; the characters that you type are replaced by asterisks. 4. The encrypted password is then displayed. You can copy this into your response file as the value of the SWDatabasePasswordEncrypted keyword.