<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>DirkReske.de &#187; News</title>
	<atom:link href="http://www.dirkreske.de/category/news/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.dirkreske.de</link>
	<description>Personal homepage of Dirk Reske</description>
	<lastBuildDate>Fri, 07 Oct 2011 13:29:04 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
		<item>
		<title>JSF1095 with Glassfish 3.1</title>
		<link>http://www.dirkreske.de/jsf1095-with-glassfish-3-1/</link>
		<comments>http://www.dirkreske.de/jsf1095-with-glassfish-3-1/#comments</comments>
		<pubDate>Fri, 07 Oct 2011 12:53:41 +0000</pubDate>
		<dc:creator>Dirk Reske</dc:creator>
				<category><![CDATA[Articles]]></category>
		<category><![CDATA[News]]></category>
		<category><![CDATA[flash scope]]></category>
		<category><![CDATA[glassfish]]></category>
		<category><![CDATA[java]]></category>
		<category><![CDATA[jsf 2]]></category>

		<guid isPermaLink="false">http://www.dirkreske.de/?p=341</guid>
		<description><![CDATA[After I&#8217;ve learned about the new Flash scope before a while, I was often f***** by &#8220;JSF1095: The response was already committed by the time we tried to set the outgoing cookie for the flash.  Any values stored to the flash will not be available on the next request.&#8220;. After reading all (I think around &#8230; </p><p><a class="more-link block-button" href="http://www.dirkreske.de/jsf1095-with-glassfish-3-1/">Continue reading &#187;</a>]]></description>
			<content:encoded><![CDATA[<p>After I&#8217;ve learned about the new Flash scope before a while, I was often f***** by &#8220;<strong>JSF1095: The response was already committed by the time we tried to set the outgoing cookie for the flash.  Any values stored to the flash will not be available on the next request.</strong>&#8220;.</p>
<p>After reading all (I think around 15) Pages that google has found about this error, I still had no solution. Some of them thought, it is a RichFaces issue, the other say&#8217;s its a PrimeFaces, and so on. But after constructing a lot jsf pages, hoping to find a hint about where the failure comes from, the last idea I had, was debugging through the jsf-impl and glassfish <img src='http://www.dirkreske.de/wp-includes/images/smilies/icon_sad.gif' alt=':(' class='wp-smiley' /> </p>
<p>And there it was: Glassfish chunks the output stream, where each chunk is commited separately. And it looks for me, as if the ELFlash implementation &#8220;thinks&#8221;, that the complete output is commited after the first chunk was commited, so it gives the message. (while debugging the first chunk was commited after writing the text of an h:outputText component)</p>
<p>The (for me) 100% working solution, was to disable chunking in the glassfish config. This can be done in the admin console via Configuration -&gt; [server-config] -&gt; Network Config -&gt; Protocols -&gt; http-listener-x.</p>
<p>If this is really correct, it also explains, why it was so hard to build a minimal project to reproduce it. If you have a xhtml file blown up with richfaces/icefaces code and ran into the issue, you&#8217;ve removed the must from this code to target the problem. And after it works, it seems to be clear, that richfaces/icefaces is the evil part. But by removing nearly the whole code, the file was simply to small to cut it into chunks.</p>
<p>Perhaps this will help you too <img src='http://www.dirkreske.de/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p>Greets from germany<br />
Dirk</p>
]]></content:encoded>
			<wfw:commentRss>http://www.dirkreske.de/jsf1095-with-glassfish-3-1/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>PathFinder goes open source</title>
		<link>http://www.dirkreske.de/pathfinder-goes-open-source/</link>
		<comments>http://www.dirkreske.de/pathfinder-goes-open-source/#comments</comments>
		<pubDate>Wed, 18 Nov 2009 16:36:32 +0000</pubDate>
		<dc:creator>Dirk Reske</dc:creator>
				<category><![CDATA[News]]></category>

		<guid isPermaLink="false">http://www.dirkreske.de/?p=128</guid>
		<description><![CDATA[Today, we&#8217;ve published the pathfinder application to SourceForge. Here is the project page]]></description>
			<content:encoded><![CDATA[<p>Today, we&#8217;ve published the <a href="http://www.dirkreske.de/pathfinder/">pathfinder </a>application to SourceForge.</p>
<p><a href="https://sourceforge.net/projects/jpathfinder/" target="_blank">Here </a>is the project page</p>
]]></content:encoded>
			<wfw:commentRss>http://www.dirkreske.de/pathfinder-goes-open-source/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

