You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@nutch.apache.org by "Stefan Groschupf (JIRA)" <ji...@apache.org> on 2006/01/10 16:45:20 UTC

[jira] Commented: (NUTCH-169) remove static NutchConf

    [ http://issues.apache.org/jira/browse/NUTCH-169?page=comments#action_12362334 ] 

Stefan Groschupf commented on NUTCH-169:
----------------------------------------

I missed to mentioned that is the first version just for discussing and provide Jerome the changed API it is not the final version!!!
 

> remove static NutchConf
> -----------------------
>
>          Key: NUTCH-169
>          URL: http://issues.apache.org/jira/browse/NUTCH-169
>      Project: Nutch
>         Type: Improvement
>     Reporter: Stefan Groschupf
>     Priority: Critical
>      Fix For: 0.8-dev
>  Attachments: nutchConf.patch
>
> Removing the static NutchConf.get is required for a set of improvements and new features.
> + it allows a better integration of nutch in j2ee or other systems.
> + it allows the management of nutch from a web based gui (a kind of nutch appliance) which will improve the usability and also increase the user acceptance of nutch
> + it allows to change configuration properties until runtime
> + it allows to implement NutchConf as a abstract class or interface to provide other configuration value sources than xml files. (community request)

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira


Re: fetch of XXX failed with: java.lang.ClassCastException: java.util.ArrayList

Posted by Doug Cutting <cu...@nutch.org>.
Gal Nitzan wrote:
> I traced it to ParseData line 147.
> 
>       UTF8.writeString(out, (String) e.getKey());
>       UTF8.writeString(out, (String) e.getValue());
> 
> 
>  it seems that Set-Cookie key comes with a ArrayList value?

I think that was fixed yesterday by Andrzej.

http://svn.apache.org/viewcvs?rev=367251&view=rev

Doug

fetch of XXX failed with: java.lang.ClassCastException: java.util.ArrayList

Posted by Gal Nitzan <gn...@usa.net>.
Hi,

I traced it to ParseData line 147.

      UTF8.writeString(out, (String) e.getKey());
      UTF8.writeString(out, (String) e.getValue());


 it seems that Set-Cookie key comes with a ArrayList value?