Not Able to Migrate New LDAP Users Due to Userid Contains a Space (Doc ID 853038.1)

Last updated on AUGUST 21, 2016

Applies to:

Oracle Agile PLM Framework - Version 9.2.2.4 and later
Information in this document applies to any platform.
***Checked for relevance 16-January-2013***

Symptoms

Not able to migrate new LDAP

Error in OC4J log  :"ERROR com.agile.admin.client.value.AdminException: ( ) is not a valid value for User ID. Only (All Characters without space and Mixed Case) values are valid.at com.agile.admin.server.AdminUtil.buildInvalidException(AdminUtil.java:702)
at com.agile.admin.server.AdminUtil.validateStdAllString(AdminUtil.java:645)
at com.agile.admin.server.AdminUtil.validateString(AdminUtil.java:412)
at com.agile.admin.server.ADAtt.validateString(ADAtt.java:2150)
at com.agile.pc.cmserver.base.CMAttInfo.validateString(CMAttInfo.java:521)
at com.agile.pc.cmserver.base.BaseService.createObjectByNumber(BaseService.java:1216)
at com.agile.pc.cmserver.user.UserService.batchCreateUsers(UserService.java:358)
at com.agile.upgrade.ldap.Migration.doIt(Migration.java:253)
at com.agile.upgrade.ldap.Migration.updateUsersFromLdap(Migration.java:95)
at com.agile.pc.cmserver.user.UserService.updateUsersFromLdap(UserService.java:214) "

After 5 minutes, ! Java.lang.string appears

The Java Console shows
oracle.oc4j.rmi.OracleRemoteException: java.lang.ClassCastException: java.lang.String
at com.evermind.server.ejb.EJBUtils.getUserException(EJBUtils.java:346)
at com.evermind.server.ejb.interceptor.system.AbstractTxInterceptor.convertAndHandleMethodException(AbstractTxInterceptor.java:69)
at com.evermind.server.ejb.interceptor.system.TxRequiredInterceptor.invoke(TxRequiredInterceptor.java:52)
at com.evermind.server.ejb.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:119)
at com.evermind.server.ejb.interceptor.system.DMSInterceptor.invoke(DMSInterceptor.java:52)
at com.evermind.server.ejb.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:119)
at com.evermind.server.ejb.InvocationContextPool.invoke(InvocationContextPool.java:55)
...
Nested exception is:
java.lang.ClassCastException: java.lang.String
at com.agile.upgrade.ldap.Migration.getStrUserIDs(Migration.java:376)
at com.agile.upgrade.ldap.Migration.doIt(Migration.java:256)
at com.agile.upgrade.ldap.Migration.updateUsersFromLdap(Migration.java:95)
at com.agile.pc.cmserver.user.UserService.updateUsersFromLdap(UserService.java:214)
at com.agile.pc.cmserver.user.UserSessionBean.updateUsersFromLdap(UserSessionBean.java:1514)

Cause

Sign In with your My Oracle Support account

Don't have a My Oracle Support account? Click to get started

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms