It's all about the answers!

Ask a question

RM Upgrading problem on LPA to JTS


Rafael Hernandez (3222028) | asked Jan 14 '15, 5:07 p.m.
Hi everyone,

Im testing upgrading my CLM 4.0.6 to 5.0.2, when im in the Step 5  of RM upgrading, i get an error, this is the log file:

2015-01-14 16:02:04,111 CRJAZ2558I Setting the local server rename state to false and the openServerDescriptionServiceTemporarily state to false.
2015-01-14 16:02:09,248 CRJAZ1970I The application is configured with: 
  Public URI: "https://rm.colaboracionsimba.net:9443/rm"
  Jazz Team Server location: "https://jts.colaboracionsimba.net:9443/jts/"
2015-01-14 16:02:09,769 CRJAZ2523I Setting the global server rename state to false and the validation state to false.
2015-01-14 16:02:13,339 CRJAZ8192I: Full-text Index Location: C:\IBM\JazzTeamServer502\server\conf\rm\indices\_YyinoJuCEeS9RKaqhPcZYQ
2015-01-14 16:02:17,979 CRJAZ2105I Checking for a running server...
2015-01-14 16:02:18,357 The user "ADMIN" has logged in to the database "//xxxxxxxxx:1433;databaseName=rm;user=xxxxxxxx;password=xxxxxxxx".
2015-01-14 16:02:18,579 The user "ADMIN" has logged out of the database "//xxxxxxxxx:1433;databaseName=rm;user=xxxxxxxx;password=xxxxxxxx".
2015-01-14 16:02:18,581 
java.lang.IndexOutOfBoundsException
at java.util.Collections$EmptyList.get(Collections.java:92)
at com.ibm.team.lpa.app.migration.MigrateLPACommand.handleFriendsFile(MigrateLPACommand.java:229)
at com.ibm.team.lpa.app.migration.MigrateLPACommand.execute(MigrateLPACommand.java:143)
at com.ibm.team.repotools.command.AbstractCommand.execute(AbstractCommand.java:68)
at com.ibm.team.repotools.rcp.internal.RepositoryToolsApplication.run(RepositoryToolsApplication.java:816)
at com.ibm.team.repotools.rcp.internal.RepositoryToolsApplication.start(RepositoryToolsApplication.java:891)
at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:196)
at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:110)
at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:79)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:369)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:179)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:60)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:37)
at java.lang.reflect.Method.invoke(Method.java:611)
at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:620)
at org.eclipse.equinox.launcher.Main.basicRun(Main.java:575)
at org.eclipse.equinox.launcher.Main.run(Main.java:1408)
at org.eclipse.equinox.launcher.Main.main(Main.java:1384)
2015-01-14 16:02:18,582 CRJAZ1728E A Repository Tools error occurred. For more information, see this log file: C:\IBM\JazzTeamServer502\server\repotools-rm_mergeLPAJTS.log

I'm stuck in this step, any idea? 

Thanks in advance, 

Rafael Hernandez

2 answers



permanent link
Håkan Kristiansson (5114) | answered Jan 15 '15, 2:47 a.m.
I think this is too tricky to troubleshoot in the forum. I suggest you open a PMR with support. Send in all ugrade logs and if one has been generated, java core.


Comments
Rafael Hernandez commented Jan 19 '15, 6:15 p.m.

 I was checking the logs and i found that the step 4 failed, the error is this:


2015-01-13 21:12:56,566 CRJZS5586I Reindexing : Finished processing "triple live" indices for private applications in 10619110 ms 
2015-01-13 21:13:06,280 CRJZS5579I Reindexing : Deleting "triple history" indices for private applications ...
2015-01-13 21:29:32,534 CRJAZ1065I Failed to execute preInvoke.
java.lang.OutOfMemoryError: Java heap space

I think i dont have enough memory to create the index, any idea to increase JVM Heap Size while im running the upgrading script?

Thank you very much for your help


permanent link
Håkan Kristiansson (5114) | answered Jan 20 '15, 7:01 a.m.
You can add a system variable, REPOTOOLS_MX_SIZE to achive this.
https://jazz.net/help-dev/clm/index.jsp?re=1&topic=/com.ibm.jazz.install.doc/topics/r_repotools_reindex.html&scope=null

NOTE: The 5.0.2 manual contains an error when it says in the example "• Variable value: 2500M" "M" is already added by the script (the last letter in this line VMARGS="$VMARGS-Xmx${REPOTOOLS_MX_SIZE:-1500}M") Setting export (or if Windows in the system variable box) REPOTOOLS_MX_SIZE:-12288M (with "M) will generate an error:
"JVMJ9VM081W Malformed option value, option "-Xmx12288M" contains trailing characters "M" which have been ignored"

Your answer


Register or to post your answer.