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 displaytag to use.

When I try to use the taglibrary on a jsp page I get
java.security.AccessControlException
with a message
"access denied (java.io.FilePermission
/web/tomcat/work/hosting/xxxxxx/h/loader/META-INF write)"

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? And is the problem with
displaytag or Tomcat?

Regards,
Ilari

-------------------------------------------------------------------------
Sponsored by: SourceForge.net Community Choice Awards: VOTE NOW!
Studies have shown that voting for your favorite open source project,
along with a healthy diet, reduces your potential for chronic lameness
and boredom. Vote Now at http://www.sourceforge.net/community/cca08
_______________________________________________
displaytag-user mailing list
displaytag-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/displaytag-user

Reply via email to