we've build a java web app based on struts and started off hosting it with a hostingcompany. This company uses a cPanel environment which includes a tomcat server. They've installed all and it works, but it's very buggy. Sometimes it works great at other times it's a big mess.
Recently we've discovered that when starting the tomcat server at a certain point it starts looking for the META-INF/MANIFEST.MF file in the public_html/name_of_webapp folder. However this folder doesn't exist. So therefore load on the server get exceedingly high. So we don't know why it points to this folder for looking for the application files.
We worked around this by creating an exact copy of the tomcat/webapps/name_of_webapp folder and putting it in the public_html folder. This is a workaround and although it works for the moment it's not satisfactory.
Another thing is when i approach the application through http://www.aplliaction_name.nl it seems that there is some sort of time out within the session. I place an object in the session, once i reach the action i take the object from the session but it's not there -> nullpointerexception. BUT when i approach the application without www so like http://application_name.nl it works and there are no problems.
Does anyone know how to solve these issues or at least give me a hint where to look for the problem?