You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@nutch.apache.org by kawther khazri <nu...@yahoo.fr> on 2006/08/19 13:43:12 UTC

uploading the nutch war file

hello,
I'm using this guide to install Nutch:

http://www.mybizguard.com/mediawiki/index.php/Nutch_Search_Engine
 and I'm blocked in this step:
                    Use the tomcat manager to load the .war file:  
 
Tomcat Manager --> Select WAR file to upload --> Browse --> /home/nutch-nightly/nutch-nightly.war --> Upload
 can you simplify it to me please, I need to know how to upload the war file using tomcat( I need simple steps to do that).
Best regards.
   


 		
---------------------------------
 Découvrez un nouveau moyen de poser toutes vos questions quelque soit le sujet ! Yahoo! Questions/Réponses pour partager vos connaissances, vos opinions et vos expériences. Cliquez ici. 

Re: uploading the nutch war file

Posted by Karsten Dello <de...@mi.fu-berlin.de>.
Have you enabled the tomcat manager application at all?

If not, see
http://tomcat.apache.org/tomcat-5.0-doc/manager-howto.html

There are easier ways to deploy a war file, anyway.

Cheers
Karsten



RE : Re: RE : Re: uploading the nutch war file

Posted by kawther khazri <nu...@yahoo.fr>.
hi,
I know it is may be stuped, but can you show me how to load the nutch war file using tomcat manager i didn't find it. in fact I'm not familiar with this.
thanks


ken <ke...@gordiandata.net> a écrit : Because you cannot do that, you have to load the .war file with tomcat
manager.  It uploads and unpacks the files in /var/lib/tomcat5/webapps/.
So you would have these files under /var/lib/tomcat5/webapps/nutch-nightly:
-rw-r--r-- 1 tomcat tomcat  2279 Mar 27 14:52 anchors.jsp
drwxr-xr-x 3 tomcat tomcat  4096 Aug  9 09:43 ca
-rw-r--r-- 1 tomcat tomcat  2711 Mar 27 14:52 cached.jsp
-rw-r--r-- 1 tomcat tomcat  3149 May  9 23:04 cluster.jsp
drwxr-xr-x 3 tomcat tomcat  4096 Aug  9 09:43 de
drwxr-xr-x 3 tomcat tomcat  4096 Aug  9 09:43 en
drwxr-xr-x 3 tomcat tomcat  4096 Aug  9 09:43 es
-rw-r--r-- 1 tomcat tomcat  2338 May  9 13:43 explain.jsp
drwxr-xr-x 3 tomcat tomcat  4096 Aug  9 09:43 fi
drwxr-xr-x 3 tomcat tomcat  4096 Aug  9 09:43 fr
drwxr-xr-x 3 tomcat tomcat  4096 Aug  9 09:43 hu
drwxr-xr-x 4 tomcat tomcat  4096 Aug  9 09:43 img
drwxr-xr-x 2 tomcat tomcat  4096 Aug  9 09:43 include
-rw-r--r-- 1 tomcat tomcat   383 Feb  3  2006 index.jsp
drwxr-xr-x 3 tomcat tomcat  4096 Aug  9 09:43 it
drwxr-xr-x 3 tomcat tomcat  4096 Aug  9 09:43 jp
drwxr-xr-x 2 tomcat tomcat  4096 Aug  9 09:43 META-INF
-rw-r--r-- 1 tomcat tomcat  1710 May  5  2005 more.jsp
drwxr-xr-x 3 tomcat tomcat  4096 Aug  9 09:43 ms
drwxr-xr-x 3 tomcat tomcat  4096 Aug  9 09:43 nl
drwxr-xr-x 3 tomcat tomcat  4096 Aug  9 09:43 pl
drwxr-xr-x 3 tomcat tomcat  4096 Aug  9 09:43 pt
-rw-r--r-- 1 tomcat tomcat   932 Mar 27 14:52 refine-query-init.jsp
-rw-r--r-- 1 tomcat tomcat   903 Mar  1  2005 refine-query.jsp
-rw-r--r-- 1 tomcat tomcat 10381 May 13 07:43 search.jsp
drwxr-xr-x 3 tomcat tomcat  4096 Aug  9 09:43 sh
drwxr-xr-x 3 tomcat tomcat  4096 Aug  9 09:43 sr
drwxr-xr-x 3 tomcat tomcat  4096 Aug  9 09:43 sv
-rw-r--r-- 1 tomcat tomcat  1524 Mar 27 14:52 text.jsp
drwxr-xr-x 3 tomcat tomcat  4096 Aug  9 09:43 th
drwxr-xr-x 4 tomcat tomcat  4096 Aug  9 09:43 WEB-INF
drwxr-xr-x 3 tomcat tomcat  4096 Aug  9 09:43 zh

