You are viewing a plain text version of this content. The canonical link for it is here.
Posted to solr-user@lucene.apache.org by Robin Bonin <rb...@gmail.com> on 2007/09/01 17:21:59 UTC

Trouble with Windows / Tomcat install

Hi all, I followed the instructions in the wiki here,
http://wiki.apache.org/solr/SolrTomcat
I know Tomcat is running, but when I pull up my solr admin page, I get
the following error.


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

exception org.apache.jasper.JasperException
	org.apache.jasper.servlet.JspServletWrapper.handleJspException(JspServletWrapper.java:476)
	org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:371)
	org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:315)
	org.apache.jasper.servlet.JspServlet.service(JspServlet.java:265)
	javax.servlet.http.HttpServlet.service(HttpServlet.java:803)

root cause javax.servlet.ServletException
	org.apache.jasper.runtime.PageContextImpl.doHandlePageException(PageContextImpl.java:846)
	org.apache.jasper.runtime.PageContextImpl.handlePageException(PageContextImpl.java:779)
	org.apache.jsp.admin.index_jsp._jspService(index_jsp.java:313)
	org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:98)
	javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
	org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:328)
	org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:315)
	org.apache.jasper.servlet.JspServlet.service(JspServlet.java:265)
	javax.servlet.http.HttpServlet.service(HttpServlet.java:803)

root cause java.lang.NoClassDefFoundError
	org.apache.jsp.admin.index_jsp._jspService(index_jsp.java:80)
	org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:98)
	javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
	org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:328)
	org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:315)
	org.apache.jasper.servlet.JspServlet.service(JspServlet.java:265)
	javax.servlet.http.HttpServlet.service(HttpServlet.java:803)

Apache Tomcat/5.5.23

Re: Trouble with Windows / Tomcat install

Posted by Robin Bonin <rb...@gmail.com>.
Sorry if my response was long.. I have it working now, thanks

