How to resolve some Tomcat problems Hello, I've come across a few problems with Tomcat. When re-installing, tomcat hangs at Java install: # rm -rf /usr/local/jdk1.5.0_02 and try again, it should work just fine. I can't start tomcat after re-installing tomcat on cPanel 10.6.0 This is the reason people get internal server errors when trying to load JSP pages. Run: # /usr/local/jakarta/tomcat/bin/startup.sh When you access the JSP file on a users account, it says 404; as if it is trying to load from the root path. What's happening here is that server.xml file seems to only write domain.com, and if you access it via www.domain.com, there's no entry for that, so it looks for the file in the root host path and you get a 404. If you access it via http://domain.com/something.jsp (without www; it should work fine). I'm not sure if you can use wildcards in server.xml but simply copying and pasting (adding below) the existing vhost and adding the www. to the second host works. For e.g. in server.xml, you may have the following: Code: <Host name="domain.com" appBase="/home/user/public_html"> <Context path="" reloadable="true" docBase="/home/user/public_html" debug="1"/> </Host> Add below it: Code: <Host name="[b][u]www.[/u][/b]domain.com" appBase="/home/user/public_html"> <Context path="" reloadable="true" docBase="/home/user/public_html" debug="1"/> </Host> Hopefully this will be helpful to someone.