Foren

Problem when using elasticsearch Liferay 7 GA1

thumbnail
SKTT1. Faker, geändert vor 7 Jahren.

Problem when using elasticsearch Liferay 7 GA1

New Member Beiträge: 21 Beitrittsdatum: 02.04.16 Neueste Beiträge
I wanna using elasticsearch, I try doing it same in https://github.com/liferay/liferay-portal/blob/master/modules/apps/foundation/portal-search
/portal-search-elasticsearch
but it not working

I have file .bnd:

Bundle-SymbolicName: elasticsearchv2
Bundle-Version: 1.0.0

Bundle-ClassPath: \
.,\
lib/com.springsource.com.ibm.netrexx.jar
-includeresource: \
 lib/com.springsource.com.ibm.netrexx.jar=com.springsource.com.ibm.netrexx-2.0.5.jar
Include-Resource:\
@antlr-runtime-3.5.jar,\
@asm-commons-4.1.jar,\
@asm-4.1.jar,\
@commons-cli-1.3.1.jar,\
@commons-io-2.4.jar,\
@commons-lang-2.6.jar,\
@compress-lzf-1.0.2.jar,\
@guava-18.0.jar,\
@hppc-0.7.1.jar,\
@jackson-core-2.6.2.jar,\
@jackson-dataformat-cbor-2.6.2.jar,\
@jackson-dataformat-smile-2.6.2.jar,\
@jackson-dataformat-yaml-2.6.2.jar,\
@jackson-dataformat-xml-2.6.2.jar,\
@joda-convert-1.2.jar,\
@joda-time-2.8.2.jar,\
@jts-1.13.jar,\
@lucene-analyzers-common-5.4.1.jar,\
@lucene-core-5.4.1.jar,\
@lucene-grouping-5.4.1.jar,\
@lucene-highlighter-5.4.1.jar,\
@lucene-join-5.4.1.jar,\
@lucene-memory-5.4.1.jar,\
@lucene-misc-5.4.1.jar,\
@lucene-queries-5.4.1.jar,\
@lucene-queryparser-5.4.1.jar,\
@lucene-sandbox-5.4.1.jar,\
@lucene-spatial-5.4.1.jar,\
@lucene-suggest-5.4.1.jar,\
@netty-3.10.5.Final.jar,\
@noggit-0.6.jar,\
@org.elasticsearch-2.2.0.LIFERAY-PATCHED-1.jar,\
@snakeyaml-1.15.jar,\
@spatial4j-0.5.jar,\
@t-digest-3.0.jar,\
@compiler-0.8.13.jar,\
@protobuf-java-2.5.0.jar,\
@commons-compress-1.4.1.jar,\
@jna-4.1.0.jar,\
@jsr166e-1.1.0.jar,\
@groovy-all-2.4.4.jar,\
@jline-2.12.jar,\
@junit-4.12.jar,\
@HdrHistogram-2.1.8.jar,\
@stringtemplate-3.2.1.jar,\
@bsf-2.4.0.jar,\
@ivy-2.4.0.jar,\
@lucene-expressions-5.4.1.jar,\
@tomcat-jni-8.0.27.jar,\
@bcprov-jdk15on-1.52.jar,\
@bcpkix-jdk15on-1.52.jar,\
@npn-api-1.1.0.v20120525.jar,\
@jboss-logging-3.2.1.Final.jar,\
@jboss-marshalling-1.4.6.Final.jar