On 9/1/07, Jae Joo <ja...@gmail.com> wrote:
> Solr and tomcat connection does not require any copies and moves of jar
> file. All of the jar files are in solr.war file.
>
> Can you send your solr.xml file?
> If you use "\" instead of "/", you have to your "\\" to point the solr
> instance in solr.xml conf.
>
> Jae
>
> On 9/1/07, Robin Bonin <rb...@gmail.com> wrote:
> >
> > I tried both solr-1.1 and 1.2, I was having more trouble with 1.2, so
> > i went back to 1.1.
> > I did copy the war from dist, and renamed to just solr, but I have no
> > xml file for solr in conf.
> > I was using the java 'option' -Dsolr.solr.home=C:\Solr\
> >
> > I just removed the solr war and folder from web apps and moved to
> > tomcat\shared\lib and created a solr.xml file under locahost with the
> > correct path to the war,and solr folder, and I get the same error.
> >
> > I tried changing the paths in the XML to the wrong ones to watch how
> > the message changed and I found the problem (mid email)...
> >
> > the step 'Copy the contents of the example directory
> > c:\temp\solrZip\example\solr\ to c:\web\solr\'
> >
> > I had copied everything from the example directory, not example\solr.
> > so the path was a directory off
> >
> > Thanks for your help.
> >
> >
> > On 9/1/07, Jae Joo <ja...@gmail.com> wrote:
> > > did you build solr.xml in $CATALINA_HOME/conf//Catalina/localhost ?
> > > it yes, please double check the directory information.
> > > And did you copy the apache-solr-1.2.0.war to solr.war in dist
> > directory?
> > >
> > > Jae
> > >
> > > On 9/1/07, Robin Bonin <rb...@gmail.com> wrote:
> > > >
> > > > Hi all, I followed the instructions in the wiki here,
> > > > http://wiki.apache.org/solr/SolrTomcat
> > > > I know Tomcat is running, but when I pull up my solr admin page, I get
> > > > the following error.
> > > >
> > > >
> > > > description The server encountered an internal error () that prevented
> > > > it from fulfilling this request.
> > > >
> > > > exception org.apache.jasper.JasperException
> > > >         org.apache.jasper.servlet.JspServletWrapper.handleJspException
> > (
> > > > JspServletWrapper.java:476)
> > > >         org.apache.jasper.servlet.JspServletWrapper.service(
> > > > JspServletWrapper.java:371)
> > > >         org.apache.jasper.servlet.JspServlet.serviceJspFile(
> > > > JspServlet.java:315)
> > > >         org.apache.jasper.servlet.JspServlet.service(JspServlet.java
> > :265)
> > > >         javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
> > > >
> > > > root cause javax.servlet.ServletException
> > > >
> > org.apache.jasper.runtime.PageContextImpl.doHandlePageException(
> > > > PageContextImpl.java:846)
> > > >         org.apache.jasper.runtime.PageContextImpl.handlePageException(
> > > > PageContextImpl.java:779)
> > > >         org.apache.jsp.admin.index_jsp._jspService(index_jsp.java:313)
> > > >         org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java
> > :98)
> > > >         javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
> > > >         org.apache.jasper.servlet.JspServletWrapper.service(
> > > > JspServletWrapper.java:328)
> > > >         org.apache.jasper.servlet.JspServlet.serviceJspFile(
> > > > JspServlet.java:315)
> > > >         org.apache.jasper.servlet.JspServlet.service(JspServlet.java
> > :265)
> > > >         javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
> > > >
> > > > root cause java.lang.NoClassDefFoundError
> > > >         org.apache.jsp.admin.index_jsp._jspService(index_jsp.java:80)
> > > >         org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java
> > :98)
> > > >         javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
> > > >         org.apache.jasper.servlet.JspServletWrapper.service(
> > > > JspServletWrapper.java:328)
> > > >         org.apache.jasper.servlet.JspServlet.serviceJspFile(
> > > > JspServlet.java:315)
> > > >         org.apache.jasper.servlet.JspServlet.service(JspServlet.java
> > :265)
> > > >         javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
> > > >
> > > > Apache Tomcat/5.5.23
> > > >
> > >
> >
>

Re: Trouble with Windows / Tomcat install

Posted by Jae Joo <ja...@gmail.com>.
Solr and tomcat connection does not require any copies and moves of jar
file. All of the jar files are in solr.war file.

Can you send your solr.xml file?
If you use "\" instead of "/", you have to your "\\" to point the solr
instance in solr.xml conf.

Jae

