After upgrading to 4.3 (4.1 was working fine), when creating a corecontainer in order to create an embedded server, i get an SSL error.
Apache is running in front of tomcat so there is no need for the SSL connnection. Also, i see the exception occurs with shards, i am not currently using shards. What has changed in 4.3 and how can i work around it to default to the old behavior? This is how the CoreContainer is created (following SolrWiki steps) - File home = new File(System.getProperty("solr.solr.home", "./solr/conf")); File solrXml = new File( home, "solr.xml" ); try { CoreContainer coreContainer = new CoreContainer(home.getAbsolutePath(), solrXml); solrServer = new EmbeddedSolrServer(coreContainer, ""); } catch (Exception e) { cat.error("Unable to create EmbeddedSolrServer " + e.getMessage(), e); e.printStackTrace(); } This is stack: 2013-06-04 22:08:03,944 Unable to create EmbeddedSolrServer Failure initializing default system SSL context org.apache.http.conn.ssl.SSLInitializationException: Failure initializing default system SSL context at org.apache.http.conn.ssl.SSLSocketFactory.createSystemSSLContext(SSLSocketFactory.java:368) at org.apache.http.conn.ssl.SSLSocketFactory.getSystemSocketFactory(SSLSocketFactory.java:204) at org.apache.http.impl.conn.SchemeRegistryFactory.createSystemDefault(SchemeRegistryFactory.java:82) at org.apache.http.impl.client.SystemDefaultHttpClient.createClientConnectionManager(SystemDefaultHttpClient.java:118) at org.apache.http.impl.client.AbstractHttpClient.getConnectionManager(AbstractHttpClient.java:466) at org.apache.solr.client.solrj.impl.HttpClientUtil.setMaxConnections(HttpClientUtil.java:179) at org.apache.solr.client.solrj.impl.HttpClientConfigurer.configure(HttpClientConfigurer.java:33) at org.apache.solr.client.solrj.impl.HttpClientUtil.configureClient(HttpClientUtil.java:115) at org.apache.solr.client.solrj.impl.HttpClientUtil.createClient(HttpClientUtil.java:105) at org.apache.solr.handler.component.HttpShardHandlerFactory.init(HttpShardHandlerFactory.java:152) at org.apache.solr.core.ConfigSolrXml.initShardHandler(ConfigSolrXml.java:350) at org.apache.solr.core.CoreContainer.load(CoreContainer.java:405) at org.apache.solr.core.CoreContainer.load(CoreContainer.java:358) at org.apache.solr.core.CoreContainer$Initializer.initialize(CoreContainer.java:326) at com.private.solr.server.SolrEmbeddedServer.initSolrEmbeddedServer(SolrEmbeddedServer.java:37) Caused by: java.io.IOException: Keystore was tampered with, or password was incorrect at sun.security.provider.JavaKeyStore.engineLoad(Unknown Source) at sun.security.provider.JavaKeyStore$JKS.engineLoad(Unknown Source) at java.security.KeyStore.load(Unknown Source) at org.apache.http.conn.ssl.SSLSocketFactory.createSystemSSLContext(SSLSocketFactory.java:281) at org.apache.http.conn.ssl.SSLSocketFactory.createSystemSSLContext(SSLSocketFactory.java:366) ... 63 more Caused by: java.security.UnrecoverableKeyException: Password verification failed ... 68 more -- View this message in context: http://lucene.472066.n3.nabble.com/After-Upgrade-to-4-3-EmbeddedServer-errors-with-SSL-context-error-tp4068253.html Sent from the Solr - User mailing list archive at Nabble.com.