Win32 requires an extra /, so your war should be
file:///${dist.home}/${app.name}-${app.version}.war or
file:/${dist.home}/${app.name}-${app.version}.war-----Original Message----- From: Steven Woody [mailto:[EMAIL PROTECTED] Sent: November 7, 2003 10:51 AM To: Tomcat Users List Subject: Re: ant deploy <deploy url="${manager.url}" username="${manager.username}" password="${manager.password}" path="${app.path}" war="file://${dist.home}/${app.name}-${app.version}.war"/> When the configuration run on a Linux host, it can deploy onto the local Linux server and remove W2K server. When the same configuration run on a W2K host, it can *NOT* deploy onto either local Tomcat server nor the remove Linux server! What's the problem? ----- Original Message ----- From: "Phillip Qin" <[EMAIL PROTECTED]> To: "'Tomcat Users List'" <[EMAIL PROTECTED]> Sent: Friday, November 07, 2003 10:36 PM Subject: RE: ant deploy > Can you show us your build.xml? Mine is > > <deploy url="http://remotehost/manager" username="${username}" > password="${password}" path="/${your.app.name}" war="${war.url}"/> > > username: manager > your.app.name: context name > linux host: file:${war.dir}/${war.file} > win32 host: file:/${war.dir}/${war.file} > > -----Original Message----- > From: Steven Woody [mailto:[EMAIL PROTECTED] > Sent: November 6, 2003 8:39 PM > To: Tomcat Users List > Subject: Re: ant deploy > > I heard the 'install' task can only communicate to local server :-( but I > want to deploy to a remove tomcat. > > > ----- Original Message ----- > From: "Shapira, Yoav" <[EMAIL PROTECTED]> > To: "Tomcat Users List" <[EMAIL PROTECTED]> > Sent: Thursday, November 06, 2003 9:52 PM > Subject: RE: ant deploy > > > > Howdy, > You want to use the install task instead of deploy most likely. > Needless to say, the host name should be a valid one that you can > ping/lookup ;) > > Yoav Shapira > Millennium ChemInformatics > > > >-----Original Message----- > >From: Steven Woody [mailto:[EMAIL PROTECTED] > >Sent: Thursday, November 06, 2003 12:47 AM > >To: [EMAIL PROTECTED] > >Subject: ant deploy > > > >Hi, > > > >I wanna use ant deploy task to deploy a war onto Tomcat, but always got > a > >UnknownHostName exception. What's wrong here? Did anyone used the > ><deploy> task with sucessful? > > > > > >Regards. > > > >-- > >Steven Woody > > > > This e-mail, including any attachments, is a confidential business > communication, and may contain information that is confidential, proprietary > and/or privileged. This e-mail is intended only for the individual(s) to > whom it is addressed, and may not be saved, copied, printed, disclosed or > used by anyone else. If you are not the(an) intended recipient, please > immediately delete this e-mail from your computer system and notify the > sender. Thank you. > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > >
