jakarta-cactus-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Will Sargent" <will_sarg...@yahoo.com>
Subject RE: Exception in 1.3 dev build
Date Sun, 20 Jan 2002 05:49:40 GMT
D'oh!

http://localhost:8080/test/ServletRedirector is wrong.  I should have been
using  http://localhost:8080/test/ServletRedirector/.  Who would have
thought a slash would make such a difference?

Totally sorry, my bad.

Will.


> -----Original Message-----
> From: Vincent Massol [mailto:vmassol@octo.com]
> Sent: Saturday, January 19, 2002 4:44 PM
> To: 'Cactus Users List'
> Subject: RE: Exception in 1.3 dev build
>
>
> Will,
>
> It seems that the URL : http://localhost:8080/test/ServletRedirector is
> simply not valid. Can you try to call it from a browser and see what
> happens ?
>
> How can you write any code if you have not previously written test cases
> for it ! ... ;-)
>
> Question: What leads you to believe there might be a bug in the 0113
> build of Cactus ?
>
> Thanks
> -Vincent
>
> > -----Original Message-----
> > From: Will Sargent [mailto:will_sargent@yahoo.com]
> > Sent: 19 January 2002 21:00
> > To: Cactus-User
> > Subject: Exception in 1.3 dev build
> >
> > I'm not sure what's happening, but I think there's a bug in the 0113
> build
> > I
> > downloaded.
> >
> > I think I'm going to set unit tests aside for now and just focus on
> > writing
> > the code...
> >
> > Will.
> >
> >
> http://localhost:8080/test/ServletRedirector?Cactus_TestMethod=testPostM
> et
> > ho
> >
> d&Cactus_TestClass=com.tersesystems.bookie.service.xmlrpc.TestBookieServ
> le
> > t&
> > Cactus_AutomaticSession=true&Cactus_Service=CALL_TEST
> >     [junit] java.io.FileNotFoundException:
> >
> http://localhost:8080/test/ServletRedirector?Cactus_TestMethod=testPostM
> et
> > ho
> >
> d&Cactus_TestClass=com.tersesystems.bookie.service.xmlrpc.TestBookieServ
> le
> > t&
> > Cactus_AutomaticSession=true&Cactus_Service=CALL_TEST
> >     [junit] 	at
> >
> sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnec
> ti
> > on
> > .java:562)
> >     [junit] 	at
> >
> org.apache.cactus.client.AutoReadHttpURLConnection.getInputStream(AutoRe
> ad
> > Ht
> >
> tpURLConnection.java;org/apache/cactus/util/log/LogAspect.java(1k):119)
> >     [junit] 	at
> >
> org.apache.cactus.client.AbstractHttpClient.callRunTest(AbstractHttpClie
> nt
> > .j
> > ava;org/apache/cactus/util/log/LogAspect.java(1k):187)
> >     [junit] 	at
> >
> org.apache.cactus.client.AbstractHttpClient.doTest$ajcPostAround10(Abstr
> ac
> > tH
> > ttpClient.java;org/apache/cactus/util/log/LogAspect.java(1k):114)
> >     [junit] 	at
> >
> org.apache.cactus.client.AbstractHttpClient.doTest(AbstractHttpClient.ja
> va
> > ;o
> > rg/apache/cactus/util/log/LogAspect.java(1k):1221)
> >     [junit] 	at
> >
> org.apache.cactus.AbstractTestCase.runGenericTest(AbstractTestCase.java:
> 44
> > 1)
> >     [junit] 	at
> > org.apache.cactus.ServletTestCase.runTest(ServletTestCase.java:130)
> >     [junit] 	at
> > org.apache.cactus.AbstractTestCase.runBare(AbstractTestCase.java:389)
> >     [junit] 	at
> > junit.framework.TestResult$1.protect(TestResult.java:106)
> >     [junit] 	at
> > junit.framework.TestResult.runProtected(TestResult.java:124)
> >     [junit] 	at
> junit.framework.TestResult.run(TestResult.java:109)
> >     [junit] 	at junit.framework.TestCase.run(TestCase.java:131)
> >     [junit] 	at
> junit.framework.TestSuite.runTest(TestSuite.java:173)
> >     [junit] 	at junit.framework.TestSuite.run(TestSuite.java:168)
> >     [junit] 	at
> junit.framework.TestSuite.runTest(TestSuite.java:173)
> >     [junit] 	at junit.framework.TestSuite.run(TestSuite.java:168)
> >     [junit] 	at
> >
> org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.run(JUnitTe
> st
> > Ru
> > nner.java:231)
> >     [junit] 	at
> >
> org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.main(JUnitT
> es
> > tR
> > unner.java:409)
> >
> >
> >
> > _________________________________________________________
> >
> > Do You Yahoo!?
> >
> > Get your free @yahoo.com address at http://mail.yahoo.com
> >
> >
> >
> >
> > --
> > 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>


_________________________________________________________
Do You Yahoo!?
Get your free @yahoo.com address at http://mail.yahoo.com


--
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