Sorry for the OT post, I'm stuck on this.

Trying to get Railo Express to stop via an ANT task. The java code is the
same as in stop.bat. Note, calling stop.bat directly is not working for me
either.

<target name="stopRailo" description="Stopping Railo Server">
<echo message="Stoping Railo.."/>

        <java jar="tools/build/railo/lib/start.jar"
           dir="tools/build/railo/"
                fork="true"
           failonerror="true">
            <arg value="-DSTOP.PORT=8887"/>
            <arg value="-DSTOP.KEY=railo"/>
           <arg value="--stop"/>
        </java>

<echo message="Railo Stopped.."/>
</target>

I get this error, and can still connect to localhost:8888

     [java] java.net.ConnectException: Connection refused: connect
     [java]     at java.net.PlainSocketImpl.socketConnect(Native Method)
     [java]     at
java.net.PlainSocketImpl.doConnect(PlainSocketImpl.java:333)
     [java]     at
java.net.PlainSocketImpl.connectToAddress(PlainSocketImpl.java:195)
     [java]     at
java.net.PlainSocketImpl.connect(PlainSocketImpl.java:182)
     [java]     at
java.net.SocksSocketImpl.connect(SocksSocketImpl.java:366)
     [java]     at java.net.Socket.connect(Socket.java:525)
     [java]     at java.net.Socket.connect(Socket.java:475)
     [java]     at java.net.Socket.<init>(Socket.java:372)
     [java]     at java.net.Socket.<init>(Socket.java:215)
     [java]     at org.eclipse.jetty.start.Main.stop(Main.java:1096)
     [java]     at
org.eclipse.jetty.start.Main.parseCommandLine(Main.java:136)
     [java]     at org.eclipse.jetty.start.Main.main(Main.java:81)
     [java] Usage: java -jar start.jar [options] [properties] [configs]
     [java]        java -jar start.jar --help  # for more information

I can't get it to stop no matter what I try...

Brook



~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:346866
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm

Reply via email to