Exception in thread "main" java.lang.NoClassDefFoundError: com/ibm/crypto/provider/IBMJCE and com/ibm/misc/CharacterEncoder
Exception in thread "main" java.lang.NoClassDefFoundError: com/ibm/crypto/provider/IBMJCE and com/ibm/misc/CharacterEncoder
Description: When trying to unconfigure the WPM (TAM Web Portal Manager) from V5.1 it did not find these clases:
Tivoli Access Manager Unconfiguration Menu
1. Access Manager Web Portal Manager Unconfiguration
2. Access Manager Runtime for Java Unconfiguration
3. Access Manager Authorization Server Unconfiguration
4. Access Manager Policy Server Unconfiguration
5. Access Manager Runtime Unconfiguration
x. Return to the Tivoli Access Manager Setup Menu Select the menu item [x]: 1
Enter the hostname of the Access Manager policy server machine []:
Enter the port number of the Access Manager policy server machine [7135]:
Enter the name for Tivoli Access Manager administrator [sec_master]:
Enter the password for Tivoli Access Manager administrator:
Exception in thread "main" java.lang.NoClassDefFoundError: com/ibm/crypto/provider/IBMJCE at com.tivoli.pd.jutil.bi.(bi.java:71) at com.tivoli.pd.jutil.PDContext.(PDContext.java:39) at com.tivoli.pd.jutil.PDContext.(PDContext.java:84) at com.tivoli.pd.jwpmcfg.cfgCmd.validUsr(cfgCmd.java:321) at com.tivoli.pd.jwpmcfg.cfgCmdPrompt.promptUsrInfo(cfgCmdPrompt.java:406) at com.tivoli.pd.jwpmcfg.cfgCmdPrompt.uncfgPrompt(cfgCmdPrompt.java:186) at com.tivoli.pd.jwpmcfg.AMwpmcfg.interactUnCfg(AMwpmcfg.java:321) at com.tivoli.pd.jwpmcfg.AMwpmcfg.main(AMwpmcfg.java:224)
***********************************************************
Tivoli Access Manager Unconfiguration Menu
1. Access Manager Web Portal Manager Unconfiguration
2. Access Manager Runtime for Java Unconfiguration
3. Access Manager Authorization Server Unconfiguration
4. Access Manager Policy Server Unconfiguration
5. Access Manager Runtime Unconfiguration
x. Return to the Tivoli Access Manager Setup Menu
Select the menu item [x]: 1
Enter the hostname of the Access Manager policy server machine []:
Enter the port number of the Access Manager policy server machine [7135]:
Enter the name for Tivoli Access Manager administrator [sec_master]:
Enter the password for Tivoli Access Manager administrator:Exception in thread "main" java.lang.NoClassDefFoundError: com/ibm/misc/CharacterEncoder Press Enter to continue.
Solution: Set JRE to PATH variable and missing JAR to CLASSPATH variable like this:
# export PATH=/usr/java14/jre/bin/:$PATH # export CLASSPATH=/usr/java14/jre/lib/ext/ibmjceprovider.jar
# /opt/PolicyDirector/sbin/amwpmcfg -host -port 7135 -action unconfig -admin_id sec_master -admin_pwd **********
Description: When trying to unconfigure the WPM (TAM Web Portal Manager) from V5.1 it did not find these clases:
Tivoli Access Manager Unconfiguration Menu
1. Access Manager Web Portal Manager Unconfiguration
2. Access Manager Runtime for Java Unconfiguration
3. Access Manager Authorization Server Unconfiguration
4. Access Manager Policy Server Unconfiguration
5. Access Manager Runtime Unconfiguration
x. Return to the Tivoli Access Manager Setup Menu Select the menu item [x]: 1
Enter the hostname of the Access Manager policy server machine [
Enter the port number of the Access Manager policy server machine [7135]:
Enter the name for Tivoli Access Manager administrator [sec_master]:
Enter the password for Tivoli Access Manager administrator:
Exception in thread "main" java.lang.NoClassDefFoundError: com/ibm/crypto/provider/IBMJCE at com.tivoli.pd.jutil.bi.
***********************************************************
Tivoli Access Manager Unconfiguration Menu
1. Access Manager Web Portal Manager Unconfiguration
2. Access Manager Runtime for Java Unconfiguration
3. Access Manager Authorization Server Unconfiguration
4. Access Manager Policy Server Unconfiguration
5. Access Manager Runtime Unconfiguration
x. Return to the Tivoli Access Manager Setup Menu
Select the menu item [x]: 1
Enter the hostname of the Access Manager policy server machine [
Enter the port number of the Access Manager policy server machine [7135]:
Enter the name for Tivoli Access Manager administrator [sec_master]:
Enter the password for Tivoli Access Manager administrator:Exception in thread "main" java.lang.NoClassDefFoundError: com/ibm/misc/CharacterEncoder Press Enter to continue.
Solution: Set JRE to PATH variable and missing JAR to CLASSPATH variable like this:
# export PATH=/usr/java14/jre/bin/:$PATH # export CLASSPATH=/usr/java14/jre/lib/ext/ibmjceprovider.jar
# /opt/PolicyDirector/sbin/amwpmcfg -host
Kommentare