"HTTP Status 404 - Not Found" error appears on http://localhost:7070/lua after upgrading LiveUpdate Administrator
search cancel

"HTTP Status 404 - Not Found" error appears on http://localhost:7070/lua after upgrading LiveUpdate Administrator

book

Article ID: 379145

calendar_today

Updated On: 10-07-2024

Products

Endpoint Security Complete

Issue/Introduction

"HTTP Status 404 - Not Found" error appears on http://localhost:7070/lua after upgrading LiveUpdate Administrator (LUA)

LUA localhost.<timestamp>.log will show the below entries:
 
25-Sep-2024 05:44:54.698 SEVERE [localhost-startStop-1] org.apache.tomcat.util.descriptor.web.SecurityConstraint.findUncoveredHttpMethods For security constraints with URL pattern [/*] only the HTTP methods [DELETE POST PUT] are covered. All other methods are uncovered.
25-Sep-2024 05:44:54.792 SEVERE [localhost-startStop-1] org.apache.tomcat.util.descriptor.web.SecurityConstraint.findUncoveredHttpMethods For security constraints with URL pattern [/*] only the HTTP methods [DELETE POST PUT] are covered. All other methods are uncovered.

25-Sep-2024 05:45:08.114 SEVERE [localhost-startStop-1] org.apache.catalina.core.StandardContext.listenerStart Exception sending context initialized event to listener instance of class [org.springframework.web.context.ContextLoaderListener] org.springframework.context.ApplicationContextException: Failed to start bean 'schedule'; nested exception is org.springframework.scheduling.SchedulingException: Could not start Quartz Scheduler; nested exception is org.quartz.SchedulerConfigException: Failure occured during job recovery. [See nested exception: org.quartz.JobPersistenceException: Failed to obtain DB connection from data source 'springNonTxDataSource.schedule': org.apache.commons.dbcp.SQLNestedException: Cannot create PoolableConnectionFactory (Connection to localhost:7072 refused. Check that the hostname and port are correct and that the postmaster is accepting TCP/IP connections.) [See nested exception: org.apache.commons.dbcp.SQLNestedException: Cannot create PoolableConnectionFactory (Connection to localhost:7072 refused. Check that the hostname and port are correct and that the postmaster is accepting TCP/IP connections.)]]
 at org.springframework.context.support.DefaultLifecycleProcessor.doStart(DefaultLifecycleProcessor.java:176)
 at org.springframework.context.support.DefaultLifecycleProcessor.access$200(DefaultLifecycleProcessor.java:51)
Caused by: org.springframework.scheduling.SchedulingException: Could not start Quartz Scheduler; nested exception is org.quartz.SchedulerConfigException: Failure occured during job recovery. [See nested exception: org.quartz.JobPersistenceException: Failed to obtain DB connection from data source 'springNonTxDataSource.schedule': org.apache.commons.dbcp.SQLNestedException: Cannot create PoolableConnectionFactory (Connection to localhost:7072 refused. Check that the hostname and port are correct and that the postmaster is accepting TCP/IP connections.) [See nested exception: org.apache.commons.dbcp.SQLNestedException: Cannot create PoolableConnectionFactory (Connection to localhost:7072 refused. Check that the hostname and port are correct and that the postmaster is accepting TCP/IP connections.)]]
 at org.springframework.scheduling.quartz.SchedulerFactoryBean.start(SchedulerFactoryBean.java:720)
 at org.springframework.context.support.DefaultLifecycleProcessor.doStart(DefaultLifecycleProcessor.java:173)
 ... 22 more
Caused by: org.quartz.SchedulerConfigException: Failure occured during job recovery. [See nested exception: org.quartz.JobPersistenceException: Failed to obtain DB connection from data source 'springNonTxDataSource.schedule': org.apache.commons.dbcp.SQLNestedException: Cannot create PoolableConnectionFactory (Connection to localhost:7072 refused. Check that the hostname and port are correct and that the postmaster is accepting TCP/IP connections.) [See nested exception: org.apache.commons.dbcp.SQLNestedException: Cannot create PoolableConnectionFactory (Connection to localhost:7072 refused. Check that the hostname and port are correct and that the postmaster is accepting TCP/IP connections.)]]
 at org.quartz.impl.jdbcjobstore.JobStoreSupport.schedulerStarted(JobStoreSupport.java:692)
 at org.quartz.core.QuartzScheduler.start(QuartzScheduler.java:567)
 ... 23 more
Caused by: org.quartz.JobPersistenceException: Failed to obtain DB connection from data source 'springNonTxDataSource.schedule': org.apache.commons.dbcp.SQLNestedException: Cannot create PoolableConnectionFactory (Connection to localhost:7072 refused. Check that the hostname and port are correct and that the postmaster is accepting TCP/IP connections.) [See nested exception: org.apache.commons.dbcp.SQLNestedException: Cannot create PoolableConnectionFactory (Connection to localhost:7072 refused. Check that the hostname and port are correct and that the postmaster is accepting TCP/IP connections.)]
 at org.quartz.impl.jdbcjobstore.JobStoreCMT.getNonManagedTXConnection(JobStoreCMT.java:168)
 at org.quartz.impl.jdbcjobstore.JobStoreSupport.executeInNonManagedTXLock(JobStoreSupport.java:3793)
 ... 27 more
Caused by: org.apache.commons.dbcp.SQLNestedException: Cannot create PoolableConnectionFactory (Connection to localhost:7072 refused. Check that the hostname and port are correct and that the postmaster is accepting TCP/IP connections.)
 at org.apache.commons.dbcp.BasicDataSource.createPoolableConnectionFactory(BasicDataSource.java:1549)
 at org.apache.commons.dbcp.BasicDataSource.createDataSource(BasicDataSource.java:1388)
 ... 30 more
Caused by: org.postgresql.util.PSQLException: Connection to localhost:7072 refused. Check that the hostname and port are correct and that the postmaster is accepting TCP/IP connections.
 at org.postgresql.core.v3.ConnectionFactoryImpl.openConnectionImpl(ConnectionFactoryImpl.java:280)
 at org.postgresql.core.ConnectionFactory.openConnection(ConnectionFactory.java:49)
 ... 35 more
 Caused by: java.net.ConnectException: Connection refused: no further information
 at java.base/sun.nio.ch.Net.pollConnect(Native Method)
 at java.base/sun.nio.ch.Net.pollConnectNow(Net.java:589)

Cause

This mostly points to database corruption.

Resolution

 

Upgrading with a later version still shows this error when attempting to open the login page.

Reinstall LUA, preferably the latest available version.