We are migrating Symantec Identity Governance and Administration (IGA) from version 14.2 to version 14.4 on our client.
However, when importing the environment, the message "org.apache.jasper.JasperException java.lang.NullPointException" is displayed when consulting a Modification Admin Task screen, as shown below:
1- mx_ui.cmd script
We run the script and perform the mappings.
2- mx_userstore.cmd script
An error occurred during execution : java.lang.OutOfMemoryError
From CMD the following Error is Showed :
D:\migration-xpress-14.5.0>bin\mx_userstore.cmd -m OFFLINE -gpf conf\userstore.properties -umf conf\userstore.user.map gmf conf\userstore.group.map -omf conf\userstore.org.map
WARN StatusConsoleListener The use of package scanning to locate plugins is deprecated and will be removed in a future release
WARN StatusConsoleListener The use of package scanning to locate plugins is deprecated and will be removed in a future release
WARN StatusConsoleListener The use of package scanning to locate plugins is deprecated and will be removed in a future release
WARN StatusConsoleListener The use of package scanning to locate plugins is deprecated and will be removed in a future release
15:53:18.750 [main] INFO com.ca.tools.userstore.migration.StartConsole.61 - Userstore Migration Tool START 11/28/2023
15:53:18
15:53:18.766 [main] INFO
com.ca.tools.userstore.migration.StartConsole.62
15:53:18.766 [main] INFO com.ca.tools.userstore.migration.StartConsole.66 15:53:18.766 [main] INFO com.ca.tools.userstore.migration. ParsingUtils.53 15:53:18.766 [main] INFO com.ca.tools.userstore.migration. ParsingUtils.128 15:53:18.782 [main] INFO com.ca.tools.userstore.migration. ParsingUtils.143 15:53:18.782 [main] INFO com.ca.tools.userstore.migration. ParsingUtils.267
15:53:18.782 [main] INFO 15:53:18.782 [main] INFO
com.ca.tools.userstore.migration.Start Console.77
com.ca.tools.userstore.migration.StartConsole.94
15:53:18.782 [main] INFO com.ca.tools.userstore.migration. OfflineTool.110 .0\data\input.ldif...
-
-
MigrationXpress Build Number: 14.4.0.30 Validating the user inputs...
Reading the user input...
The running mode is set to: OFFLINE Reading the input properties files... Validating the input properties files... Migrating the LDAP trees...
Migrating the LDAP trees...
-
Reading LDIF file: D:\migration-xpress-14.9
Copying the tree's contents...
15:53:18.828 [main] INFO com.ca.tools.userstore.migration. OfflineTool.122 15:53:18.828 [main] INFO com.ca.tools.userstore.migration. OfflineTool.258 - Searching for users using the following object classes: [imUser] and filter: null
15:57:08.454 [main] INFO com.ca.tools.userstore.migration. ParsingUtils.404 - Execution Summary:
Warnings: 0
Errors: 0
Fatals: 0
15:57:08.454 [main] INFO com.ca.tools.userstore.migration.StartConsole.112 15:57:08
Exception in thread "main" java.lang.reflect.InvocationTargetException
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
Userstore Migration Tool - END 11/28/2023
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:498)
at org.springframework.boot.loader.MainMethodRunner.run(MainMethodRunner.java:48)
at org.springframework.boot.loader.Launcher.launch(Launcher.java:87)
at org.springframework.boot.loader. Launcher.launch(Launcher.java:50)
at org.springframework.boot.loader. Properties Launcher.main(Properties Launcher.java:593) Caused by: java.lang.OutOfMemoryError: GC overhead limit exceeded
at java.lang.AbstractStringBuilder.<init>(AbstractStringBuilder.java:68)
at java.lang.StringBuilder.<init>(StringBuilder.java:117)
at org.springframework.ldap.ldif.parser.LdifParser.getRecord (LdifParser.java:278)
at com.ca.tools.userstore.migration. Offline Tool.fetchAllUsers (Offline Tool.java:264)
at com.ca.tools.userstore.migration. Offline Tool.migrate Tree (Offline Tool.java:123) at com.ca.tools.userstore.migration.StartConsole.main(StartConsole.java:95) ... 8 more
IDM 14.2 , 14.4
Environment issue
1- The error java.lang.OutOfMemoryError was solved modifying the script mx_userstore.cmd as below.
D:\jdk8u372-b07\jre\bin\java.exe -Xmx8192m -cp %MX_JAR% %MX_PARAM% -gpf %MX_BASE%.properties -umf %MX_BASE%.user.map -gmf %MX_BASE%.group.map -omf %MX_BASE%.org.map %*
2- The userstore.properties file needed to be adjusted. Following parameters modified.
SourceFile=D:\\migration-xpress-14.5.0\\data\\input.ldif
TargetFile=D:\\migration-xpress-14.5.0\\data\\output.ldif
# Source env type vapp or non vapp
IsSourceEnvTypeVapp=false
# Base DN
SourceBaseDN=dc=mydomain,dc=com
TargetBaseDN=ou=im,ou=ca,o=com
# Environment
SourceIMEnvironmentName=identityenv
TargetIMEnvironmentName=identityEnv
# User mapping
# Object Class
TargetUserObjectClass=imUser
SourceUserObjectClass=cfperson
# Identity Policy attribute
SourceIdentityPolicyAttribute=street
TargetIdentityPolicyAttribute=imIdentityPolicies
# Group Mapping
SourceGroupObjectClass=groupOfUniqueNames
TargetGroupObjectClass=groupOfUniqueNames
# Members
# The DNs will be update according to the new base DN
SourceMember=uniqueMember
TargetMember=uniqueMember
# Owner
# The DNs will be update according to the new base DN
SourceOwner=onwer
TargetOwner=owner
## Containter handling
# User container
SourceUserContainer=ou=people
TargetUserContainer=ou=people
# Group container
SourceGroupContainer=ou=groups
TargetGroupContainer=ou=groups