Skip to main content
1-Visitor
February 26, 2020
Question

After changing Provider URL to ldaps in info engine, Server service wont start

  • February 26, 2020
  • 1 reply
  • 1498 views

Hi,

After imported my CA Root using

keytool -import -alias MyRootCA -keystore "E:\PTC\Windchill_11.1\Java\jre\lib\security\cacerts" -file "C:\certs\MyRoot CA.cer"

I changed the provider URL to ldaps:// in the info engine

executed ant -f webAppConfig.xml regenAllWebApps

After restarting the Server service it wont start again.

error:

javax.naming.CommunicationException: <Server>:636 [Root exception is java.net.ConnectException: Connection refused: connect]

Now I can't login into info engine to reverse the changes.

Is there anyway to change the provider URL manually?

Thanks

1 reply

15-Moonstone
February 27, 2020

Yes you should be able to use the WindchillDS.

Navigate to configuration node and modify the appropriate JNDI Adapter to change the ldaps URL to ldap.

kennyg1-VisitorAuthor
1-Visitor
March 6, 2020

Hi Arpit-Singh , thank you for helping.

I tried that but it wont let me do the changes via WindchillDS see screenshot below.

 

WindchillDS JNDI Adapter issue.png

 

15-Moonstone
March 6, 2020

May be you could export, change the entry and import again.

Or

If you have another adapter that is already working,

  1. then remove this affected adapter from the wt.properties > wt.federation.org.directoryServices property and only have the adapter which is already working like the Enterprise Adapter.
  2. Make sure you have a user in this alternative adapter and is set as admin, You can even create a new user and add it in the Administrators group from the Windchill DS itself.
  3. Then restart windchill and try to login with this new user.
  4. Once you are login and you are an admin, make the appropriate changes via info-engine.

I know this is cumbersome but this is the best option available at this time.