Whenever I've encountered this, the cause has nearly always been starting
tomcat with the proper current working directory.
I went through the example install a few weeks ago, line by line, from the
wiki page for Tomcat and it ran fine.  I'm running 5.5.17, and have done
this on both FC5 and FC6.

Other things of importance: proper chmod settings on /bin under
apache-tomcat.

Hope this helps.

-- j

On 4/3/07, Karen Loughran <[EMAIL PROTECTED]> wrote:



Hi all,

I'm trying to install Solr in a Tomcat 5.5.17 container on Linux Fedora
core 5.  I receive "org.apache.jasper.JasperException: Exception in
JSP: /admin/_info.jsp:27".  Full error given below.

I'm following the instructions on the WIKI

I have copied the solr.war (from apache-solr-1.1.0) to
$CATALINA_HOME/webapps.
I have copied the example solr home example/solr as a template for my
solr home.
I then start tomcat from the same directory which contains this solr
directory as instructed in the wiki.


Any help would be much appreciated,
Thanks
Karen


Full Error:

type Exception report
INFO: Deploying web application archive solr.war
Apr 3, 2007 2:52:47 PM org.apache.solr.servlet.SolrServlet init
INFO: SolrServlet.init()
Apr 3, 2007 2:52:47 PM org.apache.solr.servlet.SolrServlet init
INFO: No /solr/home in JNDI
Apr 3, 2007 2:52:47 PM org.apache.solr.servlet.SolrServlet init


message

description The server encountered an internal error () that prevented
it from fulfilling this request.

exception

org.apache.jasper.JasperException: Exception in JSP: /admin/_info.jsp:27

24:
25: <%-- jsp:include page="header.jsp"/ --%>
26: <%-- do a verbatim include so we can use the local vars --%>
27: <[EMAIL PROTECTED] file="header.jsp" %>
28:
29: <br clear="all">
30: <table>


Stacktrace:
        org.apache.jasper.servlet.JspServletWrapper.handleJspException(
JspServletWrapper.java:504)
        org.apache.jasper.servlet.JspServletWrapper.service(
JspServletWrapper.java:375)
        org.apache.jasper.servlet.JspServlet.serviceJspFile(
JspServlet.java:314)
        org.apache.jasper.servlet.JspServlet.service(JspServlet.java:264)
        javax.servlet.http.HttpServlet.service(HttpServlet.java:802)

root cause

javax.servlet.ServletException
        org.apache.jasper.runtime.PageContextImpl.doHandlePageException(
PageContextImpl.java:858)
        org.apache.jasper.runtime.PageContextImpl.handlePageException(
PageContextImpl.java:791)
        org.apache.jsp.admin.index_jsp._jspService(index_jsp.java:313)
        org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:97)
        javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
        org.apache.jasper.servlet.JspServletWrapper.service(
JspServletWrapper.java:332)
        org.apache.jasper.servlet.JspServlet.serviceJspFile(
JspServlet.java:314)
        org.apache.jasper.servlet.JspServlet.service(JspServlet.java:264)
        javax.servlet.http.HttpServlet.service(HttpServlet.java:802)

root cause

java.lang.NoClassDefFoundError
        org.apache.jsp.admin.index_jsp._jspService(index_jsp.java:80)
        org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:97)
        javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
        org.apache.jasper.servlet.JspServletWrapper.service(
JspServletWrapper.java:332)
        org.apache.jasper.servlet.JspServlet.serviceJspFile(
JspServlet.java:314)
        org.apache.jasper.servlet.JspServlet.service(JspServlet.java:264)
        javax.servlet.http.HttpServlet.service(HttpServlet.java:802)


Reply via email to