[ 
https://issues.apache.org/jira/browse/ZOOKEEPER-1696?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13771306#comment-13771306
 ] 

Jeffrey Zhong commented on ZOOKEEPER-1696:
------------------------------------------

{quote}
First, what's the precise reason for not being able to reliably determine if 
SASL is set
{quote}
Seems to me there is no other exposed API to check if SASL is set instead of 
the getAppConfigurationEntry. The IllegalArgumentException is thrown from BEA 
com.bea.common.security.jdkutils.JAASConfiguration.getAppConfigurationEntry 
code. In other words, if other third party code decides to throw different 
exceptions then we have to fix the same issue again.
                
> Fail to run zookeeper client on Weblogic application server
> -----------------------------------------------------------
>
>                 Key: ZOOKEEPER-1696
>                 URL: https://issues.apache.org/jira/browse/ZOOKEEPER-1696
>             Project: ZooKeeper
>          Issue Type: Bug
>          Components: java client
>    Affects Versions: 3.4.5
>         Environment: Java version: jdk170_06
> WebLogic Server Version: 10.3.6.0 
>            Reporter: Dmitry Konstantinov
>            Assignee: Jeffrey Zhong
>            Priority: Critical
>             Fix For: 3.4.6
>
>         Attachments: zookeeper-1696.patch
>
>
> The problem in details is described here: 
> http://comments.gmane.org/gmane.comp.java.zookeeper.user/2897
> The provided link also contains a reference to fix implementation.
> {noformat}
> ####<Apr 24, 2013 1:03:28 PM MSK> <Warning> <org.apache.zookeeper.ClientCnxn> 
> <devapp090> <clust2> <[ACTIVE] ExecuteThread: '2' for queue: 
> 'weblogic.kernel.Default (devapp090:2182)> <internal> <> <> <1366794208810> 
> <BEA-000000> <WARN  org.apache.zookeeper.ClientCnxn - Session 0x0 for server 
> null, unexpected error, closing socket connection and attempting reconnect
> java.lang.IllegalArgumentException: No Configuration was registered that can 
> handle the configuration named Client
>                 at 
> com.bea.common.security.jdkutils.JAASConfiguration.getAppConfigurationEntry(JAASConfiguration.java:130)
>                 at 
> org.apache.zookeeper.client.ZooKeeperSaslClient.<init>(ZooKeeperSaslClient.java:97)
>                 at 
> org.apache.zookeeper.ClientCnxn$SendThread.startConnect(ClientCnxn.java:943)
>                 at 
> org.apache.zookeeper.ClientCnxn$SendThread.run(ClientCnxn.java:993)
> >
> {noformat}

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Reply via email to