On 9/1/07, Robin Bonin <rb...@gmail.com> wrote:
>
> I tried both solr-1.1 and 1.2, I was having more trouble with 1.2, so
> i went back to 1.1.
> I did copy the war from dist, and renamed to just solr, but I have no
> xml file for solr in conf.
> I was using the java 'option' -Dsolr.solr.home=C:\Solr\
>
> I just removed the solr war and folder from web apps and moved to
> tomcat\shared\lib and created a solr.xml file under locahost with the
> correct path to the war,and solr folder, and I get the same error.
>
> I tried changing the paths in the XML to the wrong ones to watch how
> the message changed and I found the problem (mid email)...
>
> the step 'Copy the contents of the example directory
> c:\temp\solrZip\example\solr\ to c:\web\solr\'
>
> I had copied everything from the example directory, not example\solr.
> so the path was a directory off
>
> Thanks for your help.
>
>
> On 9/1/07, Jae Joo <ja...@gmail.com> wrote:
> > did you build solr.xml in $CATALINA_HOME/conf//Catalina/localhost ?
> > it yes, please double check the directory information.
> > And did you copy the apache-solr-1.2.0.war to solr.war in dist
> directory?
> >
> > Jae
> >
> > On 9/1/07, Robin Bonin <rb...@gmail.com> wrote:
> > >
> > > Hi all, I followed the instructions in the wiki here,
> > > http://wiki.apache.org/solr/SolrTomcat
> > > I know Tomcat is running, but when I pull up my solr admin page, I get
> > > the following error.
> > >
> > >
> > > description The server encountered an internal error () that prevented
> > > it from fulfilling this request.
> > >
> > > exception org.apache.jasper.JasperException
> > >         org.apache.jasper.servlet.JspServletWrapper.handleJspException
> (
> > > JspServletWrapper.java:476)
> > >         org.apache.jasper.servlet.JspServletWrapper.service(
> > > JspServletWrapper.java:371)
> > >         org.apache.jasper.servlet.JspServlet.serviceJspFile(
> > > JspServlet.java:315)
> > >         org.apache.jasper.servlet.JspServlet.service(JspServlet.java
> :265)
> > >         javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
> > >
> > > root cause javax.servlet.ServletException
> > >
> org.apache.jasper.runtime.PageContextImpl.doHandlePageException(
> > > PageContextImpl.java:846)
> > >         org.apache.jasper.runtime.PageContextImpl.handlePageException(
> > > PageContextImpl.java:779)
> > >         org.apache.jsp.admin.index_jsp._jspService(index_jsp.java:313)
> > >         org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java
> :98)
> > >         javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
> > >         org.apache.jasper.servlet.JspServletWrapper.service(
> > > JspServletWrapper.java:328)
> > >         org.apache.jasper.servlet.JspServlet.serviceJspFile(
> > > JspServlet.java:315)
> > >         org.apache.jasper.servlet.JspServlet.service(JspServlet.java
> :265)
> > >         javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
> > >
> > > root cause java.lang.NoClassDefFoundError
> > >         org.apache.jsp.admin.index_jsp._jspService(index_jsp.java:80)
> > >         org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java
> :98)
> > >         javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
> > >         org.apache.jasper.servlet.JspServletWrapper.service(
> > > JspServletWrapper.java:328)
> > >         org.apache.jasper.servlet.JspServlet.serviceJspFile(
> > > JspServlet.java:315)
> > >         org.apache.jasper.servlet.JspServlet.service(JspServlet.java
> :265)
> > >         javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
> > >
> > > Apache Tomcat/5.5.23
> > >
> >
>

Re: Trouble with Windows / Tomcat install

Posted by Robin Bonin <rb...@gmail.com>.
I tried both solr-1.1 and 1.2, I was having more trouble with 1.2, so
i went back to 1.1.
I did copy the war from dist, and renamed to just solr, but I have no
xml file for solr in conf.
I was using the java 'option' -Dsolr.solr.home=C:\Solr\

I just removed the solr war and folder from web apps and moved to
tomcat\shared\lib and created a solr.xml file under locahost with the
correct path to the war,and solr folder, and I get the same error.

I tried changing the paths in the XML to the wrong ones to watch how
the message changed and I found the problem (mid email)...

the step 'Copy the contents of the example directory
c:\temp\solrZip\example\solr\ to c:\web\solr\'

I had copied everything from the example directory, not example\solr.
so the path was a directory off

Thanks for your help.


