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

<taskdef name="testdeploy" 

classname="org.apache.catalina.ant.DeployTask">

<classpath refid="tomcat.classpath" />

</taskdef> 

<target name="deploy"

depends="dist"

description="deploy application to servlet container">

<testdeploy url="${manager.url}"

username="${manager.username}"

password="${manager.password}"

path="${app.path}"

war="file://${build.home}/${app.name}-${app.version}.war"/>

</target>

Build.properties

manager.username = x

manager.password = y

manager.url = http://hostname:8081/managerhttp://hostname:8081/manager
and username+password)

Build.xml

<taskdef name="testdeploy" 

classname="org.apache.catalina.ant.DeployTask">

<classpath refid="tomcat.classpath" />

</taskdef> 

<target name="deploy"

depends="dist"

description="deploy application to servlet container">

<testdeploy url="${manager.url}"

username="${manager.username}"

password="${manager.password}"

path="${app.path}"

war="file://${build.home}/${app.name}-${app.version}.war"/>

</target>

Build.properties

manager.username = x

manager.password = y

manager.url = http://hostname:8081/managerhttp://hostname:8081/manager

If it would have been a network or tomcat related issue it would fail
web deployment as well I guess.

Therefore I assume it is an issue with the ant configuration.

Has anyone some clue on what I might do wrong ? Some help would be
very much appreciated.

Best regards,

Patrick.

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

Reply via email to