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

2009-01-20 Thread Jerome Louvel
@restlet.tigris.org Cc : discuss@restlet.tigris.org Objet : RE: Re: Browse a Directory from a web application inside jboss hello! I think it maybe caused by the component because I am not calling component.start() method I'm instantiating all components and resources from applicatonContext.xml

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

2009-01-19 Thread Ruben Hernando
jerome.lou...@noelios.com 16/01/2009 16:41 Por favor, responda a discuss discuss@restlet.tigris.org Para discuss@restlet.tigris.org cc Asunto RE: Re: Browse a Directory from a web application inside jboss Hi Ruben, It must be an issue with your component, here is a sample that works: import

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

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

2009-01-16 Thread postmaster
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.SpringDirectory class has no Restlet defined to process calls. Maybe it wasn't properly started. And it doesn't serve the file

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

2009-01-16 Thread Jerome Louvel
d'origine- De : Ruben Hernando [mailto:pr-rherna...@informa.es] Envoyé : vendredi 16 janvier 2009 12:22 À : discuss@restlet.tigris.org Objet : RE: Re: Browse a Directory from a web application inside jboss Hello, I created the Directory in that way and it worked, but when I start my server

Browse a Directory from a web application inside jboss

2008-10-21 Thread Brian Williams
I have a restlet application being packaged inside an ear and deployed to jboss. I have some simple resources working fine and printing output over http in a browser. Now, I'm trying to add a Directory resource to the application as part of my testing. The first time I tried this I got errors

Re: Browse a Directory from a web application inside jboss

2008-10-21 Thread Michael Terrington
Hi Brian, I've been adding the FILE client connector by creating a new component and feeding that to the restlet that requires it. Like so: Component component = new Component(); component.getClients().add(Protocol.FILE); Directory directory = new