UR - HTTP Status 404 - The requested resource () is not available.

Document ID : KB000057294
Last Modified Date : 14/02/2018
Show Technical Document Details

Symptoms


See the below error on accessing the UR potlet


HTTP Status 404 -

--------------------------------------------------------------------------------

type Status report

message

description The requested resource () is not available.


--------------------------------------------------------------------------------

Apache Tomcat/6.0.26





Solution



See errors as below in the jasperserver.log in location

C:\Program Files (x86)\Nimsoft\probes\service\wasp\webapps\jasperserver-pro\WEB-INF\logs\jasperserver.log

014-11-07 13:31:35,753 ERROR ContextLoader,attach_socket:307 - Context initialization failed
org.springframework.beans.factory.parsing.BeanDefinitionParsingException: Configuration problem: Failed to register bean definition with name 'auditEventPurgerJob'
Offending resource: ServletContext resource [/WEB-INF/applicationContext-audit - Copy.xml]; nested exception is org.springframework.beans.factory.BeanDefinitionStoreException: Invalid bean definition with name 'auditEventPurgerJob' defined in ServletContext resource [/WEB-INF/applicationContext-audit - Copy.xml]: Cannot register bean definition [Generic bean: class [com.jaspersoft.jasperserver.api.engine.scheduling.quartz.JSMethodInvokingJobDetailFactoryBean]; scope=; abstract=false; lazyInit=false; autowireMode=0; dependencyCheck=0; autowireCandidate=true; primary=false; factoryBeanName=null; factoryMethodName=null; initMethodName=null; destroyMethodName=null; defined in ServletContext resource [/WEB-INF/applicationContext-audit - Copy.xml]] for bean 'auditEventPurgerJob': There is already [Generic bean: class [com.jaspersoft.jasperserver.api.engine.scheduling.quartz.JSMethodInvokingJobDetailFactoryBean]; scope=; abstract=false; lazyInit=false; autowireMode=0; dependencyCheck=0; autowireCandidate=true; primary=false; factoryBeanName=null; factoryMethodName=null; initMethodName=null; destroyMethodName=null; defined in ServletContext resource [/WEB-INF/applicationContext-audit.xml]] bound.
?at org.springframework.beans.factory.parsing.FailFastProblemReporter.error(FailFastProblemReporter.java:68)

Deleting the "applicationContext-audit - Copy.xml" in the location listed below and then restart of wasp probe resolved the issue.

C:\Program Files (x86)\Nimsoft\probes\service\wasp\webapps\jasperserver-pro\WEB-INF\applicationContext-audit - Copy.xml

?