jakarta-cactus-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Tarek_Agelmag...@Dell.com
Subject RE: Race condition with WebLogic tests
Date Mon, 06 Oct 2003 14:29:13 GMT
Thanks for the response.
This bug sounds like the problem I'm having. Certainly for me, it is not
"very unfrequently"; it's actually preventing me from running Cactus tests
reliably at all.
Where exactly did you add the sleep? I tried it once but I guess I missed
the correct spot.

Thanks
Tarek Abdelmaguid

-----Original Message-----
From: Jason Vinton [mailto:eccebonum@hotmail.com]
Sent: Friday, October 03, 2003 3:16 PM
To: cactus-user@jakarta.apache.org
Subject: Re: Race condition with WebLogic tests


See "Bug 17653" here:
http://jakarta.apache.org/cactus/1.5-beta1/ANNOUNCEMENT.txt

Hope this helps.

btw. Inserting a sleep for a 1/2 second and recompiling fixed the error for
me.  It's a hack, but it solved the problem in a few minutes.

Jason Vinton
Moody's



----- Original Message -----
From: <Tarek_Agelmaguid@Dell.com>
To: <cactus-user@jakarta.apache.org>
Sent: Thursday, October 02, 2003 2:17 PM
Subject: Race condition with WebLogic tests


> I get the following exception while trying to run cactus tests on WebLogic
> 7. The error causes the test results to display "Failed to get the test
> results at ..." What makes this even more confusing is that this result is
> not consistent. about 30% of the time the tests pass, and I get a
successful
> build. I'm using version cactus 1.6dev-20030907.
>
> DEBUG org.apache.cactus.server.AbstractWebTestCaller  - Test Result =
[null]
> <Oct 2, 2003 3:48:44 PM CDT> <Error> <HTTP> <101017>
>
<[ServletContext(id=7103913,name=MyApp-webtest,context-path=/Guardian-webtes
> t)] Root cause of ServletException
> java.lang.NullPointerException
> at
>
org.apache.cactus.server.AbstractWebTestCaller.doGetResults(AbstractWebTestC
> aller.java:208)
> at
>
org.apache.cactus.server.AbstractWebTestController.handleRequest$ajcPostArou
>
nd7(AbstractWebTestController.java;org/apache/cactus/util/log/LogAspect.aj(1
> k):135)
> at
>
org.apache.cactus.server.AbstractWebTestController.handleRequest$ajcPostArou
>
nd7$ajcVoidWrapper(AbstractWebTestController.java;org/apache/cactus/util/log
> /LogAspect.aj(1k))
> at
>
org.apache.cactus.server.AbstractWebTestController.handleRequest(AbstractWeb
> TestController.java;org/apache/cactus/util/log/LogAspect.aj(1k):1145)
> at
>
org.apache.cactus.server.ServletTestRedirector.doPost$ajcPostAround10(Servle
> tTestRedirector.java;org/apache/cactus/util/log/LogAspect.aj(1k):125)
> at
>
org.apache.cactus.server.ServletTestRedirector.doPost$ajcPostAround10$ajcVoi
>
dWrapper(ServletTestRedirector.java;org/apache/cactus/util/log/LogAspect.aj(
> 1k))
> at
>
org.apache.cactus.server.ServletTestRedirector.doPost(ServletTestRedirector.
> java;org/apache/cactus/util/log/LogAspect.aj(1k):1145)
> at
>
org.apache.cactus.server.ServletTestRedirector.doGet$ajcPostAround6(ServletT
> estRedirector.java;org/apache/cactus/util/log/LogAspect.aj(1k):96)
> at
>
org.apache.cactus.server.ServletTestRedirector.doGet$ajcPostAround6$ajcVoidW
>
rapper(ServletTestRedirector.java;org/apache/cactus/util/log/LogAspect.aj(1k
> ))
> at
>
org.apache.cactus.server.ServletTestRedirector.doGet(ServletTestRedirector.j
> ava;org/apache/cactus/util/log/LogAspect.aj(1k):1145)
> at javax.servlet.http.HttpServlet.service(HttpServlet.java:740)
> at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
> at
>
weblogic.servlet.internal.ServletStubImpl$ServletInvocationAction.run(Servle
> tStubImpl.java:1058)
> at
>
weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java
> :401)
> at
>
weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java
> :306)
> at
>
weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(W
> ebAppServletContext.java:5412)
> at
>
weblogic.security.service.SecurityServiceManager.runAs(SecurityServiceManage
> r.java:744)
> at
>
weblogic.servlet.internal.WebAppServletContext.invokeServlet(WebAppServletCo
> ntext.java:3086)
> at
>
weblogic.servlet.internal.ServletRequestImpl.execute(ServletRequestImpl.java
> :2544)
> at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:153)
> at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:134)
> >
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: cactus-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: cactus-user-help@jakarta.apache.org
>
>

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



Mime
View raw message