tracker issue : CF-4202712

select a category, or use search below
(searches all categories and all time range)
Title:

NumberFormatException when running Linux Lockdown Installer

| View in Tracker

Status/Resolution/Reason: Closed/Fixed/Fixed

Reporter/Name(from Bugbase): Peter Freitag / ()

Created: 06/04/2018

Components: Installation/Config, Lockdown Installer

Versions: 2018

Failure Type: Incorrectly functioning

Found In Build/Fixed In Build: Public Beta / 310118

Priority/Frequency: Normal / All users will encounter

Locale/System: English / Linux Red Hat All

Vote Count: 0

Problem Description: Lockdown Installer running on RHEL 7.5 with apache throws an exception: java.lang.NumberFormatException: For input string: "NA"
 during lockdown process:

Adding connector!
Configuring the connector for: Apache
Checking if connector already configured!
Apache : /etc/httpd/conf (All)
Connector configured!
Successfully added connector!
java.lang.NumberFormatException: For input string: "NA"
	at java.base/java.lang.NumberFormatException.forInputString(NumberFormatException.java:65)
	at java.base/java.lang.Integer.parseInt(Integer.java:652)
	at java.base/java.lang.Integer.parseInt(Integer.java:770)
	at com.adobe.coldfusion.lockdown.apache.linux.LockDownApache.getConnectorNumber(LockDownApache.java:924)
	at com.adobe.coldfusion.lockdown.apache.linux.LockDownApache.startApacheLockdown(LockDownApache.java:213)
	at com.adobe.ia.action.apache.linux.LockdownApache.install(LockdownApache.java:58)
	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.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.LifeCycleManager.consoleInstallMain(Unknown Source)
	at com.zerog.ia.installer.LifeCycleManager.executeApplication(Unknown Source)
	at com.zerog.ia.installer.Main.main(Unknown Source)
	at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
	at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.base/java.lang.reflect.Method.invoke(Method.java:564)
	at com.zerog.lax.LAX.launch(Unknown Source)
	at com.zerog.lax.LAX.main(Unknown Source)



Steps to Reproduce:

1) Installed ColdFusion 2018 public beta (did not configure webserver yet)
2) Install apache: yum install httpd
3) Run wsconfig: wsconfig -ws Apache -dir /etc/httpd/conf -bin /usr/sbin/httpd
4) Run Lockdown installer

Actual Result: Lockdown Installer errors.

Expected Result: Does not error.

Any Workarounds: No.

Attachments:

Comments: