Skip to main content
1-Visitor
August 2, 2011
Question

Upgrademanager and WindchillDS

  • August 2, 2011
  • 5 replies
  • 1223 views

I have had a consistent issue with the upgrademanager in that when it is done and it claims to be successful I cannot get windchill to start.


I get the following message in the server logs


main: Nested exception is: wt.util.WTException: com.infoengine.exception.adapter.IEAdapterException; nested exception is:
main: javax.naming.InvalidNameException: null: [LDAP: error code 34 - The provided value "null" could not be parsed as a valid distinguished name because it contained an RDN containing an empty attribute name]; remaining name 'null'


I check WindchillDS and find the configuration node is blank.


Towards the very end of the upgrademanager log it lists the following


Task PENDING: Removing Source Configuration Node
Task EXECUTING: Removing Source Configuration Node
Task SUCCEEDED: Removing Source Configuration Node



After I import a ldif file that was exported just before the upgrade manager is run, everything works fine.


Has any body else had this happen?


Joe


Upgrading from WI9.1 M050 to WI10.0 M010


5 replies

1-Visitor
August 2, 2011
Joe,

What is the value of the below property in your ieStructProperties.txt file located in /codebase/WEB-INF? Check to see if it is pointing to the fully qualified domain name of the machine you are running Windchill on.

Thanks

Alexius C. Chukwuka
IT Analyst, Global SAP Basis - TCM
Deere & Company World Headquarters
400 19th St, Moline, IL 61265
1-Visitor
August 2, 2011
Additionally, did you create a new base DN during the installation of the target?

Alexius C. Chukwuka
IT Analyst, Global SAP Basis - TCM
Deere & Company World Headquarters
400 19th St, Moline, IL 61265
colmacpro1-VisitorAuthor
1-Visitor
August 2, 2011

1. The property values from the ieStructProperties.txt file is listed below and looks correct.


ie.ldap.managerDn=cn\=Manager
ie.ldap.managerPw=encrypted.ie.ldap.managerPw
ie.ldap.propertyBaseDn=cn\=configuration,cn\=Windchill,o\=ptc
ie.ldap.serverHostName=svr-wlink555.companyname.com
ie.ldap.serverPort=389
ie.ldap.serviceName=


2. The base DN is the same for source and target



cn=configuration,cn=Windchill,o=ptc


ou=people,cn=AdministrativeLdap,cn=Windchill,o=ptc


ou=people,cn=EnterpriseLdap,cn=Windchill,o=ptc


Joe

1-Visitor
August 2, 2011
Since you are already using WindchillDS in 9.1 M060, did you choose the option to "Configure to and existing instance" when setting up the target WindchillDS? There is also a pre-upgradeManager sections that list what needs to be done with LDAP "Importing Source LDAP Using Command Line".

Alexius C. Chukwuka
IT Analyst, Global SAP Basis - TCM
Deere & Company World Headquarters
400 19th St, Moline, IL 61265
colmacpro1-VisitorAuthor
1-Visitor
August 2, 2011

The target was a complete Install including the WindchillDS server. I imported the ldif as specified in the section you mentioned.


Joe