You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@commons.apache.org by Apache Wiki <wi...@apache.org> on 2005/11/24 15:10:08 UTC

[Jakarta-commons Wiki] Update of "DBCP" by PeteNelson

Dear Wiki user,

You have subscribed to a wiki page or wiki category on "Jakarta-commons Wiki" for change notification.

The following page has been changed by PeteNelson:
http://wiki.apache.org/jakarta-commons/DBCP

The comment on the change is:
Added info for those using Security Manager

------------------------------------------------------------------------------
  Diagrams hosted by http://rei1.m-plify.net
  
  The Database Connection Pool (DBCP) component can be used in applications where JDBC resources need to be pooled. Apart from JDBC connections, this provides support for pooling Statement and PreparedStatement instances as well. Complete article can be found here http://www.devx.com/Java/Article/29795/0/page/2.
+ 
+ = Security Manager settings =
+ 
+ If you're running tomcat with the [http://tomcat.apache.org/tomcat-5.5-doc/security-manager-howto.html Security Manager], you will need to add to your catalina.policy:
+ 
+ {{{
+ grant {
+         permission java.lang.RuntimePermission "accessClassInPackage.org.apache.tomcat.dbcp.*";
+ }; 
+ }}}
  
  = Tomcat 5.0 Configuration examples =
  

---------------------------------------------------------------------
To unsubscribe, e-mail: commons-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: commons-dev-help@jakarta.apache.org