Jazz Forum Welcome to the Jazz Community Forum Connect and collaborate with IBM Engineering experts and users

ccm_upgrade.bat usage

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!

Thanks!

0 votes


Accepted answer

Permanent link
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

0 votes


5 other answers

Permanent link
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 teamserver.properties that indicate index file location:
The JFS indices (com.ibm.jfs.index.root.directory)
fulltext indices (com.ibm.team.fulltext.index.location)

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.

1 vote


Permanent link

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

Thanks!

The configuration files are merged successfully.

A notepad editor will be opened to let you verify the JTS teamserver.properties
file.
Verify that the Public URI root denoted by the com.ibm.team.repository.server.we
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
execution.

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:
http://publib.boulder.ibm.com/infocenter/clmhelp/V4r0/topic/com.ibm.jazz.install
.doc/topics/t_update_prepare_config.html

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


Step 1: Add tables
------------------

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

0 votes


Permanent link
Hi TM,

you are probably seeing https://jazz.net/jazz/web/projects/Jazz%20Foundation#action=com.ibm.team.workitem.viewWorkItem&id=215288

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.

0 votes


Permanent link

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

0 votes

Comments

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
 The help topics were corrected and the info center will be refreshed in the next release.

0 votes

Your answer

Register or log in 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.

Search context
Follow this question

By Email: 

Once you sign in you will be able to subscribe for any updates here.

By RSS:

Answers
Answers and Comments
Question details
× 2,357

Question asked: Aug 23 '12, 1:37 p.m.

Question was seen: 5,731 times

Last updated: Aug 31 '12, 1:24 p.m.

Confirmation Cancel Confirm