You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tomcat.apache.org by bu...@apache.org on 2004/01/29 16:47:56 UTC
DO NOT REPLY [Bug 26524] New: -
ZipException/UnknownHostException using absolute directory path in war attribute
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=26524>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND
INSERTED IN THE BUG DATABASE.
http://nagoya.apache.org/bugzilla/show_bug.cgi?id=26524
ZipException/UnknownHostException using absolute directory path in war attribute
Summary: ZipException/UnknownHostException using absolute
directory path in war attribute
Product: Tomcat 5
Version: 5.0.18
Platform: PC
OS/Version: Windows XP
Status: NEW
Severity: Normal
Priority: Other
Component: Webapps:Manager
AssignedTo: tomcat-dev@jakarta.apache.org
ReportedBy: apachebug@dennie.nl
Formally the InstallTask allowed absolute paths to a war like directory
structure. InstallTask is deprecated with DeployTask, but using a absolute file
construct like file://<drive>:\path\to\dir throws a UnknownHostException.
Using a construct like file:<drive>:\path\to\dir throws a ZipException.
The deploytask works with a war file.
Config:
Ant v1.6
Tomcat v5.18
Build.xml:
<property name="manager.url"
value="http://localhost:8080/manager"/>
<property name="manager.username" value="****"/>
<property name="manager.password" value="****"/>
<taskdef name="deploy" classname="org.apache.catalina.ant.DeployTask"/>
<target name="deploy" depends="compile"
description="Deploy the application to servlet container">
<deploy url="${manager.url}"
username="${manager.username}"
password="${manager.password}"
path="${app.path}"
war="file://${build.home}"/>
</target>
deploy:
[deploy] BUILD FAILED: file:D:/softdev/eclipse-SDK-2.1.2-
win32/eclipse/workspace/Vikie-V0.2/edi/build.xml:212:
java.net.UnknownHostException: D
Total time: 9 seconds
When I use InstallTask everything works fine.
---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-dev-help@jakarta.apache.org