Troubleshooting Digital Product Traceability
This section provides troubleshooting tips for some of the common problems that you may encounter when using Digital Product Traceability.
The following table lists the issues you may have identified, its possible causes, and any known corrective action you can take to resolve the issue. For further assistance, contact PTC Support.
* 
In case of any error, check the browser console logs.
Problem
Solution or Guidelines
Unable to connect to ThingWorx with the error message “Unable to connect to server. Contact your administrator.”
Ensure that the appropriate values are set for DPT ThingWorx properties com.ptc.twx.host, com.ptc.twx.protocol, and com.ptc.twx.port.
* 
In case of any error, check the method server logs.
Unable to connect to ThingWorx with the error message “Unable to connect to server”.
Ensure that the appropriate values are set for the property wt.properties.allowProps.
For example:
<AddToProperty name="wt.properties.allowProps" value="com.ptc.twx.host,com.ptc.twx.protocol,com.ptc.twx.port"/>
Unable to connect to server when creating traces using Add Traces.
Verify that ThingWorx is up and running.
Make sure that appropriate values are set for the Windchill properties. For more information, see the section related to Windchill properties in System Compatibility and Requirements.
Make sure that the Windchill server is added in CORS setting of ThingWorx server.
Unable to create traces using Add Traces with the error message “Not Authorized”.
Make sure correct user permissions are set in ThingWorx. For more information, see Default Permissions for ThingWorx Platform Entities.
Enable the following ThingWorx application loggers:
c.p.t.d.OslcDataServices
c.p.t.r.p.OslcResourceProviderProcessor
c.p.t.r.ProcessorHelper
Server or Resource value is not displayed in the Add Traces window.
Make sure that appropriate values are specified for the specific configuration reference Thing in ThingWorx. For more information, see Configuring the Windchill DPT Extension.
Make sure valid relationship constraints are specified for DPT trace links in Windchill Type and Attribute Management. For more information, see System Compatibility and Requirements.
Data loading in Select Context fails in Windchill.
Enable the following ThingWorx application loggers:
c.p.t.d.OslcDataServices
c.p.t.r.p.GetHeirarchyProviderProcessor
c.p.t.r.p.ResourceProviderProcessor
Fetching of remote information for remote column in Windchill fails.
Make sure ThingWorx service has passed
Enable the following ThingWorx application loggers:
c.p.t.d.OslcDataServices
c.p.t.r.p.ResourceProviderProcessor
c.p.t.r.ProcessorHelper
c.p.t.u.TraceLinksUtil
Enable the following Windchill logger:
com.ptc.mvc.components
Loading of small preview and OSLC delegated dialog fails.
Make sure Windchill server is added to allow list in all connected OSLC servers.
Creation of invalid resource.
Enable the following ThingWorx application logger:
c.p.t.r.p.ResourceProviderProcessor
c.p.t.r.p.ResourceValidator
c.p.t.r.p.ResourceBuilder
c.p.t.v.OslcValidationServices
Make sure that the validation flow thing is correctly tagged.
Make sure that the appropriate validation flow thing is invoked.
Make sure that a valid Terms value exists for the external OSLC server.
Make sure the correct Tag value is specified in the OSLCServerMappingConfigTable of the external OSLC server.
Make sure that the customized validation flow thing is working correctly using the following test validation flow service ValidateOslcFlow.The ValidateOslcFlowservice is located in the OslcValidationServicesThing.
Creation of valid resource fails with the error message “One or more of the selected resources are not of resource type {0}. Make a valid selection and try again”.
Enable the following ThingWorx application loggers:
c.p.t.r.p.ResourceProviderProcessor
c.p.t.r.p.ResourceValidator
c.p.t.r.p.ResourceBuilder
c.p.t.v.OslcValidationServices
Make sure that the validation flow thing is correctly tagged.
Make sure that the appropriate validation flow thing is invoked.
Make sure that a valid Terms value exists for the external OSLC server.
Make sure the correct Tag value is specified in the OSLCServerMappingConfigTable of the external OSLC server.
Make sure that the customized validation flow thing is working correctly using the following test validation flow service ValidateOslcFlow.The ValidateOslcFlowservice is located in the OslcValidationServicesThing.
Pagination for the external resource search picker in Search Result Table is not supported by PTC Modeler OSLC server.
Enable the following ThingWorx application logger:
c.p.t.d.OslcDataServices
c.p.t.r.p.GetQueryResultProcessor
Increase the page size.
Limit search criteria to narrow down the search result.
Codebeamer OSLC server does not support querying resources using multiple attributes in the Filter Criteria pane during a query-based search.
Enable the following ThingWorx application logger:
c.p.t.d.OslcDataServices
c.p.t.r.p.GetQueryResultProcessor
Use a single attribute as a filter criterion to narrow down the list of external resources in the Search Result Table.
* 
Query capability supports only a single filter criterion. The AND and OR operators are not supported. Only the = logical operator is supported.
DPT does not support Internet Explorer starting Windchill 12.1.0.0.
Use Microsoft Edge browser.
Unable to populate Codebeamer projects.
Contact Codebeamer administrator.
Unable to invoke reverse lookup service with the error message “ERROR: Internal Server Error. Contact your Administrator” on Remote Traces table.
Ensure that the correct values are set for the ReverseLookupURL, Method, and the TraceableURLPrefix attributes in the OSLCRemoteConfigTable.
Unable to fetch remote link information with the error message “ERROR: Internal Server Error. Contact your Administrator.” on the table row next to externally managed link.
Ensure that the attribute mapping for OSLCRemoteConfigTable is correct.
Unable to invoke reverse lookup service with the error message “ERROR: Internal Server Error. Contact your Administrator.” on the Remote Traces table.
Ensure that the correct value is set for the ConnectionObject attribute.
Unable to load data in the Trace To table.
Ensure that the correct value is set for the BaseUrl attribute.
Isto foi útil?