E-ES: Ping On Elasticsearch Gives Java Exception: Java.lang.NoClassDefFoundError (Doc ID 2240483.1)

Last updated on MARCH 06, 2017

Applies to:

PeopleSoft Enterprise PT PeopleTools - Version 8.55 and later
Information in this document applies to any platform.

Goal

Cannot ping Elasticsearch, it shows the error-

PTSF_ES.ESIMPL.JsonService.OnExecute Name:hmacAuthenticationHeader PCPC:8935 Statement:137
Called from:PTSF_RNDTRP_WRK.PINGNODE_BTN.FieldFormula Name:doServiceStringCustom Statement:3
Called from:PTSF_RNDTRP_WRK.PINGNODE_BTN.FieldFormula Name:Ping Statement:64
Called from:PTSF_RNDTRP_WRK.PINGNODE_BTN.FieldChange Statement:7

Possible errors include a misspelling of the class name, or not having the location of the class file in the CLASSPATH.

This is on PeopleTools 8.55.12, Elasticsearch 2.3.2,

PIA is installed on AIX 7.1; Elastic Search is installed on Windows 2012 R2

-Made sure on Curl output on AIX serve, it shows the correct information, like below. Elasticsearch is individually accessible from Windows machine also.

-Curl output of http://<xxxx.xx.xx.org:9200/

{
"name" : "<xxxxx.xx.xx.org",
"cluster_name" : "search-dev",
"version" : {
"number" : "2.3.2",
"build_hash" : "b9e4a6acad4008027e4038f6abed7f7dba346f94",
"build_timestamp" : "2016-04-21T16:03:47Z",
"build_snapshot" : false,
"lucene_version" : "5.5.0"
},
"tagline" : "You Know, for Search"
}

 

 

 

Solution

Sign In with your My Oracle Support account

Don't have a My Oracle Support account? Click to get started

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms