Hi I'm currently trying to use a application on a hosting server. Hosting provider (GoDaddy) does not allow any kind of writing to filesystem except to /tmp folder. Any other attempt will end in security exception. I'm currently trying to take Display Tag Library (displaytag) to use. http://displaytag.sourceforge.net/11/
I did not change anything but I think the message was at one point the following "access denied (java.io.FilePermission /web/tomcat/work/hosting/xxxxxx/h/loader/META-INF/MANIFEST.MF write)"
The "h" in there is the name of my application. So it seems that altough I'm not writing anything to the file system tomcat is still trying it causing the exception to be thrown. First I tought that this is an issue with displaytag but after googling around it seems more likely that Tomcat is the one to blame for this. I'm not sure though. The "loader" part in the filepath leads me think about classloader or something like that. But why Tomcat (or displaytag for that matter) would try to write MANIFEST.MF during the execution of the application?!? The war file that is used to deploy the application is deployed correctly so I don't think the issue here is with the manifest file in it. The Tomcat's version is 5.0.xxx something. Don't remember exactly and they are not upgrading it anytime soon.
So any insight on this problem anyone? How to prevent the writing or do I have to go on living without displaytag? That is a real pain since it would make everything a lot easier.
EDIT: Oh and if there is a good way to get the stacktrace that would also help me a bit. I get the above just because I catch the exception and print the class and message to screen on the jsp page. But there is no way (or is there?) to get the full stack trace. GoDaddy does not give access to tomcat logs and Tomcat, for some reason, does not print the stack trace to screen if I don't catch the exception. [ July 01, 2008: Message edited by: Ilari Moilanen ]
I’ve looked at a lot of different solutions, and in my humble opinion Aspose is the way to go. Here’s the link: http://aspose.com