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

Jeffrey Zhong updated ZOOKEEPER-1696:
-------------------------------------

    Attachment: zookeeper-1696.patch

Since there is no reliable way to determine if SASL setting is set, the patch 
catches RuntimeException to see if SASL setting is configured. Please let me 
know if there is any better way.
                
> 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
>            Priority: Critical
>         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