WAR files (URGENT)
Hi all, Can someone plz tell me how to install a web app packaged as a WAR file on tomcat 4.0.1 ? I've tried following the instructions in tomcat-docs but when I try them I get a file not foud exception even though all the file in question is in the war file. (With the correct path). I would appreciate any help as This is starting to drive me nuts. thanks in advance Alec. -- To unsubscribe: mailto:[EMAIL PROTECTED] For additional commands: mailto:[EMAIL PROTECTED] Troubles with the list: mailto:[EMAIL PROTECTED]
Réf. : WAR files (URGENT)
maybe the application is not running.. did you try http://yourserver:8080/manager/list;? there you'll see wether or not the app is running... --- Raul Davidovich Responsable Informatique Cvitkovic Associés Consultants (33) 1 45 15 40 68 (33) 1 45 15 40 41 Fax --- http://www.caconcology.com |+-- || Alec Bickerton | || abickerton@opaltele| || com.co.uk | || | || 26/11/2001 16:57| || Veuillez répondre à | || Tomcat Users List | || | |+-- -| | | | Pour : [EMAIL PROTECTED] | | cc : | | Objet : WAR files (URGENT) | -| Hi all, Can someone plz tell me how to install a web app packaged as a WAR file on tomcat 4.0.1 ? I've tried following the instructions in tomcat-docs but when I try them I get a file not foud exception even though all the file in question is in the war file. (With the correct path). I would appreciate any help as This is starting to drive me nuts. thanks in advance Alec. -- To unsubscribe: mailto:[EMAIL PROTECTED] For additional commands: mailto:[EMAIL PROTECTED] Troubles with the list: mailto:[EMAIL PROTECTED] -- To unsubscribe: mailto:[EMAIL PROTECTED] For additional commands: mailto:[EMAIL PROTECTED] Troubles with the list: mailto:[EMAIL PROTECTED]
Re: WAR files (URGENT)
26/11/2001 16:07:53, keiths [EMAIL PROTECTED] wrote: Can you clarify this. I have just tried the following... 1- remove the war file from the webapp dir 2- recreate the war file @jar cvf timeservlet.war * 3atry to intall using manager app from current location /var/tomcat4/, same error : FAIL - Encountered exception java.io.FileNotFoundException: /var/tomcat4/webapps/time/META-INF/MANIFEST.MF (No such file or directory) THE FILE IS IN THE WAR FILE ON THE PATH SHOWN 3b try to install on /var/tomcat/webapps/ Same result. What am I doing wrong... common error is the war file is placed in webapps directory but is not created there. jar cf myapp.war myapp from webapp dir is wrong, jar cf myapp.war * from your application directory, then move the war file up to webapp directory. Alec Bickerton wrote: Hi all, Can someone plz tell me how to install a web app packaged as a WAR file on tomcat 4.0.1 ? I've tried following the instructions in tomcat-docs but when I try them I get a file not foud exception even though all the file in question is in the war file. (With the correct path). I would appreciate any help as This is starting to drive me nuts. thanks in advance Alec. -- To unsubscribe: mailto:[EMAIL PROTECTED] For additional commands: mailto:[EMAIL PROTECTED] Troubles with the list: mailto:[EMAIL PROTECTED] -- Keith Simpson Skillview Technologies [EMAIL PROTECTED] (603)-382-9882 -- To unsubscribe: mailto:[EMAIL PROTECTED] For additional commands: mailto:[EMAIL PROTECTED] Troubles with the list: mailto:[EMAIL PROTECTED] -- To unsubscribe: mailto:[EMAIL PROTECTED] For additional commands: mailto:[EMAIL PROTECTED] Troubles with the list: mailto:[EMAIL PROTECTED]
RE: WAR files (URGENT)
Hi, I did not follow this thread actively, but the error message you get suggests that the file /var/tomcat4/webapps/time/META-INF/MANIFEST.MF is not there or not accessible. Have you checked: - File names (upper/lower case, etc) - file protection? (rwdx, etc) The best way to check is to login as the user under which tomcat is runnig and then perform a jar tf /var/tomcat4/webapps/time/timeservlet.war I also noticed that you talk about webapp dir, where the error message indicates it is looking for a webapps directory (the s is missing) Regards, Cor -Original Message- From: Alec Bickerton [mailto:[EMAIL PROTECTED]] Sent: Monday, November 26, 2001 18:02 To: [EMAIL PROTECTED] Cc: [EMAIL PROTECTED] Subject: Re: WAR files (URGENT) 26/11/2001 16:07:53, keiths [EMAIL PROTECTED] wrote: Can you clarify this. I have just tried the following... 1- remove the war file from the webapp dir 2- recreate the war file @jar cvf timeservlet.war * 3atry to intall using manager app from current location /var/tomcat4/, same error : FAIL - Encountered exception java.io.FileNotFoundException: /var/tomcat4/webapps/time/META-INF/MANIFEST.MF (No such file or directory) THE FILE IS IN THE WAR FILE ON THE PATH SHOWN 3b try to install on /var/tomcat/webapps/ Same result. What am I doing wrong... common error is the war file is placed in webapps directory but is not created there. jar cf myapp.war myapp from webapp dir is wrong, jar cf myapp.war * from your application directory, then move the war file up to webapp directory. Alec Bickerton wrote: Hi all, Can someone plz tell me how to install a web app packaged as a WAR file on tomcat 4.0.1 ? I've tried following the instructions in tomcat-docs but when I try them I get a file not foud exception even though all the file in question is in the war file. (With the correct path). I would appreciate any help as This is starting to drive me nuts. thanks in advance Alec. -- To unsubscribe: mailto:[EMAIL PROTECTED] For additional commands: mailto:[EMAIL PROTECTED] Troubles with the list: mailto:[EMAIL PROTECTED] -- Keith Simpson Skillview Technologies [EMAIL PROTECTED] (603)-382-9882 -- To unsubscribe: mailto:[EMAIL PROTECTED] For additional commands: mailto:[EMAIL PROTECTED] Troubles with the list: mailto:[EMAIL PROTECTED] -- To unsubscribe: mailto:[EMAIL PROTECTED] For additional commands: mailto:[EMAIL PROTECTED] Troubles with the list: mailto:[EMAIL PROTECTED] -- To unsubscribe: mailto:[EMAIL PROTECTED] For additional commands: mailto:[EMAIL PROTECTED] Troubles with the list: mailto:[EMAIL PROTECTED]