svnkit and tomcat.

View: New views
2 Messages — Rating Filter:   Alert me  

svnkit and tomcat.

by rumpole6 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

I am trying to write a servlet that accesses the svn repository and will access the repo using svnkit. Here is the error. Note that I am just starting learning this stuff.

Caused by: java.security.AccessControlException: access denied (java.util.PropertyPermission svnkit.compatibleHash read)

Any ideas?

Thanks in advance.

Re: svnkit and tomcat.

by Semyon Vadishev :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hello,

I'm not tomcat expert, but it looks like you have to adjust your
catalina.policy configuration. Specify appropriate permissions for your
servlet code as described here --
http://books.google.ru/books?id=d_FdV6JUZrgC&pg=PA352&lpg=PA352&dq=tomcat+java.util.propertypermission&source=bl&ots=AA61MNCijq&sig=GfRgf7n1V5Ruv589EbZrV88tX2Y&hl=ru&ei=Wo16SuqLM8zJ-Qbvu_xN&sa=X&oi=book_result&ct=result&resnum=7#v=onepage&q=tomcat%20java.util.propertypermission&f=false

Hope that helps.

Semen Vadishev,
TMate Software,
http://svnkit.com/ - Java [Sub]Versioning Library!



rumpole6 wrote:

> I am trying to write a servlet that accesses the svn repository and will
> access the repo using svnkit. Here is the error. Note that I am just
> starting learning this stuff.
>
> Caused by: java.security.AccessControlException: access denied
> (java.util.PropertyPermission svnkit.compatibleHash read)
>
> Any ideas?
>
> Thanks in advance.
>
>  

---------------------------------------------------------------------
To unsubscribe, e-mail: svnkit-users-unsubscribe@...
For additional commands, e-mail: svnkit-users-help@...