You are viewing a plain text version of this content. The canonical link for it is here.
Posted to solr-user@lucene.apache.org by Jay Parashar <BP...@slb.com> on 2016/09/22 15:02:27 UTC

Solr on GCE

Hi,

Is it possible to have SolrJ client running on Google App Engine to talk to a Solr instance hosted on a compute engine? The solr version is 6.2.0

There is also a similar question on Stack Overflow but no answers
http://stackoverflow.com/questions/37390072/httpsolrclient-on-google-app-engine


I am getting the following error

at org.apache.zookeeper.ClientCnxn$SendThread.run(ClientCnxn.java:1003) ~[zookeeper-3.4.6.jar:3.4.6-1569965]
[INFO] 09:46:56.419 [main-SendThread(nlxs5139.best-nl0114.slb.com:2181)] INFO  org.apache.zookeeper.ClientCnxn - Opening socket connection to server nlxs5139.best-nl0114.slb.com/199.6.212.77:2181. Will not attempt to authenticate using SASL (unknown error)
[INFO] 09:46:56.419 [main-SendThread(nlxs5139.best-nl0114.slb.com:2181)] WARN  org.apache.zookeeper.ClientCnxn - Session 0x0 for server null, unexpected error, closing socket connection and attempting reconnect
[INFO] java.lang.NoClassDefFoundError: java.nio.channels.SocketChannel is a restricted class. Please see the Google  App Engine developer's guide for more details.
[INFO] 	at com.google.appengine.tools.development.agent.runtime.Runtime.reject(Runtime.java:52) ~[appengine-agentruntime.jar:na]


Thanks
Jay