It's all about the answers!

Ask a question

ccm_upgrade.bat usage

T M (8877188143) | asked Aug 23 '12, 1:37 p.m.

WAS as the app server. The usage as per the upgrade instructions in the Info center:

upgrade\ccm\ccm_upgrade.bat -oldApplicationHome "C:\IBM\ CCM_3.x \server\conf" -newJTSHome "C:\IBM\JTS_4.0\server\conf"  -oldJTSHome "C:\IBM\JTS _3.x \server\conf"

"-oldJTSHome" is a required parameter? ccm_upgrade.bat doesn't seem to take it!


Accepted answer

permanent link
Ralph Schoon (63.2k33646) | answered Aug 23 '12, 6:30 p.m.
Hi TM leave it out. I ran into the same issue and there is a work item against documentation I created. This applies to JTS, RTC and RQM. Try with the parameter first. If it complains leave it out. Sorry, about that, I had the same strange feeling you probably have, but if I left it out, everything worked like a charm.
T M selected this answer as the correct answer

5 other answers

permanent link
Rosa Naranjo (2.9k11623) | answered Aug 27 '12, 11:22 a.m.
edited Aug 27 '12, 11:26 a.m.
The part where the upgrade script provides this message is where it is trying to do something with your index files from your previous installation's (301x) configuration.  You will have to look at the 2 properties in that indicate index file location:
The JFS indices (
fulltext indices (

In order to avoid a re-index which can take a long time depending on the size of your repository, the upgrade script attempts to copy over your previous indices from the 301x to the 40 directory.  Since this is WAS, see the link below for a walkthrough example and some explanations on what to do based on whether you had a relative or an absolute directory path location for your property values above.

if you wish to avoid the access denied error, perhaps you need to run the cmd prompt as an Administrator.  If it still does not work, then proceed to handle the index files transfer and update of the index file locations for your 40 configuration MANUALLY.

As Ralph stated, you can continue with the next upgrade steps like addTables and just perform the copy manually.

See the CLM 2012 upgrade guide and search for 'index location' for more details and background info.

permanent link
T M (8877188143) | answered Aug 26 '12, 10:36 a.m.

Please see below. All the config files are merged successfully and I still get "Access denied" message. Why is this?


The configuration files are merged successfully.

A notepad editor will be opened to let you verify the JTS
Verify that the Public URI root denoted by the
bapp.url property is correct.
Verify that the database properties are correct.
When done, save your changes if any and close the editor to continue the script

Consult the 'Upgrading the Jazz Team Server and the CLM applications' topic of t
he InfoCenter
for information on how to properly configure each property:

Enter [C] to continue the execution or hit [Enter] to cancel the script executio
Access denied

Step 1: Add tables

Directory: "C:\IBM\JazzTeamServer_4.0\server"
    repotools-jts.bat -addTables

permanent link
Ralph Schoon (63.2k33646) | answered Aug 27 '12, 3:11 a.m.
Hi TM,

you are probably seeing

I ran into the same thing and I am not sure what it is, however, I was able to continue the upgrade and finished it successfully. I will try to get someone to look at the work item.

permanent link
T M (8877188143) | answered Aug 28 '12, 3:28 a.m.

Correct parameters:

upgrade\jts\jts_upgrade.bat -updateTomcatFiles=no -oldJTSHome "C:\IBM\JTS _3.x \server\conf"

upgrade\ccm\ccm_upgrade.bat -oldApplicationHome "C:\IBM\ CCM_3.x \server\conf" -newJTSHome "C:\IBM\JTS_4.0\server\conf" 

In the help, -oldJTSHome parameter is given to ccm_upgrade.bat rather than to jts_upgrade.bat

Ralph Schoon commented Aug 28 '12, 11:18 a.m.

Hi TM, please read Rosa's anser, if you did not already. Be aware that if the access denied happened, you have to manually copy the index files over. If you have proceeded to use your upgraded repos without doing this, you will probably have to run a reindex at some time.

permanent link
Michael Afshar (7014) | answered Aug 31 '12, 1:24 p.m.
 The help topics were corrected and the info center will be refreshed in the next release.

Your answer

Register or to post your answer.

Dashboards and work items are no longer publicly available, so some links may be invalid. We now provide similar information through other means. Learn more here.