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
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:
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}
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
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
-
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
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
[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
-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
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
-
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
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
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
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
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
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
16 matches
Mail list logo