On 12/20/2013 1:39 PM, Patel, Pritesh wrote: > I am using solr-solr4.5.1.jar with httpclient 4.3. I put these jars a lib > folder within WEB-INF of the war file that I am creating. I deploy the war > to Tomcat 6. > > When I run the code, I get this error when I try to run a query to solr. > This works when I use the solr-solr-3.6.1.jar but doesn't with > solr-solr-4.5.1.jar. > > What am I missing? > > > Exception > Dec 20, 2013 11:55:31 AM org.apache.solr.client.solrj.impl.HttpClientUtil > createClient > INFO: Creating new http client, > config:maxConnections=128&maxConnectionsPerHost=32&followRedirects=false > org.apache.http.conn.ssl.SSLInitializationException: Failure initializing > default system SSL context
<snip> > Caused by: java.io.IOException: Keystore was tampered with, or password was > incorrect <snip> > Caused by: java.security.UnrecoverableKeyException: Password verification > failed This is basically a Tomcat and/or Java issue. Something in the system has told Tomcat that it should use an SSL context, but there's a problem with the Java keystore where it's trying to get the certificate for SSL. If you actually do intend to use SSL, you'll need to fix it. If you don't, you'll need to turn it off. I wish I knew enough about what to do, but I've barely ever touched Tomcat. Thanks, Shawn