Hi Kumar,

See my answer in the other email.

Thanks
-Vincent

> -----Original Message-----
> From: Kumar_maniranjan [mailto:[EMAIL PROTECTED]]
> Sent: 02 August 2002 07:46
> To: Deepak Shah; Cactus Users List
> Subject: RE: Missing service name parameter [Cactus_Service]
> 
> hi deepak,
> 
> The issue is I m hot deploying my application on together without
using
> ant scripts. In that case, I cant change my build file even though
> together uses ant internally.
> So is there any other way to put these things?
> 
> regards,
> Maniranjan Kumar
> 
> -----Original Message-----
> From: Deepak Shah [mailto:[EMAIL PROTECTED]]
> Sent: Friday, August 02, 2002 12:14 PM
> To: 'Cactus Users List'
> Cc: Kumar_maniranjan
> Subject: RE: Missing service name parameter [Cactus_Service]
> 
> 
> Well,
> 
> You can put this in the ant scripts which you use for launching the
tests,
> in sample-servlet it is build-tests-weblogic-61.xml for weblogic
server
> 
> Cactus deploys a ServletRedirector servlet in test web application on
> target
> server.
> 
>         <runservertests
>             testURL="  <http://localhost:$>
>
http://localhost:${test.port}/test/ServletRedirector?Cactus_Service=RUN_
TE
> ST
> "
>             startTarget="start.weblogic.61"
>             stopTarget="stop.weblogic.61"
>             testTarget="test"/>
> 
> about testTarget element, API specifications for runservertests custom
ant
> task states:
> "Call the test target. This target is supposed to start the test,
usually
> by
> running the junit Ant task"
> Me too is exploring the way runservertests handles the testTarget
element
> and invokes junit tests.
> 
> 
> 
> 
> 
> 
> 
> -----Original Message-----
> From: Kumar_maniranjan [mailto:[EMAIL PROTECTED]]
> Sent: Friday, August 02, 2002 11:51 AM
> To: Cactus Users List
> Subject: RE: Missing service name parameter [Cactus_Service]
> 
> 
> hi Deepak,
> But in which file do I need to put this value?
> 
> regards,
> Maniranjan Kumar
> 
> -----Original Message-----
> From: Deepak Shah [mailto:[EMAIL PROTECTED]]
> Sent: Friday, August 02, 2002 11:46 AM
> To: 'Cactus Users List'
> Cc: Kumar_maniranjan
> Subject: RE: Missing service name parameter [Cactus_Service]
> 
> 
> The way tests are called from client is :
> 
>         [build-tests-weblogic-61.xml]
>         <runservertests
>             testURL="  <http://localhost:$>
>
http://localhost:${test.port}/test/ServletRedirector?Cactus_Service=RUN_
TE
> ST
> "
>             startTarget="start.weblogic.61"
>             stopTarget="stop.weblogic.61"
>             testTarget="test"/>
> 
> It is required to specify value for parameter Cactus_Service as shown
in
> above sample
> 
> The error logs suggest that value for this parameter is not set.
> 
> 
> 
> Regs,
> Deepak
> 
> 
> 
> 
> 
> 
> -----Original Message-----
> From: Kumar_maniranjan [mailto:
> Sent: Friday, August 02, 2002 11:30 AM
> To: [EMAIL PROTECTED]
> Subject: Missing service name parameter [Cactus_Service]
> 
> 
> hi,
> 
> I m trying to run cactus test classes but getting this exception.
Below is
> the server log.
> 
> waiting fo a fast reply,
> Maniranjan Kumar
> 
> 
> 
> <Aug 2, 2001 11:21:23 AM IST> <Error> <HTTP>
> <[WebAppServletContext(597769,application
> ,/application)] Servlet failed with ServletException
> javax.servlet.ServletException: Missing service name parameter
> [Cactus_Service]
> in HTTP request. Received query string is [null].
>         at
> org.apache.cactus.server.AbstractTestController.getServiceName(Abstra
>
ctTestController.java;org/apache/cactus/util/log/LogAspect.java(1k):185)
>         at
> org.apache.cactus.server.AbstractTestController.dispatch79_handleRequ
>
est(AbstractTestController.java;org/apache/cactus/util/log/LogAspect.jav
a(
> 1k
> ):11
> 6)
>         at
> org.apache.cactus.server.AbstractTestController.around79_handleReques
>
t(AbstractTestController.java;org/apache/cactus/util/log/LogAspect.java(
1k
> ):
> 1147
> )
>         at
> org.apache.cactus.server.AbstractTestController.handleRequest(Abstrac
>
tTestController.java;org/apache/cactus/util/log/LogAspect.java(1k):101)
>         at
> org.apache.cactus.server.ServletTestRedirector.dispatch88_doPost(Serv
>
letTestRedirector.java;org/apache/cactus/util/log/LogAspect.java(1k):132
)
>         at
> org.apache.cactus.server.ServletTestRedirector.around88_doPost(Servle
>
tTestRedirector.java;org/apache/cactus/util/log/LogAspect.java(1k):1147)
>         at
> org.apache.cactus.server.ServletTestRedirector.doPost(ServletTestRedi
> rector.java;org/apache/cactus/util/log/LogAspect.java(1k):118)
>         at
javax.servlet.http.HttpServlet.service(HttpServlet.java:760)
>         at
javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
>         at
> weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubIm
> pl.java:265)
>         at
> weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:21)
>         at
> weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.ja
> va:27)
>         at
> weblogic.servlet.internal.WebAppServletContext.invokeServlet(WebAppSe
> rvletContext.java:2464)
>         at
> weblogic.servlet.internal.ServletRequestImpl.execute(ServletRequestIm
> pl.java:2039)
>         at
weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:139)
>         at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:120)
> >
> 
> --
> To unsubscribe, e-mail:   <
> mailto:[EMAIL PROTECTED]
> <mailto:[EMAIL PROTECTED]> >
> For additional commands, e-mail: <
> mailto:[EMAIL PROTECTED]
> <mailto:[EMAIL PROTECTED]> >
> 
> 
> 
> --
> To unsubscribe, e-mail:
> <mailto:[EMAIL PROTECTED]>
> For additional commands, e-mail:
> <mailto:[EMAIL PROTECTED]>
> 
> 
> --
> 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