Hi all,
I am new to the Windchill installations and right now I am doing some trial installations on a Windows Server 2012 machine. I am installing Windchill PDMLink 10.1 and during the installation an error message appears: " java.lang.Exception: deploy failed for (wnc) with return code = 1" .
Do you have any idea what causes this?
The error message is not descriptive enough.
Could you have a look at PSI logs at Windchill Load Point > PSI > Installer > Logs. Default location PTC\Windchill_10.2/PSI/installer/logs and the log would be named PSI Installer log. Search for the latest log.
Since it is WNC which failed, look for the installer logs for WNC in \PTC\Windchill_10.2\Windchill\installer\logs.
As a best practice make sure you don't have any spaces in the any of the CD's folder name and try copying the CD local if you are using a shared drive
Thank you
Binesh Kumar
Hi Kumar,
I found the error in the PTCSOLNINSTALLER_PtcINstall.log file, please see below:
DEBUG 2016-04-11 15:24:23 - checking URL connection to http://ro06-0008277.localdomain:8080 ...
DEBUG 2016-04-11 15:24:24 - Exception while attempting to connect (web service may simply not be running)
java.net.ConnectException: Connection refused: connect
at java.net.PlainSocketImpl.socketConnect(Native Method)
at java.net.PlainSocketImpl.doConnect(PlainSocketImpl.java:351)
at java.net.PlainSocketImpl.connectToAddress(PlainSocketImpl.java:213)
at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:200)
at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:366)
at java.net.Socket.connect(Socket.java:529)
at sun.net.NetworkClient.doConnect(NetworkClient.java:158)
at sun.net.www.http.HttpClient.openServer(HttpClient.java:411)
at sun.net.www.http.HttpClient.openServer(HttpClient.java:525)
at sun.net.www.http.HttpClient.<init>(HttpClient.java:208)
at sun.net.www.http.HttpClient.New(HttpClient.java:291)
at sun.net.www.http.HttpClient.New(HttpClient.java:310)
at sun.net.www.protocol.http.HttpURLConnection.getNewHttpClient(HttpURLConnection.java:987)
at sun.net.www.protocol.http.HttpURLConnection.plainConnect(HttpURLConnection.java:923)
at sun.net.www.protocol.http.HttpURLConnection.connect(HttpURLConnection.java:841)
at com.ptc.windchill.install.suite.runnables.AbstractWebService.attemptConnect(AbstractWebService.java:228)
at com.ptc.windchill.install.suite.runnables.AbstractWebService.isRunning(AbstractWebService.java:201)
at com.ptc.windchill.install.suite.runnables.AbstractWebService.stop(AbstractWebService.java:320)
at com.ptc.windchill.install.suite.SubInstallerManagerImpl.stopApacheIfApplicable(SubInstallerManagerImpl.java:385)
at com.ptc.windchill.install.suite.SubInstallerManagerImpl.process(SubInstallerManagerImpl.java:123)
at com.ptc.windchill.install.suite.SubInstallerManager.process(SubInstallerManager.java:14)
at com.ptc.windchill.install.framework.InstallAction.run(InstallAction.java:468)
at com.ptc.windchill.install.framework.InstallAction.install(InstallAction.java:313)
at com.zerog.ia.installer.actions.CustomAction.installSelf(Unknown Source)
at com.zerog.ia.installer.InstallablePiece.install(Unknown Source)
at com.zerog.ia.installer.InstallablePiece.install(Unknown Source)
at com.zerog.ia.installer.InstallablePiece.install(Unknown Source)
at com.zerog.ia.installer.GhostDirectory.install(Unknown Source)
at com.zerog.ia.installer.InstallablePiece.install(Unknown Source)
at com.zerog.ia.installer.Installer.install(Unknown Source)
at com.zerog.ia.installer.actions.InstallProgressAction.af(Unknown Source)
at com.zerog.ia.installer.actions.ProgressPanelAction$1.run(Unknown Source)
DEBUG 2016-04-11 15:24:24 - apache already appears to be down. Will not attempt to stop.
DEBUG 2016-04-11 15:24:24 - Backed up D:\SPLM\ptc\PSI\installer\instreg\ii26ee22d1.1540523216a.-8000\psi_iir.xml to D:\SPLM\ptc\PSI\installer\instreg\ii26ee22d1.1540523216a.-8000\psi_iir.002.xml.
DEBUG 2016-04-11 15:24:25 - SubinstallerManager - starting assembly: wnc
DEBUG 2016-04-11 15:24:25 - Dependency tree:
DEBUG 2016-04-11 15:24:25 - [wnc]
DEBUG 2016-04-11 15:24:25 - [wnc, ie]
INFO 2016-04-11 15:24:25 - ###################################################
INFO 2016-04-11 15:24:25 - Running wnc Installer
INFO 2016-04-11 15:24:25 - ###################################################
DEBUG 2016-04-11 15:24:25 - calling executeInstaller(C:\Users\Admin01-Accenture\Desktop\WC Installation\Windchill 10.1 Services)
DEBUG 2016-04-11 15:24:25 - Processing subinstaller assembly (wnc): timer.start
INFO 2016-04-11 15:24:25 - Running: C:\Windows\system32\cscript.exe //E:vbscript C:\Users\Admin01-Accenture\Desktop\WC Installation\Windchill 10.1 Services\setup.vbs WAIT LAX_VM C:\Users\Admin01-Accenture\AppData\Local\Temp\I1460380108\Windows\resource\jre\bin\java.exe -f D:\SPLM\ptc\PSI\installer\PSITempProps\wnc-installer.properties -DMULTI_PROGRAM_EXEC=1
INFO 2016-04-11 15:25:28 - Completed: C:\Windows\system32\cscript.exe //E:vbscript C:\Users\Admin01-Accenture\Desktop\WC Installation\Windchill 10.1 Services\setup.vbs WAIT LAX_VM C:\Users\Admin01-Accenture\AppData\Local\Temp\I1460380108\Windows\resource\jre\bin\java.exe -f D:\SPLM\ptc\PSI\installer\PSITempProps\wnc-installer.properties -DMULTI_PROGRAM_EXEC=1
INFO 2016-04-11 15:25:28 - return code = 1
INFO 2016-04-11 15:25:28 - >>>> Replacing with return code = 2
DEBUG 2016-04-11 15:25:28 - Installation is Aborting. The installation cannot continue.
DEBUG 2016-04-11 15:25:28 - Installation is Aborting. The installation cannot continue.
FATAL 2016-04-11 15:25:44 - Aborting installation.
FATAL 2016-04-11 15:25:44 - Installation is Aborting. The installation cannot continue.
FATAL 2016-04-11 15:25:44 - wnc installer failed to start.
FATAL 2016-04-11 15:25:44 - aborting: original exit_code = 2
FATAL 2016-04-11 15:25:44 - aborting: normalized exit_code = 2
DEBUG 2016-04-11 15:25:44 - SHUTDOWN REQUESTED
DEBUG 2016-04-11 15:25:44 - (X) commiting registry
DEBUG 2016-04-11 15:25:45 - (X) shutting down service manager
DEBUG 2016-04-11 15:25:46 - (X) cleaning up temporary directories
DEBUG 2016-04-11 15:25:46 - Exiting with exit code: 2
DEBUG 2016-04-11 15:25:46 - cleanUp()
DEBUG 2016-04-11 15:25:46 - calling cleanUpWin32()
Could you paste relevant info from wncinstaller log from \PTC\Windchill_10.2\Windchill\installer\logs.
Also try removing spaces in your installation directories with " _"
WC Installation\Windchill 10.1 Services
Hi Alexandru,
could you writte me if you have solved this issue. It seems that I have the same one.
Thank you
David
Hi David,
Did you try the suggestions that Kumar mentioned? (no spaces in folder names)
For me this and restarting the installation did the trick.
Alex
Hi,
I got the same issue when installing windchill 11 M030. i tried removing the spaces and then tried revocering the failed instances. still same error persists. Do we need to start a fresh installation or is it ok to recover a failed instances. Please help me with this installation
Regards,
Logesh
Hi,
I am facing the same issue with V11 M030. For me, the installation fails during the Infoengine installer with the same error.
I do not have any space in the folder name.
Did you find a solution for this?
Thanks,
Ravi
Hi All,
I am trying to install WC 11.0 M030 in Solaris OS. I got this error while installing 10.1 using PSI in InfoEngine step.
Any help on this issue will be really helpful.
Thanks
Deepa
you are installing "WC 11.0 M030" or "WC 10.1"?
Right now I am trying to install WC 10.1
Final goal is to upgrade to WC 11.0 M030.
Thanks for your reply.
No answer, but 2 comments.
1 - Open a new thread instead of tagging a new entry on a 2-year old one. It will be easier to track replies and be more focused on your issues.
2 - What version of Windchill are you currently on? If on 10.0, you do not need to install 10.1 or 10.2 to go to 11.0m030. I went from 10.0m040 to 11.0m030 at the beginning of the year with no issues.
Thanks Ben. I will open a new thread for any upcoming discussions.
I am able to install 10.1 with removal of spaces in installation CDs.
Comments from the related ports really helped me. Thanks everyone.
Kindly Check ports in during installation default ports for HTTPServer( 80) and LDAP (389) may not be available for use
try with different ports number eg HTTPServer 81 and LDAP 3890