Nutch on Windows

classic Classic list List threaded Threaded
29 messages Options
12
Reply | Threaded
Open this post in threaded view
|

Nutch on Windows

Top100Forever
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(HttpServletRequestWrapper.java:215)
 at org.apache.catalina.core.ApplicationHttpRequest.getSession(ApplicationHttpRequest.java:544)
 at javax.servlet.http.HttpServletRequestWrapper.getSession(HttpServletRequestWrapper.java:215)
 at org.apache.catalina.core.ApplicationHttpRequest.getSession(ApplicationHttpRequest.java:544)
...............................................

Could you kindly help me to solve this problem?
Thanks in advance
Salvatore Trani
Reply | Threaded
Open this post in threaded view
|

Re: Nutch on Windows

gekkokid
are you using cygwin?

----- Original Message -----
From: "Top 100 Forever" <[hidden email]>
To: <[hidden email]>
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(HttpServletRequestWrapper.java:215)
 at
org.apache.catalina.core.ApplicationHttpRequest.getSession(ApplicationHttpRequest.java:544)
 at
javax.servlet.http.HttpServletRequestWrapper.getSession(HttpServletRequestWrapper.java:215)
 at
org.apache.catalina.core.ApplicationHttpRequest.getSession(ApplicationHttpRequest.java:544)
...............................................

Could you kindly help me to solve this problem?
Thanks in advance
Salvatore Trani

Reply | Threaded
Open this post in threaded view
|

Re: Nutch on Windows

Top100Forever
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" <[hidden email]>
To: <[hidden email]>
Sent: Tuesday, February 21, 2006 12:52 AM
Subject: Re: Nutch on Windows


> are you using cygwin?
>
> ----- Original Message -----
> From: "Top 100 Forever" <[hidden email]>
> To: <[hidden email]>
> 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(HttpServletRequestWrapper.java:215)
> at
> org.apache.catalina.core.ApplicationHttpRequest.getSession(ApplicationHttpRequest.java:544)
> at
> javax.servlet.http.HttpServletRequestWrapper.getSession(HttpServletRequestWrapper.java:215)
> at
> org.apache.catalina.core.ApplicationHttpRequest.getSession(ApplicationHttpRequest.java:544)
> ...............................................
>
> Could you kindly help me to solve this problem?
> Thanks in advance
> Salvatore Trani

Reply | Threaded
Open this post in threaded view
|

Re: Nutch on Windows

gekkokid
In reply to this post by gekkokid
silly me - has nothing to do with it
----- Original Message -----
From: "gekkokid" <[hidden email]>
To: <[hidden email]>
Sent: Monday, February 20, 2006 11:52 PM
Subject: Re: Nutch on Windows


> are you using cygwin?
>
> ----- Original Message -----
> From: "Top 100 Forever" <[hidden email]>
> To: <[hidden email]>
> 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(HttpServletRequestWrapper.java:215)
> at
> org.apache.catalina.core.ApplicationHttpRequest.getSession(ApplicationHttpRequest.java:544)
> at
> javax.servlet.http.HttpServletRequestWrapper.getSession(HttpServletRequestWrapper.java:215)
> at
> org.apache.catalina.core.ApplicationHttpRequest.getSession(ApplicationHttpRequest.java:544)
> ...............................................
>
> Could you kindly help me to solve this problem?
> Thanks in advance
> Salvatore Trani
>
>

Reply | Threaded
Open this post in threaded view
|

Re: Nutch on Windows

gekkokid
In reply to this post by Top100Forever
did you set NUTCH_JAVA_HOME in your environment variables?


