Hm, I thought that catalina.sh was part of the Tomcat distribution. I just
checked http://tomcat.apache.org/download-55.cgi#5.5.12 and got the core
binary distribution and catalina.sh is in the bin directory. It is also in
the source distribution.
Also, I've been using Nutch with version 5 for some time (I suspect many
on this list have been doing the same).
- Bill
Michael said:
> Thanks for the reply. However everyone keeps mentioning catalina.sh but
> I don't have one on my system. I think this is due in part to the fact
> that I installed tomcat5. Seemed logical to install version 5 because
> yum was already setup to install it. Rather, I have been going to my
> ROOT directory and executing /usr/bin/tomcat5 start. Have you worked
> with tomcat5 before? Maybe nutch is incompatible.
> Mike
> On Sat, 2005-12-10 at 20:11 +0800, Nguyen Ngoc Giang wrote:
> > It seems that you are running Tomcat at the wrong place. Make sure that you
> > have to put the "db" and "segments" directory at the place you run Tomcat.
> > For example, if you put your Nutch file under ROOT and "db" and "segments"
> > are also there, then you should move to ROOT and start Tomcat as
> > "../../bin/catalina.sh run"
> >
> > On 12/10/05, Michael Taggart <[EMAIL PROTECTED]> wrote:
> > >
> > > Hi all,
> > > I am a total newb with nutch and tomcat, but I have followed the steps
> > > outlined in http://lucene.apache.org/nutch/tutorial.html#Getting+Started
> > > and was able to get the nutch page to show up when I go to
> > > mydomain:8080. However, my problem is when I run a search. Here is the
> > > following output when I run a search:
> > >
> > > HTTP Status 500 -
> > >
> > > ________________________________________________________________________
> > >
> > > type Exception report
> > >
> > > message
> > >
> > > description The server encountered an internal error () that prevented
> > > it from fulfilling this request.
> > >
> > > exception
> > >
> > > org.apache.jasper.JasperException
> > > org.apache.jasper.servlet.JspServletWrapper.service(
> > > javax.servlet.http.HttpServletRequest,
> > > javax.servlet.http.HttpServletResponse, boolean) (/usr/lib/libjasper5-
> > > compiler-5.0.30.jar.so)
> > > org.apache.jasper.servlet.JspServlet.serviceJspFile(
> > > javax.servlet.http.HttpServletRequest,
> > > javax.servlet.http.HttpServletResponse, java.lang.String,
> > > java.lang.Throwable, boolean) (/usr/lib/libjasper5-compiler-5.0.30.jar.so)
> > > org.apache.jasper.servlet.JspServlet.service(
> > > javax.servlet.http.HttpServletRequest,
> > > javax.servlet.http.HttpServletResponse) (/usr/lib/libjasper5-
> > > compiler-5.0.30.jar.so)
> > > javax.servlet.http.HttpServlet.service(
> > > javax.servlet.ServletRequest, javax.servlet.ServletResponse)
> > > (/usr/lib/libservletapi5-5.0.30.jar.so)
> > > org.apache.catalina.valves.ErrorReportValve.invoke(
> > > org.apache.catalina.Request, org.apache.catalina.Response,
> > > org.apache.catalina.ValveContext) (/usr/lib/libcatalina-5.0.30.jar.so)
> > > org.apache.coyote.tomcat5.CoyoteAdapter.service(
> > > org.apache.coyote.Request, org.apache.coyote.Response)
> > > (/usr/lib/libcatalina-5.0.30.jar.so)
> > > org.apache.coyote.http11.Http11Processor.process(
> > > java.io.InputStream, java.io.OutputStream) (/usr/lib/libtomcat-
> > > http11-5.0.30.jar.so)
> > >
> > > org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConnection
> > > (org.apache.tomcat.util.net.TcpConnection, java.lang.Object[])
> > > (/usr/lib/libtomcat-http11-5.0.30.jar.so)
> > >
> > > org.apache.tomcat.util.net.TcpWorkerThread.runIt(java.lang.Object[])
> > > (/tmp/libtomcat-util-5.0.30.jar.so46imxs.so)
> > > org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run()
> > > (/tmp/libtomcat-util-5.0.30.jar.so46imxs.so)
> > > java.lang.Thread.run() (/usr/lib/libgcj.so.6.0.0)
> > >
> > > root cause
> > >
> > > java.lang.NullPointerException
> > > org.apache.nutch.searcher.NutchBean.init(java.io.File,
> > > java.io.File) (Unknown Source)
> > > org.apache.nutch.searcher.NutchBean.NutchBean(java.io.File)
> > > (Unknown Source)
> > > org.apache.nutch.searcher.NutchBean.NutchBean() (Unknown Source)
> > > org.apache.nutch.searcher.NutchBean.get(
> > > javax.servlet.ServletContext) (Unknown Source)
> > > org.apache.jsp.search_jsp._jspService(
> > > javax.servlet.http.HttpServletRequest,
> > > javax.servlet.http.HttpServletResponse) (Unknown Source)
> > > org.apache.jasper.runtime.HttpJspBase.service(
> > > javax.servlet.http.HttpServletRequest,
> > > javax.servlet.http.HttpServletResponse) (/usr/lib/libjasper5-
> > > runtime-5.0.30.jar.so)
> > > javax.servlet.http.HttpServlet.service(
> > > javax.servlet.ServletRequest, javax.servlet.ServletResponse)
> > > (/usr/lib/libservletapi5-5.0.30.jar.so)
> > > org.apache.jasper.servlet.JspServletWrapper.service(
> > > javax.servlet.http.HttpServletRequest,
> > > javax.servlet.http.HttpServletResponse, boolean) (/usr/lib/libjasper5-
> > > compiler-5.0.30.jar.so)
> > > org.apache.jasper.servlet.JspServlet.serviceJspFile(
> > > javax.servlet.http.HttpServletRequest,
> > > javax.servlet.http.HttpServletResponse, java.lang.String,
> > > java.lang.Throwable, boolean) (/usr/lib/libjasper5-compiler-5.0.30.jar.so)
> > > org.apache.jasper.servlet.JspServlet.service(
> > > javax.servlet.http.HttpServletRequest,
> > > javax.servlet.http.HttpServletResponse) (/usr/lib/libjasper5-
> > > compiler-5.0.30.jar.so)
> > > javax.servlet.http.HttpServlet.service(
> > > javax.servlet.ServletRequest, javax.servlet.ServletResponse)
> > > (/usr/lib/libservletapi5-5.0.30.jar.so)
> > > org.apache.catalina.valves.ErrorReportValve.invoke(
> > > org.apache.catalina.Request, org.apache.catalina.Response,
> > > org.apache.catalina.ValveContext) (/usr/lib/libcatalina-5.0.30.jar.so)
> > > org.apache.coyote.tomcat5.CoyoteAdapter.service(
> > > org.apache.coyote.Request, org.apache.coyote.Response)
> > > (/usr/lib/libcatalina-5.0.30.jar.so)
> > > org.apache.coyote.http11.Http11Processor.process(
> > > java.io.InputStream, java.io.OutputStream) (/usr/lib/libtomcat-
> > > http11-5.0.30.jar.so)
> > >
> > > org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConnection
> > > (org.apache.tomcat.util.net.TcpConnection, java.lang.Object[])
> > > (/usr/lib/libtomcat-http11-5.0.30.jar.so)
> > >
> > > org.apache.tomcat.util.net.TcpWorkerThread.runIt(java.lang.Object[])
> > > (/tmp/libtomcat-util-5.0.30.jar.so46imxs.so)
> > > org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run()
> > > (/tmp/libtomcat-util-5.0.30.jar.so46imxs.so)
> > > java.lang.Thread.run() (/usr/lib/libgcj.so.6.0.0)
> > >
> > > I have no idea what is causing this error. Any ideas. If it makes a
> > > difference I am running this installation on a FC4 box.
> > > Thanks for any insight anyone can provide.
> > > Mike
> > >
--
*------------------------------------------------------*
| Bill Goffe [EMAIL PROTECTED] |
| Department of Economics voice: (315) 312-3444 |
| SUNY Oswego fax: (315) 312-5444 |
| 416 Mahar Hall <http://cook.rfe.org> |
| Oswego, NY 13126 |
*--------*------------------------------------------------------*-----------*
| "Retreat? Hell, we just got here." |
| -- Captain Lloyd William, U.S. Marine Corps, on the suggestion of |
| retreating French soldiers that his Marines retreat as well at the |
| Battle of Belleau Wood on June 4, 1918. "The First World War," John |
| Keegan, p. 407. |
*---------------------------------------------------------------------------*
-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems? Stop! Download the new AJAX search engine that makes
searching your log files as easy as surfing the web. DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
_______________________________________________
Nutch-general mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/nutch-general