This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2016-12-19 20:25:08,042 WARN io.katharsis.servlet.AbstractKatharsisServlet - Katharsis Invoker exception. | |
io.katharsis.invoker.KatharsisInvokerException: com.fasterxml.jackson.databind.JsonMappingException: (was java.lang.NullPointerException) (through reference chain: io.katharsis.response.CollectionResponseContext["response"]->io.katharsis.response.JsonApiResponse["entity"]->org.springframework.data.elasticsearch.core.aggregation.impl.AggregatedPageImpl["facets"]) | |
at io.katharsis.invoker.KatharsisInvoker.invoke(KatharsisInvoker.java:63) | |
at io.katharsis.servlet.AbstractKatharsisServlet.service(AbstractKatharsisServlet.java:63) | |
at javax.servlet.http.HttpServlet.service(HttpServlet.java:729) | |
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:292) | |
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:207) | |
at org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:52) | |
at org.apache.catalina.core.ApplicationFilterCha |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
private SearchResponse doSearch(SearchRequestBuilder searchRequest, SearchQuery searchQuery) { | |
... | |
if(searchQuery.getQuery() != null) { | |
searchRequest.setQuery(searchQuery.getQuery()); | |
} | |
// Print full query before sending | |
if(logger.isDebugEnabled()) { | |
logger.debug("doSearch searchRequest:\n"+ searchRequest.toString()); | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# | |
# tomcat8 | |
# | |
# chkconfig: - 80 20 | |
# | |
### BEGIN INIT INFO | |
# Provides: tomcat8 | |
# Required-Start: $network $syslog | |
# Required-Stop: $network $syslog |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
if [ "$#" -ne 2 ] || ! [ -d "$1" ]; then | |
echo "Usage: $0 /Path/To/Certificate CERT_NAME" >&2 | |
exit 1 | |
fi | |
# This assumes the cert is in the same directory as the script | |
source="$( cd $1 && pwd )" | |
# ca-certificate of the VM |