----- Original Message -----
From: "Top 100 Forever" <[hidden email]>
To: <[hidden email]>
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" <[hidden email]>
> To: <[hidden email]>
> Sent: Tuesday, February 21, 2006 12:52 AM
> Subject: Re: Nutch on Windows
>
>
>> are you using cygwin?
>>
>> ----- Original Message -----
>> From: "Top 100 Forever" <[hidden email]>
>> To: <[hidden email]>
>> 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(HttpServletRequestWrapper.java:215)
>> at
>> org.apache.catalina.core.ApplicationHttpRequest.getSession(ApplicationHttpRequest.java:544)
>> at
>> javax.servlet.http.HttpServletRequestWrapper.getSession(HttpServletRequestWrapper.java:215)
>> at
>> org.apache.catalina.core.ApplicationHttpRequest.getSession(ApplicationHttpRequest.java:544)
>> ...............................................
>>
>> Could you kindly help me to solve this problem?
>> Thanks in advance
>> Salvatore Trani
>
>

Reply | Threaded
Open this post in threaded view
|

Re: Nutch on Windows

Ramanan R.
Actually, regarding setting the JAVA_HOME, I keep getting this error:

myth18:~/hadoop> bin/start-all.sh
ramananr@localhost's password:
localhost: starting datanode, logging to
/afs/ir/users/r/a/ramananr/hadoop/bin/../logs/hadoop-
ramananr-datanode-myth18.Stanford.EDU.log
localhost: Error: JAVA_HOME is not set.
starting namenode, logging to
/afs/ir/users/r/a/ramananr/hadoop/bin/../logs/hadoop-
ramananr-namenode-myth18.Stanford.EDU.log
starting jobtracker, logging to
/afs/ir/users/r/a/ramananr/hadoop/bin/../logs/hadoop-
ramananr-jobtracker-myth18.Stanford.EDU.log
ramananr@localhost's password:
localhost: starting tasktracker, logging to
/afs/ir/users/r/a/ramananr/hadoop/bin/../logs/hadoop-
ramananr-tasktracker-myth18.Stanford.EDU.log
localhost: Error: JAVA_HOME is not set.

I've just switched over to using hadoop, but I didn't think it would be
different from the configuration required by nutch. I've set
JAVA_HOME, NUTCH_JAVA_HOME as well as HADOOP_JAVA_HOME in my environment
variables, just to be safe, and I'm still getting this message. Any ideas
why? Thanks in advance.

Ram


On 2/20/06, gekkokid <[hidden email]> wrote:

>
> did you set NUTCH_JAVA_HOME in your environment variables?
>
>
> ----- Original Message -----
> From: "Top 100 Forever" <[hidden email]>
> To: <[hidden email]>
> 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" <[hidden email]>
> > To: <[hidden email]>
> > Sent: Tuesday, February 21, 2006 12:52 AM
> > Subject: Re: Nutch on Windows
> >
> >
> >> are you using cygwin?
> >>
> >> ----- Original Message -----
> >> From: "Top 100 Forever" <[hidden email]>
> >> To: <[hidden email]>
> >> 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(
> HttpServletRequestWrapper.java:215)
> >> at
> >> org.apache.catalina.core.ApplicationHttpRequest.getSession(
> ApplicationHttpRequest.java:544)
> >> at
> >> javax.servlet.http.HttpServletRequestWrapper.getSession(
> HttpServletRequestWrapper.java:215)
> >> at
> >> org.apache.catalina.core.ApplicationHttpRequest.getSession(
> ApplicationHttpRequest.java:544)
> >> ...............................................
> >>
> >> Could you kindly help me to solve this problem?
> >> Thanks in advance
> >> Salvatore Trani
> >
> >
>
>
Reply | Threaded
Open this post in threaded view
|

Re: Nutch on Windows

Top100Forever
In reply to this post by gekkokid
Yes, I set NUTCH_JAVA_HOME and JAVA_HOME to my java directory,
but without any results...

