Timeout from ruby

2011-09-06 Thread ruben hernando
Hello I had ruby on rails application, cosuming a restlet service in 1.2m1 version whith spring extension. Yesterday I upgraded to 2.0 and now I had a problem. If I make a petition using the web browser, it works fine, but when I do it from ruby, restlet gives the response after about 20 second

RE: ConcurrentModificationException from Resource

2010-02-26 Thread Ruben Hernando
ou try again with 2.0 M7 and send us the stack trace that you get (if you get one)? It will be easier for us to fix any related bug. Best regards, Jerome Louvel -- Restlet ~ Founder and Technical Lead ~ http://www.restlet.org Noelios Technologies ~ http://www.noelios.com De : Ruben Hernando

Re: ConcurrentModificationException from Resource

2010-02-24 Thread Ruben Hernando
the resource has just one Variant: getVariants().add(new Variant(MediaType.APPLICATION_XML)); thanks, Rubén Hernando Thierry Boileau 22/02/2010 17:25 Por favor, responda a discuss Para discuss@restlet.tigris.org cc Asunto Re: ConcurrentModificationException from Resource Hello Ru

ConcurrentModificationException from Resource

2010-02-19 Thread Ruben Hernando
Hi, We tried with different versions of restlet (1.1-M1, 1.2-M1, 1.1.8) and we are having the same problem. we have a Resource. it make some access to a database. when it has severall calls at same time, one or more of them fails and throw an exception. We think it happens before entering into th

Describe Restlet services

2009-12-17 Thread Ruben Hernando
Hi! I'd like to make a description of a restlet web service using 'wsdl' or something similar. I use Spring to attach all my resources to a SpringRouter, and I want to have a description of each one. is there any tool or any way to do it? thanks in advance -

Request Session

2009-02-16 Thread Ruben Hernando
Hi! I need some equivalent to the traditional HttpServletRequest.getSession(), because I'd have to insert some parameters into the session. org.restlet.Handler.getRequest() does'nt implement any "getSession()" method, so I need a way to do it. thanks --

RE: Default Routes

2009-01-28 Thread Ruben Hernando
did you check that requets to "/" are without parameters. If it's a webservice and you use a browser, it can add some default paremeter, which makes router to go to Special Resource. I had a similar problem. check your log. Regards, Ruben postmas...@tigris.org 28/01/2009 22:52 Por favor, re

RE: Re: Attaching a org.restlet.Directory to SpringRouter.

2009-01-22 Thread Ruben Hernando
Hello Santosh you have to create a bean "component", and use it to get the context Don't forget to add "Protocol.FILE" to make the Directory work. Regards Ruben santoshkumar.baba.

Re: Attaching a org.restlet.Directory to SpringRouter.

2009-01-21 Thread Ruben Hernando
hi! you have to attach a Directory: .

RE: Re: Browse a Directory from a web application inside jboss

2009-01-19 Thread Ruben Hernando
} } Best regards, Jérôme Louvel -- Restlet ~ Founder and Lead developer ~ http://www.restlet.org Noelios Technologies ~ Co-founder ~ http://www.noelios.com -Message d'origine- De : Ruben Hernando [mailto:pr-rherna...@informa.es] Envoyé : vendredi 16 janvier 2009 12:22 À : discus

RE: Re: Browse a Directory from a web application inside jboss

2009-01-16 Thread Ruben Hernando
Hello, I created the Directory in that way and it worked, but when I start my server whows an error whith the first file: GRAVE: The informa.rest.spring.​resources.SpringDire​ctory class has no Restlet defined to process calls. Maybe it wasn't properly started. And it doesn't serve the file (e