Hello,
I am trying to rename a system and running into this problem. The system is a clone of production that will be a test system. Windchill 10.2 M030 CPS-11. The SQL Server and PTC Directory server are running, per the rehost documentation.
I have created the rehost.properties with the guidance of this document:
"How to rename Windchill 10.x using Rehosting Utility 3.0 in Windchill PDMLink"
https://support.ptc.com/appserver/cs/view/solution.jsp?n=CS249543
I have also tried the suggestions in this document:
"Rehost Utility throws error "ANT_HOME is set incorrectly", but ANT_HOME is actually set correctly for Windchill PDMLink 10.1"
https://support.ptc.com/appserver/cs/view/solution.jsp?n=CS121851
(which indicates it covers versions 10.1 thru 11)
The Rehost utility documentation says that it is not necessary to escape the characters anyway. I am using the windchill shell (get the same error when in a windows shell, fwiw).
I have made sure that I have a proper psi_iir file under my windows user profile that points to the installation. Check and doubled checked the values in the rehost.properties file against the site.xconf and db.properties. Tried a ton of different combinations of values. Used the new "test.prop.values.only" and "rehost.log.passwords". I never see any logging under buildlogs or the rehost utility directory. Set, reset, unset "ANT_HOME". Moved the utility to the same drive as the windchill installation. Rebooted. This is all I ever get:
E:\rehostMED-61138-CD-102_M010>rehost.bat conf\rehost.properties
usercase = rename
modules = InfoEngine,Database,Apache
apache.home = E:\PTC\Windchill\HTTPServer
wt.home = E:\PTC\Windchill
wt.usernam =
rehost.properties = E:\rehostMED-61138-CD-102_M010\conf\rehost.properties
setup env
wt_home =E:\PTC\Windchill
JAVA_HOME =E:\PTC\Windchill\Java
ANT_HOME is set incorrectly or ant could not be located. Please set ANT_HOME.
E:\rehostMED-61138-CD-102_M010>
BTW, I don't know why "wt.usernam" is not set. I have populated "target.wc.username". File comments from what I can tell that isn't required for what I am doing here.
I would welcome any suggestions from those who have this working and perhaps know the quirks or any tricks.
Regards,
MLS