Spiky behavior of restlet in Load test

2008-09-30 Thread Prashant
of you guys. Thanks Prashant

Re: Spiky behavior of restlet in Load test

2008-09-30 Thread Prashant
Hi John, Thanks for response. please see answers inline. Have you run the server with a profiler attached (such as jprobe, yourkit, etc.)? {Prashant} No, we have not used any profiler tool yet. Are you load testing at a steady state? I.e., are you just running the same request over

Re: Load testing a Restlet application

2008-09-22 Thread Prashant
// add this props object to system properties System.setProperties(props); You are saying that this may create that problem. Can you please explain me in brief how should I go then? Thanks in advance Prashant

Re: Load testing a Restlet application

2008-09-22 Thread Prashant
Hi Karel, Thank you very much for you help. Thanks Prashant

Load testing a Restlet application

2008-09-21 Thread Prashant
in my application. Can somebody please help me out in this problem? Thanks in Advance. Prashant

Re: Load testing a Restlet application

2008-09-21 Thread Prashant
Hi Rob, Here are my answers: Can we see the rest of the stack trace? Prashant Error message is given below: org.apache.catalina.core.StandardWrapperValve invoke SEVERE: Servlet.service() for servlet RestletServlet threw exception java.lang.StackOverflowError at java.util.Hashtable.get

Re: URI templates and URI pattern matching in restlet

2008-08-13 Thread prashant
to exaclty match the URI template to correspoding REST URI? I mean to say, can we write our own code to match these two? If some one has any idea then please let me know. Any comments or inputs are highly appreciated. Thanks in advance. Please respond ASAP. Thanks Prashant Hi

Re: URI templates and URI pattern matching in restlet

2008-08-13 Thread prashant
Vincent Ricard magic at magicninja.org writes: Hi Prashant I can extract request path from request object there but how will I match that REST URI with URI template(which I have hardcoded in my Restlet class) in my restlet. I'm not sure to understand your need

Re: Authorizing incoming requests

2008-08-01 Thread prashant
Jerome Louvel contact at noelios.com writes: Hi Prashant, A Guard is a org.restlet.Filter subclass, so its a Restlet as well. This has nothing to do with Servlet configuration, its pure Restlet. Just add your Guard instance as a root of your application for example, see tutorial

Re: Authorizing incoming requests

2008-08-01 Thread prashant
prashant prashant.mishra at agnity.com writes: Jerome Louvel contact at noelios.com writes: Hi Prashant, A Guard is a org.restlet.Filter subclass, so its a Restlet as well. This has nothing to do with Servlet configuration, its pure Restlet. Just add your Guard instance

Authorizing incoming requests

2008-07-30 Thread prashant
this. Can some body help me in undertstanding the usage of Guard class and configurations in restlet framework to achieve this (if any). thanks in advance. Prashant

Re: Authorizing incoming requests

2008-07-30 Thread prashant
Jerome Louvel contact at noelios.com writes: Hi Prashant, Please find attached a Guard subclass that checks the password against an encrypted file in the same format as Apache .htpasswd files. The best source of information for subclassing Guard is the Javadocs and the Wiki

Missleading URL if a parameter in URL is null or not passed

2008-06-20 Thread Prashant
is missing. Can anyone please suggest me what I need to do? Thanks in advance :-) Prashant

How to add headers in restlet request

2008-05-09 Thread Prashant
Prashant

Re: Problem in writing/reading base64 encoded stream in blob(Oracle)

2008-05-07 Thread Prashant
Hi Jerome, Now the read is working, we have also figured out the same, but a lil bit late thanks for the reply. Prashant

Problem in writing/reading base64 encoded stream in blob(Oracle)

2008-05-05 Thread Prashant
from blob. here is the code I have written: InputStream is = blob.getBinaryStream(); System.out.println(is.available()); Please help me out in getting out of this problem if any of you guys has done something like this before. Thanks prashant