My first thought is that the page is forwarding to itself. That would create an infinite loop and cause a stack overflow. Is the language not set somehow? That would make it forward forever.
Thanks, Steve Betts [EMAIL PROTECTED] 937-477-1797 -----Original Message----- From: Top100Forever [mailto:[EMAIL PROTECTED] Sent: Thursday, February 23, 2006 10:52 AM To: [email protected] Subject: Re: Nutch on Windows It's incredible... :( I tried also to change port, to change jdk version, to change tomcat version, to add servlet api in mine classpath, but I receive all the time the stackOverflowError... The installation instructions are too simple...but what can I do wrong??? Look at the "work\Catalina\localhost\_\org\apache\jsp" directory of the tomcat webserver, the instruction that raise the Exception seems to be the follow: > _jspx_page_context.forward( language + "/"); Have you some other things I can test to solve this problem? Thanks Salvatore ----- Original Message ----- From: "Top100Forever" <[EMAIL PROTECTED]> To: <[email protected]> Sent: Wednesday, February 22, 2006 8:42 PM Subject: Re: Nutch on Windows >I use last nutch stable version (0.71), with only tomcat as web server >running. > I used tomcat for some other project, without any problem... > > Only nutch give me this kink of problem... > I'll try your other suggestions, and post the results... > > Thanks for now > Salvatore > > ----- Original Message ----- > From: "Stefan Groschupf" <[EMAIL PROTECTED]> > To: <[email protected]> > Sent: Wednesday, February 22, 2006 8:03 PM > Subject: Re: Nutch on Windows > > >> Very stange. :-/ >> You use 0.71 or latest nightly build? >> Sorry I have no clear idea but if you like we can test some more things? >> Do you already have apache or ISS running? Shut it down for a moment. >> Can you try to start tomcat on a other port like 8082 (tomcat/conf/ >> server.xml) >> >> A stackoverflow normally means that you have a never ending recursive >> method call, do you have any special or do you use the standard nutch >> build? >> >> >> >> >> Am 22.02.2006 um 19:15 schrieb Top100Forever: >> >>> I have unistalled the previous tomcat, and installed the older stable >>> version 5.0.28, with jdk1.4.2_10. >>> I have also removed all the other default webapps, and deployed the >>> ROOT.war file of nutch. >>> Started tomcat, it auto-unpacked war file, then I set searcher.dir >>> properties in nutch-site.xml to point to >>> my crawl directory and delete the war file. >>> Finally I restart tomcat, and when i try to open http://localhost: 8080 >>> I receice this page: >>> >>> HTTP Status 500 - >>> >>> ---------------------------------------------------------------------- >>> ---------- >>> >>> type Exception report >>> >>> message >>> >>> description The server encountered an internal error () that prevented >>> it from fulfilling this request. >>> >>> exception >>> >>> javax.servlet.ServletException >>> org.apache.jasper.servlet.JspServlet.service(JspServlet.java:244) >>> javax.servlet.http.HttpServlet.service(HttpServlet.java:802) >>> org.apache.jasper.runtime.PageContextImpl.doForward >>> (PageContextImpl.java:670) >>> org.apache.jasper.runtime.PageContextImpl.forward >>> (PageContextImpl.java:637) >>> org.apache.jsp.index_jsp._jspService(index_jsp.java:56) >>> org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:94) >>> javax.servlet.http.HttpServlet.service(HttpServlet.java:802) >>> org.apache.jasper.servlet.JspServletWrapper.service >>> (JspServletWrapper.java:324) >>> org.apache.jasper.servlet.JspServlet.serviceJspFile >>> (JspServlet.java:292) >>> org.apache.jasper.servlet.JspServlet.service(JspServlet.java:236) >>> javax.servlet.http.HttpServlet.service(HttpServlet.java:802) >>> org.apache.jasper.runtime.PageContextImpl.doForward >>> (PageContextImpl.java:670) >>> org.apache.jasper.runtime.PageContextImpl.forward >>> (PageContextImpl.java:637) >>> org.apache.jsp.index_jsp._jspService(index_jsp.java:56) >>> org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:94) >>> javax.servlet.http.HttpServlet.service(HttpServlet.java:802) >>> org.apache.jasper.servlet.JspServletWrapper.service >>> (JspServletWrapper.java:324) >>> org.apache.jasper.servlet.JspServlet.serviceJspFile >>> (JspServlet.java:292) >>> org.apache.jasper.servlet.JspServlet.service(JspServlet.java: 236) >>> ................................................................. . >>> javax.servlet.http.HttpServlet.service(HttpServlet.java:802) >>> >>> root cause >>> >>> java.lang.StackOverflowError >>> >>> note The full stack trace of the root cause is available in the Apache >>> Tomcat/5.0.28 logs. >>> >>> Thanks >>> Salvatore >>> >>> >>> >>> >>> ---------------------------------------------------------------------- >>> ---------- >>> >>> Apache Tomcat/5.0.28 >>> >>> ----- Original Message ----- From: "Stefan Groschupf" <[EMAIL PROTECTED] >>> style.com> >>> To: <[email protected]> >>> Sent: Wednesday, February 22, 2006 12:17 PM >>> Subject: Re: Nutch on Windows >>> >>> >>>> Can you to run with a tomcat 5.0.30 and a jdk 1.4 and test if this >>>> happens there also? >>>> Also please remove all other application from TOMCAT/webapps/. >>>> In general ApplicationHttpRequest.getSession is a strange call since >>>> as far I know nutch doesn't use any sessions at all, just storing the >>>> nutch bean in the application context. >>>> >>>> Let us know what happens under jdk 1.4 and tomcat 5.0.x and if that >>>> provides still errors please post the complete stack of the exception. >>>> Thanks. >>>> Stefan >>>> >>>> >>>> >>>> Am 22.02.2006 um 12:11 schrieb Top100Forever: >>>> >>>>> Somebody can help me to solve this problem? >>>>> >>>>> ----- Original Message ----- From: "Top100Forever" >>>>> <[EMAIL PROTECTED]> >>>>> To: <[email protected]> >>>>> Sent: Tuesday, February 21, 2006 4:30 PM >>>>> Subject: Re: Nutch on Windows >>>>> >>>>> >>>>>> I set NUTCH_JAVA_HOME as environment variable for the system >>>>>> and rebooting many time, without the expected results... >>>>>> I tried to start tomcat also from the prompt (and so with my user >>>>>> credentials) >>>>>> but the raised exception is tha same: StackOverflowError... >>>>>> >>>>>> Thanks in advance, >>>>>> Salvatore Trani >>>>>> >>>>>> ----- Original Message ----- From: "Steve Betts" >>>>>> <[EMAIL PROTECTED]> >>>>>> To: <[email protected]> >>>>>> Sent: Tuesday, February 21, 2006 2:17 PM >>>>>> Subject: RE: Nutch on Windows >>>>>> >>>>>> >>>>>>> Setting your personal environment variables will have no effect >>>>>>> on the >>>>>>> Tomcat service because the service runs as a different user id >>>>>>> (normally, >>>>>>> LocalSystem). You need to affect the service by either running >>>>>>> the service >>>>>>> with your credentials or setting the environment variables for >>>>>>> the system >>>>>>> and then rebooting. >>>>>>> >>>>>>> Thanks, >>>>>>> >>>>>>> Steve Betts >>>>>>> [EMAIL PROTECTED] >>>>>>> 937-477-1797 >>>>>>> >>>>>>> >>>>>>> -----Original Message----- >>>>>>> From: Top 100 Forever [mailto:[EMAIL PROTECTED] >>>>>>> Sent: Tuesday, February 21, 2006 4:51 AM >>>>>>> To: [email protected] >>>>>>> Subject: Re: Nutch on Windows >>>>>>> >>>>>>> Yes, I set NUTCH_JAVA_HOME and JAVA_HOME to my java directory, >>>>>>> but without any results... >>>>>>> >>>>>>> ----- Original Message ----- >>>>>>> From: "gekkokid" <[EMAIL PROTECTED]> >>>>>>> To: <[email protected]> >>>>>>> Sent: Tuesday, February 21, 2006 2:03 AM >>>>>>> Subject: Re: Nutch on Windows >>>>>>> >>>>>>> >>>>>>>> did you set NUTCH_JAVA_HOME in your environment variables? >>>>>>>> >>>>>>>> >>>>>>>> ----- Original Message ----- >>>>>>>> From: "Top 100 Forever" <[EMAIL PROTECTED]> >>>>>>>> To: <[email protected]> >>>>>>>> Sent: Tuesday, February 21, 2006 12:12 AM >>>>>>>> Subject: Re: Nutch on Windows >>>>>>>> >>>>>>>> >>>>>>>>> I used cygwin when I crawled my site (intranet). >>>>>>>>> Now I would like to perform some searches but occur >>>>>>>>> this problem... >>>>>>>>> >>>>>>>>> I deployed nutch as ROOT.war (root service), and >>>>>>>>> edit the nutch-site.xml in the WEB-INF/classes with the >>>>>>>>> searcher.dir properties. At final I restarted Tomcat >>>>>>>>> using the windows services tool, and when I tried >>>>>>>>> to connect to http://localhost:8080 I received black page >>>>>>>>> and the Exception below... >>>>>>>>> >>>>>>>>> Where is the problem? >>>>>>>>> I missed some step...?? >>>>>>>>> >>>>>>>>> ----- Original Message ----- >>>>>>>>> From: "gekkokid" <[EMAIL PROTECTED]> >>>>>>>>> To: <[email protected]> >>>>>>>>> Sent: Tuesday, February 21, 2006 12:52 AM >>>>>>>>> Subject: Re: Nutch on Windows >>>>>>>>> >>>>>>>>> >>>>>>>>>> are you using cygwin? >>>>>>>>>> >>>>>>>>>> ----- Original Message ----- >>>>>>>>>> From: "Top 100 Forever" <[EMAIL PROTECTED]> >>>>>>>>>> To: <[email protected]> >>>>>>>>>> Sent: Monday, February 20, 2006 11:41 PM >>>>>>>>>> Subject: Nutch on Windows >>>>>>>>>> >>>>>>>>>> >>>>>>>>>> Hi to all, >>>>>>>>>> I'm a new user of nutch. I would like to study it's >>>>>>>>>> architecture, >>>>>>>>>> but for the first time I have available only a windows machine. >>>>>>>>>> I have read that this is not a problem. Nutch is written in java >>>>>>>>>> and so it have to work on all platforms... >>>>>>>>>> >>>>>>>>>> So I'm trying to install it on this machine: >>>>>>>>>> - java jdk 1.5.0 >>>>>>>>>> - tomcat 5.5.9 >>>>>>>>>> - nutch 0.7.1 >>>>>>>>>> - win XP >>>>>>>>>> >>>>>>>>>> I have read the tutorial and the guide >>>>>>>>>> GettingNutchRunningWithWindows. >>>>>>>>>> But with both type of installation, i have all the time the same >>>>>>>>>> problem: >>>>>>>>>> When i try lo load the page: http://localhost:8080/ i receive >>>>>>>>>> a black >>>>>>>>>> page >>>>>>>>>> and tomcat log appear as the follow: >>>>>>>>>> >>>>>>>>>> ............................................... >>>>>>>>>> - Server startup in 3297 ms >>>>>>>>>> - Exception initializing page context >>>>>>>>>> java.lang.StackOverflowError >>>>>>>>>> at >>>>>>>>>> >>>>>>> javax.servlet.http.HttpServletRequestWrapper.getSession >>>>>>> (HttpServletRequestWr >>>>>>> apper.java:215) >>>>>>>>>> at >>>>>>>>>> >>>>>>> org.apache.catalina.core.ApplicationHttpRequest.getSession >>>>>>> (ApplicationHttpRe >>>>>>> quest.java:544) >>>>>>>>>> at >>>>>>>>>> >>>>>>> javax.servlet.http.HttpServletRequestWrapper.getSession >>>>>>> (HttpServletRequestWr >>>>>>> apper.java:215) >>>>>>>>>> at >>>>>>>>>> >>>>>>> org.apache.catalina.core.ApplicationHttpRequest.getSession >>>>>>> (ApplicationHttpRe >>>>>>> quest.java:544) >>>>>>>>>> ............................................... >>>>>>>>>> >>>>>>>>>> Could you kindly help me to solve this problem? >>>>>>>>>> Thanks in advance >>>>>>>>>> Salvatore Trani >>>>>>>>> >>>>>>>>> >>>>> >>>>> >>>> >>>> --------------------------------------------------------------- >>>> company: http://www.media-style.com >>>> forum: http://www.text-mining.org >>>> blog: http://www.find23.net >>>> >>>> >>> >>> >> >> --------------------------------------------- >> blog: http://www.find23.org >> company: http://www.media-style.com >> ------------------------------------------------------- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642 _______________________________________________ Nutch-general mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/nutch-general
