You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by "Samara, Fadi N Mr ACSIM/ASPEX" <Fa...@hqda.army.mil> on 2005/11/08 17:45:21 UTC

RE: deploying war file (UNCLASSIFIED)

Classification:  UNCLASSIFIED 
Caveats: NONE

Send your application hierarchy please
Fadi 

-----Original Message-----
From: Lothar Krenzien [mailto:lkrenzien@web.de] 
Sent: Tuesday, November 08, 2005 11:41 AM
To: users@tomcat.apache.org
Subject: deploying war file


Hi there,

I'm just trying to create a war file for a web projects (with JSP's and
Struts) and want to deploy it using the Tomcat manager. I configured a user
for the manager like descriped in the docu, created the war file with Ant
and wanted to deploy the app using the following command :
  http://remoteServer:8888/manager/reload?path=/webapp&war=file:/webapp.war


But even Tomcat returns OK nothing happens. When I try to call the app like
  http://remoteServer:8888/webapp/Welcome.do
I get an error that the resource does not exists. This seems to be true for
me because there are no files in the app-dir.  In the past all files are
copied in the appBase dir of Tomcat. The  file webapp.war is located in the
appBase dir of Tomcat and has the same name as the context path for the
project (webapp). 
So what I'm doing wrong ?

autoDeploy and unpackWARs are set to true.

Thank,
Lothar Krenzien

P.S. I notified that in the 'WEB-INF' dir of the war file all files exists
twice or even 3-times. It seems that the war file was created wrong by Ant
(maybe an error in my script). Could that be the reason ?
__________________________________________________________________________
Erweitern Sie FreeMail zu einem noch leistungsstärkeren E-Mail-Postfach!

Mehr Infos unter http://freemail.web.de/home/landingpad/?mc=021131


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org
Classification:  UNCLASSIFIED 
Caveats: NONE


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org