Tomcat 5.5 or later is required! Perhaps Tomcat6 is recommended. Are you are using an older version of Tomcat?
...
The first thing to do when troubleshooting tomcat is to check the tomcat logs. They are found at C:\Program Files\Apache Software Foundation\Tomcat 6.0\logs - look for the one named stdout_yyyymmdd.txt where yyyymmdd is today's date. If this log is too long and you can't find the relevant part, you can stop the tomcat service (in Windows using control panel, administrative tools, services), rename the file to stdout_yyyymmdd_old.txt, restart tomcat and it will start writing a new log at stdout_yyyymmdd.txt.
Sluggish performance
Confirm that you have installed tomcat from the tomcat.apache.org website. The apt-get install of Ubuntu tomcat6 has terrible performance consequences.
Running Tomcat as a Service on Ubuntu
If you're trying to run Tomcat as a serving on Ubuntu, you will likely run into permission issues. The easiest way to solve this issue is to disable the Java security manager in /etc/init.d/tomcat5tomcat6.5.
Error:
Code Block |
---|
java.security.AccessControlException: access denied (java.io.FilePermission /varusr/libshare/tomcat5.5tomcat6/webapps/openmrs/WEB-INF/dwr-modules.xml delete) |
...
Code Block |
---|
# Use the Java security manager? (yes/no) TOMCAT5TOMCAT6_SECURITY=no |
Error: prunsrv.c Failed creating ... jvm.dll
...
Now restart the service with
Panel |
---|
service tomcat tomcat6 start |
Log back into the Tomcat web interface and deploy your application.
...