On 09/02/2014 23:28, Ognjen Blagojevic wrote:
> Mark,
> 
> On 9.2.2014 2:36, Ognjen Blagojevic wrote:
>> I also tried to test my production webapps, which also use DBCP2.
>> However I get a lot of AccessControlExceptions, which I resolved one by
>> one. Now I am stucked with particularly stubborn FilePermission problem.
>> If I resolve that one, and other following exceptions I will report the
>> results of testing here.
> 
> I got one of my production webapps working (for the most part) with
> security manager in 8.0.1 and 8.0.3.

Many thanks. These results are very interesting. One question in-line...

> In 8.0.1, I needed to add the following configuration to catalina.policy
> (sensitive parts removed):
> 
>     permission java.net.SocketPermission "(dbserver)", "resolve";
>     permission java.net.SocketPermission "(dbserver):(port)",
> "connect,resolve";

<snip/>

Do you have stack traces for the exceptions related to these? What I
really want to know is if DBCP 2 is on the code path and if so, what is
the stack trace from the entry point to DBCP 2 to this exception. If
DBCP 2 is on the code path, it looks like a PA is required somewhere.

Thanks again for working on this.

Mark

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org
For additional commands, e-mail: dev-h...@tomcat.apache.org

Reply via email to