That helped. Thanks. Also, I tried to install WC as oracle user instead of root. However, a new error comes up now: WC loader failed. So, here we go again...
DEBUG 2012-06-13 11:24:29 - apache appears to be down. Starting it...
DEBUG 2012-06-13 11:24:29 - Starting Apache...
DEBUG 2012-06-13 11:24:29 - Executing command: /opt2/ptc/Windchill_10.0/Apache/bin/apachectl -k start
DEBUG 2012-06-13 11:24:29 - Executing: /opt2/ptc/Windchill_10.0/Apache/bin/apachectl -k start
DEBUG 2012-06-13 11:24:31 - socket connect to localhost:2080 completed with no error
DEBUG 2012-06-13 11:24:31 - Checking if web service is running...
DEBUG 2012-06-13 11:24:31 - checking URL connection to http://localhost.localdomain:2080 ...
DEBUG 2012-06-13 11:24:31 - apache running at http://localhost.localdomain:2080
DEBUG 2012-06-13 11:24:31 - Apache seems to be running.
INFO 2012-06-13 11:24:31 - Loader command: /opt2/ptc/Windchill_10.0/Windchill/bin/windchill --java=/opt2/ptc/Windchill_10.0/Java/bin/java --javaargs=-Dwt.load.installer.serverManagerTimeout=300 wt.load.WindchillLoader -All -Unattended -AbortOnError -Locale=en -User=wcadmin -Password=wcadmin
INFO 2012-06-13 12:02:59 - joining with std out thread
INFO 2012-06-13 12:03:04 - std out join complete.
INFO 2012-06-13 12:03:04 - joining with std error thread
INFO 2012-06-13 12:03:04 - std err join complete.
FATAL 2012-06-13 12:03:05 - Windchill loader exited with error status = 1
DEBUG 2012-06-13 12:03:17 - Installation is Aborting. The installation cannot continue.
DEBUG 2012-06-13 12:03:24 - Installation is Aborting. The installation cannot continue.
FATAL 2012-06-13 12:15:51 - Aborting installation.
FATAL 2012-06-13 12:15:51 - Installation is Aborting. The installation cannot continue.
FATAL 2012-06-13 12:15:51 - Windchill Loader failed.
FATAL 2012-06-13 12:15:51 - aborting: original exit_code = 2
FATAL 2012-06-13 12:15:51 - aborting: normalized exit_code = 2
DEBUG 2012-06-13 12:15:53 - SHUTDOWN REQUESTED
DEBUG 2012-06-13 12:15:53 - (X) commiting registry
DEBUG 2012-06-13 12:15:56 - (X) shutting down service manager
DEBUG 2012-06-13 12:15:57 - (X) cleaning up temporary directories
DEBUG 2012-06-13 12:15:57 - Exiting with exit code: 2
DEBUG 2012-06-13 12:16:05 - java.lang.NullPointerException
DEBUG 2012-06-13 12:16:07 - cleanUp()
DEBUG 2012-06-13 12:16:07 - calling cleanUpUNIX()
Why don't you run WindchillLoader manually.
You might be able to find the cause.
I did it but it looks incomprehensible to me (bellow). Anyway, my installation case # is still open, but I am simply not getting any calls back from the assigned tech (it has been a week).
----------------------------------------------------------------------------------------------------------
windchill wt.load.WindchillLoader -All -Unattended
Welcome to Database Setup Utility for Windchill and Windchill Solutions.
You will be presented with a series of prompts.
If you have already installed a base data set as part of a previous
loading sequence you do not need to load it again.
----------------------------------------------------------------
Stop the ServerManager.
NOTE: If the SM is hung on the MethodServer, this may wait for 60 sec.
NOTE: If the SM is not running, you'll get a traceback ending in
java.net.ConnectionException: Connection refused
This can be ignored.
Begin stop sequence...
wt.util.WTRemoteException: Unable to stop server manager; nested exception is:
wt.util.WTRemoteException: Unable to ping server manager; nested exception is:
wt.util.WTRemoteException: Unable to locate server manager; nested exception is:
java.rmi.ConnectException: Connection refused to host: localhost.localdomain; nested exception is:
java.net.ConnectException: Connection refused
============================================
== Assuming server stopped and continuing ==
============================================
Start the server manager ....
2012-06-14 13:46:25,854 INFO [main] wt.manager.ServerLauncher - Starting ServerManager
Make sure it's running ...
ServerManager is alive!!
Windchill service (MethodServer) starting (1) instance(s)
java.lang.Exception: Unable to complete startup of all Windchill Services
at wt.load.Installer.checkServiceStartup(Installer.java:684)
at wt.load.Installer.startServerManager(Installer.java:455)
at wt.load.BasicLoader.doInstall(BasicLoader.java:267)
at wt.load.BasicLoader.<init>(BasicLoader.java:215)
at wt.load.WindchillLoader.load(WindchillLoader.java:332)
at wt.load.WindchillLoader.main(WindchillLoader.java:435)
A 1,000 thank yous!
I have created an Ubuntu box with VMWare, 15 VM CentOS 5.8 Windchill 10.0 installations with Apache and Oracle XE. With a lot of tweaking I mangaged to get 6 of them to start Windchill at the end of the installation processs. Windchill appears to work fine. BUT everytime I reboot, I can not get Windchill 10.0 to start. ALL we want to do is run Windchill PDMLink, nothing else.
Here's my order I bring each service up from command line prompt:
Start Apache # apachectl start
Start Tomcat # ./wttomcat_start
Start WindchillDS # ./start-ds
Start Windchill # ./windchill start
When I use Tomcat and start Windchill, the Method Server fails: Error attempting to start Tomcat on port 8010, probably cuz Tomcat is already running.
When I leave Tomcat out thinking WindchillDS might start the service, Windchill fails: Can not find Tomcat on port 8010. I added port 8010 to the firewall exceptions.
Am I starting Windchill in the correct order?
We don't need starting tomcat on Windchill10.0.
Because, starting tomcat is contained in starting windchill.
Start Apache # apachectl start
Start Tomcat # ./wttomcat_start
Start WindchillDS # ./start-ds
Start Windchill # ./windchill start
Test
日本語で投稿は可能か。
WC10.0をCentOSにインストールしたときのメモです。
Is there any possibility to hide the xterm like running Windchill as a Service on Windows?
Yes, you can setup Windchill components to run as services under CentOS via System V init scripts. The scripts are stored in /etc/init.d and auto start on boot can be controlled via the chkconfig command.
1) Apache - You can copy the init.d script used by the stock CentOS apache service, /etc/init.d/httpd, and update the paths to point to your Windchill apache install.
2) Windchill DS - Windchill DS has a create init script under the [Windchill DS]/server/bin/ folder. From inside the Windchill DS bin folder run the following: create-rc-script --outputFile /etc/init.d/opends
3) Tomcat - There are many tomcat init scripts on the web. Search for tomcat init.d script. An example is posted at http://lists.centos.org/pipermail/centos/2006-May/021948.html.
4) Windchill - You'll need to write the windchill startup script. I've posted an example below.
#!/bin/bash
#
# windchill Startup script for the Windchill solution
#
# chkconfig: 345 98 01
# description: this script configures windchill
WINDCHILL_HOME=/opt/ptc/windchill/windchill
WINDCHILL_START="$WINDCHILL_HOME/bin/windchill start"
WINDCHILL_STOP="$WINDCHILL_HOME/bin/windchill stop"
WINDCHILL_STATUS="$WINDCHILL_HOME/bin/windchill status"
# Source function library.
. /etc/rc.d/init.d/functions
# Necessary environment variables
export JAVA_HOME=/opt/ptc/windchill/java
# Short-form for messages.
lockfile=${LOCKFILE-/var/lock/subsys/windchill}
RETVAL=0
start() {
echo -n "Starting windchill: "
$WINDCHILL_START > /dev/null 2>&1 && success || failure
RETVAL=$?
echo
[ $RETVAL = 0 ] && touch ${lockfile}
}
status() {
$WINDCHILL_STATUS
}
stop() {
echo -n "Stopping windchill: "
$WINDCHILL_STOP > /dev/null 2>&1 && success || failure
RETVAL=$?
echo
[ $RETVAL = 0 ] && rm -f ${lockfile}
}
# See how we were called.
case "$1" in
start)
start
;;
stop)
stop
;;
status)
status
RETVAL=$?
;;
restart)
stop
sleep 10
start
;;
*)
echo $"Usage: windchill {status|start|stop|restart}"
exit 1
esac
exit $RETVAL
Thanks for your answer. I would still have a few questions. When I'm trying to execute the setup file file as root, it switches to the console mode. It asks me to choose the Locale. When I choose 2 for English (or any other numbers) the setup aborts.
Is there really the possibility to install Windchill in console mode and when it is, how does it works?
Windchill does not have a console install mode. You must use the PSI GUI installer.
Upcoming October 2019
Regional User Groups