lucene-solr-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Chris Hostetter <>
Subject Re: solr setup
Date Sat, 06 May 2006 02:12:20 GMT

: I'm getting this error message:
: org.apache.jasper.JasperException: Unable to compile class for JSP
: An error occurred at line: 18 in the jsp file: /admin/stats.jsp
: Generated servlet error:
: /var/lib/tomcat5/work/Catalina/localhost/solr/org/apache/jsp/admin/ for-each
loops are not supported in -source 1.3
: (try -source 1.5 to enable for-each loops)
: for (SolrInfoMBean.Category cat : SolrInfoMBean.Category.values()) {

This is an issue with TomCat trying to compile the JSPs using Java1.3 --
but Solr requires that it be compiled and run using Java1.5.

I'm notsure why TomCat choose to make hte default 1.3, but you can change
by setting the compilerSourceVM and compilerTargetVM values in your
server config.  They are documented here...

: java.lang.NullPointerException
:         org.apache.jsp.admin.action_jsp._jspService(

That was definitely a Solr bug.  Chaning the log level uses the
same JSP as togglging the "health check" status -- and that JSP wanted to
make a File object out of the healthCheck file name ... even if there
wasn't one.

I've commited a fix.


View raw message