https://bz.apache.org/bugzilla/show_bug.cgi?id=63550

--- Comment #1 from Eugène Adell <eugene.ad...@gmail.com> ---
JNDIRealm.java :

        if (connectionURL != null && connectionAttempt == 0)
            env.put(Context.PROVIDER_URL, connectionURL);
        else if (alternateURL != null && connectionAttempt > 0)
            env.put(Context.PROVIDER_URL, alternateURL);

This code doesn't cover the case when alternateURL == null && connectionAttempt
== 1

It doesn't seem difficult to provide a patch but it's necessary to know the
expected behaviour in such case. Probably retry a connection with the
connectionURL parameters ?

-- 
You are receiving this mail because:
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org
For additional commands, e-mail: dev-h...@tomcat.apache.org

Reply via email to