Skip to main content
1-Visitor
April 12, 2016
Question

Windchill 10.1 installation

  • April 12, 2016
  • 1 reply
  • 7235 views

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?

1 reply

1-Visitor
April 12, 2016

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

ailut1-VisitorAuthor
1-Visitor
April 13, 2016

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()

1-Visitor
April 13, 2016

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