Skip to main content
avillanueva
23-Emerald I
23-Emerald I
October 11, 2022
Solved

Standalone WindchillDS for 11.1 to 12.0.2 upgrade

  • October 11, 2022
  • 1 reply
  • 2673 views

I've read the many posts and articles on this topic and am prepping to setup my environment. I planned on using my index server to temporarily host an 11.2 WindchillDS instance for use with upgrade target and later switch to OpenDJ. Just running it heck of time getting this installed.

First issue was lack of space on /tmp, worked around that.

Next was it complaining about the Java version not being higher than 1.8.0_202:

Invalid Java version. Java 1.8.0_202+ is required. *Installation Directory for Java for Windchill:

however, I downloaded Amazon Corretto 1.8.0_342 (OpenJDK 64-Bit Server VM Corretto-8.342.07.4). Following CS344918 , I downloaded the latest CPS update (17) which has an updated version of WindchillDS in it. No dice. Still not letting PSI install standalone WindchillDS. Any other thoughts? 

Best answer by avillanueva

Yep, Removing the Java Options, suggested by cs178146 accepts the Java version. Now back to the original issue that admin setup my /tmp folder with hardly any space to complete install.  That should be easier issue to solve but strange that its not as simple to have PSI point tmp folder to another place.

1 reply

avillanueva
23-Emerald I
23-Emerald I
October 11, 2022

Ok, came across this: cs266753  I was using Java options to work around tmp size issue. Does not like that.  Digesting this.

avillanueva
23-Emerald I
avillanueva23-Emerald IAuthorAnswer
23-Emerald I
October 11, 2022

Yep, Removing the Java Options, suggested by cs178146 accepts the Java version. Now back to the original issue that admin setup my /tmp folder with hardly any space to complete install.  That should be easier issue to solve but strange that its not as simple to have PSI point tmp folder to another place.

avillanueva
23-Emerald I
23-Emerald I
October 12, 2022

I'll give it another try since I am waiting on IT to increase space. The setup script has this in it:

checkTemp()
{
 if ( test "$1" != "" -a -d "$1" -a -w "$1" ); then
 ptc_jre_tmp=$1
 ptc_installer_jres_dir=$ptc_jre_tmp/ptc_installer_jres
 fi
}

findTemp()
{
 ptc_jre_tmp=""
 checkTemp $TMP;
 if ( test "$ptc_jre_tmp" = "" ); then checkTemp "$TEMPDIR"; fi
 if ( test "$ptc_jre_tmp" = "" ); then checkTemp "$IATEMPDIR"; fi
 if ( test "$ptc_jre_tmp" = "" ); then checkTemp "/var/tmp"; fi
 if ( test "$ptc_jre_tmp" = "" ); then checkTemp "/tmp"; fi
 if ( test "$ptc_jre_tmp" = "" ); then
 echo "ERROR: Cannot locate a writable temporary directory to expand the Java VM into."
 echo " Please set the environment variable TMP to a temporary directory that may be written to by this user."
 exit 1
 fi

This appears to say look for variables in certain order to write to: TMP then TEMPDIR then IATEMPDIR ... finally defaulting to /tmp. I've tried setting those and following similar steps, I seem to always find folders created by installer in /tmp regardless of what I try.