I tried this....but I don't why I am getting response code 500. It is
better than before but not complete.
Any ideas to fix the problem
[dbaweb] /home/jboss/BaseServer> ant -verbose -f jboss.xml jboss.start
Apache Ant version 1.6.4 compiled on May 19 2005
Buildfile: jboss.xml
Detected Java version: 1.4 in: /usr/j2sdk1.4.2_03/jre
Detected OS: SunOS
parsing buildfile /home/jboss/BaseServer/jboss.xml with URI =
file:///home/jboss/BaseServer/jboss.xml
Project base dir set to: /home/jboss/BaseServer
[echo] Time is 2005.06.08 AD at 12:30:56 EDT
Build sequence for target(s) `jboss.start' is [jboss.start]
Complete build sequence is [jboss.start, jboss.stop, ]
jboss.start:
[java] Executing '/usr/j2sdk1.4.2_03/jre/bin/java' with arguments:
[java] '-Xms32m'
[java] '-Xmx200m'
[java] '-classpath'
[java] '/opt/jboss/bin/run.jar:/usr/java/lib/tools.jar'
[java] 'org.jboss.Main'
[java] '-c'
[java] 'BaseServer'
[java]
[java] The ' characters around the executable and arguments are
[java] not part of the command.
spawned process [EMAIL PROTECTED]
[echo] Time is 2005.06.08 AD at 12:30:56 EDT
Checking for http://dbaweb.timeinc.com:9080/monitor/OMSMonitor
Checking for http://dbaweb.timeinc.com:9080/monitor/OMSMonitor
Checking for http://dbaweb.timeinc.com:9080/monitor/OMSMonitor
Result code for http://dbaweb.timeinc.com:9080/monitor/OMSMonitor was
500
Checking for http://dbaweb.timeinc.com:9080/monitor/OMSMonitor
Result code for http://dbaweb.timeinc.com:9080/monitor/OMSMonitor was
500
Checking for http://dbaweb.timeinc.com:9080/monitor/OMSMonitor
Result code for http://dbaweb.timeinc.com:9080/monitor/OMSMonitor was
500
Checking for http://dbaweb.timeinc.com:9080/monitor/OMSMonitor
Result code for http://dbaweb.timeinc.com:9080/monitor/OMSMonitor was
500
BUILD SUCCESSFUL
Total time: 2 minutes 4 seconds
<waitfor maxwait="2" maxwaitunit="minute" checkevery="20"
checkeveryunit="second">
<http url="http://dbaweb.timeinc.com:9080/monitor/OMSMonitor"/>
</waitfor>
But
-----Original Message-----
From: Shatzer, Larry [mailto:[EMAIL PROTECTED]
Sent: Wednesday, June 08, 2005 10:02 AM
To: 'Ant Users List'
Subject: RE: Urgent help-Regarding startup and showdown script for jboss
Have you looked at the <waitfor> task?
-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]
Sent: Wednesday, June 08, 2005 6:58 AM
To: [email protected]
Subject: Urgent help-Regarding startup and showdown script for jboss
The following script start and stops JBOSS . But the target jboss.start
is successful before the server is actually started. Is there a way to
make the target Successful only when it is actually started .
Eager to receive ideas
Eager to receive the newgroup comments.
[snip]
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]