jakarta-cactus-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jef Cumps" <jefcu...@hotmail.com>
Subject Ant fails on Weblogic 6.0 shutdown
Date Mon, 29 Oct 2001 14:44:36 GMT
Hi all,

I'm trying to use Cactus together with Ant 1.4.1 to test servlets/JSP's etc
on Weblogic Server 6.0. I've got the server started and my tests running,
but cannot stop the server from within my Ant script. This is the target I'm

<target name="stop_weblogic_60">
     <java classname="weblogic.Admin" fork="yes" dir="${weblogic.home.60}">
          <arg value="-url t3://localhost:7001/test/test"/>
          <arg value="-username system"/>
          <arg value="-password pwd"/>
          <arg value="SHUTDOWN"/>
          <arg value="1"/>

and this is the output:

     [java] Usage: weblogic.Admin [-url url] [-username username] [-password
     [java] java.lang.IllegalArgumentException: Illegal command line
argument: "-url t3://localhost:7001/test/test"  at position [1]
     [java]        Where Commands and parameters are:
     [java]     HELP [<COMMAND

Can anyone help me with this one?? I'm sure the command and the arguments
are ok because manually invoking :

                java weblogic.Admin -url
t3://localhost:7001/test/test -username system -password pwd SHUTDOWN 1

from an other command prompt stops the server without any problems.

Thanx, Jef

To unsubscribe, e-mail:   <mailto:cactus-user-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:cactus-user-help@jakarta.apache.org>

View raw message