----- Original Message -----
From: "gekkokid" <[hidden email]>
To: <[hidden email]>
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" <[hidden email]>
> To: <[hidden email]>
> 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" <[hidden email]>
>> To: <[hidden email]>
>> Sent: Tuesday, February 21, 2006 12:52 AM
>> Subject: Re: Nutch on Windows
>>
>>
>>> are you using cygwin?
>>>
>>> ----- Original Message -----
>>> From: "Top 100 Forever" <[hidden email]>
>>> To: <[hidden email]>
>>> 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(HttpServletRequestWrapper.java:215)
>>> at
>>> org.apache.catalina.core.ApplicationHttpRequest.getSession(ApplicationHttpRequest.java:544)
>>> at
>>> javax.servlet.http.HttpServletRequestWrapper.getSession(HttpServletRequestWrapper.java:215)
>>> at
>>> org.apache.catalina.core.ApplicationHttpRequest.getSession(ApplicationHttpRequest.java:544)
>>> ...............................................
>>>
>>> Could you kindly help me to solve this problem?
>>> Thanks in advance
>>> Salvatore Trani
>>
>>

Reply | Threaded
Open this post in threaded view
|

RE: Nutch on Windows

Steve Betts
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
[hidden email]
937-477-1797


-----Original Message-----
From: Top 100 Forever [mailto:[hidden email]]
Sent: Tuesday, February 21, 2006 4:51 AM
To: [hidden email]
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" <[hidden email]>
To: <[hidden email]>
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" <[hidden email]>
> To: <[hidden email]>
> 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" <[hidden email]>
>> To: <[hidden email]>
>> Sent: Tuesday, February 21, 2006 12:52 AM
>> Subject: Re: Nutch on Windows
>>
>>
>>> are you using cygwin?
>>>
>>> ----- Original Message -----
>>> From: "Top 100 Forever" <[hidden email]>
>>> To: <[hidden email]>
>>> 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
>>
>>


Reply | Threaded
Open this post in threaded view
|

Re: Nutch on Windows

Top100Forever
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" <[hidden email]>
To: <[hidden email]>
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
> [hidden email]
> 937-477-1797
>
>
> -----Original Message-----
> From: Top 100 Forever [mailto:[hidden email]]
> Sent: Tuesday, February 21, 2006 4:51 AM
> To: [hidden email]
> 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" <[hidden email]>
> To: <[hidden email]>
> 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" <[hidden email]>
>> To: <[hidden email]>
>> 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" <[hidden email]>
>>> To: <[hidden email]>
>>> Sent: Tuesday, February 21, 2006 12:52 AM
>>> Subject: Re: Nutch on Windows
>>>
>>>
>>>> are you using cygwin?
>>>>
>>>> ----- Original Message -----
>>>> From: "Top 100 Forever" <[hidden email]>
>>>> To: <[hidden email]>
>>>> 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
>>>
>>>
>

Reply | Threaded
Open this post in threaded view
|

Re: Nutch on Windows

Top100Forever
Somebody can help me to solve this problem?

----- Original Message -----
From: "Top100Forever" <[hidden email]>
To: <[hidden email]>
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" <[hidden email]>
> To: <[hidden email]>
> 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
>> [hidden email]
>> 937-477-1797
>>
>>
>> -----Original Message-----
>> From: Top 100 Forever [mailto:[hidden email]]
>> Sent: Tuesday, February 21, 2006 4:51 AM
>> To: [hidden email]
>> 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" <[hidden email]>
>> To: <[hidden email]>
>> 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" <[hidden email]>
>>> To: <[hidden email]>
>>> 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" <[hidden email]>
>>>> To: <[hidden email]>
>>>> Sent: Tuesday, February 21, 2006 12:52 AM
>>>> Subject: Re: Nutch on Windows
>>>>
>>>>
>>>>> are you using cygwin?
>>>>>
>>>>> ----- Original Message -----
>>>>> From: "Top 100 Forever" <[hidden email]>
>>>>> To: <[hidden email]>
>>>>> 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
>>>>
>>>>
>>

Reply | Threaded
Open this post in threaded view
|

Re: Nutch on Windows

Stefan Groschupf-2
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"  
> <[hidden email]>
> To: <[hidden email]>
> 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"  
>> <[hidden email]>
>> To: <[hidden email]>
>> 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
>>> [hidden email]
>>> 937-477-1797
>>>
>>>
>>> -----Original Message-----
>>> From: Top 100 Forever [mailto:[hidden email]]
>>> Sent: Tuesday, February 21, 2006 4:51 AM
>>> To: [hidden email]
>>> 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" <[hidden email]>
>>> To: <[hidden email]>
>>> 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" <[hidden email]>
>>>> To: <[hidden email]>
>>>> 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" <[hidden email]>
>>>>> To: <[hidden email]>
>>>>> Sent: Tuesday, February 21, 2006 12:52 AM
>>>>> Subject: Re: Nutch on Windows
>>>>>
>>>>>
>>>>>> are you using cygwin?
>>>>>>
>>>>>> ----- Original Message -----
>>>>>> From: "Top 100 Forever" <[hidden email]>
>>>>>> To: <[hidden email]>
>>>>>> 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


Reply | Threaded
Open this post in threaded view
|

Re: Nutch on Windows

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" <[hidden email]>
To: <[hidden email]>
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"
>> <[hidden email]>
>> To: <[hidden email]>
>> 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"
>>> <[hidden email]>
>>> To: <[hidden email]>
>>> 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
>>>> [hidden email]
>>>> 937-477-1797
>>>>
>>>>
>>>> -----Original Message-----
>>>> From: Top 100 Forever [mailto:[hidden email]]
>>>> Sent: Tuesday, February 21, 2006 4:51 AM
>>>> To: [hidden email]
>>>> 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" <[hidden email]>
>>>> To: <[hidden email]>
>>>> 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" <[hidden email]>
>>>>> To: <[hidden email]>
>>>>> 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" <[hidden email]>
>>>>>> To: <[hidden email]>
>>>>>> Sent: Tuesday, February 21, 2006 12:52 AM
>>>>>> Subject: Re: Nutch on Windows
>>>>>>
>>>>>>
>>>>>>> are you using cygwin?
>>>>>>>
>>>>>>> ----- Original Message -----
>>>>>>> From: "Top 100 Forever" <[hidden email]>
>>>>>>> To: <[hidden email]>
>>>>>>> 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
>
>
>

Reply | Threaded
Open this post in threaded view
|

Re: Nutch on Windows

Stefan Groschupf-2
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" <sg@media-
> style.com>
> To: <[hidden email]>
> 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"
>>> <[hidden email]>
>>> To: <[hidden email]>
>>> 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"
>>>> <[hidden email]>
>>>> To: <[hidden email]>
>>>> 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
>>>>> [hidden email]
>>>>> 937-477-1797
>>>>>
>>>>>
>>>>> -----Original Message-----
>>>>> From: Top 100 Forever [mailto:[hidden email]]
>>>>> Sent: Tuesday, February 21, 2006 4:51 AM
>>>>> To: [hidden email]
>>>>> 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" <[hidden email]>
>>>>> To: <[hidden email]>
>>>>> 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" <[hidden email]>
>>>>>> To: <[hidden email]>
>>>>>> 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" <[hidden email]>
>>>>>>> To: <[hidden email]>
>>>>>>> Sent: Tuesday, February 21, 2006 12:52 AM
>>>>>>> Subject: Re: Nutch on Windows
>>>>>>>
>>>>>>>
>>>>>>>> are you using cygwin?
>>>>>>>>
>>>>>>>> ----- Original Message -----
>>>>>>>> From: "Top 100 Forever" <[hidden email]>
>>>>>>>> To: <[hidden email]>
>>>>>>>> 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


Reply | Threaded
Open this post in threaded view
|

Re: Nutch on Windows

gekkokid
In reply to this post by Top100Forever
have you tried any other apps apart from nutch with tomcat?

