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 2003/07/11 08:18:37 UTC

DO NOT REPLY [Bug 21489] New: - Catalina-ant task: problem with config parameter

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