Could you include your ant script? Make sure that you have the proper directory structure, and that you have a web.xml file in the WEB-INF file. ANT script can definitely cause errors in the war file creation.
On 11/8/05, Lothar Krenzien <[EMAIL PROTECTED]> wrote: > > > 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: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > >