RE: Ant install tasks

2003-12-09 Thread Rich Garabedian
Thanks everyone for your comments. Here is more detail:

I'm using the build.xml directly downloaded from the tomcat 5
documentation. The install task of that build file looks like this:

deploy url=${manager.url}
   username=${manager.username}
   password=${manager.password}
   path=${app.path}
war=file://${build.home}/

I noticed that the war target only has two slashes in it. If I add a
third like Mike shows below, I now get this error:

BUILD FAILED
file:C:/Documents%20and%20Settings/rich/My%20Documents/workbench/java/bu
ild.xml:374: FAIL - Encountered exception java.util.zip.ZipException:
error
in opening zip file

This seems logical as the war target doesn't specify a war file, it
specifies a directory. I haven't tried adding a specific war file yet,
but will in a second...

Feels a little strange though, I never had to modify the build.xml file
from the Tomcat documentation before. I must be doing something wrong??


 -Original Message-
 From: Mike [mailto:[EMAIL PROTECTED]
 Sent: Monday, December 08, 2003 10:00 PM
 To: Tomcat Users List; [EMAIL PROTECTED]
 Subject: Re: Ant install tasks
 
 Correct me if I'm wrong, but shouldn't the host be:
 

file:///C:/Documents%20and%20Settings/rich/My%20Documents/workbench/java
/b
 uild.xml
 
 the difference being the three slashes between file: and C?
 
 - Mike
 
 - Original Message -
 From: Rich Garabedian [EMAIL PROTECTED]
 To: [EMAIL PROTECTED]
 Sent: Monday, December 08, 2003 11:57 AM
 Subject: Ant install tasks
 
 
  I've used the custom ant tasks to build and install web apps a
zillion
  times. However, I'm setting up a new build/test environment on a
fresh
  machine and I'm having a problem getting the install task to work. I
can
  do all the normal all/compile/dist tasks. plus I can do the LIST
task. I
  can also use the HTML manager app to do the install. Just can't do
the
  install via ant.
 
  Environment:
 
  Windows XP Pro
  jakarta-tomcat-5.0.16
  apache-ant-1.5.4
 
  Error:
 
  BUILD FAILED
 
file:C:/Documents%20and%20Settings/rich/My%20Documents/workbench/java/bu
  ild.xml:368: java.net.UnknownHostException: C
 
  I'm nearly 100% the host is correct - it's simply localhost. Plus,
the
  list task works fine, so it has to be hitting the correct url to do
  that. I've also echoed all the variables being passed to the install
  target (in the build.xml), and they look correct.
 
  Running ant with debug doesn't offer much more insight:
 
  BUILD FAILED
 
file:C:/Documents%20and%20Settings/rich/My%20Documents/workbench/java/bu
  ild.xml:368: java.net.UnknownHostException: C
  at
  org.apache.catalina.ant.DeployTask.execute(DeployTask.java:208)
  at org.apache.tools.ant.Task.perform(Task.java:341)
  at org.apache.tools.ant.Target.execute(Target.java:309)
  at org.apache.tools.ant.Target.performTasks(Target.java:336)
  at
org.apache.tools.ant.Project.executeTarget(Project.java:1339)
  at
  org.apache.tools.ant.Project.executeTargets(Project.java:1255)
  at org.apache.tools.ant.Main.runBuild(Main.java:609)
  at org.apache.tools.ant.Main.start(Main.java:196)
  at org.apache.tools.ant.Main.main(Main.java:235)
  Caused by: java.net.UnknownHostException: C
  at
java.net.PlainSocketImpl.connect(PlainSocketImpl.java:153)
  at java.net.Socket.connect(Socket.java:452)
  at java.net.Socket.connect(Socket.java:402)
  at sun.net.NetworkClient.doConnect(NetworkClient.java:139)
  at sun.net.NetworkClient.openServer(NetworkClient.java:118)
  at sun.net.ftp.FtpClient.openServer(FtpClient.java:423)
  at sun.net.ftp.FtpClient.init(FtpClient.java:692)
  at
 
sun.net.www.protocol.ftp.FtpURLConnection.connect(FtpURLConnection.ja
  va:175)
  at
 
sun.net.www.protocol.ftp.FtpURLConnection.getInputStream(FtpURLConnec
  tion.java:257)
  at
  org.apache.catalina.ant.DeployTask.execute(DeployTask.java:205)
  ... 8 more
  --- Nested Exception ---
  java.net.UnknownHostException: C
  at
java.net.PlainSocketImpl.connect(PlainSocketImpl.java:153)
  at java.net.Socket.connect(Socket.java:452)
  at java.net.Socket.connect(Socket.java:402)
  at sun.net.NetworkClient.doConnect(NetworkClient.java:139)
  at sun.net.NetworkClient.openServer(NetworkClient.java:118)
  at sun.net.ftp.FtpClient.openServer(FtpClient.java:423)
  at sun.net.ftp.FtpClient.init(FtpClient.java:692)
  at
 
sun.net.www.protocol.ftp.FtpURLConnection.connect(FtpURLConnection.ja
  va:175)
  at
 
sun.net.www.protocol.ftp.FtpURLConnection.getInputStream(FtpURLConnec
  tion.java:257)
  at
  org.apache.catalina.ant.DeployTask.execute(DeployTask.java:205)
  at org.apache.tools.ant.Task.perform(Task.java:341)
  at org.apache.tools.ant.Target.execute(Target.java:309)
  at org.apache.tools.ant.Target.performTasks

RE: Ant install tasks

2003-12-09 Thread Robert D. Abernethy IV
Here is what I copied from the deployer build script to my build script:

!-- Compile JSPs --
jasper2 validateXml=false 
  uriroot=${web.home} 
  webXmlFragment=${build.home}/WEB-INF/generated_web.xml
  addWebXmlMappings=true
  outputDir=${build.home}/WEB-INF/classes /

And here is what is being added to the web.xml (yes, it is being put in
the web.xml file) for shop_feature.jsp:

servlet
  servlet-nameorg.apache.jsp.shop_005ffeature_jsp/servlet-name
  servlet-classorg.apache.jsp.shop_005ffeature_jsp/servlet-class
/servlet
servlet-mapping
  servlet-nameorg.apache.jsp.shop_005ffeature_jsp/servlet-name
  url-pattern/shop_feature.jsp/url-pattern
/servlet-mapping

Is the package supposed to be org.apache?  What is with the 005f?

Rob Abernethy
Dynamic Edge, Inc.

-Original Message-
From: Remy Maucherat [mailto:[EMAIL PROTECTED] 
Sent: Monday, December 08, 2003 5:37 PM
To: Tomcat Users List
Subject: Re: Ant install tasks

Robert D. Abernethy IV wrote:
 I was getting this same error and it took me some time to get around
it.
 First, I decided to use a WAR file to deploy, rather than an unpacked
 directory.  Second, I had to comment out the jasper2 task in the
compile
 target because it was messing up my web.xml file in unimaginable ways.

It is supposed to automatically add the mappings for the compiled JSPs. 
It doesn't do that in your original web.xml.

The result is not supposed to be messed up, and there's an attribute 
(with an explicit name) which triggers that.

Do I get more details about what went wrong ?

 I would switch to deploying via WAR file and check your web.xml file
for
 problems.  Are you using the Deployer package to deploy?

-- 
x
Rémy Maucherat
Senior Developer  Consultant
JBoss Group (Europe) SàRL
x


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



RE: Ant install tasks

2003-12-09 Thread Rich Garabedian
I'm not sure adding the extra slash is right or not. I don't get the
host exception anymore, but I continue to get the zip error (below).
After looking at my tests, I see that the war file created by ant dist
is 1,149 KB. Yet, when I run ant install, the task is copying a war
file to the webapp directory that is only 1 KB in size. If I run jar
-tvf on that 1KB war file, it shows it's empty.

If I simply copy the war file ant dist creates to the webapp
directory, everything works fine

 -Original Message-
 From: Rich Garabedian [mailto:[EMAIL PROTECTED]
 Sent: Tuesday, December 09, 2003 9:40 AM
 To: 'Tomcat Users List'
 Subject: RE: Ant install tasks
 
 Thanks everyone for your comments. Here is more detail:
 
 I'm using the build.xml directly downloaded from the tomcat 5
 documentation. The install task of that build file looks like this:
 
 deploy url=${manager.url}
username=${manager.username}
password=${manager.password}
path=${app.path}
 war=file://${build.home}/
 
 I noticed that the war target only has two slashes in it. If I add a
 third like Mike shows below, I now get this error:
 
 BUILD FAILED

file:C:/Documents%20and%20Settings/rich/My%20Documents/workbench/java/bu
 ild.xml:374: FAIL - Encountered exception java.util.zip.ZipException:
 error
 in opening zip file
 
 This seems logical as the war target doesn't specify a war file, it
 specifies a directory. I haven't tried adding a specific war file yet,
 but will in a second...
 
 Feels a little strange though, I never had to modify the build.xml
file
 from the Tomcat documentation before. I must be doing something
wrong??
 
 
  -Original Message-
  From: Mike [mailto:[EMAIL PROTECTED]
  Sent: Monday, December 08, 2003 10:00 PM
  To: Tomcat Users List; [EMAIL PROTECTED]
  Subject: Re: Ant install tasks
 
  Correct me if I'm wrong, but shouldn't the host be:
 
 

file:///C:/Documents%20and%20Settings/rich/My%20Documents/workbench/java
 /b
  uild.xml
 
  the difference being the three slashes between file: and C?
 
  - Mike
 
  - Original Message -
  From: Rich Garabedian [EMAIL PROTECTED]
  To: [EMAIL PROTECTED]
  Sent: Monday, December 08, 2003 11:57 AM
  Subject: Ant install tasks
 
 
   I've used the custom ant tasks to build and install web apps a
 zillion
   times. However, I'm setting up a new build/test environment on a
 fresh
   machine and I'm having a problem getting the install task to work.
I
 can
   do all the normal all/compile/dist tasks. plus I can do the LIST
 task. I
   can also use the HTML manager app to do the install. Just can't do
 the
   install via ant.
  
   Environment:
  
   Windows XP Pro
   jakarta-tomcat-5.0.16
   apache-ant-1.5.4
  
   Error:
  
   BUILD FAILED
  

file:C:/Documents%20and%20Settings/rich/My%20Documents/workbench/java/bu
   ild.xml:368: java.net.UnknownHostException: C
  
   I'm nearly 100% the host is correct - it's simply localhost. Plus,
 the
   list task works fine, so it has to be hitting the correct url to
do
   that. I've also echoed all the variables being passed to the
install
   target (in the build.xml), and they look correct.
  
   Running ant with debug doesn't offer much more insight:
  
   BUILD FAILED
  

file:C:/Documents%20and%20Settings/rich/My%20Documents/workbench/java/bu
   ild.xml:368: java.net.UnknownHostException: C
   at
   org.apache.catalina.ant.DeployTask.execute(DeployTask.java:208)
   at org.apache.tools.ant.Task.perform(Task.java:341)
   at org.apache.tools.ant.Target.execute(Target.java:309)
   at
org.apache.tools.ant.Target.performTasks(Target.java:336)
   at
 org.apache.tools.ant.Project.executeTarget(Project.java:1339)
   at
   org.apache.tools.ant.Project.executeTargets(Project.java:1255)
   at org.apache.tools.ant.Main.runBuild(Main.java:609)
   at org.apache.tools.ant.Main.start(Main.java:196)
   at org.apache.tools.ant.Main.main(Main.java:235)
   Caused by: java.net.UnknownHostException: C
   at
 java.net.PlainSocketImpl.connect(PlainSocketImpl.java:153)
   at java.net.Socket.connect(Socket.java:452)
   at java.net.Socket.connect(Socket.java:402)
   at sun.net.NetworkClient.doConnect(NetworkClient.java:139)
   at
sun.net.NetworkClient.openServer(NetworkClient.java:118)
   at sun.net.ftp.FtpClient.openServer(FtpClient.java:423)
   at sun.net.ftp.FtpClient.init(FtpClient.java:692)
   at
  
 sun.net.www.protocol.ftp.FtpURLConnection.connect(FtpURLConnection.ja
   va:175)
   at
  
 sun.net.www.protocol.ftp.FtpURLConnection.getInputStream(FtpURLConnec
   tion.java:257)
   at
   org.apache.catalina.ant.DeployTask.execute(DeployTask.java:205)
   ... 8 more
   --- Nested Exception ---
   java.net.UnknownHostException: C
   at
 java.net.PlainSocketImpl.connect(PlainSocketImpl.java:153)
   at java.net.Socket.connect

Re: Ant install tasks

2003-12-09 Thread Remy Maucherat
Rich Garabedian wrote:
Thanks everyone for your comments. Here is more detail:

I'm using the build.xml directly downloaded from the tomcat 5
documentation. The install task of that build file looks like this:
deploy url=${manager.url}
   username=${manager.username}
   password=${manager.password}
   path=${app.path}
war=file://${build.home}/
I noticed that the war target only has two slashes in it. If I add a
third like Mike shows below, I now get this error:
BUILD FAILED
file:C:/Documents%20and%20Settings/rich/My%20Documents/workbench/java/bu
ild.xml:374: FAIL - Encountered exception java.util.zip.ZipException:
error
in opening zip file
This seems logical as the war target doesn't specify a war file, it
specifies a directory. I haven't tried adding a specific war file yet,
but will in a second...
Feels a little strange though, I never had to modify the build.xml file
from the Tomcat documentation before. I must be doing something wrong??
Well, the war attribute is just a normal path, not a URL.

--
x
Rémy Maucherat
Senior Developer  Consultant
JBoss Group (Europe) SàRL
x
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


Re: Ant install tasks

2003-12-09 Thread Remy Maucherat
Robert D. Abernethy IV wrote:
Here is what I copied from the deployer build script to my build script:

!-- Compile JSPs --
jasper2 validateXml=false 
  uriroot=${web.home} 
  webXmlFragment=${build.home}/WEB-INF/generated_web.xml
  addWebXmlMappings=true
  outputDir=${build.home}/WEB-INF/classes /

And here is what is being added to the web.xml (yes, it is being put in
the web.xml file) for shop_feature.jsp:
servlet
  servlet-nameorg.apache.jsp.shop_005ffeature_jsp/servlet-name
  servlet-classorg.apache.jsp.shop_005ffeature_jsp/servlet-class
/servlet
servlet-mapping
  servlet-nameorg.apache.jsp.shop_005ffeature_jsp/servlet-name
  url-pattern/shop_feature.jsp/url-pattern
/servlet-mapping
Is the package supposed to be org.apache?  What is with the 005f?
This looks ok to me. Jasper mangles stuff to avoid problems. Was the XML 
fragment inserted in the right place ?
I thought users would be happy that they have nothing to do to get true 
and easy to use JSP precompilation ;-)

--
x
Rémy Maucherat
Senior Developer  Consultant
JBoss Group (Europe) SàRL
x
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


Ant install tasks

2003-12-08 Thread Rich Garabedian
I've used the custom ant tasks to build and install web apps a zillion
times. However, I'm setting up a new build/test environment on a fresh
machine and I'm having a problem getting the install task to work. I can
do all the normal all/compile/dist tasks. plus I can do the LIST task. I
can also use the HTML manager app to do the install. Just can't do the
install via ant.
 
Environment:
 
Windows XP Pro
jakarta-tomcat-5.0.16
apache-ant-1.5.4
 
Error:
 
BUILD FAILED
file:C:/Documents%20and%20Settings/rich/My%20Documents/workbench/java/bu
ild.xml:368: java.net.UnknownHostException: C
 
I'm nearly 100% the host is correct - it's simply localhost. Plus, the
list task works fine, so it has to be hitting the correct url to do
that. I've also echoed all the variables being passed to the install
target (in the build.xml), and they look correct.
 
Running ant with debug doesn't offer much more insight:
 
BUILD FAILED
file:C:/Documents%20and%20Settings/rich/My%20Documents/workbench/java/bu
ild.xml:368: java.net.UnknownHostException: C
at
org.apache.catalina.ant.DeployTask.execute(DeployTask.java:208)
at org.apache.tools.ant.Task.perform(Task.java:341)
at org.apache.tools.ant.Target.execute(Target.java:309)
at org.apache.tools.ant.Target.performTasks(Target.java:336)
at org.apache.tools.ant.Project.executeTarget(Project.java:1339)
at
org.apache.tools.ant.Project.executeTargets(Project.java:1255)
at org.apache.tools.ant.Main.runBuild(Main.java:609)
at org.apache.tools.ant.Main.start(Main.java:196)
at org.apache.tools.ant.Main.main(Main.java:235)
Caused by: java.net.UnknownHostException: C
at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:153)
at java.net.Socket.connect(Socket.java:452)
at java.net.Socket.connect(Socket.java:402)
at sun.net.NetworkClient.doConnect(NetworkClient.java:139)
at sun.net.NetworkClient.openServer(NetworkClient.java:118)
at sun.net.ftp.FtpClient.openServer(FtpClient.java:423)
at sun.net.ftp.FtpClient.init(FtpClient.java:692)
at
sun.net.www.protocol.ftp.FtpURLConnection.connect(FtpURLConnection.ja
va:175)
at
sun.net.www.protocol.ftp.FtpURLConnection.getInputStream(FtpURLConnec
tion.java:257)
at
org.apache.catalina.ant.DeployTask.execute(DeployTask.java:205)
... 8 more
--- Nested Exception ---
java.net.UnknownHostException: C
at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:153)
at java.net.Socket.connect(Socket.java:452)
at java.net.Socket.connect(Socket.java:402)
at sun.net.NetworkClient.doConnect(NetworkClient.java:139)
at sun.net.NetworkClient.openServer(NetworkClient.java:118)
at sun.net.ftp.FtpClient.openServer(FtpClient.java:423)
at sun.net.ftp.FtpClient.init(FtpClient.java:692)
at
sun.net.www.protocol.ftp.FtpURLConnection.connect(FtpURLConnection.ja
va:175)
at
sun.net.www.protocol.ftp.FtpURLConnection.getInputStream(FtpURLConnec
tion.java:257)
at
org.apache.catalina.ant.DeployTask.execute(DeployTask.java:205)
at org.apache.tools.ant.Task.perform(Task.java:341)
at org.apache.tools.ant.Target.execute(Target.java:309)
at org.apache.tools.ant.Target.performTasks(Target.java:336)
at org.apache.tools.ant.Project.executeTarget(Project.java:1339)
at
org.apache.tools.ant.Project.executeTargets(Project.java:1255)
at org.apache.tools.ant.Main.runBuild(Main.java:609)
at org.apache.tools.ant.Main.start(Main.java:196)
at org.apache.tools.ant.Main.main(Main.java:235)
 
Total time: 11 seconds
 
Anyone have a hint? I've never run into this before and I'm going crazy
trying to figure out what's wrong.
 
Many thanks,
 
Rich


Re: Ant install tasks

2003-12-08 Thread Remy Maucherat
Rich Garabedian wrote:
I've used the custom ant tasks to build and install web apps a zillion
times. However, I'm setting up a new build/test environment on a fresh
machine and I'm having a problem getting the install task to work. I can
do all the normal all/compile/dist tasks. plus I can do the LIST task. I
can also use the HTML manager app to do the install. Just can't do the
install via ant.
The tasks did change to some extent. In particular, install/remove 
were deprecated in favor of deploy/undeploy, to avoid confusing users 
(deploy includes the install functionality).

Please look in the docs or the deployer package for the full story.

--
x
Rémy Maucherat
Senior Developer  Consultant
JBoss Group (Europe) SàRL
x
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


AW: Ant install tasks

2003-12-08 Thread SH Solutions
Hi

First, I don't know anything about ant...

BUILD FAILED
file:C:/Documents%20and%20Settings/rich/My%20Documents/workbench/java/bu
ild.xml:368: java.net.UnknownHostException: C
 
 I'm nearly 100% the host is correct - it's simply localhost.

But it seams to read your c:/... as (host):, so it says: I dont know
host 'C'!.
It isn't trying to connet to localhost but to C.

Just my 5 cents,
  Steffen


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



RE: Ant install tasks

2003-12-08 Thread Kumar, Sumit
Hello,

Is it possible to put an object in session of another webapp, like I am in
context of webapp1 and I want to put an UserInfo object in session of
webapp2. Can I even access session of webapp2 from webapp1. Both are
deployed under Tomcat4.1.

Thanks
-sumit

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



RE: Ant install tasks

2003-12-08 Thread Robert D. Abernethy IV
I was getting this same error and it took me some time to get around it.
First, I decided to use a WAR file to deploy, rather than an unpacked
directory.  Second, I had to comment out the jasper2 task in the compile
target because it was messing up my web.xml file in unimaginable ways.
I would switch to deploying via WAR file and check your web.xml file for
problems.  Are you using the Deployer package to deploy?

Rob Abernethy
Dynamic Edge, Inc.

-Original Message-
From: Kumar, Sumit [mailto:[EMAIL PROTECTED] 
Sent: Monday, December 08, 2003 3:39 PM
To: 'Tomcat Users List'; [EMAIL PROTECTED]
Subject: RE: Ant install tasks

Hello,

Is it possible to put an object in session of another webapp, like I am
in
context of webapp1 and I want to put an UserInfo object in session of
webapp2. Can I even access session of webapp2 from webapp1. Both are
deployed under Tomcat4.1.

Thanks
-sumit

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: Ant install tasks

2003-12-08 Thread Remy Maucherat
Robert D. Abernethy IV wrote:
I was getting this same error and it took me some time to get around it.
First, I decided to use a WAR file to deploy, rather than an unpacked
directory.  Second, I had to comment out the jasper2 task in the compile
target because it was messing up my web.xml file in unimaginable ways.
It is supposed to automatically add the mappings for the compiled JSPs. 
It doesn't do that in your original web.xml.

The result is not supposed to be messed up, and there's an attribute 
(with an explicit name) which triggers that.

Do I get more details about what went wrong ?

I would switch to deploying via WAR file and check your web.xml file for
problems.  Are you using the Deployer package to deploy?
--
x
Rémy Maucherat
Senior Developer  Consultant
JBoss Group (Europe) SàRL
x
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


Re: Ant install tasks

2003-12-08 Thread Mike
Correct me if I'm wrong, but shouldn't the host be:

file:///C:/Documents%20and%20Settings/rich/My%20Documents/workbench/java/build.xml

the difference being the three slashes between file: and C?

- Mike

- Original Message - 
From: Rich Garabedian [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Monday, December 08, 2003 11:57 AM
Subject: Ant install tasks


 I've used the custom ant tasks to build and install web apps a zillion
 times. However, I'm setting up a new build/test environment on a fresh
 machine and I'm having a problem getting the install task to work. I can
 do all the normal all/compile/dist tasks. plus I can do the LIST task. I
 can also use the HTML manager app to do the install. Just can't do the
 install via ant.

 Environment:

 Windows XP Pro
 jakarta-tomcat-5.0.16
 apache-ant-1.5.4

 Error:

 BUILD FAILED
 file:C:/Documents%20and%20Settings/rich/My%20Documents/workbench/java/bu
 ild.xml:368: java.net.UnknownHostException: C

 I'm nearly 100% the host is correct - it's simply localhost. Plus, the
 list task works fine, so it has to be hitting the correct url to do
 that. I've also echoed all the variables being passed to the install
 target (in the build.xml), and they look correct.

 Running ant with debug doesn't offer much more insight:

 BUILD FAILED
 file:C:/Documents%20and%20Settings/rich/My%20Documents/workbench/java/bu
 ild.xml:368: java.net.UnknownHostException: C
 at
 org.apache.catalina.ant.DeployTask.execute(DeployTask.java:208)
 at org.apache.tools.ant.Task.perform(Task.java:341)
 at org.apache.tools.ant.Target.execute(Target.java:309)
 at org.apache.tools.ant.Target.performTasks(Target.java:336)
 at org.apache.tools.ant.Project.executeTarget(Project.java:1339)
 at
 org.apache.tools.ant.Project.executeTargets(Project.java:1255)
 at org.apache.tools.ant.Main.runBuild(Main.java:609)
 at org.apache.tools.ant.Main.start(Main.java:196)
 at org.apache.tools.ant.Main.main(Main.java:235)
 Caused by: java.net.UnknownHostException: C
 at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:153)
 at java.net.Socket.connect(Socket.java:452)
 at java.net.Socket.connect(Socket.java:402)
 at sun.net.NetworkClient.doConnect(NetworkClient.java:139)
 at sun.net.NetworkClient.openServer(NetworkClient.java:118)
 at sun.net.ftp.FtpClient.openServer(FtpClient.java:423)
 at sun.net.ftp.FtpClient.init(FtpClient.java:692)
 at
 sun.net.www.protocol.ftp.FtpURLConnection.connect(FtpURLConnection.ja
 va:175)
 at
 sun.net.www.protocol.ftp.FtpURLConnection.getInputStream(FtpURLConnec
 tion.java:257)
 at
 org.apache.catalina.ant.DeployTask.execute(DeployTask.java:205)
 ... 8 more
 --- Nested Exception ---
 java.net.UnknownHostException: C
 at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:153)
 at java.net.Socket.connect(Socket.java:452)
 at java.net.Socket.connect(Socket.java:402)
 at sun.net.NetworkClient.doConnect(NetworkClient.java:139)
 at sun.net.NetworkClient.openServer(NetworkClient.java:118)
 at sun.net.ftp.FtpClient.openServer(FtpClient.java:423)
 at sun.net.ftp.FtpClient.init(FtpClient.java:692)
 at
 sun.net.www.protocol.ftp.FtpURLConnection.connect(FtpURLConnection.ja
 va:175)
 at
 sun.net.www.protocol.ftp.FtpURLConnection.getInputStream(FtpURLConnec
 tion.java:257)
 at
 org.apache.catalina.ant.DeployTask.execute(DeployTask.java:205)
 at org.apache.tools.ant.Task.perform(Task.java:341)
 at org.apache.tools.ant.Target.execute(Target.java:309)
 at org.apache.tools.ant.Target.performTasks(Target.java:336)
 at org.apache.tools.ant.Project.executeTarget(Project.java:1339)
 at
 org.apache.tools.ant.Project.executeTargets(Project.java:1255)
 at org.apache.tools.ant.Main.runBuild(Main.java:609)
 at org.apache.tools.ant.Main.start(Main.java:196)
 at org.apache.tools.ant.Main.main(Main.java:235)

 Total time: 11 seconds

 Anyone have a hint? I've never run into this before and I'm going crazy
 trying to figure out what's wrong.

 Many thanks,

 Rich




-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]