Enabling Windchill Integration for MES
If you enabling Windchill Integration for MES on systems that have been upgraded or updated to Windchill 10.2 then you must first do the following:
|
You do not need to do this procedure if you are enabling Windchill Integration for MES on a fresh installation. In this case, see section Enabling below.
|
1. Open a Windchill shell.
2. Run the following command:
ant -f %WT_HOME%\codebase\com\ptc\windchill\esi\configure.xml configure.esi.mes.integration
Enabling
To install Windchill Integration for MES on a Windows system use the following procedure:
1. Launch Windchill PDMLink.
2. Navigate to > .
3. Open the Preference Management Utility.
4. Set the following preferences to Yes:
◦ To enable Windchill Integration for MES:
> >
◦ To enable Windchill Integration for MES – Proficy:
> >
Post Installation Instructions
To complete the installation of Windchill Integration for MES – Proficy complete the following procedures:
1. Ensure that all servers are started.
2. Load the new attributes by executing the following command from a Windchill shell:
windchill wt.load.LoadFromFile -d
<wt_home>\loadFiles\esi\ESITargetAttributesForTypes.xml
3. Load the new Windchill Integration for MES – Proficy distribution target type by executing the following command from a Windchill shell:
windchill wt.load.LoadFromFile -d <wt_home>/loadFiles/esi/ESIMESTarget.xml
4. Obtain a security certificate from Proficy server and install it on the Windchill machine. To install the security certificate use the following procedure:
a. From a command prompt enter mmc.
b. In the dialog that appears select > .
c. Select > .
d. Select Computer Account and click Next.
e. Select Local Computer and click Finish.
f. Browse to the following location: > > .
g. From the right-click menu select > . Browse to the given .cer file. Accept the default settings in the wizard and complete the importation of the certificate.
h. Restart your web browser and navigate to the following location: https://(ProficyServer Host):(Port) /SOAServer/SOAProject/PfMD/ExecutionService/IExecutionService?wsdl
5. Install the certificate into the trusted certificates store used by Windchill. To do this:
a. If ${JAVA_HOME}/jre/lib/security/jssecacerts does not exist, create a copy of ${JAVA_HOME}/jre/lib/security/cacerts and re-name it to “jssecacerts”
b. Import the certificate using the following command:
keytool -import -alias <some alias name> -file <path to certificate.cert> -storetype
jks -keystore ${JAVA_HOME}/jre/lib/security/jssecacerts
For example:
keytool -import -alias "GE Proficy Certificate" -file "D:\ptc\Proficy Security
Certificate\GEFanucCert\GEFanucCert.cer" -storetype jks -keystore
D:/ptc/Windchill_B14/Java/jre/lib/security/jssecacerts
6. Ensure that the new certificate exists in the list by executing the following command:
keytool -list -keystore ${JAVA_HOME}/jre/lib/security/jssecacerts
|
The default password for the keystore is changeit. JAVA_HOME refers to the java used by the Windchill server.
|
7. Restart all servers.