Salut Jerome
Jerome Louvel wrote:
> Hi Jean-François,
>
> I'm glad to see this plan for Grizzly 1.5.1. On our side, we have finally
> created the Restlet 1.0 branch and the SVN trunk is now dedicated to Restlet
> 1.1 which will include the Grizzly HTTP connector. Also, the Grizzly module
> is now fully part of the Ant build, see instructions here:
> http://wiki.restlet.org/HowToBuild
Cool :-)
>
> Also, I've just updated the Grizzly JAR that we ship to the latest version
> of Grizzly in SVN and made the connector work successfully in the BIO
> streaming mode. However there are issues with the NIO mode (probably Restlet
> related). I have updated the RFE with details and list of remaining tasks:
> http://restlet.tigris.org/issues/show_bug.cgi?id=16
>
> If you could help me debug those NIO issues and optimize the Grizzly
> integration that would be great.
Quick question (I will install the latest version). Are you changing the
channel from non blocking to blocking somewhere:
> java.nio.channels.IllegalBlockingModeException
> at java.nio.channels.Channels.write(Channels.java:59)
> at java.nio.channels.Channels.access$000(Channels.java:47)
> at java.nio.channels.Channels$1.write(Channels.java:134)
> at sun.nio.cs.StreamEncoder$CharsetSE.writeBytes(StreamEncoder.java:336)
> at sun.nio.cs.StreamEncoder$CharsetSE.implFlushBuffer(StreamEncoder.java:404)
> at sun.nio.cs.StreamEncoder$CharsetSE.implFlush(StreamEncoder.java:408)
> at sun.nio.cs.StreamEncoder.flush(StreamEncoder.java:152)
> at java.io.OutputStreamWriter.flush(OutputStreamWriter.java:213)
> at org.restlet.resource.StringRepresentation.write(StringRepresentation.java:204)
> at org.restlet.resource.StreamRepresentation.write(StreamRepresentation.java:61)
> at
> com.noelios.restlet.ext.grizzly.GrizzlyServerCall.writeResponseBody(GrizzlyServerCall.java:91)
> at com.noelios.restlet.http.HttpServerCall.sendResponse(HttpServerCall.java:305)
> at com.noelios.restlet.http.HttpServerConverter.commit(HttpServerConverter.java:90)
> at com.noelios.restlet.http.HttpServerHelper.handle(HttpServerHelper.java:95)
> at
> com.noelios.restlet.ext.grizzly.HttpParserFilter.execute(HttpParserFilter.java:60)
> at
> com.sun.grizzly.DefaultProtocolChain.executeProtocolFilter(DefaultProtocolChain.java:74)
> at com.sun.grizzly.DefaultProtocolChain.execute(DefaultProtocolChain.java:55)
> at com.sun.grizzly.Context.call(Context.java:186)
> at com.sun.grizzly.util.WorkerThreadImpl.run(WorkerThreadImpl.java:113)
Thanks!
-- Jeanfrancois
>
> Best regards,
> Jerome
>
>> -----Message d'origine-----
>> De : Jeanfrancois.Arcand_at_Sun.COM [mailto:Jeanfrancois.Arcand_at_Sun.COM]
>> Envoyé : mardi 15 mai 2007 04:31
>> À : dev_at_grizzly.dev.java.net
>> Objet : Next release: 1.5.1. What do we want?
>>
>> Hi,
>>
>> I would like discussing the feature we want to add before releasing
>> 1.5.1. On my side, I'm working/helping with Kristoffer and
>> Robert (from
>> Ericsson) to implement the SIP protocol on top of Grizzly. This work
>> will eventually ends up in project SailFin (see
>> https://sailfin.dev.java.net). I would also like to make sure RestLet
>> (www.restlet.org) works as well so I will need to work it out
>> with Jerome.
>>
>> I will try to comes with a detailed list latter this week once I know
>> what is missing for supporting SIP and Restlet.
>>
>> Thanks
>>
>> -- Jeanfrancois
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: dev-unsubscribe_at_grizzly.dev.java.net
>> For additional commands, e-mail: dev-help_at_grizzly.dev.java.net
>>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe_at_grizzly.dev.java.net
> For additional commands, e-mail: dev-help_at_grizzly.dev.java.net
>