is your servlet api in the classpath?
mine is - prolly different to yours
C:\Program Files\Apache Software Foundation\Tomcat
5.5\common\lib\servlet-api.jar;


----- Original Message -----
From: "Top100Forever" <[hidden email]>
To: <[hidden email]>
Sent: Wednesday, February 22, 2006 6:15 PM
Subject: Re: Nutch on Windows


>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" <[hidden email]>
> To: <[hidden email]>
> 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"
>>> <[hidden email]>
>>> To: <[hidden email]>
>>> 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"
>>>> <[hidden email]>
>>>> To: <[hidden email]>
>>>> 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
>>>>> [hidden email]
>>>>> 937-477-1797
>>>>>
>>>>>
>>>>> -----Original Message-----
>>>>> From: Top 100 Forever [mailto:[hidden email]]
>>>>> Sent: Tuesday, February 21, 2006 4:51 AM
>>>>> To: [hidden email]
>>>>> 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" <[hidden email]>
>>>>> To: <[hidden email]>
>>>>> 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" <[hidden email]>
>>>>>> To: <[hidden email]>
>>>>>> 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" <[hidden email]>
>>>>>>> To: <[hidden email]>
>>>>>>> Sent: Tuesday, February 21, 2006 12:52 AM
>>>>>>> Subject: Re: Nutch on Windows
>>>>>>>
>>>>>>>
>>>>>>>> are you using cygwin?
>>>>>>>>
>>>>>>>> ----- Original Message -----
>>>>>>>> From: "Top 100 Forever" <[hidden email]>
>>>>>>>> To: <[hidden email]>
>>>>>>>> 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
>>
>>
>>
>
>

Reply | Threaded
Open this post in threaded view
|

Re: Nutch on Windows

Top100Forever
In reply to this post by Stefan Groschupf-2
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" <[hidden email]>
To: <[hidden email]>
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" <sg@media-
>> style.com>
>> To: <[hidden email]>
>> 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"
>>>> <[hidden email]>
>>>> To: <[hidden email]>
>>>> 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"
>>>>> <[hidden email]>
>>>>> To: <[hidden email]>
>>>>> 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
>>>>>> [hidden email]
>>>>>> 937-477-1797
>>>>>>
>>>>>>
>>>>>> -----Original Message-----
>>>>>> From: Top 100 Forever [mailto:[hidden email]]
>>>>>> Sent: Tuesday, February 21, 2006 4:51 AM
>>>>>> To: [hidden email]
>>>>>> 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" <[hidden email]>
>>>>>> To: <[hidden email]>
>>>>>> 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" <[hidden email]>
>>>>>>> To: <[hidden email]>
>>>>>>> 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" <[hidden email]>
>>>>>>>> To: <[hidden email]>
>>>>>>>> Sent: Tuesday, February 21, 2006 12:52 AM
>>>>>>>> Subject: Re: Nutch on Windows
>>>>>>>>
>>>>>>>>
>>>>>>>>> are you using cygwin?
>>>>>>>>>
>>>>>>>>> ----- Original Message -----
>>>>>>>>> From: "Top 100 Forever" <[hidden email]>
>>>>>>>>> To: <[hidden email]>
>>>>>>>>> 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
>

Reply | Threaded
Open this post in threaded view
|

Re: Nutch on Windows

