Forum archive
Tomcat Appliance : Not running my application
I am having an issue getting the appliance to run my application which is developed in a tool call adelia.
I can install the War file just fine and it will start up. However when I try to run it I
get org.xml.sax.SAXException: Internal Error: File /javax/servlet/resources/web-app_2_3.dtd not found
I tried using the solution at http://wiki.metawerx.net/wiki/Org.xml.sax.SAXException, but this just moved the error down to another section of code, giving me
java.security.AccessControlException: access denied (java.lang.RuntimePermission accessClassInPackage.org.apache.jasper.compiler)
java.security.AccessControlContext.checkPermission(AccessControlContext.java:323)
java.security.AccessController.checkPermission(AccessController.java:546)
My problem is I don't really know too much about what I am looking at, as the tool I use generates the jsp and a backend system to match our existing solutions which run on a iSeries server. I was hoping to use the applience as a simple way to host the jsp routines.
It's been suggested (via google) it would be a good idea to upgrade to .27 of Tomcat, but I am unsure of where all the files should be put on the appliance. The folder structure in the distribution does not look quite the same as that on the appliance.
Thanks in advance.
have you tried setting the persmissions in the java runtime?
you can do that in the policy file "java.home\lib\security\java.policy" (java.home is the installation path of the java runtime). or maybe you must change it in the server.policy file.
add this: