Here's the pertinent information.  What happened to the port number? Or
what caused the failure?  Tomcat is up and running, listening on port
8080.  I've got another build.xml file that talks fine.  I was trying
this one out because there is no deploy in my original.


Error after entering the "ant" command.

/home/jwl/nafo_web/build.xml:94: java.net.MalformedURLException: no
protocol: "http://china.peach.sgi.com/manager"/remove?path=%2Fnafo_admin
--- Nested Exception ---
java.net.MalformedURLException: no protocol:
"http://china.peach.sgi.com/manager"/remove?path=%2Fnafo_admin
        at java.net.URL.<init>(URL.java:473)
        at java.net.URL.<init>(URL.java:376)
        at java.net.URL.<init>(URL.java:330)

>From build.xml

     91 
     92     <target name="remove" description="Removes the Web
Application">
     93         <echo message="Removing ${app.name} ..."/>
     94         <remove url="${manager.url}" username="${username}"
password="${        password}" path="/${app.name}"/>
     95     </target>
     96 

Build.properties file:

manager.password=tomcat123
manager.url=http://chinab.peach.sgi.com:8080/manager
manager.username=sysmgr
app.name=nafo_admin
tomcat.home=/var/local/src/jakarta-tomcat-4.1.10

I tried an ant list:

ant list
Buildfile: build.xml

list:
     [echo] Listing Installed and Deployed Web Applications ...

BUILD FAILED

/home/jwl/nafo_web/build.xml:120: java.net.MalformedURLException: no
protocol: "http://chinaberry.peachtree.sgi.com/manager"/list
--- Nested Exception ---
java.net.MalformedURLException: no protocol:
"http://chinaberry.peachtree.sgi.com/manager"/list
        at java.net.URL.<init>(URL.java:473)
        at java.net.URL.<init>(URL.java:376)
        at java.net.URL.<init>(URL.java:330)
        at
org.apache.catalina.ant.AbstractCatalinaTask.execute(AbstractCatalinaTask.java:197)

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

Reply via email to