Direkt zum Hauptbereich

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 **********

Kommentare

Beliebte Posts aus diesem Blog

Error: HPDMG0764E An internal error has occurred. (status 0x14c012fc)

Error: HPDMG0764E An internal error has occurred. (status 0x14c012fc) pdadmin sec_master> user create dg1234 uid=dg1234,cn=team1,cn=users,o=company lala lala ********** Could not perform the administration request Error: HPDMG0764E An internal error has occurred. (status 0x14c012fc) Description: After the upgrade from Policy Director (policy server) V5.1 to V6.0 the errors above occured when trying to write to the registry. Solution: The task of updating the ldap schema did not work well for some reason. After doing it again the errors did not occur again: # ivrgy_tool -d -h ldap_host -p port -D ldap_admin -w pwd schema

WebSphere Application Server LDAP: The administrative user ID does not exist in the user repository.

When you try to enable global security with ldap authentication you get the following error when configuring your ldap repository (IBM Directory Server): The administrative user ID does not exist in the user repository. Reason: The bind user must be searchable. This means that an ldapsearch with this user as bind user must return his own entry. If this does not work, you have to add an aclEntry: vi change-was7101-aclentry.ldif dn: uid=was7101,cn=mygroup,cn=admusr,o=mycomp aclentry: access-id:UID=WAS7101,CN=MYGROUP,CN=ADMUSR,O=MYCOMP:normal:rsc $ ldapmodify -h myhost -x -D "cn=root" -w ******* -f change-was7101-aclentry.ldif modifying entry "uid=was7101,cn=mygroup,cn=admusr,o=mycomp" Now user was7101 can do an ldapsearch to find itself and therefore you can use it to configure you LDAP repository. This article gave me the hint: http://www-01.ibm.com/support/docview.wss?rs=767&uid=swg21219253