<?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>Naasch Blog &#187; Application Servers</title>
	<atom:link href="http://naasch.h1254347.stratoserver.net/wordpress/category/application-servers/feed/" rel="self" type="application/rss+xml" />
	<link>http://naasch.h1254347.stratoserver.net/wordpress</link>
	<description>Tutorials, Screencasts und News rund um IT</description>
	<lastBuildDate>Thu, 10 Jun 2010 10:37:53 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8.4</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Setting MaxPostSize in Glassfish</title>
		<link>http://naasch.h1254347.stratoserver.net/wordpress/2010/06/setting-maxpostsize-in-glassfish/</link>
		<comments>http://naasch.h1254347.stratoserver.net/wordpress/2010/06/setting-maxpostsize-in-glassfish/#comments</comments>
		<pubDate>Thu, 10 Jun 2010 10:37:53 +0000</pubDate>
		<dc:creator>ngwaambe</dc:creator>
				<category><![CDATA[Glassfish Application Server]]></category>

		<guid isPermaLink="false">http://naasch.h1254347.stratoserver.net/wordpress/?p=22</guid>
		<description><![CDATA[You might have come across the  following error: &#8220;java.lang.IllegalArgumentException: Request header is too large&#8221; in glassfish  server when executing a post or put request
The assumption made when executing a post or put request is that there is not limit in data size which is send over the line. Most web servers have a default configuration [...]]]></description>
			<content:encoded><![CDATA[<p>You might have come across the  following error: &#8220;java.lang.IllegalArgumentException: Request header is too large&#8221; in glassfish  server when executing a post or put request</p>
<p>The assumption made when executing a post or put request is that there is not limit in data size which is send over the line. Most web servers have a default configuration of these values. Per default the max-post-size in glassfish is 8192 bytes.</p>
<p>To increase this value you have to do the following.</p>
<p>As from glassfish v3 you can set the values through the admin console. Login into the administration console and click on the tree node Network config.  Inside you have the nodes Network Listeners  Protocals and Transport. We are interested in Network listeners and protocals.</p>
<p>Under the Network listener node select the http-listener you currently using. You identify it be taking a look at the port it&#8217;s  using, which is most probably 8080. When you click on this node tapped screen opens to your right. Click on the HTTP tap and set the  Max Post Size attribute to your desired value.</p>
<p>To accomplish the task,  click on  Transport tree node. It has a single child node tcp. Click on it. Set thee value of Buffer Size to at least the same value of MaxPostSize.</p>
<img src="http://naasch.h1254347.stratoserver.net/wordpress/?ak_action=api_record_view&id=22&type=feed" alt="" />]]></content:encoded>
			<wfw:commentRss>http://naasch.h1254347.stratoserver.net/wordpress/2010/06/setting-maxpostsize-in-glassfish/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