And file .gralde :
dependencies {
	compile group: "com.liferay.portal", name: "com.liferay.portal.kernel", version: "2.0.0"
	compile group: "javax.portlet", name: "portlet-api", version: "2.0"
	compile group: "javax.servlet", name: "servlet-api", version: "2.5"
	compile group: "org.osgi", name: "org.osgi.compendium", version: "5.0.0"
	compile group: "biz.aQute.bnd", name: "biz.aQute.bndlib", version: "3.1.0"
	compile group: "org.osgi", name: "org.osgi.service.component.annotations", version: "1.3.0"
	
	runtime group: 'org.antlr', name: 'antlr-runtime', version: '3.5'
	runtime group: "org.ow2.asm", name: "asm-commons", version: "4.1"
	runtime group: 'org.ow2.asm', name: 'asm', version: '4.1'
	runtime group: "commons-cli", name: "commons-cli", version: "1.3.1"
	runtime group: "commons-io", name: "commons-io", version: "2.4"
	runtime group: "commons-lang", name: "commons-lang", version: "2.6"
	runtime group: "com.ning", name: "compress-lzf", version: "1.0.2"
	runtime group: "com.google.guava", name: "guava", version: "18.0"
	runtime group: "com.carrotsearch", name: "hppc", version: "0.7.1"
	runtime group: "com.fasterxml.jackson.core", name: "jackson-core", version: "2.6.2"
	runtime group: "com.fasterxml.jackson.dataformat", name: "jackson-dataformat-cbor", version: "2.6.2"
	runtime group: "com.fasterxml.jackson.dataformat", name: "jackson-dataformat-smile", version: "2.6.2"
	
	runtime group: "com.fasterxml.jackson.dataformat", name: "jackson-dataformat-yaml", version: "2.6.2"
	runtime group: 'com.fasterxml.jackson.dataformat', name: 'jackson-dataformat-xml', version: '2.6.2'
	runtime group: "org.joda", name: "joda-convert", version: "1.2"
	runtime group: "joda-time", name: "joda-time", version: "2.8.2"
	runtime group: "com.vividsolutions", name: "jts", version: "1.13"
	runtime group: "org.apache.lucene", name: "lucene-analyzers-common", version: "5.4.1"
	runtime group: "org.apache.lucene", name: "lucene-core", version: "5.4.1"
	runtime group: "org.apache.lucene", name: "lucene-grouping", version: "5.4.1"
	runtime group: "org.apache.lucene", name: "lucene-highlighter", version: "5.4.1"
	runtime group: "org.apache.lucene", name: "lucene-join", version: "5.4.1"
	runtime group: "org.apache.lucene", name: "lucene-memory", version: "5.4.1"
	
	runtime group: "org.apache.lucene", name: "lucene-misc", version: "5.4.1"
	runtime group: "org.apache.lucene", name: "lucene-queries", version: "5.4.1"
	runtime group: "org.apache.lucene", name: "lucene-queryparser", version: "5.4.1"
	runtime group: "org.apache.lucene", name: "lucene-sandbox", version: "5.4.1"
	runtime group: "org.apache.lucene", name: "lucene-spatial", version: "5.4.1"
	runtime group: "org.apache.lucene", name: "lucene-suggest", version: "5.4.1"
	
	runtime group: "io.netty", name: "netty", version: "3.10.5.Final"
	runtime group: "org.noggit", name: "noggit", version: "0.6"	
	runtime group: "com.liferay", name: "org.elasticsearch", version: "2.2.0.LIFERAY-PATCHED-1"
	runtime group: "org.yaml", name: "snakeyaml", version: "1.15"
	runtime group: "com.spatial4j", name: "spatial4j", version: "0.5"
	runtime group: "com.tdunning", name: "t-digest", version: "3.0"
	
	
	runtime group: 'com.github.spullara.mustache.java', name: 'compiler', version: '0.8.13'
	
	runtime group: 'com.google.protobuf', name: 'protobuf-java', version: '2.5.0'
	runtime group: 'org.apache.commons', name: 'commons-compress', version: '1.4.1'
	runtime group: 'net.java.dev.jna', name: 'jna', version: '4.1.0'
	
	runtime group: "com.twitter", name: "jsr166e", version: "1.1.0"
	
	runtime group: 'org.codehaus.groovy', name: 'groovy-all', version: '2.4.4'
	runtime group: 'jline', name: 'jline', version: '2.12'
	runtime group: 'junit', name: 'junit', version: '4.12'
	runtime group: "org.hdrhistogram", name: "HdrHistogram", version: "2.1.8"
	runtime group: 'org.antlr', name: 'stringtemplate', version: '3.2.1'
	runtime group: 'bsf', name: 'bsf', version: '2.4.0'
	runtime group: 'org.apache.ivy', name: 'ivy', version: '2.4.0'
	runtime group: 'org.apache.lucene', name: 'lucene-expressions', version: '5.4.1'
	
	
	runtime group: 'org.apache.tomcat', name: 'tomcat-jni', version: '8.0.27'
	runtime group: 'org.bouncycastle', name: 'bcprov-jdk15on', version: '1.52'
	runtime group: 'org.bouncycastle', name: 'bcpkix-jdk15on', version: '1.52'	
	runtime group: 'org.eclipse.jetty.npn', name: 'npn-api', version: '1.1.0.v20120525'
	
	
	runtime group: 'org.jboss.logging', name: 'jboss-logging', version: '3.2.1.Final'
	runtime group: 'org.jboss.marshalling', name: 'jboss-marshalling', version: '1.4.6.Final'
	}


Could you tell me why it 's wrong, thanks.