The new forums will be named Coin Return (based on the most recent vote)! You can check on the status and timeline of the transition to the new forums here.
The Guiding Principles and New Rules document is now in effect.
Tomcat 5.5 and Velocity Servlets. I think I hate them.
So, I'm kind of hoping someone here might know there way around Tomcat and VelocityViewServlet way more than I do. I had written some stuff not too long ago using a regular VelocityServlet. That all works just great. Seeing as how VelocityServlet is deprecated, though, I'm trying to convert things to VelocityViewServlet. I need your help. Everything within reach and smashable in my house wants you to help me.
Root cause stack trace is spoilered as it's a bit long. The short version is that something is dying in init(). Judging by the stack trace it's trying to read something... who the fuck knows what it might be trying to read, though. VelocityViewServlet works fine on my XP machine running the servlet on tomcat from ecplipse. Regular old deprecated VelocityServlet type servlets work fine on the server. VelocityViewServlet type servlets die on the server. I have granted everything in catalina.home/common/ (which is where the velocity libs live) read access to everything in my servlet.
edit: Ok, it's definitely something related to the security manager settings. My best guess is that something is unable to read org.apache.velocity.runtime.defaults.velocity.properties. I set "read" PropertyPermission to allow all web apps to access org.apache.velocity.runtime.defaults.*. This did not work, but I don't know what else to do. For now I have disabled the security manager on tomcat, which resolves the issue, but not in the most desirable way.