: SimplePostTool: FATAL: Connection error (is Solr running at 
http://localhost:8983/solr/update ?): java.io.IOException: Server returned HTTP 
response code: 500 for URL: http://localhost:8983/solr/update
: 
: Is there any way to let "Solr" to be more verbose than that ?

Solr outputs all errors using whatever default error page format your 
servlet container uses, it also logs all errors tothe servlet containers 
loging system.

this specific error indicates that post.jar could not connect to Solr at 
all (hence the "FATAL: Connection error" and the hint that perhaps Solr 
isn't actually runing at the URL ypost.jar is trying to contact.) 

If you are using the example Jetty setup that comes with Solr, and you 
send a document that triggers a Solr error, post.jar will output something 
like this (in this specific error, the problem is that the document 
being posted is total giberesh, an not XML at all)...

SimplePostTool: FATAL: Solr returned an error: 
ParseError_at_rowcol11_Message_only_whitespace_content_allowed_before_start_tag_and_not___javaxxmlstreamXMLStreamException_ParseError_at_rowcol11_Message_only_whitespace_content_allowed_before_start_tag_and_not___at_combeaxmlstreamMXParserparsePrologMXParserjava2044__at_combeaxmlstreamMXParsernextImplMXParserjava1947__at_combeaxmlstreamMXParsernextMXParserjava1333__at_orgapachesolrhandlerXmlUpdateRequestHandlerprocessUpdateXmlUpdateRequestHandlerjava148__at_orgapachesolrhandlerXmlUpdateRequestHandlerhandleRequestBodyXmlUpdateRequestHandlerjava123__at_orgapachesolrhandlerRequestHandlerBasehandleRequestRequestHandlerBasejava78__at_orgapachesolrcoreSolrCoreexecuteSolrCorejava807__at_orgapachesolrservletSolrDispatchFilterexecuteSolrDispatchFilterjava206__at_orgapachesolrservletSolrDispatchFilterdoFilterSolrDispatchFilterjava174__at_orgmortbayjettyservletServletHandler$CachedChaindoFilterServletHandlerjava1089__at_orgmortbayjettyservletServletHandlerhandleServletHandlerjava365__at_orgmortbayjettysecuritySecurityHandlerhandleSecurityHandlerjava216__at_orgmortbayjettyservletSessionHandlerhandleSessionHandlerjava181__at_orgmortbayjettyhandlerContextHandlerhandleContextHandlerjava712__at_orgmortbayjettywebappWebAppContexthandleWebAppContextjava405__at_orgmortbayjettyhandlerContextHandlerCollectionhandleContextHandlerCollectionjava211__at_orgmortbayjettyhandlerHandlerCollectionhandleHandlerCollectionjava114__at_orgmortbayjettyhandlerHandlerWrapperhandleHandlerWrapperjava139__at_orgmortbayjettyServerhandleServerjava285__at_orgmortbayjettyHttpConnectionhandleRequestHttpConnectionjava502__at_orgmortbayjettyHttpConnection$RequestHandlercontentHttpConnectionjava835__at_orgmortbayjettyHttpParserparseNextHttpParserjava641__at_orgmortbayjettyHttpParserparseAvailableHttpParserjava202__at_orgmortbayjettyHttpCo



-Hoss

Reply via email to