Integrazione con altre applicazioni > Gestione di software integrato > Integrazione dei componenti aggiuntivi per la gestione della configurazione del software > Installazione e configurazione > Installazione e configurazione del client > Installazione e configurazione di IBM Rational ClearCase > Procedure di manutenzione > Come riconfigurare l'adattatore IBM Rational ClearCase
  
Come riconfigurare l'adattatore IBM Rational ClearCase
Riconfigurare gli adattatori IBM Rational ClearCase dopo avere ricreato gli adattatori IBM Rational ClearCase, incluso l'adattatore di default, nell'utilità Amministrazione adattatori.
* 
Per istruzioni su come ricreare gli adattatori IBM Rational ClearCase, incluso l'adattatore di default, fare riferimento a Creazione di un adattatore.
Questo passo è richiesto se l'utente ha eseguito le operazioni descritte di seguito.
Migrazione del contenuto di IBM Rational ClearCase 9.x all'ultima release di Windchill 10.2.
Aggiornamento da Windchill 9.x a Windchill 10.2.
Aggiornamento da Windchill 10.0 F000 o MOR all'ultima release di Windchill 10.2.
1. Accedere alla pagina Software scaricabile dall'elenco a discesa Link rapidi di Windchill.
2. Copiare il file cc.zip dalla pagina dei download del software di PTC sul computer client.
3. Copiare il file startCCADapter.bat presente nell'archivio cc.zip nella directory < ADAPTER_HOME >.
4. Modificare il file startCCADapter.bat.
5. Specificare i seguenti valori:
ADAPTER_HOME: specificare la directory in cui sono stati estratti tutti i file jar dall'archivio cc.zip. Ad esempio:
set ADAPTER_HOME=D:\SCMI-OOP
JAVA_HOME: specificare la posizione di JDK sul computer in cui risiede l'adattatore. Sul computer client deve essere installato JDK versione 1.7. Ad esempio:
set JAVA_HOME=c:\jdk\jdk1.7_0
* 
Verificare inoltre che IEPROPFILE, IEMYNAME e IENAMINGSERVICENAME dispongano di valori corretti come descritto nei commenti del file startCCAdapter.bat.
Ad esempio:
set JAVA_HOME=c:\jdk\jdk<version number>
ADAPTER_NAME: specificare il nome dell'adattatore creato in Windchill.
Ad esempio:
set ADAPTER_NAME=$WC.com.ptc.swlink.scm.defaultAdapter$
* 
Verificare inoltre che IEPROPFILE e IENAMINGSERVICENAME dispongano di valori corretti come descritto nei commenti del file startCCAdapter.bat.
install.jar: aggiungere il file install.jar al percorso di classe, nella posizione in cui sono stati impostati tutti i percorsi di classe.
Ad esempio:
set CLASSPATH=%SCM_HOME%\install.jar;%CLASSPATH%
set CLASSPATH=%SCM_HOME%;%CLASSPATH%
wt.home. aggiungere una proprietà wt.home al comando java sotto il commento
“rem The following line starts the scm adapter as a standalone process".
Ad esempio:
%JAVA_HOME%\bin\java.exe -cp "%CLASSPATH%" -DpropFile="%IEPROPFILE%"
-DruntimeServiceName="%ADAPTER_NAME%" -DserviceName="%ADAPTER_NAME%"
-DnamingServiceName="%IENAMINGSERVICENAME%"
-Dwt.home="%SCM_HOME%" com.ptc.windchill.scm.adapter.clearcase.
CcMultithreadedAdapter
File startCCAdapter.bat di esempio:
@echo off
rem Start up script for Windchill Integrations for
rem Embedded Software IBM Rational ClearCase Adapter

rem *****************************************
rem User configured properties
rem set JAVA_HOME to the install location of the JDK
set JAVA_HOME=
rem set ADAPTER_HOME to the directory where the file cc.zip was extracted
set ADAPTER_HOME=
rem ADAPTER_NAME should be the set to the name the ClearCase adapter that you created
rem in Windchill Integrations for Embedded Software.
set ADAPTER_NAME=$WC.com.ptc.swlink.scm.defaultAdapter$
rem *****************************************

rem IEPROPFILE should look like..
rem ldap://cn=manager:manager@test.ptc.com/dc=IeProps,dc=test...
rem and should be the same as 'seeAlso' value seen in the file
rem WT_HOME\codebase\WEB-INF\ie.properties
set IEPROPFILE=$WC.com.ptc.swlink.scm.iepropfile$
rem IENAMINGSERVICENAME should be the same as the value of
rem wt.federation.ie.namingService
rem in WT_HOME\codebase\wt.properties
set IENAMINGSERVICENAME=$WC.com.ptc.swlink.scm.ccConfig.host2$.namingService
set SCM_HOME=%ADAPTER_HOME%
set CLASSPATH=%JAVA_HOME%\lib\tools.jar;%CLASSPATH%
set CLASSPATH=%SCM_HOME%\servlet.jar;%CLASSPATH%
set CLASSPATH=%SCM_HOME%\ie3rdpartylibs.jar;%CLASSPATH%
set CLASSPATH=%SCM_HOME%\ieWeb.jar;%CLASSPATH%
set CLASSPATH=%SCM_HOME%\jmxcoreWeb.jar;%CLASSPATH%
set CLASSPATH=%SCM_HOME%\wc3rdpartylibs.jar;%CLASSPATH%
set CLASSPATH=%SCM_HOME%\CommonCore.jar;%CLASSPATH%
set CLASSPATH=%SCM_HOME%\MetaSpecCommon.jar;%CLASSPATH%
set CLASSPATH=%SCM_HOME%\cc.jar;%CLASSPATH%
set CLASSPATH=%SCM_HOME%\install.jar;%CLASSPATH%
set CLASSPATH=%SCM_HOME%;%CLASSPATH%
title SCM Adapter
echo -------------------------------------------------------------------------------
echo Starting SCM Adapter
echo.
echo JAVA_HOME = %JAVA_HOME%
echo ADAPTER_HOME = %ADAPTER_HOME%
echo ADAPTER_NAME = %ADAPTER_NAME%
echo.
echo CLASSPATH = %CLASSPATH%
echo.
if not exist %JAVA_HOME%\bin\java.exe (
echo ERROR: Cannot find Java command - check JAVA_HOME value
echo.
pause
exit
)
if not exist %ADAPTER_HOME% (
echo ERROR: %ADAPTER_HOME% does not exist - check ADAPTER_HOME value
echo.
pause
exit
)
rem The following line starts the scm adapter as a standalone process
rem %JAVA_HOME%\bin\java.exe -cp "%CLASSPATH%" -DpropFile="%IEPROPFILE%"
rem -DruntimeServiceName="%ADAPTER_NAME%" -DserviceName="%ADAPTER_NAME%"
rem -DnamingServiceName="%IENAMINGSERVICENAME%" -Dwt.home="%SCM_HOME%"
rem com.ptc.swlink.scm.adapter.clearcase.CcMultithreadedAdapter
pause
6. Utilizzando il file startCCAdapter.bat, avviare l'adattatore IBM Rational ClearCase sul computer in cui risiede.
7. Dopo l'avvio dell'adattatore IBM Rational ClearCase, avviare il server Windchill, motore servlet. Gli adattatori sono ora configurati correttamente e in esecuzione in modalità remota.