Top100Forever
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" <[hidden email]>
To: <[hidden email]>
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" <[hidden email]>
> To: <[hidden email]>
> 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" <sg@media-
>>> style.com>
>>> To: <[hidden email]>
>>> 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"
>>>>> <[hidden email]>
>>>>> To: <[hidden email]>
>>>>> 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"
>>>>>> <[hidden email]>
>>>>>> To: <[hidden email]>
>>>>>> 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
>>>>>>> [hidden email]
>>>>>>> 937-477-1797
>>>>>>>
>>>>>>>
>>>>>>> -----Original Message-----
>>>>>>> From: Top 100 Forever [mailto:[hidden email]]
>>>>>>> Sent: Tuesday, February 21, 2006 4:51 AM
>>>>>>> To: [hidden email]
>>>>>>> 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" <[hidden email]>
>>>>>>> To: <[hidden email]>
>>>>>>> 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" <[hidden email]>
>>>>>>>> To: <[hidden email]>
>>>>>>>> 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" <[hidden email]>
>>>>>>>>> To: <[hidden email]>
>>>>>>>>> Sent: Tuesday, February 21, 2006 12:52 AM
>>>>>>>>> Subject: Re: Nutch on Windows
>>>>>>>>>
>>>>>>>>>
>>>>>>>>>> are you using cygwin?
>>>>>>>>>>
>>>>>>>>>> ----- Original Message -----
>>>>>>>>>> From: "Top 100 Forever" <[hidden email]>
>>>>>>>>>> To: <[hidden email]>
>>>>>>>>>> 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
>>

Reply | Threaded
Open this post in threaded view
|

RE: Nutch on Windows

Steve Betts
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
[hidden email]
937-477-1797

-----Original Message-----
From: Top100Forever [mailto:[hidden email]]
Sent: Thursday, February 23, 2006 10:52 AM
To: [hidden email]
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" <[hidden email]>
To: <[hidden email]>
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" <[hidden email]>
> To: <[hidden email]>
> 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" <sg@media-
>>> style.com>
>>> To: <[hidden email]>
>>> 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"
>>>>> <[hidden email]>
>>>>> To: <[hidden email]>
>>>>> 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"
>>>>>> <[hidden email]>
>>>>>> To: <[hidden email]>
>>>>>> 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
>>>>>>> [hidden email]
>>>>>>> 937-477-1797
>>>>>>>
>>>>>>>
>>>>>>> -----Original Message-----
>>>>>>> From: Top 100 Forever [mailto:[hidden email]]
>>>>>>> Sent: Tuesday, February 21, 2006 4:51 AM
>>>>>>> To: [hidden email]
>>>>>>> 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" <[hidden email]>
>>>>>>> To: <[hidden email]>
>>>>>>> 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" <[hidden email]>
>>>>>>>> To: <[hidden email]>
>>>>>>>> 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" <[hidden email]>
>>>>>>>>> To: <[hidden email]>
>>>>>>>>> Sent: Tuesday, February 21, 2006 12:52 AM
>>>>>>>>> Subject: Re: Nutch on Windows
>>>>>>>>>
>>>>>>>>>
>>>>>>>>>> are you using cygwin?
>>>>>>>>>>
>>>>>>>>>> ----- Original Message -----
>>>>>>>>>> From: "Top 100 Forever" <[hidden email]>
>>>>>>>>>> To: <[hidden email]>
>>>>>>>>>> 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
>>


Reply | Threaded
Open this post in threaded view
|

Re: Nutch on Windows

Top100Forever
Ouch, I found the error...this instruction not work properly:

  String language =
    ResourceBundle.getBundle("org.nutch.jsp.search", request.getLocale())
    .getLocale().getLanguage();

language, after this instruction, is "", so for now, I have correct with
this code:



----- Original Message -----
From: "Steve Betts" <[hidden email]>
To: <[hidden email]>
Sent: Thursday, February 23, 2006 5:15 PM
Subject: RE: Nutch on Windows


