lucene-solr-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From watson <ron.jagannat...@gmail.com>
Subject solr error when querying.
Date Wed, 23 May 2012 14:30:17 GMT
Here is my query:
http://127.0.0.1:8888/solr/JOBS/select/??q=Apache&wt=xslt&tr=example.xslt

The response I get is the following.  I have example.xslt in the /conf/xslt
path.   What is wrong here?  Thanks!


HTTP ERROR 500

Problem accessing /solr/JOBS/select/. Reason:

    getTransformer fails in getContentType

java.lang.RuntimeException: getTransformer fails in getContentType
	at
org.apache.solr.response.XSLTResponseWriter.getContentType(XSLTResponseWriter.java:72)
	at
org.apache.solr.servlet.SolrDispatchFilter.writeResponse(SolrDispatchFilter.java:326)
	at
org.apache.solr.servlet.SolrDispatchFilter.doFilter(SolrDispatchFilter.java:261)
	at
com.google.inject.servlet.FilterDefinition.doFilter(FilterDefinition.java:129)
	at
com.google.inject.servlet.FilterChainInvocation.doFilter(FilterChainInvocation.java:59)
	at
com.google.inject.servlet.ManagedFilterPipeline.dispatch(ManagedFilterPipeline.java:122)
	at com.google.inject.servlet.GuiceFilter.doFilter(GuiceFilter.java:110)
	at
org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1212)
	at org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:399)
	at
org.mortbay.jetty.security.SecurityHandler.handle(SecurityHandler.java:216)
	at org.mortbay.jetty.servlet.SessionHandler.handle(SessionHandler.java:182)
	at org.mortbay.jetty.handler.ContextHandler.handle(ContextHandler.java:766)
	at org.mortbay.jetty.webapp.WebAppContext.handle(WebAppContext.java:450)
	at
org.mortbay.jetty.handler.ContextHandlerCollection.handle(ContextHandlerCollection.java:230)
	at
org.mortbay.jetty.handler.HandlerCollection.handle(HandlerCollection.java:114)
	at org.mortbay.jetty.handler.HandlerWrapper.handle(HandlerWrapper.java:152)
	at org.mortbay.jetty.Server.handle(Server.java:326)
	at org.mortbay.jetty.HttpConnection.handleRequest(HttpConnection.java:542)
	at
org.mortbay.jetty.HttpConnection$RequestHandler.headerComplete(HttpConnection.java:928)
	at org.mortbay.jetty.HttpParser.parseNext(HttpParser.java:549)
	at org.mortbay.jetty.HttpParser.parseAvailable(HttpParser.java:212)
	at org.mortbay.jetty.HttpConnection.handle(HttpConnection.java:404)
	at
org.mortbay.jetty.bio.SocketConnector$Connection.run(SocketConnector.java:228)
	at
org.mortbay.thread.QueuedThreadPool$PoolThread.run(QueuedThreadPool.java:582)
Caused by: java.io.IOException: Unable to initialize Templates
'example.xslt'
	at
org.apache.solr.util.xslt.TransformerProvider.getTemplates(TransformerProvider.java:117)
	at
org.apache.solr.util.xslt.TransformerProvider.getTransformer(TransformerProvider.java:77)
	at
org.apache.solr.response.XSLTResponseWriter.getTransformer(XSLTResponseWriter.java:130)
	at
org.apache.solr.response.XSLTResponseWriter.getContentType(XSLTResponseWriter.java:69)
	... 23 more
Caused by: javax.xml.transform.TransformerConfigurationException: Could not
compile stylesheet
	at
com.sun.org.apache.xalan.internal.xsltc.trax.TransformerFactoryImpl.newTemplates(Unknown
Source)
	at
org.apache.solr.util.xslt.TransformerProvider.getTemplates(TransformerProvider.java:110)
	... 26 more


--
View this message in context: http://lucene.472066.n3.nabble.com/solr-error-when-querying-tp3985677.html
Sent from the Solr - User mailing list archive at Nabble.com.

Mime
View raw message