And the proper link would be:
http://localhost:8080/nutch-nightly/en/



> please can you explain more,
> when I type this url :
> http://localhost:8080/manager/dedploy?/home/david/nutch-nightly/nutch-nightly.war
> I obtain this:
> Un problème s'est produit lors du chargement de
> http://localhost:8080/manager/derploy?jar:file:/home/david/nutch-nightly/nutch-nightly.war
> :
>  Impossible de se connecter à l'hôte localhost (port 8080).
>
>
>
> ken  a écrit : All these are done on the console of
> the actual system.  Obviously you are
> trying to do remote and the webpage will not allow you to upload a file
> that is on your system.  I guess the solution would be to have the war
> file on the system that you are working on and then upload it.  Or, copy
> the war file to the correct location in the tomcat directories.
>
> Or can you use VNC to be console on the machine that tomcat is running on?
>
> Cheers!
> Ken
>
>> hello,
>> I'm using this guide to install Nutch:
>>
>> http://www.mybizguard.com/mediawiki/index.php/Nutch_Search_Engine
>>  and I'm blocked in this step:
>>                     Use the tomcat manager to load the .war file:
>>
>> Tomcat Manager --> Select WAR file to upload --> Browse -->
>> /home/nutch-nightly/nutch-nightly.war --> Upload
>>  can you simplify it to me please, I need to know how to upload the war
>> file using tomcat( I need simple steps to do that).
>> Best regards.
>>
>>
>>
>>
>> ---------------------------------
>>  Découvrez un nouveau moyen de poser toutes vos questions quelque soit
>> le
>> sujet ! Yahoo! Questions/Réponses pour partager vos connaissances, vos
>> opinions et vos expériences. Cliquez ici.
>
>
> --
> Ken Gregoire
> Gordian Data Inc.
> www.gordiandata.com
> ken@gordiandata.net
>
>
>
>
> ---------------------------------
>  Découvrez un nouveau moyen de poser toutes vos questions quelque soit le
> sujet ! Yahoo! Questions/Réponses pour partager vos connaissances, vos
> opinions et vos expériences. Cliquez ici.


-- 
Ken Gregoire
Gordian Data Inc.
www.gordiandata.com
ken@gordiandata.net



 		
---------------------------------
 Découvrez un nouveau moyen de poser toutes vos questions quelque soit le sujet ! Yahoo! Questions/Réponses pour partager vos connaissances, vos opinions et vos expériences. Cliquez ici. 

Re: RE : Re: uploading the nutch war file

Posted by ken <ke...@gordiandata.net>.
Because you cannot do that, you have to load the .war file with tomcat
manager.  It uploads and unpacks the files in /var/lib/tomcat5/webapps/.
So you would have these files under /var/lib/tomcat5/webapps/nutch-nightly:
-rw-r--r-- 1 tomcat tomcat  2279 Mar 27 14:52 anchors.jsp
drwxr-xr-x 3 tomcat tomcat  4096 Aug  9 09:43 ca
-rw-r--r-- 1 tomcat tomcat  2711 Mar 27 14:52 cached.jsp
-rw-r--r-- 1 tomcat tomcat  3149 May  9 23:04 cluster.jsp
drwxr-xr-x 3 tomcat tomcat  4096 Aug  9 09:43 de
drwxr-xr-x 3 tomcat tomcat  4096 Aug  9 09:43 en
drwxr-xr-x 3 tomcat tomcat  4096 Aug  9 09:43 es
-rw-r--r-- 1 tomcat tomcat  2338 May  9 13:43 explain.jsp
drwxr-xr-x 3 tomcat tomcat  4096 Aug  9 09:43 fi
drwxr-xr-x 3 tomcat tomcat  4096 Aug  9 09:43 fr
drwxr-xr-x 3 tomcat tomcat  4096 Aug  9 09:43 hu
drwxr-xr-x 4 tomcat tomcat  4096 Aug  9 09:43 img
drwxr-xr-x 2 tomcat tomcat  4096 Aug  9 09:43 include
-rw-r--r-- 1 tomcat tomcat   383 Feb  3  2006 index.jsp
drwxr-xr-x 3 tomcat tomcat  4096 Aug  9 09:43 it
drwxr-xr-x 3 tomcat tomcat  4096 Aug  9 09:43 jp
drwxr-xr-x 2 tomcat tomcat  4096 Aug  9 09:43 META-INF
-rw-r--r-- 1 tomcat tomcat  1710 May  5  2005 more.jsp
drwxr-xr-x 3 tomcat tomcat  4096 Aug  9 09:43 ms
drwxr-xr-x 3 tomcat tomcat  4096 Aug  9 09:43 nl
drwxr-xr-x 3 tomcat tomcat  4096 Aug  9 09:43 pl
drwxr-xr-x 3 tomcat tomcat  4096 Aug  9 09:43 pt
-rw-r--r-- 1 tomcat tomcat   932 Mar 27 14:52 refine-query-init.jsp
-rw-r--r-- 1 tomcat tomcat   903 Mar  1  2005 refine-query.jsp
-rw-r--r-- 1 tomcat tomcat 10381 May 13 07:43 search.jsp
drwxr-xr-x 3 tomcat tomcat  4096 Aug  9 09:43 sh
drwxr-xr-x 3 tomcat tomcat  4096 Aug  9 09:43 sr
drwxr-xr-x 3 tomcat tomcat  4096 Aug  9 09:43 sv
-rw-r--r-- 1 tomcat tomcat  1524 Mar 27 14:52 text.jsp
drwxr-xr-x 3 tomcat tomcat  4096 Aug  9 09:43 th
drwxr-xr-x 4 tomcat tomcat  4096 Aug  9 09:43 WEB-INF
drwxr-xr-x 3 tomcat tomcat  4096 Aug  9 09:43 zh

