commons-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Stefan Rempfer (Created) (JIRA)" <j...@apache.org>
Subject [jira] [Created] (DBCP-382) Could not set flag "accessToUnderlyingConnectionAllowed" in "context.xml" for DriverAdapterCPDS/PerUserPoolDataSource
Date Wed, 18 Apr 2012 10:43:41 GMT
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


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 is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Mime
View raw message