Troubleshooting errors while hosting CData Java Apps in Apache Tomcat

  • 17 October 2023
  • 0 replies

Userlevel 1

There are some errors that might come up while hosting CData’s Java Apps in Apache Tomcat.  


Error 1 – This site can’t be reached: ERR_CONNECTION_RESET 

This error is caused because the .war file deployed to Apache Tomcat is greater than 50 MB.  

To resolve the problem, users must edit the web.xml file and increase the <max-file-size> value.  

This file should be located to a similar path: 

Windows path : C:\Program Files\Apache Software Foundation\Tomcat 9.0.78\webapps\manager\WEB-INF 

Linux path: /usr/share/tomcat9/webapps/manager/WEB-INF 


Once the file is located make the following changes: 


      <!-- 50MB max --> 






Error 2 – Error Code 550: The Login Module was not initialized. 

Go to the jaas.config file which is usually located in the conf folder inside the ‘Catalina Home’ path. For example, the appropriate paths for a default Apache Tomcat installation would be:  

Windows Path: C:\Program Files\Apache Software Foundation\Tomcat 9.0\conf 

Linux Path: /usr/share/tomcat9/conf 

When making the Login Module visible, users need to ensure that it is located under the line where the ‘common. Loader’ value is defined: 






If this does not resolve the error then please reach out to for further assistance. 

This topic has been closed for comments