> 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
> [hidden email]
> 937-477-1797
>
> -----Original Message-----
> From: Top100Forever [mailto:[hidden email]]
> Sent: Thursday, February 23, 2006 10:52 AM
> To: [hidden email]
> 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" <[hidden email]>
> To: <[hidden email]>
> 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" <[hidden email]>
>> To: <[hidden email]>
>> 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" <sg@media-
>>>> style.com>
>>>> To: <[hidden email]>
>>>> 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"
>>>>>> <[hidden email]>
>>>>>> To: <[hidden email]>
>>>>>> 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"
>>>>>>> <[hidden email]>
>>>>>>> To: <[hidden email]>
>>>>>>> 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
>>>>>>>> [hidden email]
>>>>>>>> 937-477-1797
>>>>>>>>
>>>>>>>>
>>>>>>>> -----Original Message-----
>>>>>>>> From: Top 100 Forever [mailto:[hidden email]]
>>>>>>>> Sent: Tuesday, February 21, 2006 4:51 AM
>>>>>>>> To: [hidden email]
>>>>>>>> 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" <[hidden email]>
>>>>>>>> To: <[hidden email]>
>>>>>>>> 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" <[hidden email]>
>>>>>>>>> To: <[hidden email]>
>>>>>>>>> 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" <[hidden email]>
>>>>>>>>>> To: <[hidden email]>
>>>>>>>>>> Sent: Tuesday, February 21, 2006 12:52 AM
>>>>>>>>>> Subject: Re: Nutch on Windows
>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>>> are you using cygwin?
>>>>>>>>>>>
>>>>>>>>>>> ----- Original Message -----
>>>>>>>>>>> From: "Top 100 Forever" <[hidden email]>
>>>>>>>>>>> To: <[hidden email]>
>>>>>>>>>>> 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
>>>
>

Reply | Threaded
Open this post in threaded view
|

Re: Nutch on Windows

Top100Forever
In reply to this post by Steve Betts
Ouch, I found the error...this instruction not work properly:

  String language =
    ResourceBundle.getBundle("org.nutch.jsp.search", request.getLocale())
    .getLocale().getLanguage();

language, after this instruction, is "", so for now, I have correct with
this code:

language = "en";

Why language not is set correctly?
Thanks
Salvatore

P.S. Now finally i could test nutch...:)


----- Original Message -----
From: "Steve Betts" <[hidden email]>
To: <[hidden email]>
Sent: Thursday, February 23, 2006 5:15 PM
Subject: RE: Nutch on Windows


> 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
> [hidden email]
> 937-477-1797
>
> -----Original Message-----
> From: Top100Forever [mailto:[hidden email]]
> Sent: Thursday, February 23, 2006 10:52 AM
> To: [hidden email]
> 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" <[hidden email]>
> To: <[hidden email]>
> 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" <[hidden email]>
>> To: <[hidden email]>
>> 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" <sg@media-
>>>> style.com>
>>>> To: <[hidden email]>
>>>> 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"
>>>>>> <[hidden email]>
>>>>>> To: <[hidden email]>
>>>>>> 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"
>>>>>>> <[hidden email]>
>>>>>>> To: <[hidden email]>
>>>>>>> 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
>>>>>>>> [hidden email]
>>>>>>>> 937-477-1797
>>>>>>>>
>>>>>>>>
>>>>>>>> -----Original Message-----
>>>>>>>> From: Top 100 Forever [mailto:[hidden email]]
>>>>>>>> Sent: Tuesday, February 21, 2006 4:51 AM
>>>>>>>> To: [hidden email]
>>>>>>>> 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" <[hidden email]>
>>>>>>>> To: <[hidden email]>
>>>>>>>> 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" <[hidden email]>
>>>>>>>>> To: <[hidden email]>
>>>>>>>>> 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" <[hidden email]>
>>>>>>>>>> To: <[hidden email]>
>>>>>>>>>> Sent: Tuesday, February 21, 2006 12:52 AM
>>>>>>>>>> Subject: Re: Nutch on Windows
>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>>> are you using cygwin?
>>>>>>>>>>>
>>>>>>>>>>> ----- Original Message -----
>>>>>>>>>>> From: "Top 100 Forever" <[hidden email]>
>>>>>>>>>>> To: <[hidden email]>
>>>>>>>>>>> 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
>>>
>

Reply | Threaded
Open this post in threaded view
|

Re: Nutch on Windows

Stefan Groschupf-2
> P.S. Now finally i could test nutch...:)

Puhh, that was a pain! :-) Welcome!
12