On Jun 30, 2009, at 8:01 AM, Paul Sandoz wrote:
>
> On Jun 30, 2009, at 7:21 AM, testn wrote:
>
>>
>> It looks like FastInfosetListElementProvider is not presented in
>> MessageBodyReader/MessageBodyWriter.
>>
>
> Correct. IIRC i did not enable it due to a bug in FI at the tim i
> wrote it. I will investigate.
>
I have logged an issue:
https://jersey.dev.java.net/issues/show_bug.cgi?id=320
Not clear yet if there is an issue using the FI StAX readers/writers
when un/marshalling multiple JAXB beans.
Paul.
> Paul.
>
>>
>>
>> testn wrote:
>>>
>>> How can I make Fast-Infoset work with array? I got the following
>>> exception
>>> when I tried to do so:
>>>
>>> SEVERE: A message body writer for Java type, class
>>> [Lmyclass.MyObject;,
>>> and MIME media type, application/fastinfoset, was not found
>>> Jun 30, 2009 12:44:50 PM
>>> com.sun.jersey.server.impl.application.WebApplicationImpl
>>> onException
>>> SEVERE: Internal server error
>>> javax.ws.rs.WebApplicationException
>>> at
>>> com
>>> .sun
>>> .jersey
>>> .spi.container.ContainerResponse.write(ContainerResponse.java:241)
>>> at
>>> com
>>> .sun
>>> .jersey
>>> .server
>>> .impl
>>> .application
>>> .WebApplicationImpl._handleRequest(WebApplicationImpl.java:707)
>>> at
>>> com
>>> .sun
>>> .jersey
>>> .server
>>> .impl
>>> .application
>>> .WebApplicationImpl.handleRequest(WebApplicationImpl.java:630)
>>> at
>>> com
>>> .sun
>>> .jersey
>>> .server
>>> .impl
>>> .application
>>> .WebApplicationImpl.handleRequest(WebApplicationImpl.java:621)
>>> at
>>> com
>>> .sun
>>> .jersey
>>> .spi.container.servlet.WebComponent.service(WebComponent.java:318)
>>> at
>>> com
>>> .sun
>>> .jersey
>>> .spi
>>> .container.servlet.ServletContainer.service(ServletContainer.java:
>>> 425)
>>> at
>>> com
>>> .sun
>>> .jersey
>>> .spi
>>> .container.servlet.ServletContainer.service(ServletContainer.java:
>>> 604)
>>> at javax.servlet.http.HttpServlet.service(HttpServlet.java:820)
>>> at
>>> com
>>> .sun
>>> .grizzly
>>> .http.servlet.FilterChainImpl.doFilter(FilterChainImpl.java:188)
>>> at
>>> com
>>> .sun
>>> .grizzly
>>> .http
>>> .servlet.FilterChainImpl.invokeFilterChain(FilterChainImpl.java:137)
>>> at
>>> com
>>> .sun
>>> .grizzly.http.servlet.ServletAdapter.service(ServletAdapter.java:
>>> 350)
>>>
>>>
>>
>> --
>> View this message in context: http://n2.nabble.com/FastInfoSet-cannot-handle-array-return-type--tp3179230p3179414.html
>> Sent from the Jersey mailing list archive at Nabble.com.
>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: users-unsubscribe_at_jersey.dev.java.net
>> For additional commands, e-mail: users-help_at_jersey.dev.java.net
>>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe_at_jersey.dev.java.net
> For additional commands, e-mail: users-help_at_jersey.dev.java.net
>