RE: Re: Re: Issue with restlet 2.1-RC4 under light load
Just a few more stats on this. Executed 3599 requests with loadui, ramping progressively up to 20 requests/sec. Out of those 3599 requests 121 came back with "A response with a 200 (Ok) status should have an entity". -- http://restlet.tigris.org/ds/viewMessage.do?dsForumId=4447&dsMessageId=2958940
RE: Re: Re: Issue with restlet 2.1-RC4 under light load
I've attached my spring config, it would be greatly appreciated if you could cast a quick sanity check..maybe something in the Spring coupling is causing me all this grief. Merci, Ioannis -- http://restlet.tigris.org/ds/viewMessage.do?dsForumId=4447&dsMessageId=2958919 http://www.springframework.org/schema/beans"; xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"; xmlns:context="http://www.springframework.org/schema/context"; xmlns:util="http://www.springframework.org/schema/util"; xmlns:p="http://www.springframework.org/schema/p"; xmlns:cache="http://www.springframework.org/schema/cache"; xsi:schemaLocation="http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans.xsd http://www.springframework.org/schema/util http://www.springframework.org/schema/util/spring-util-3.0.xsd http://www.springframework.org/schema/context http://www.springframework.org/schema/context/spring-context-3.0.xsd http://www.springframework.org/schema/cache http://www.springframework.org/schema/cache/spring-cache.xsd";> #{runtimeProperties.tracing} 150 10 145 80 12 true
RE: Re: Re: Issue with restlet 2.1-RC4 under light load
Merci Thierry i'll give it a go under my test machine. I forgot to mention I'm using Spring to wire Restlet together, could this be part of the issue? Ioannis -- http://restlet.tigris.org/ds/viewMessage.do?dsForumId=4447&dsMessageId=2958878
RE: Re: Issue with restlet 2.1-RC4 under light load
Hello Thierry, I've tried Jetty, I'm still experiencing the issue. Thanks, Ioannis -- http://restlet.tigris.org/ds/viewMessage.do?dsForumId=4447&dsMessageId=2957348
RE: Re: Issue with restlet 2.1-RC4 under light load
Hello Thierry, I'm using the (default) simple server connector, and the soak testing is done via LoadUI, which uses Apache-HttpClient behind the scenes. Would you suggest I used the jetty connector instead? Merci, Ioannis > Hello Ioannis, > > could you tell us what kind of client and server are you using? > Did you try with the simple or jetty server connector (just complete the > classpath of your app with the org.restlet.ext.jetty.jar, or > org.restlet.ext.simple.jar and their dependencies libraries, that is to say > the jars located under "lib/org.eclipse.jetty", or > "lib/org.simpleframework")? > > Best regards, > Thierry Boileau > -- http://restlet.tigris.org/ds/viewMessage.do?dsForumId=4447&dsMessageId=2957109
Re: Issue with restlet 2.1-RC4 under light load
Hello Ioannis, could you tell us what kind of client and server are you using? Did you try with the simple or jetty server connector (just complete the classpath of your app with the org.restlet.ext.jetty.jar, or org.restlet.ext.simple.jar and their dependencies libraries, that is to say the jars located under "lib/org.eclipse.jetty", or "lib/org.simpleframework")? Best regards, Thierry Boileau Hello fellow listers, > > I'm using 2.1-RC4 and i'm load testing my system. I discovered that even > under light load (5 requests/sec) i'm randomly getting the following in the > logs > > "A response with a 200 (Ok) status should have an entity. Make sure that > resource "http://localhost:8111/v1/security?ticker=AAA"; returns one or > set the status to 204 (No content)." > > The code that's under test is the following > > @Override >public Securities getSecurities() { >Securities securities = new Securities(); >return securities; >} > > and that's it really. There was a DAO there which I've removed as I was > unsure whether it was causing the issue, but as it turns out, it doesn't. > > Any ideas why i'm getting this? > > -- > > http://restlet.tigris.org/ds/viewMessage.do?dsForumId=4447&dsMessageId=2956648 > -- http://restlet.tigris.org/ds/viewMessage.do?dsForumId=4447&dsMessageId=2957057