Satya,

The reason for this error is usually a bad URL (testURL). You can verify
this by running the script and when it hangs, open a browser and type
the URL. If you receive a 4xx or 5xx error message then you have your
reason.

You'll notice that the URL you used is using the default web app "/" and
it may not exist on all your machines. Normally, a good URL would be one
that is inside your webapp context as you'll be sure it exists.

If you're using a recent nightly build of Cactus 1.3, you can use
something like :

http://${host.name}:${test.port}/test/ServletRedirector?Cactus_Service=R
UN_TEST

where you replace "test" by your webapp context. It needs a recent build
of Cactus because the RUN_TEST service has been added recently.

Otherwise, just make the URL point to one of your HTML/JSP pages.
Thanks
-Vincent

> -----Original Message-----
> From: Satya Avala [mailto:[EMAIL PROTECTED]]
> Sent: 03 April 2002 23:06
> To: [EMAIL PROTECTED]
> Subject: Cactus, Ant and Weblogic 6.1
> 
> Hi,
> 
> The Ant 'runservertests' doesn't proceed to 'testTarget' after
starting
> the
> Weblogic6.1 server; just hangs there. This problem encountered on a
WinNT
> system. The same code seem to work fine on Linux.
> The Ant target and the output where it hangs is included below.
> 
> Any help is greatly appreciated.
> 
> Thanks,
> 
> Satya
> 
> ----------------------------------
> Here is the target.
> <target name="run-weblogic61-tests" depends="cactus-init"
> if="weblogic.home.61" >
>   <runservertests testURL="http://${host.name}:${test.port}";
>           startTarget="start-weblogic61"
>           stopTarget="stop-weblogic61"
>           testTarget="weblogic61-tests" />
> </target>
> 
> Here is the output...
> 
> start-weblogic61:
> [weblogic61-start] Starting WebLogic Server ....
> [weblogic61-start] <Apr 3, 2002 1:17:25 PM PST> <Notice> <Management>
> <Loading c
> onfiguration file D:\src\_tmp\weblogic61\config\mydomain\config.xml
...>
> [weblogic61-start] <Apr 3, 2002 1:17:30 PM PST> <Notice>
<WebLogicServer>
> <Start
> ing WebLogic Admin Server "myserver" for domain "mydomain">
> [weblogic61-start] <Apr 3, 2002 1:18:04 PM PST> <Notice> <Management>
> <Applicati
> on Poller started for development server.>
> [weblogic61-start] <Apr 3, 2002 1:18:04 PM PST> <Notice>
<WebLogicServer>
> <Liste
> nThread listening on port 9080>
> [weblogic61-start] <Apr 3, 2002 1:18:04 PM PST> <Notice>
<WebLogicServer>
> <SSLLi
> stenThread listening on port 7002>
> [weblogic61-start] <Apr 3, 2002 1:18:05 PM PST> <Notice> <Management>
> <Starting
> discovery of Managed Server... This feature is on by default, you may
turn
> this
> off by passing -Dweblogic.management.discover=false>
> [weblogic61-start] <Apr 3, 2002 1:18:05 PM PST> <Notice>
<WebLogicServer>
> <Start
> ed WebLogic Admin Server "myserver" for domain "mydomain" running in
> Development
>  Mode>
> ----------------------------------------------
> 
> --
> To unsubscribe, e-mail:   <mailto:cactus-user-
> [EMAIL PROTECTED]>
> For additional commands, e-mail: <mailto:cactus-user-
> [EMAIL PROTECTED]>
> 




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

Reply via email to