Here's a nice big confusing document on how to do it:

http://java.sun.com/j2se/1.4.2/docs/guide/security/permissions.html

Thing is, default installations should allow this.  Usually this error means
someone has locked down your JVM or Tomcat instance, so someone in your
organization knows how to do it.  ;-)

Clinton

-----Original Message-----
From: Niels Beekman [mailto:[EMAIL PROTECTED] 
Sent: August-16-07 5:23 AM
To: [email protected]
Subject: RE: Ibatis access denied with tomcat

Hi,

This has nothing to do with file permissions, this is because iBATIS
tries to get all declared class methods (not only public ones), this
requires special priviliges which the codebase apparently does not have.
Do some searching to find out how to grant these privileges.

Niels

-----Original Message-----
From: abdullah [mailto:[EMAIL PROTECTED] 
Sent: donderdag 16 augustus 2007 13:19
To: [email protected]
Subject: Ibatis access denied with tomcat


I created a web application  running in Tomcat, I use ibatis to do
database
operation, everything works very  well on my own machine. After publish
to
the hosting server, I met a n odd  problem, which is reporting a
java.io.FilePermission problem, however, none of  my code writes
anything to
the server, I'm very confused and have no idea. who  can help? 

Reply via email to