If you look further up in the installation log you will see the message below:
update-users:
[echo] Deleting extra user jasper admin and update superuser's default password
[java] Failed to delete user jasperadmin with DELETE http://localhost:8080/jasperserver-pro/rest_v2/organizations/organization_1/users/jasperadmin?j_username=superuser&j_password=superuser
[java] org.springframework.web.client.ResourceAccessException: I/O error on DELETE request for "http://<localhost>:8080/jasperserver-pro/rest_v2/organizations/organization_1/users/jasperadmin?j_username=superuser&j_password=superuser": Connection reset; nested exception is java.net.SocketException: Connection reset
[java] at org.springframework.web.client.RestTemplate.doExecute(RestTemplate.java:534)
[java] at org.springframework.web.client.RestTemplate.execute(RestTemplate.java:482)
[java] at org.springframework.web.client.RestTemplate.exchange(RestTemplate.java:430)
[java] at com.termalabs.client.UsersUpdater.deleteUser(UsersUpdater.java:51)
[java] at com.termalabs.client.UsersUpdater.main(UsersUpdater.java:35)
[java] Caused by: java.net.SocketException: Connection reset
[java] at java.net.SocketInputStream.read(SocketInputStream.java:210)
[java] at java.net.SocketInputStream.read(SocketInputStream.java:141)
[java] at java.io.BufferedInputStream.fill(BufferedInputStream.java:246)
[java] at java.io.BufferedInputStream.read1(BufferedInputStream.java:286)
[java] at java.io.BufferedInputStream.read(BufferedInputStream.java:345)
[java] at sun.net.www.http.HttpClient.parseHTTPHeader(HttpClient.java:735)
[java] at sun.net.www.http.HttpClient.parseHTTP(HttpClient.java:678)
[java] at sun.net.www.http.HttpClient.parseHTTPHeader(HttpClient.java:848)
[java] at sun.net.www.http.HttpClient.parseHTTP(HttpClient.java:678)
[java] at sun.net.www.protocol.http.HttpURLConnection.getInputStream0(HttpURLConnection.java:1593)
[java] at sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:1498)
[java] at java.net.HttpURLConnection.getResponseCode(HttpURLConnection.java:480)
[java] at org.springframework.http.client.SimpleClientHttpResponse.getRawStatusCode(SimpleClientHttpResponse.java:47)
[java] at org.springframework.http.client.AbstractClientHttpResponse.getStatusCode(AbstractClientHttpResponse.java:32)
[java] at org.springframework.web.client.DefaultResponseErrorHandler.getHttpStatusCode(DefaultResponseErrorHandler.java:55)
[java] at org.springframework.web.client.DefaultResponseErrorHandler.hasError(DefaultResponseErrorHandler.java:49)
[java] at org.springframework.web.client.RestTemplate.doExecute(RestTemplate.java:520)
[java] ... 4 more
[java] Java Result: 6
BUILD FAILED
C:\Temp\terma-bi-installer-1.10\termaBiInstaller.xml:738: Last step failed, you can update superuser password in termaBiInstaller.xml and run: java -Djasper.root=c:\AAI_Reporting -Djasper.port=8080 -cp lib -jar lib/ant-launcher-1.9.7.jar -f termaBiInstaller.xml update-users
Release : 6.4.2-2
Component : AUTOMIC AUTOMATION INTELLIGENCE INTEGRATION FOR TIDAL
This indicates the failure to connect to the Insight API to perform the necessary update.
We found that only the jasperreportsTomcat service would start and not the jasperreportsTomcat
The was an error in the catalina*.out log on the Insight server, in the /,<Install Dir>/apache-tomcat/logs directory, showing catalina shutting down, which is tomcat.
04-May-2022 15:02:51.059 INFO [localhost-startStop-2] org.apache.catalina.startup.HostConfig.deployDirectory Deployment of web application directory [C:\AAI_Reporting\apache-tomcat\webapps\jasperserver-pro] has finished in [81,344] ms
04-May-2022 15:02:51.065 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-8080"]
04-May-2022 15:02:51.078 INFO [main] org.apache.catalina.startup.Catalina.start Server startup in 81396 ms
04-May-2022 15:02:51.078 SEVERE [main] org.apache.catalina.core.StandardServer.await StandardServer.await: create[localhost:8005]:
java.net.BindException: Address already in use: JVM_Bind
at java.net.DualStackPlainSocketImpl.bind0(Native Method)
at java.net.DualStackPlainSocketImpl.socketBind(Unknown Source)
at java.net.AbstractPlainSocketImpl.bind(Unknown Source)
at java.net.PlainSocketImpl.bind(Unknown Source)
at java.net.ServerSocket.bind(Unknown Source)
at java.net.ServerSocket.<init>(Unknown Source)
at org.apache.catalina.core.StandardServer.await(StandardServer.java:440)
at org.apache.catalina.startup.Catalina.await(Catalina.java:744)
at org.apache.catalina.startup.Catalina.start(Catalina.java:690)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:355)
at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:495)
04-May-2022 15:02:51.079 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-8080"]
04-May-2022 15:02:51.206 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Catalina]
We verified the port conflict by running netstat like below and found 8005 was in use:
netstat -a -b | findstr 8005
netstat -a -b | findstr 8080
The installation was using the termaBi-config.bat response file so we updated the section below to a port that was not in use.
set TOMCAT_SHUTDOWN_PORT=8005
They then uninstalled Insight and made sure the services were removed and attempted the Installation again and it succeeded.
If you are not using the response file you can re run the installer with the /s flag to set the Tomcat Shut Down Port if that is the port affected:
/s, /shutdown-port Tomcat shutdown port. Optional. Default is 8005
There are also two other ports that could cause this, the Tomcat AJP port and the Tomcat Port:
/a, /ajp-port Tomcat AJP port. Optional. Default is 8009
/s, /shutdown-port Tomcat shutdown port. Optional. Default is 8005
https://docs.automic.com/documentation/webhelp/english/ALL/components/TERMA/latest/AAI%20Guides/Content/AAI_Topics/Windows_Installation_5.htm?tocpath=Reporting%20Server%20Guide%7C_____3