jakarta-cactus-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Monojit Choudhury" <mono...@ltp.soft.net>
Subject Re: unable to run the testcases
Date Thu, 13 Dec 2001 10:59:11 GMT
thanks for ur response.
Actually at first i was putting the WEB-INF dir directly under the
defaultWebApp dir.
and in the cactus.properties file also there was no context,but still then i
had the same error.

----- Original Message -----
From: "Vincent Massol" <vmassol@octo.com>
To: "'Cactus Users List'" <cactus-user@jakarta.apache.org>
Sent: Thursday, December 13, 2001 4:07 PM
Subject: RE: unable to run the testcases


> 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:monojit@ltp.soft.net]
> > 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-
> > unsubscribe@jakarta.apache.org>
> > For additional commands, e-mail: <mailto:cactus-user-
> > help@jakarta.apache.org>
> >
>
>
>
>
> --
> To unsubscribe, e-mail:
<mailto:cactus-user-unsubscribe@jakarta.apache.org>
> For additional commands, e-mail:
<mailto:cactus-user-help@jakarta.apache.org>
>
>


--
To unsubscribe, e-mail:   <mailto:cactus-user-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:cactus-user-help@jakarta.apache.org>


Mime
View raw message