Check the deployment of the OSLC Connect for Windchill Extension

If for some reasons, there is no new elements added to your Winchill to associate products and parts to your CLM work areas, or you don't find the graphic controls to link working artefacts like change requests to their CLM counterparts, then it's time to check the Installing the OSLC Connect for Windchill Extensions to Windchill section.

In this section, you'll learn how to check this deployment but also how to re-do, manually, some of the steps necessary to correctly execute the deployment.

Check from the Windchill user interface

A simple way to check the correct installation of the OSLC Connect for Windchill Extension is to use the Windchill Customization page, proceed this way:

  1. Connect to Windchill with Administrator credentials
  2. Click on the Browse menu on the left
  3. On the top icons bar, click on the Customization icon, it should be on the right
  4. Click on Tools
  5. You should get a list of clickable items, choose the first one, Action
  6. Then, locate the Action Model File field to enter Sodius-actionModels.xml, click Search

If the OSLC Connect for Windchill Extension are correctly installed, you should get a table with the following results:

Label Name Type
Attributes helpServiceProvider object
Configuration Association oslcConfigurationMenu part
Add Link to Artifact createOslcAdapterLink oslclink
Collaboration Links oslcadapterlinkInfoPage changeNotice
Delete Links deleteOslcAdapterLink oslclink
Delete Association deleteServiceProviderAssociation serviceproviderassociation
Collaboration Links oslcadapterlinkInfoPage part
Collaboration Links oslcadapterlinkInfoPage changeRequest
Create Association createServiceProviderAssociation serviceproviderassociation
Delete Configuration deleteOslcConfiguration oslcconfiguration
Refresh links refreshOslcAdapterLink oslclink
Add a Configuration createOslcConfiguration oslcconfiguration

Not seeing this table means the extensions are not correctly deployed. It's time to investigate a step further.

Note: if you don't see the Customization button, here is how Enable the PTC Windchill Customization tab.

Check Installation of the Extension files on the file system

This section is a check list to help you to get a status about the OSLC Connect for Windchill Extension deployment. Once done, send the results to the SodiusWillert development team, which will help you to fix this setup.

Visually confirm that the following folders and files are present in the Windchill application directory (typically C:\ptc\Windchill_11.0\Windchill):

Type Path Content
Folder /codebase/config/actions Sodius-actionModels.xml
Folder /codebase/netmarkets/javascript/sodius editServiceProviderWizard.js
Folder /codebase/netmarkets/javascript/util/jsfrags sodiusContextHelper.jsfrag
sodiusXhrPromise.jsfrag sodiusPolyfillPromise.jsfrag
Folder /codebase/netmarkets/jsp/sodius/oslc serviceprovider/createServiceProviderAssociation.jsp
Folder /sodius/config config.xml
Folder /sodius/properties/reg_adds
Folder tasks/com/sodius/oslc 27 XML files
File /sodius/lib/sodius-http.jar n/a
File /sodius/lib/com.sodius.windchill.oslc.extension*.jar n/a
File /sodius/lib/wink-json4j-1.2.1-incubating.jar n/a
File /sodius/lib/org.apache.commons.io_2.0.1.v201105210651.jar n/a

Visually confirm that the following file is present in the Windchill Apache HTTPServer conf directory (typically C:\ptc\Windchill_11.0\HTTPServer):

Type Path Content
File conf/conf.d/99-app-Windchill-OSLC-connect.conf n/a

Check the installation of the Extension action models and actions

For the Sodius-actionModels.xml and Sodius-actions.xml, check the Windchill user has sufficient privileges to read those files:

In case of a conflict with a preceding customer action model file, perform a merge of the extension action model file with the conflicting customer action model file, as described in Resolve OSLC Connect action model conflicts

Check the config.xml file

The config.xml file has XML that informs Windchill where to find the OSLC Connect for Windchill server and service. Check the adapter.root.url parameter has the correct URL value of your connector server. If not, modify it to reflect your correct setup.

For further information, see Referencing OSLC Connect for Windchill web application in the extension

Check the installation of the Extension tables in Windchill SQL Database

After the execution of the extension install script, the 3 Extension tables should be present in the Windchill database:

Table Name Table Description
OSLCLINK Table containing the links to Windchill Artifacts.
OSLCGLOBALCONFIGURATION Table containing the part to configuration associations.
OSLCPROJECTASSOCIATION Table containing the product associations to remote CLM projects.

Check out the Troubleshooting page OSLC Connect for Windchill Extension deployment with database errors.

Check the registration of the OSLC Connect for Windchill properties in Windchill file site.xconf

This step is automatically performed by the extensionInstall.xml Ant script.

The site.xconf file located at the root of Windchill Home folder can be opened to check that the Extension properties have been added.

Check the recombination of the windchill_all.js Source

This step is automatically performed by the extensionInstall.xml Ant script.

  1. Have Windchill recombine all its Javascript sources along with the OSLC Connect for Windchill Extension Javascript:

Check the registration of Spring MVC beans

Some components of the OSLC Connect for Windchill Extension rely on Spring MVC beans. This configuration should be automatically performed by the extensionInstall.xml ant script. To confirm proper execution of the script, examine the Sodius-configs.xml file for ChangeRequests and for Parts.

  1. View the following file: <Windchill>/codebase/config/mvc/Sodius-configs.xml
  2. Confirm that the following lines appear within the Spring MVC <beans></beans> XML element:
            <bean class="" />
            <bean class="" />
            <bean class="" />
            <bean id="" />

Now you've check your setup, send us your results, thanks.