Return-Path: X-Original-To: apmail-lucene-solr-user-archive@minotaur.apache.org Delivered-To: apmail-lucene-solr-user-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id A46B217D2F for ; Thu, 8 Jan 2015 13:27:07 +0000 (UTC) Received: (qmail 51525 invoked by uid 500); 8 Jan 2015 13:27:04 -0000 Delivered-To: apmail-lucene-solr-user-archive@lucene.apache.org Received: (qmail 51455 invoked by uid 500); 8 Jan 2015 13:27:04 -0000 Mailing-List: contact solr-user-help@lucene.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: solr-user@lucene.apache.org Delivered-To: mailing list solr-user@lucene.apache.org Received: (qmail 51444 invoked by uid 99); 8 Jan 2015 13:27:00 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 08 Jan 2015 13:27:00 +0000 X-ASF-Spam-Status: No, hits=-0.1 required=5.0 tests=HTML_MESSAGE,NORMAL_HTTP_TO_IP,RCVD_IN_DNSWL_MED,SPF_PASS,WEIRD_PORT X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of taliaf@il.ibm.com designates 195.75.94.109 as permitted sender) Received: from [195.75.94.109] (HELO e06smtp13.uk.ibm.com) (195.75.94.109) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 08 Jan 2015 13:26:54 +0000 Received: from /spool/local by e06smtp13.uk.ibm.com with IBM ESMTP SMTP Gateway: Authorized Use Only! Violators will be prosecuted for from ; Thu, 8 Jan 2015 13:26:02 -0000 Received: from d06dlp01.portsmouth.uk.ibm.com (9.149.20.13) by e06smtp13.uk.ibm.com (192.168.101.143) with IBM ESMTP SMTP Gateway: Authorized Use Only! Violators will be prosecuted; Thu, 8 Jan 2015 13:26:00 -0000 Received: from b06cxnps4075.portsmouth.uk.ibm.com (d06relay12.portsmouth.uk.ibm.com [9.149.109.197]) by d06dlp01.portsmouth.uk.ibm.com (Postfix) with ESMTP id 5D58517D805D for ; Thu, 8 Jan 2015 13:26:35 +0000 (GMT) Received: from d06av01.portsmouth.uk.ibm.com (d06av01.portsmouth.uk.ibm.com [9.149.37.212]) by b06cxnps4075.portsmouth.uk.ibm.com (8.14.9/8.14.9/NCO v10.0) with ESMTP id t08DPxkR61079782 for ; Thu, 8 Jan 2015 13:25:59 GMT Received: from d06av01.portsmouth.uk.ibm.com (localhost [127.0.0.1]) by d06av01.portsmouth.uk.ibm.com (8.14.4/8.14.4/NCO v10.0 AVout) with ESMTP id t08DPxqO012336 for ; Thu, 8 Jan 2015 06:25:59 -0700 Received: from d06ml319.portsmouth.uk.ibm.com (d06ml319.portsmouth.uk.ibm.com [9.149.76.146]) by d06av01.portsmouth.uk.ibm.com (8.14.4/8.14.4/NCO v10.0 AVin) with ESMTP id t08DPx4H012320 for ; Thu, 8 Jan 2015 06:25:59 -0700 To: solr-user@lucene.apache.org MIME-Version: 1.0 Subject: Solr with Tomcat - enabling SSL problem X-KeepSent: F8797BD4:0EF6B4EE-C2257DC7:0048389D; type=4; name=$KeepSent X-Mailer: IBM Notes Release 9.0.1SHF211 December 19, 2013 From: Tali Finelt Message-ID: Date: Thu, 8 Jan 2015 15:25:58 +0200 X-MIMETrack: Serialize by Router on D06ML319/06/M/IBM(Release 9.0.1FP2|August 03, 2014) at 08/01/2015 15:25:59, Serialize complete at 08/01/2015 15:25:59 Content-Type: multipart/alternative; boundary="=_alternative 0049C9E8C2257DC7_=" X-TM-AS-MML: disable X-Content-Scanned: Fidelis XPS MAILER x-cbid: 15010813-0013-0000-0000-000002871013 X-Virus-Checked: Checked by ClamAV on apache.org --=_alternative 0049C9E8C2257DC7_= Content-Type: text/plain; charset="US-ASCII" Hi, I am using Solr 4.10.2 with tomcat and embedded Zookeeper. I followed https://cwiki.apache.org/confluence/display/solr/Enabling+SSL#EnablingSSL-SolrCloud to enable SSL. I am currently doing the following: Starting tomcat Running: ../scripts/cloud-scripts/zkcli.sh -zkhost localhost:9983 -cmd put /clusterprops.json '{"urlScheme":"https"}' Restarting tomcat Accessing Solr from my client using org.apache.solr.client.solrj.impl.CloudSolrServer. And this works. If I don't restart tomcat again after running zkcli.sh, I get the following error: "IOException occured when talking to server at: http://:/solr/...." (http, not https). Is it possible to do this without the second restart? Thanks, Tali --=_alternative 0049C9E8C2257DC7_=--