commons-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Phil Steitz (JIRA)" <j...@apache.org>
Subject [jira] [Closed] (DBCP-382) Could not set flag "accessToUnderlyingConnectionAllowed" in "context.xml" for DriverAdapterCPDS/PerUserPoolDataSource
Date Sat, 31 May 2014 04:10:02 GMT

     [ https://issues.apache.org/jira/browse/DBCP-382?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Phil Steitz closed DBCP-382.
----------------------------


> Could not set flag "accessToUnderlyingConnectionAllowed" in "context.xml" for DriverAdapterCPDS/PerUserPoolDataSource
> ---------------------------------------------------------------------------------------------------------------------
>
>                 Key: DBCP-382
>                 URL: https://issues.apache.org/jira/browse/DBCP-382
>             Project: Commons Dbcp
>          Issue Type: Bug
>    Affects Versions: 1.3
>         Environment: Apache Tomcat 6.0.32 / DBCP 1.3
>            Reporter: Stefan Rempfer
>             Fix For: 1.5.1, 2.0
>
>
> Could not set flag "accessToUnderlyingConnectionAllowed" in context.xml for DriverAdapterCPDS/PerUserPoolDataSource
because the property is not considered from the factory.
> A possible solution is to add following lines to class "DriverAdapterCPDS" on the end
of method "getObjectInstance"
> {code}
> ra = ref.get("accessToUnderlyingConnectionAllowed");
> if (ra != null && ra.getContent() != null) {
> 	setAccessToUnderlyingConnectionAllowed(Boolean.valueOf(ra.getContent().toString()).booleanValue());
> }
> {code}



--
This message was sent by Atlassian JIRA
(v6.2#6252)

Mime
View raw message