Problems with Web Applications

This section lists common problems related to DirX Identity web applications deployed into a Tomcat server, like the Business User Interface or Web Center, and shows how to solve them.

Access to an Application Fails With HTTP Status 404

Indication:

After having deployed a DirX Identity web application into Tomcat, any attempt to access the application fails with HTTP status code 404 - Not Found.

Tomcat log file catalina.date.log reports an error message like

SEVERE [main] org.apache.catalina.startup.HostConfig.deployDescriptor Error deploying deployment descriptor […​path of deployment descriptor…​]

java.lang.IllegalStateException: Error starting child

…​

Caused by: java.lang.IllegalArgumentException: The main resource set specified […​path of web application folder…​] is not valid

Reason:

The path of the web application folder specified in the deployment descriptor file is incorrect, or not accessible by the log on account for the Tomcat service.

Solution:

Make sure that the path of the web application folder specified in the deployment descriptor is correct.

Make sure that the web application folder and the files in folder are accessible by the log on account for the Tomcat service.