On 9/1/07, Jae Joo <ja...@gmail.com> wrote:
> did you build solr.xml in $CATALINA_HOME/conf//Catalina/localhost ?
> it yes, please double check the directory information.
> And did you copy the apache-solr-1.2.0.war to solr.war in dist directory?
>
> Jae
>
> On 9/1/07, Robin Bonin <rb...@gmail.com> wrote:
> >
> > Hi all, I followed the instructions in the wiki here,
> > http://wiki.apache.org/solr/SolrTomcat
> > I know Tomcat is running, but when I pull up my solr admin page, I get
> > the following error.
> >
> >
> > description The server encountered an internal error () that prevented
> > it from fulfilling this request.
> >
> > exception org.apache.jasper.JasperException
> >         org.apache.jasper.servlet.JspServletWrapper.handleJspException(
> > JspServletWrapper.java:476)
> >         org.apache.jasper.servlet.JspServletWrapper.service(
> > JspServletWrapper.java:371)
> >         org.apache.jasper.servlet.JspServlet.serviceJspFile(
> > JspServlet.java:315)
> >         org.apache.jasper.servlet.JspServlet.service(JspServlet.java:265)
> >         javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
> >
> > root cause javax.servlet.ServletException
> >         org.apache.jasper.runtime.PageContextImpl.doHandlePageException(
> > PageContextImpl.java:846)
> >         org.apache.jasper.runtime.PageContextImpl.handlePageException(
> > PageContextImpl.java:779)
> >         org.apache.jsp.admin.index_jsp._jspService(index_jsp.java:313)
> >         org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:98)
> >         javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
> >         org.apache.jasper.servlet.JspServletWrapper.service(
> > JspServletWrapper.java:328)
> >         org.apache.jasper.servlet.JspServlet.serviceJspFile(
> > JspServlet.java:315)
> >         org.apache.jasper.servlet.JspServlet.service(JspServlet.java:265)
> >         javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
> >
> > root cause java.lang.NoClassDefFoundError
> >         org.apache.jsp.admin.index_jsp._jspService(index_jsp.java:80)
> >         org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:98)
> >         javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
> >         org.apache.jasper.servlet.JspServletWrapper.service(
> > JspServletWrapper.java:328)
> >         org.apache.jasper.servlet.JspServlet.serviceJspFile(
> > JspServlet.java:315)
> >         org.apache.jasper.servlet.JspServlet.service(JspServlet.java:265)
> >         javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
> >
> > Apache Tomcat/5.5.23
> >
>

Re: Trouble with Windows / Tomcat install

Posted by Jae Joo <ja...@gmail.com>.
did you build solr.xml in $CATALINA_HOME/conf//Catalina/localhost ?
it yes, please double check the directory information.
And did you copy the apache-solr-1.2.0.war to solr.war in dist directory?

Jae

On 9/1/07, Robin Bonin <rb...@gmail.com> wrote:
>
> Hi all, I followed the instructions in the wiki here,
> http://wiki.apache.org/solr/SolrTomcat
> I know Tomcat is running, but when I pull up my solr admin page, I get
> the following error.
>
>
> description The server encountered an internal error () that prevented
> it from fulfilling this request.
>
> exception org.apache.jasper.JasperException
>         org.apache.jasper.servlet.JspServletWrapper.handleJspException(
> JspServletWrapper.java:476)
>         org.apache.jasper.servlet.JspServletWrapper.service(
> JspServletWrapper.java:371)
>         org.apache.jasper.servlet.JspServlet.serviceJspFile(
> JspServlet.java:315)
>         org.apache.jasper.servlet.JspServlet.service(JspServlet.java:265)
>         javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
>
> root cause javax.servlet.ServletException
>         org.apache.jasper.runtime.PageContextImpl.doHandlePageException(
> PageContextImpl.java:846)
>         org.apache.jasper.runtime.PageContextImpl.handlePageException(
> PageContextImpl.java:779)
>         org.apache.jsp.admin.index_jsp._jspService(index_jsp.java:313)
>         org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:98)
>         javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
>         org.apache.jasper.servlet.JspServletWrapper.service(
> JspServletWrapper.java:328)
>         org.apache.jasper.servlet.JspServlet.serviceJspFile(
> JspServlet.java:315)
>         org.apache.jasper.servlet.JspServlet.service(JspServlet.java:265)
>         javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
>
> root cause java.lang.NoClassDefFoundError
>         org.apache.jsp.admin.index_jsp._jspService(index_jsp.java:80)
>         org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:98)
>         javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
>         org.apache.jasper.servlet.JspServletWrapper.service(
> JspServletWrapper.java:328)
>         org.apache.jasper.servlet.JspServlet.serviceJspFile(
> JspServlet.java:315)
>         org.apache.jasper.servlet.JspServlet.service(JspServlet.java:265)
>         javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
>
> Apache Tomcat/5.5.23
>