And the proper link would be:
http://localhost:8080/nutch-nightly/en/



> please can you explain more,
> when I type this url :
> http://localhost:8080/manager/dedploy?/home/david/nutch-nightly/nutch-nightly.war
> I obtain this:
> Un problème s'est produit lors du chargement de
> http://localhost:8080/manager/derploy?jar:file:/home/david/nutch-nightly/nutch-nightly.war
> :
>  Impossible de se connecter à l'hôte localhost (port 8080).
>
>
>
> ken <ke...@gordiandata.net> a écrit : All these are done on the console of
> the actual system.  Obviously you are
> trying to do remote and the webpage will not allow you to upload a file
> that is on your system.  I guess the solution would be to have the war
> file on the system that you are working on and then upload it.  Or, copy
> the war file to the correct location in the tomcat directories.
>
> Or can you use VNC to be console on the machine that tomcat is running on?
>
> Cheers!
> Ken
>
>> hello,
>> I'm using this guide to install Nutch:
>>
>> http://www.mybizguard.com/mediawiki/index.php/Nutch_Search_Engine
>>  and I'm blocked in this step:
>>                     Use the tomcat manager to load the .war file:
>>
>> Tomcat Manager --> Select WAR file to upload --> Browse -->
>> /home/nutch-nightly/nutch-nightly.war --> Upload
>>  can you simplify it to me please, I need to know how to upload the war
>> file using tomcat( I need simple steps to do that).
>> Best regards.
>>
>>
>>
>>
>> ---------------------------------
>>  Découvrez un nouveau moyen de poser toutes vos questions quelque soit
>> le
>> sujet ! Yahoo! Questions/Réponses pour partager vos connaissances, vos
>> opinions et vos expériences. Cliquez ici.
>
>
> --
> Ken Gregoire
> Gordian Data Inc.
> www.gordiandata.com
> ken@gordiandata.net
>
>
>
>
> ---------------------------------
>  Découvrez un nouveau moyen de poser toutes vos questions quelque soit le
> sujet ! Yahoo! Questions/Réponses pour partager vos connaissances, vos
> opinions et vos expériences. Cliquez ici.


-- 
Ken Gregoire
Gordian Data Inc.
www.gordiandata.com
ken@gordiandata.net


RE : Re: uploading the nutch war file

Posted by kawther khazri <nu...@yahoo.fr>.
please can you explain more,
when I type this url : http://localhost:8080/manager/dedploy?/home/david/nutch-nightly/nutch-nightly.war
I obtain a 404 error

ken <ke...@gordiandata.net> a écrit : All these are done on the console of the actual system.  Obviously you are
trying to do remote and the webpage will not allow you to upload a file
that is on your system.  I guess the solution would be to have the war
file on the system that you are working on and then upload it.  Or, copy
the war file to the correct location in the tomcat directories.

