You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@ant.apache.org by Alex Hepp <he...@web.de> on 2006/06/05 19:11:31 UTC

catalina-ant and tomcat manager page

Dear Mailinglist,

does anybody know, whether the catalina-ant task "undeploy" doesn`t work
well any more, respectively the tomcat manager?

I don't get an error message, but HTML output, which seems to be the
manager page

my target:

<target name="undeploy">
  <echo message="undeploying webapp ${app.context}" />
    <undeploy url="${catalina.manager.url}"
        username="${catalina.manager.username}"               
        password="${catalina.manager.password}"                 
        path="${app.context}"
</target>

Values(build.properties):

###############################
# Properties for Tomcat Server#
###############################
catalina.home = C:\\Program Files\\Tomcat4\\
catalina.manager.server = localhost
catalina.manager.url = http://${catalina.manager.server}:8080/manager/html/
catalina.manager.username = manager
catalina.manager.password = manager

app.context = /BookShop
###############################

Ant version: 1.6.5
Tomcat Version: 4.1.31 (+ catalina-ant.jar)

I would appreciate any directions.

many thanks in advance. bye
Alex Hepp

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
For additional commands, e-mail: user-help@ant.apache.org


Re: catalina-ant and tomcat manager page

Posted by Alex Hepp <he...@web.de>.
My search was successful...

for all who are interested:
http://mail-archives.apache.org/mod_mbox/ant-user/200509.mbox/%3CC72BB9D74FA9874AA289B79F37A138A42FD727@inhywexcu1.ssainternal.net%3E

really seems to be the wrong url with html. will check that, when i am
back at work tomorrow!
regards. alex

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
For additional commands, e-mail: user-help@ant.apache.org


Re: catalina-ant and tomcat manager page

Posted by Alex Hepp <he...@web.de>.
Hi!

Dominique Devienne schrieb am 05.06.2006 19:28:
>> catalina.home = C:\\Program Files\\Tomcat4\\
>
> Prefer forward slash.
>
I faced some other problems with forward slash on local windows machine,
thus used windows slashes...
>> catalina.manager.server = localhost
>> catalina.manager.url =
>> http://${catalina.manager.server}:8080/manager/html/
>
> Maybe it's the html/ at the end of the URL. I recall a similar pb a
> few months back. --DD
I will have a search on the archive. thanks for the hint!

regards alex

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
For additional commands, e-mail: user-help@ant.apache.org


Re: catalina-ant and tomcat manager page

Posted by Dominique Devienne <dd...@gmail.com>.
> catalina.home = C:\\Program Files\\Tomcat4\\

Prefer forward slash.

> catalina.manager.server = localhost
> catalina.manager.url = http://${catalina.manager.server}:8080/manager/html/

Maybe it's the html/ at the end of the URL. I recall a similar pb a
few months back. --DD

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
For additional commands, e-mail: user-help@ant.apache.org