Monojit,

This is not related to Cactus but linked to your understanding of
WebLogic and the Servlet spec. What happens is the default web
application of weblogic is mapped to the root context "/", i.e. the
index.html page inside DefaultWebApp is accessed through:
http://localhost:7001/index.html and NOT
http://localhost:7001/DefaultWebApp/index.html.

Thus the URL for the Servlet Redirector set up in cactus.properties is
wrong. It should be :

http://localhost:7001/ServletRedirector

and you must NOT have a test directory if you put your code in the
default web app (the WEB-INF directory is located at
DefaultWebApp/WEB-INF

If you wish to use your own context, then you should not put your code
in the default web app !

-Vincent


> -----Original Message-----
> From: Monojit Choudhury [mailto:[EMAIL PROTECTED]]
> Sent: 13 December 2001 10:09
> To: Cactus Users List
> Subject: Re: unable to run the testcases
> 
> hi vincent
> well now i m facing a different error.
> what i get in the console is as follows
> 
>     [junit]
>
http://localhost:7001/DefaultWebApp/test/ServletRedirector?Cactus_TestMe
>
thod=testConvert&Cactus_TestClass=ConverterTest&Cactus_AutomaticSession=
tr
> ue
> &Cactus_
> Service=CALL_TEST
>     [junit] java.io.FileNotFoundException:
> http://localhost:7001/DefaultWebApp/test/
>
ServletRedirector?Cactus_TestMethod=testConvert&Cactus_TestClass=Convert
er
> Te
> st&Cactu
> s_AutomaticSession=true&Cactus_Service=CALL_TEST
>     [junit]     at
> sun.net.www.protocol.http.HttpURLConnection.getInputStream(Unknow
> n Source)
> 
> 
> i am using weblogic 6.1 and the directory structure of the webapp
folder
> is
>
C:\weblogic\wlserver6.1\config\mydomain\applications\DefaultWebApp\test\
WE
> B-
> INF
> 
> can u help me out?
> 
> regds
> monojit
> 
> 
> --
> 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