Ant deployment to Tomcat issue - UnknownHostException: C

2005-09-08 Thread patrick van den Bemt
Hi there, * Ant script Deployment from ws1 (with ant1.6.2) onto ws2 (with tomcat5.0.28) returns build.xml:150: java.net.UnknownHostException: C. * Web interface Deployment from ws1 onto ws2 of the same .war file succeeds (use same http://hostname:8081/manager and username+password) Build.xml

Re: Ant deployment to Tomcat issue - UnknownHostException: C

2005-09-08 Thread Mark Thomas
Usually caused by a URL of the form file://C:... The fix is to add an extra / to your URL so it looks like: file:///C:... Mark patrick van den Bemt wrote: Hi there, * Ant script Deployment from ws1 (with ant1.6.2) onto ws2 (with tomcat5.0.28) returns build.xml:150:

UnknownHostException calling ant install from sample webapp

2004-01-16 Thread Arann . Villing
The install task in the sample build.xml of the Application Developer Guide raises a java.net.UnknownHostException. By changing war attribute to localWar in the deploy task in build.xml, as follows, then everything seems to work. deploy url=${manager.url} username=${manager.username}

UnknownHostException

2003-10-09 Thread Jesús Gutiérrez Ramírez
Hi, I'm new using tomcat (over windows xp) and ANT, I was doing the example exercise http://jakarta.apache.org/tomcat/tomcat-5.0-doc/appdev/index.html, using the files included. When I want to install my app on the tomcat server using the ANT INSTALL command I receive the next

UnknownHostException thrown from SmtpClient

2001-11-13 Thread felix
Migrating some old code that uses the sun SmtpClient to a new server. the SmtpClient throws an UnknownHostException, I'm using the i.p. address of the mail server, which is actually on the same box. i tried 127.0.0.1 and localhost and the named host (but not yet dns transferred). all

RE: UnknownHostException thrown from SmtpClient

2001-11-13 Thread Martin van den Bemt
- From: felix [mailto:[EMAIL PROTECTED]] Sent: Tuesday, November 13, 2001 10:14 PM To: Tomcat Users List Subject: UnknownHostException thrown from SmtpClient Migrating some old code that uses the sun SmtpClient to a new server. the SmtpClient throws an UnknownHostException, I'm using the i.p

Re: UnknownHostException thrown from SmtpClient

2001-11-13 Thread felix
btw. i can open a socket (port 25) directly via i.p. From: felix [EMAIL PROTECTED] Migrating some old code that uses the sun SmtpClient to a new server. the SmtpClient throws an UnknownHostException, I'm using the i.p. address of the mail server, which is actually on the same box

Re: UnknownHostException thrown from SmtpClient

2001-11-13 Thread felix
[EMAIL PROTECTED] Subject: RE: UnknownHostException thrown from SmtpClient Use JavaMail instead.. The SmtpClient (at least if that is the one in com.sun or sun.) is as far as I know not even supported.. Never had any problems with that, unless the jvm couldn't find a host in the first place

RE: UnknownHostException thrown from SmtpClient

2001-11-13 Thread Martin van den Bemt
-Original Message- From: felix [mailto:[EMAIL PROTECTED]] Sent: Tuesday, November 13, 2001 10:43 PM To: Tomcat Users List Subject: Re: UnknownHostException thrown from SmtpClient Thanks, I think that's what needs to be done anyway. on a related topic, I've been trying to figure out

Re: UnknownHostException thrown from SmtpClient

2001-11-13 Thread Craig R. McClanahan
On Tue, 13 Nov 2001, felix wrote: Date: Tue, 13 Nov 2001 16:43:02 -0500 From: felix [EMAIL PROTECTED] Reply-To: Tomcat Users List [EMAIL PROTECTED] To: Tomcat Users List [EMAIL PROTECTED] Subject: Re: UnknownHostException thrown from SmtpClient Thanks, I think that's what needs

Re: UnknownHostException thrown from SmtpClient

2001-11-13 Thread Kevin Barnes
- From: felix [mailto:[EMAIL PROTECTED]] Sent: Tuesday, November 13, 2001 10:43 PM To: Tomcat Users List Subject: Re: UnknownHostException thrown from SmtpClient Thanks, I think that's what needs to be done anyway. on a related topic, I've been trying to figure out

RE: UnknownHostException thrown from SmtpClient

2001-11-13 Thread Martin van den Bemt
See below.. On Tue, 13 Nov 2001, Martin van den Bemt wrote: Date: Tue, 13 Nov 2001 22:49:12 +0100 From: Martin van den Bemt [EMAIL PROTECTED] Reply-To: Tomcat Users List [EMAIL PROTECTED] To: Tomcat Users List [EMAIL PROTECTED] Subject: RE: UnknownHostException thrown from SmtpClient

Re: UnknownHostException thrown from SmtpClient

2001-11-13 Thread felix
of us why sun.net.smtp.SmtpClient should be avoided. it threw an UnknownHostException when the problem is completely different. This is going to exim, not sendmail. From: Martin van den Bemt [EMAIL PROTECTED] Use JavaMail instead.. The SmtpClient (at least if that is the one in com.sun

RE: UnknownHostException thrown from SmtpClient

2001-11-13 Thread Craig R. McClanahan
On Tue, 13 Nov 2001, Martin van den Bemt wrote: Date: Tue, 13 Nov 2001 22:49:12 +0100 From: Martin van den Bemt [EMAIL PROTECTED] Reply-To: Tomcat Users List [EMAIL PROTECTED] To: Tomcat Users List [EMAIL PROTECTED] Subject: RE: UnknownHostException thrown from SmtpClient I like

Re: UnknownHostException thrown from SmtpClient

2001-11-13 Thread felix
From: Craig R. McClanahan [EMAIL PROTECTED] on a related topic, I've been trying to figure out if JavaMail threads / forks when it sends. Besides the fact that it's probably an insignificant effect on response time (unless you're sending large numbers of messages on one request), that's

Re: UnknownHostException thrown from SmtpClient

2001-11-13 Thread Craig R. McClanahan
On Tue, 13 Nov 2001, felix wrote: [snip] i have exim (http://www.exim.org) installed (it came with our dedicated server). it appears to be more robust in terms of queuing, freezing, unfreezing, managing and retrying than classic sendmail. with xwindows you can open a manager to sort