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

Roberto Cortez updated TOMEE-1816:
----------------------------------
    Description: 
When using the configuration "validationInterval" to provide connection 
validation, the connector just fails to deploy with a 
java.lang.NoSuchFieldException: pool

This is caused by:

{code:java|title=org.apache.openejb.resource.GeronimoConnectionManagerFactory}
Object foundPool = null;
if (current instanceof AbstractSinglePoolConnectionInterceptor) {
    foundPool = Reflections.get(stack, "pool");
} else if (current instanceof MultiPoolConnectionInterceptor) {
    log.warn("validation on stack " + stack + " not supported");
}
this.pool = foundPool;
{code}

  was:
When using the configuration "validationInterval" to provide connection 
validation, the connector just fails to deploy with a 
java.lang.NoSuchFieldException: pool

This is caused by:

{code:java}
            Object foundPool = null;
            if (current instanceof AbstractSinglePoolConnectionInterceptor) {
                foundPool = Reflections.get(stack, "pool");
            } else if (current instanceof MultiPoolConnectionInterceptor) {
                log.warn("validation on stack " + stack + " not supported");
            }
            this.pool = foundPool;
{code}


> java.lang.NoSuchFieldException: pool in Connector Resource Adapter deploy
> -------------------------------------------------------------------------
>
>                 Key: TOMEE-1816
>                 URL: https://issues.apache.org/jira/browse/TOMEE-1816
>             Project: TomEE
>          Issue Type: Bug
>          Components: TomEE Core Server
>    Affects Versions: 1.7.4
>            Reporter: Roberto Cortez
>            Priority: Blocker
>             Fix For: 1.7.5
>
>
> When using the configuration "validationInterval" to provide connection 
> validation, the connector just fails to deploy with a 
> java.lang.NoSuchFieldException: pool
> This is caused by:
> {code:java|title=org.apache.openejb.resource.GeronimoConnectionManagerFactory}
> Object foundPool = null;
> if (current instanceof AbstractSinglePoolConnectionInterceptor) {
>     foundPool = Reflections.get(stack, "pool");
> } else if (current instanceof MultiPoolConnectionInterceptor) {
>     log.warn("validation on stack " + stack + " not supported");
> }
> this.pool = foundPool;
> {code}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to