Hi,

Following the advice from Rossen from Spring, I've applied a Filter and
overrid the getOutputStream to throw an exception. When I ran the project,
no exception was thrown but the error was still produced. I've updated the
JIRA ticket in Spring and also the bugzilla report with the latest findings.

-=david=-


On 29 July 2013 18:19, David Harrigan <[email protected]> wrote:

> Notice that in the instances that Spring MVC can't find the view, the
> leading "/" is stripped.
>
> I've updated bugzilla and jira
>
> https://bugs.eclipse.org/bugs/show_bug.cgi?id=413901
> https://jira.springsource.org/browse/SPR-10790
>
> -=david=-
>
>
> On 29 July 2013 18:13, Joakim Erdfelt <[email protected]> wrote:
>
>> Sure.
>>
>>
>> https://github.com/eclipse/jetty.project/blob/master/jetty-server/src/main/java/org/eclipse/jetty/server/Response.java#L712-L715
>>
>> It means that an attempt at Response.getWriter() was prevented, because
>> something had previously used Response.getOutputStream().
>> Per servlet spec, you can use a OutputStream or a Writer, but not both in
>> the same exchange.
>>
>>
>> --
>> Joakim Erdfelt <[email protected]>
>> webtide.com <http://www.webtide.com/>
>> Developer advice, services and support
>> from the Jetty & CometD experts
>> eclipse.org/jetty - cometd.org
>>
>>
>> On Mon, Jul 29, 2013 at 10:01 AM, Rossen Stoyanchev <
>> [email protected]> wrote:
>>
>>> Hi Joakim, yes, that's the JIRA ticket. There is an actual stack trace
>>> there now. Could you share something on the meaning of the 
>>> "java.lang.IllegalStateException:
>>> STREAM" in Response.getWriter line 715? That could lead to some further
>>> guesses on what might be going on.
>>>
>>> Rossen
>>>
>>>
>>> On Mon, Jul 29, 2013 at 11:03 AM, Joakim Erdfelt <[email protected]>wrote:
>>>
>>>> Ah, i found it -- https://jira.springsource.org/browse/SPR-10790
>>>>
>>>> --
>>>> Joakim Erdfelt <[email protected]>
>>>> webtide.com <http://www.webtide.com/>
>>>> Developer advice, services and support
>>>> from the Jetty & CometD experts
>>>> eclipse.org/jetty - cometd.org
>>>>
>>>>
>>>> On Mon, Jul 29, 2013 at 8:01 AM, Joakim Erdfelt <[email protected]>wrote:
>>>>
>>>>> Mind sharing the specific JIRA url that you two are talking about?
>>>>>
>>>>> --
>>>>> Joakim Erdfelt <[email protected]>
>>>>> webtide.com <http://www.webtide.com/>
>>>>> Developer advice, services and support
>>>>> from the Jetty & CometD experts
>>>>> eclipse.org/jetty - cometd.org
>>>>>
>>>>>
>>>>> On Mon, Jul 29, 2013 at 7:44 AM, David Harrigan 
>>>>> <[email protected]>wrote:
>>>>>
>>>>>> Hi Rossen,
>>>>>>
>>>>>> The Spring JIRA has been updated with some more information.
>>>>>> Hopefully this will help :-)
>>>>>>
>>>>>> -=david=-
>>>>>>
>>>>>>
>>>>>> On 29 July 2013 14:48, Rossen Stoyanchev 
>>>>>> <[email protected]>wrote:
>>>>>>
>>>>>>> Since this is only reproducible under load, I wouldn't conclude just
>>>>>>> yet this is a Jetty 9 vs Jetty 8 issue. I've added some suggestions 
>>>>>>> under
>>>>>>> the Spring JIRA ticket on debugging this further and helping to narrow 
>>>>>>> down
>>>>>>> the issue.
>>>>>>>
>>>>>>> Rossen
>>>>>>>
>>>>>>>
>>>>>>> On Sat, Jul 27, 2013 at 6:35 PM, David Harrigan <[email protected]
>>>>>>> > wrote:
>>>>>>>
>>>>>>>> Hi,
>>>>>>>>
>>>>>>>> I've come across a problem with Jetty 9 that does not happen on
>>>>>>>> Jetty 8.1.11. It appears that after a while (reproduced by using 
>>>>>>>> Siege),
>>>>>>>> Spring MVC (with an Async Callable Controller) fails to find a View.
>>>>>>>>
>>>>>>>> The View can be loaded via a web browser, so it's not that it
>>>>>>>> doesn't exist - it just appears that under a bit of stress, Spring with
>>>>>>>> Jetty can't find it.
>>>>>>>>
>>>>>>>> As always, it's difficult to determine if this a problem with
>>>>>>>> Spring or a problem with Jetty 9. My only evidence so far is that under
>>>>>>>> Jetty 8.1.11 I am unable to reproduce the problem.
>>>>>>>>
>>>>>>>> I've uploaded my test project here:
>>>>>>>>
>>>>>>>> https://github.com/dharrigan/bizarro
>>>>>>>>
>>>>>>>> Please feel free to clone and try out and see if I'm not going
>>>>>>>> crazy :-)
>>>>>>>>
>>>>>>>> Thank you.
>>>>>>>>
>>>>>>>> -=david=-
>>>>>>>>
>>>>>>>> --
>>>>>>>> I prefer encrypted and signed messages. KeyID: B20A22F9
>>>>>>>> Fingerprint: 110A F423 3647 54E2 880F ADAD 1C52 85BF B20A 22F9
>>>>>>>>
>>>>>>>> "It is not usually until you've built and used a version of the
>>>>>>>> program that you understand the issues well enough to get the design
>>>>>>>> right." - Rob Pike, Brian Kernighan.
>>>>>>>>
>>>>>>>> No trees were harmed in the sending of this message, however, a
>>>>>>>> number of electrons were inconvenienced.
>>>>>>>>
>>>>>>>> _______________________________________________
>>>>>>>> jetty-users mailing list
>>>>>>>> [email protected]
>>>>>>>> https://dev.eclipse.org/mailman/listinfo/jetty-users
>>>>>>>>
>>>>>>>>
>>>>>>>
>>>>>>> _______________________________________________
>>>>>>> jetty-users mailing list
>>>>>>> [email protected]
>>>>>>> https://dev.eclipse.org/mailman/listinfo/jetty-users
>>>>>>>
>>>>>>>
>>>>>>
>>>>>>
>>>>>> --
>>>>>> I prefer encrypted and signed messages. KeyID: B20A22F9
>>>>>> Fingerprint: 110A F423 3647 54E2 880F ADAD 1C52 85BF B20A 22F9
>>>>>>
>>>>>> "It is not usually until you've built and used a version of the
>>>>>> program that you understand the issues well enough to get the design
>>>>>> right." - Rob Pike, Brian Kernighan.
>>>>>>
>>>>>> No trees were harmed in the sending of this message, however, a
>>>>>> number of electrons were inconvenienced.
>>>>>>
>>>>>> _______________________________________________
>>>>>> jetty-users mailing list
>>>>>> [email protected]
>>>>>> https://dev.eclipse.org/mailman/listinfo/jetty-users
>>>>>>
>>>>>>
>>>>>
>>>>
>>>> _______________________________________________
>>>> jetty-users mailing list
>>>> [email protected]
>>>> https://dev.eclipse.org/mailman/listinfo/jetty-users
>>>>
>>>>
>>>
>>> _______________________________________________
>>> jetty-users mailing list
>>> [email protected]
>>> https://dev.eclipse.org/mailman/listinfo/jetty-users
>>>
>>>
>>
>> _______________________________________________
>> jetty-users mailing list
>> [email protected]
>> https://dev.eclipse.org/mailman/listinfo/jetty-users
>>
>>
>
>
> --
> I prefer encrypted and signed messages. KeyID: B20A22F9
> Fingerprint: 110A F423 3647 54E2 880F ADAD 1C52 85BF B20A 22F9
>
> "It is not usually until you've built and used a version of the program
> that you understand the issues well enough to get the design right." - Rob
> Pike, Brian Kernighan.
>
> No trees were harmed in the sending of this message, however, a number of
> electrons were inconvenienced.
>



-- 
I prefer encrypted and signed messages. KeyID: B20A22F9
Fingerprint: 110A F423 3647 54E2 880F ADAD 1C52 85BF B20A 22F9

"It is not usually until you've built and used a version of the program
that you understand the issues well enough to get the design right." - Rob
Pike, Brian Kernighan.

No trees were harmed in the sending of this message, however, a number of
electrons were inconvenienced.
_______________________________________________
jetty-users mailing list
[email protected]
https://dev.eclipse.org/mailman/listinfo/jetty-users

Reply via email to