Environment
Sentinel 8.2 Appliance
Situation
After upgrading the appliance to 8.2 there is an issue where access to port 9443 fails.It eventually fails with a 500 internal server error:org.springframework.web.util.NestedServletExceptio n: Request processing failed; nested exception is org.apache.tiles.definition.DefinitionsFactoryExce ption: I/O Error reading definitions.Caused by: org.apache.tiles.definition.DefinitionsFactoryExce ption: I/O Error reading definitions.
Resolution
The network will never be connected to the internet so an offline copy of the file is needed.More details on how to do that:
1. Download the .dtd from the location specified in the DOCTYPE tag within tiles-template.xml (http://tiles.apache.org/dtds/tiles-config_2_1.dtd)2. Login to the appliance and do the following:3. mkdir /dtd
Note: feel free to use any path you wish, just be consistent in referencing it.
4. copy the downloaded .dtd file to /dtd (use SCP/ftp or whatever method you prefer to get the file onto the system)5. cd /opt/novell/common-service/webapps6. jar xvf root.war7. vi WEB-INF/tiles-template.xml
Change the “http://tiles.apache.org/dtds/tiles-config_2_1.dtd” entry to: “file:///dtd/tiles-config_2_1.dtd”
Note: if you used a different path other than /dtd, then use the appropriate path after file://
8. jar cvf root.war META-INF WEB-INF favicon.ico resources9. reboot the appliance
Cause
This is a situtation where the appliance does not have internet access (secure environment) so the appliance can not/should not access http://tiles.apache.org/dtds/tiles-config_2_1.dtd in tiles-template.xml.