Or can you use VNC to be console on the machine that tomcat is running on?

Cheers!
Ken

> hello,
> I'm using this guide to install Nutch:
>
> http://www.mybizguard.com/mediawiki/index.php/Nutch_Search_Engine
>  and I'm blocked in this step:
>                     Use the tomcat manager to load the .war file:
>
> Tomcat Manager --> Select WAR file to upload --> Browse -->
> /home/nutch-nightly/nutch-nightly.war --> Upload
>  can you simplify it to me please, I need to know how to upload the war
> file using tomcat( I need simple steps to do that).
> Best regards.
>
>
>
>
> ---------------------------------
>  Découvrez un nouveau moyen de poser toutes vos questions quelque soit le
> sujet ! Yahoo! Questions/Réponses pour partager vos connaissances, vos
> opinions et vos expériences. Cliquez ici.


-- 
Ken Gregoire
Gordian Data Inc.
www.gordiandata.com
ken@gordiandata.net



 		
---------------------------------
 Découvrez un nouveau moyen de poser toutes vos questions quelque soit le sujet ! Yahoo! Questions/Réponses pour partager vos connaissances, vos opinions et vos expériences. Cliquez ici. 

RE : Re: uploading the nutch war file

Posted by kawther khazri <nu...@yahoo.fr>.
please can you explain more,  
when I type this url : http://localhost:8080/manager/dedploy?/home/david/nutch-nightly/nutch-nightly.war
I obtain this:
Un problème s'est produit lors du chargement de http://localhost:8080/manager/derploy?jar:file:/home/david/nutch-nightly/nutch-nightly.war :
 Impossible de se connecter à l'hôte localhost (port 8080).
 


ken <ke...@gordiandata.net> a écrit : All these are done on the console of the actual system.  Obviously you are
trying to do remote and the webpage will not allow you to upload a file
that is on your system.  I guess the solution would be to have the war
file on the system that you are working on and then upload it.  Or, copy
the war file to the correct location in the tomcat directories.

Or can you use VNC to be console on the machine that tomcat is running on?

Cheers!
Ken

> hello,
> I'm using this guide to install Nutch:
>
> http://www.mybizguard.com/mediawiki/index.php/Nutch_Search_Engine
>  and I'm blocked in this step:
>                     Use the tomcat manager to load the .war file:
>
> Tomcat Manager --> Select WAR file to upload --> Browse -->
> /home/nutch-nightly/nutch-nightly.war --> Upload
>  can you simplify it to me please, I need to know how to upload the war
> file using tomcat( I need simple steps to do that).
> Best regards.
>
>
>
>
> ---------------------------------
>  Découvrez un nouveau moyen de poser toutes vos questions quelque soit le
> sujet ! Yahoo! Questions/Réponses pour partager vos connaissances, vos
> opinions et vos expériences. Cliquez ici.


-- 
Ken Gregoire
Gordian Data Inc.
www.gordiandata.com
ken@gordiandata.net



 		
---------------------------------
 Découvrez un nouveau moyen de poser toutes vos questions quelque soit le sujet ! Yahoo! Questions/Réponses pour partager vos connaissances, vos opinions et vos expériences. Cliquez ici. 

Re: uploading the nutch war file

Posted by ken <ke...@gordiandata.net>.
All these are done on the console of the actual system.  Obviously you are
trying to do remote and the webpage will not allow you to upload a file
that is on your system.  I guess the solution would be to have the war
file on the system that you are working on and then upload it.  Or, copy
the war file to the correct location in the tomcat directories.

Or can you use VNC to be console on the machine that tomcat is running on?

Cheers!
Ken

> hello,
> I'm using this guide to install Nutch:
>
> http://www.mybizguard.com/mediawiki/index.php/Nutch_Search_Engine
>  and I'm blocked in this step:
>                     Use the tomcat manager to load the .war file:
>
> Tomcat Manager --> Select WAR file to upload --> Browse -->
> /home/nutch-nightly/nutch-nightly.war --> Upload
>  can you simplify it to me please, I need to know how to upload the war
> file using tomcat( I need simple steps to do that).
> Best regards.
>
>
>
>
> ---------------------------------
>  Découvrez un nouveau moyen de poser toutes vos questions quelque soit le
> sujet ! Yahoo! Questions/Réponses pour partager vos connaissances, vos
> opinions et vos expériences. Cliquez ici.


-- 
Ken Gregoire
Gordian Data Inc.
www.gordiandata.com
ken@gordiandata.net