Article - CS265346
While creating cores throws warning message java.net.ConnectException Connection refused when setup Solr Cloud configuration in Windchill PDMLink 11.0
Modified: 23-Jun-2017
Applies To
- Windchill PDMLink 11.0
Description
- While creating cores throws warning message java.net.ConnectException Connection refused when setup Solr Cloud configuration.
- While creating cores it reports following warning message:
Connecting to ZooKeeper at <Zookeeper_hostname1_FQDN:2181>,<Zookeeper_hostname1_FQDN:2182> ...
WARN org.apache.zookeeper.ClientCnxn$SendThread; Session 0x0 for server null, unexpected error, closing socket connection and attempting reconnect
java.net.ConnectException: Connection refused
at sun.nio.ch.SocketChannelImpl.checkConnect(Native Method)
at sun.nio.ch.SocketChannelImpl.finishConnect(SocketChannelImpl.java:717)
at org.apache.zookeeper.ClientCnxnSocketNIO.doTransport(ClientCnxnSocketNIO.java:361)
at org.apache.zookeeper.ClientCnxn$SendThread.run(ClientCnxn.java:1081)
Uploading <Solr_Home>/SolrServer/solr_schemas/wblib/conf for config wblib to ZooKeeper at <Zookeeper_hostname1_FQDN:2181>,<Zookeeper_hostname1_FQDN:2182>
Creating new collection 'wblib' using command:
http://localhost:8085/solr/admin/collections?action=CREATE&name=wblib&numShards=1&replicationFactor=2&maxShardsPerNode=1&collection.configName=wblib
{
"responseHeader":{
"status":0,
"QTime":5210},
"success":{"":{
"responseHeader":{
"status":0,
"QTime":4857},
"core":"wblib_shard1_replica2"}}}
WARN org.apache.zookeeper.ClientCnxn$SendThread; Session 0x0 for server null, unexpected error, closing socket connection and attempting reconnect
java.net.ConnectException: Connection refused
at sun.nio.ch.SocketChannelImpl.checkConnect(Native Method)
at sun.nio.ch.SocketChannelImpl.finishConnect(SocketChannelImpl.java:717)
at org.apache.zookeeper.ClientCnxnSocketNIO.doTransport(ClientCnxnSocketNIO.java:361)
at org.apache.zookeeper.ClientCnxn$SendThread.run(ClientCnxn.java:1081)
Uploading <Solr_Home>/SolrServer/solr_schemas/wblib/conf for config wblib to ZooKeeper at <Zookeeper_hostname1_FQDN:2181>,<Zookeeper_hostname1_FQDN:2182>
Creating new collection 'wblib' using command:
http://localhost:8085/solr/admin/collections?action=CREATE&name=wblib&numShards=1&replicationFactor=2&maxShardsPerNode=1&collection.configName=wblib
{
"responseHeader":{
"status":0,
"QTime":5210},
"success":{"":{
"responseHeader":{
"status":0,
"QTime":4857},
"core":"wblib_shard1_replica2"}}}
- How to install and Configure Index Search Server in Cloud Mode?
This is a printer-friendly version of Article 265346 and may be out of date. For the latest version click CS265346