tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 21489] New: - Catalina-ant task: problem with config parameter
Date Fri, 11 Jul 2003 06:18:37 GMT
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=21489>.
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=21489

Catalina-ant task: problem with config parameter

           Summary: Catalina-ant task: problem with config parameter
           Product: Tomcat 4
           Version: 4.1.24
          Platform: Other
        OS/Version: Windows XP
            Status: NEW
          Severity: Normal
          Priority: Other
         Component: Webapps:Administration
        AssignedTo: tomcat-dev@jakarta.apache.org
        ReportedBy: charl.gerber@iname.com


Assume my paths and supplied username/password are correct (they are), then 
running this ant task:

<target name="install" description="Install web application">
  <install url="http://localhost:8080/manager"
           username="system"
           password="password"
           config="file://C:/Tomcat4.1/webapps/context.xml"
           path="myapp"
           war="file://myapp.war" />
</target>

results in:

BUILD FAILED
file:C:/projects/fanbase/build.xml:96: FAIL - Encountered exception 
java.io.IOException: java.net.UnknownHostException: C

Changing config to:

config="file:/C:/Tomcat4.1/webapps/context.xml"

Solves the problem. In other words, the file:// is not read properly in the 
first example.

Worth noting maybe is that the real path I use to the context.xml contains 
spaces.

---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-dev-help@jakarta.apache.org


Mime
View raw message