from eclipse.

Quoting Marko Bauhardt <[email protected]>:

Do you start the gui from eclipse or from binary package?

marko



On Aug 18, 2009, at 9:57 AM, [email protected] wrote:


tried that; no joy still.

are there any specifics i need to put in nutch-site.xml?

because mine is blank at the moment.



Quoting Marko Bauhardt <[email protected]>:


On Aug 18, 2009, at 9:36 AM, [email protected] wrote:

Hi Marko,

Hi



I am trying to run the AdminApp; whats value for working directory and port number?

for the testing i use as working directory the "/tmp" directory.
for the http-port i use the 50060 or 8080. start the app on the port
you want to start.



i used working directory as my nutch root directory.

i am getting:

java.lang.RuntimeException: x-point org.apache.nutch.admin.IGuiComponent not found, check your plugin folder at org.apache.nutch.admin.GuiComponentExtensionContainer.getGuiComponentExtensions(GuiComponentExtensionContainer.java:49) at org.apache.nutch.admin.GuiComponentExtensionContainer.getGeneralGuiComponentExtensions(GuiComponentExtensionContainer.java:36) at org.apache.nutch.admin.GuiComponentDeployer.getExtensions(GuiComponentDeployer.java:126) at org.apache.nutch.admin.GuiComponentDeployer.run(GuiComponentDeployer.java:102)


i think your plugin folder is not correct.
if you start the ui from eclipse then create a nutch-site.xml in your
conf folder.
for example.

<?xml version="1.0"?>
<?xml-stylesheet type="text/xsl" href="configuration.xsl"?>

        <!-- Put site-specific property overrides in this file. -->

<configuration>

        <property>
                <name>plugin.folders</name>
                <value>src/plugin</value>
                <description>Directories where nutch plugins are located. Each
                        element may be a relative or absolute path. If 
absolute, it is used
                        as is. If relative, it is searched for on the 
classpath.</description>
        </property>

        <property>
                <name>http.agent.name</name>
                <value>Nutch-Gui-0.1</value>
                <description>HTTP 'User-Agent' request header. MUST NOT be 
empty -
                        please set this to a single word uniquely related to 
your
                        organization.

                        NOTE: You should also check other related properties:

                        http.robots.agents
                        http.agent.description
                        http.agent.url
                        http.agent.email
                        http.agent.version

                        and set their values appropriately.

</description>
        </property>

</configuration>


you should also create a conf/regex-urlfilter.txt file.


hth
marko







Reply via email to