CLAP across OSGi classloaders/bundles?

2008-05-07 Thread Mark Derricutt
Hi all, I was wondering if anyones managed to get CLAP resources working under an OSGi environment? I have two bundles - (A) provides Restlet (and dynamically imports *) and (B) provides a Directory finder, and resources inside its bundle (the directory/package containing html is exported). The

java.util.zip.ZipException: no current ZIP entry..Any ideas

2008-05-07 Thread Surjendu
I am receiving the following exception when the entity is being set in the response. java.util.zip.ZipException: no current ZIP entry My code: File file = new File("c:\\temp.zip"); rep = new FileRepresentation(file,MediaType.APPLICATION_ZIP); Representation zippedRep = new EncodeRepresentation(

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

Re: Tomcat 5.0 with Restlet 1.1 throws nullpointer exception

2008-05-07 Thread Surjendu
thanks Rob...downloaded M3 and everything works fine

Re: Tomcat 5.0 with Restlet 1.1 throws nullpointer exception

2008-05-07 Thread Rob Heittman
I seem to remember that this bug was resolved shortly after 1.1M1. You should be working with a later milestone or snapshot build of 1.1 to address this and many other issues. On Wed, May 7, 2008 at 3:14 PM, Surjendu <[EMAIL PROTECTED]> wrote: > java.lang.NullPointerException >at java.ut

Tomcat 5.0 with Restlet 1.1 throws nullpointer exception

2008-05-07 Thread Surjendu
When I use Tomcat 5.0 with the following restlet jars(1.0.9) my application works fine. org.restlet.jar(175,240) com.noelios.restlet.jar(150,630) com.noelios.restlet.ext.servlet_2.4.jar(14,115) When I try to use Tomcat 5.0 with the following restlet jars (1.1) my applications conks off. org.re

Re: License clarifications

2008-05-07 Thread Steve Loughran
On Wed, May 7, 2008 at 12:09 AM, Leshek <[EMAIL PROTECTED]> wrote: > > > Jerome, I am not in liberty to talk about it publicly... sorry. > Leshek > Do your lawyers perhaps take a strict view over subclassing-as-a-derivative work? If so, perhaps you could persuade the restlet team to add the 'hibe

RE: JAX-RS extension pom error

2008-05-07 Thread Bruno Dumon
On Wed, 2008-05-07 at 12:36 +0200, Jerome Louvel wrote: > Hi Bruno, > > Actually, looking at Sun's Maven repo, it appears that the artifact ID is > "jsr311-api": > http://download.java.net/maven/1/javax.ws.rs/poms/jsr311-api-0.7.pom > > I suggest that we follow the same naming for the artifact t

RE: My first Restlet on production

2008-05-07 Thread Jerome Louvel
Hi Serge, We ran some benchmark on two Servlet containers (Tomcat, Jetty) for Restlet 1.0. It should give you some indications on how well it will perform on WebSphere. http://www.restlet.org/documentation/1.0/benchmark Best regards, Jerome _ De : Serge Libotte [mailto:[EMAIL PROTECT

RE: JAX-RS extension pom error

2008-05-07 Thread Jerome Louvel
Hi Bruno, Actually, looking at Sun's Maven repo, it appears that the artifact ID is "jsr311-api": http://download.java.net/maven/1/javax.ws.rs/poms/jsr311-api-0.7.pom I suggest that we follow the same naming for the artifact that we store in our Maven repo: http://maven.restlet.org/javax/ws/rs/

Re: Restlet book update

2008-05-07 Thread Ralf Bommersbach
Great news. I can see the "resource" isn't up yet, but I'm looking forward to it! Ralf Jerome Louvel schrieb: Hi Jean-Yves, We are currently converting the manuscript to DocBook XML format to publish a free multi-page HTML version on a http://book.restlet.org site. The idea is to get more fee

RE: Restlet book update

2008-05-07 Thread Jerome Louvel
Hi Jean-Yves, We are currently converting the manuscript to DocBook XML format to publish a free multi-page HTML version on a http://book.restlet.org site. The idea is to get more feed-back and to increase the amount of online Restlet documentation to facilitate and broaden usage of the technolog

My first Restlet on production

2008-05-07 Thread Serge Libotte
Hello list, I'm going to implement a first application using Restlet. It's supposed to be deployed in a WebSphere 6.1 infrastructure. Any consideration about this? (scalability, performance...) Regards, Serge.