Connector and 3DSearch URLs Contain Mismatching Domains

The connector provides this error message: Connector and 3DSearch URLs Contain Mismatching Domains

See Also
Connector Configuration
The allowedResourceDomains pattern does not seem to be valid

Condition

The connector performs access verification on the 3DEXPERIENCE platform. Typically the 3DPassport server runs on a host with the same domain as the rest of 3DEXPERIENCE platform. The connector automatically compares the domain portion of the 3DSearch URL to the domain portion of the SCM connector URL. If the domains do not match, manually add the domain for the 3DSearch to the XML configuration file that stores the connector configuration settings.

Cause

  • Enterprise IT defines the hosts on different domains internally
  • The connector host resides on the same LAN as the repositories but the 3DSearch server is in a different domain.
  • Cloud environments on the domain of “3ds.com” are covered by default, but any other domains used for cloud connections are not.

Solution: Manually Add the 3DSearch Domain to the Connector's XML Configuration File.

  1. Edit the connector XML file located in the TomEE directory:

    WEB-INF\3DSCM\scmdaemon.xml

  2. Add the domain to the allowed resource domain list:

    <allowedResourceDomains>^.*\.ABCo\.com$</allowedResourceDomains>

    Note: Only enter trusted domains into this file. Use \ to escape characters that could be processed as part of the regular expression, such as . which can be processed as a wildcard. This string must be a regular expression.

  3. Save the changes and restart the TomEE server.