Jan 26
Deploying ColdFusion on Tomcat under Ubuntu
Posted by James Netherton | Monday 26 January 2009 7:00 AM | In ColdFusion, Linux
I spent ages trying to get ColdFusion working properly with Tomcat 6 on Unbuntu. Tomcat wouldn’t start the ColdFusion application sever and the logs were getting full of exceptions moaning about the inability to access certain resources. For example:
java.security.AccessControlException: access denied (java.util.PropertyPermission coldfusion.classPath read)
at java.security.AccessControlContext.checkPermission(AccessControlContext.java:342)
at java.security.AccessController.checkPermission(AccessController.java:553)
at java.lang.SecurityManager.checkPermission(SecurityManager.java:549)
at java.lang.SecurityManager.checkPropertyAccess(SecurityManager.java:1302)
at java.lang.System.getProperty(System.java:669)
Eventually I came across a solution posted to House Of Fusion in 2007. Open up your catalina.policy file, comment out what’s in there and add the line:
permission java.security.AllPermission;
It’s a bit of a hack – but it works! This is obviously something that you wouldn’t want to do on a production machine!
No Comments
[Post comment]