<?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/"
	xmlns:georss="http://www.georss.org/georss" xmlns:geo="http://www.w3.org/2003/01/geo/wgs84_pos#" xmlns:media="http://search.yahoo.com/mrss/"
	>

<channel>
	<title>Snippets code from my daily experience &#187; jboss</title>
	<atom:link href="http://dafizilla.wordpress.com/category/jboss/feed/" rel="self" type="application/rss+xml" />
	<link>http://dafizilla.wordpress.com</link>
	<description>Just another unnecessary code resource blog</description>
	<lastBuildDate>Sun, 20 Dec 2009 10:00:19 +0000</lastBuildDate>
	<generator>http://wordpress.com/</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<cloud domain='dafizilla.wordpress.com' port='80' path='/?rsscloud=notify' registerProcedure='' protocol='http-post' />
<image>
		<url>http://www.gravatar.com/blavatar/635b338f35d7304cae2e1b31926d3592?s=96&#038;d=http://s.wordpress.com/i/buttonw-com.png</url>
		<title>Snippets code from my daily experience &#187; jboss</title>
		<link>http://dafizilla.wordpress.com</link>
	</image>
	<atom:link rel="search" type="application/opensearchdescription+xml" href="http://dafizilla.wordpress.com/osd.xml" title="Snippets code from my daily experience" />
		<item>
		<title>Using UTF-8 with Apache and Jboss</title>
		<link>http://dafizilla.wordpress.com/2007/06/22/using-utf-8-with-apache-and-jboss/</link>
		<comments>http://dafizilla.wordpress.com/2007/06/22/using-utf-8-with-apache-and-jboss/#comments</comments>
		<pubDate>Fri, 22 Jun 2007 00:26:25 +0000</pubDate>
		<dc:creator>dafi</dc:creator>
				<category><![CDATA[apache_httpd]]></category>
		<category><![CDATA[java]]></category>
		<category><![CDATA[jboss]]></category>
		<category><![CDATA[utf-8]]></category>

		<guid isPermaLink="false">http://dafizilla.wordpress.com/2007/06/22/using-utf-8-with-apache-and-jboss/</guid>
		<description><![CDATA[I&#8217;ve found a strange problem with my first real UTF-8 web application&#8230;
The urls sent in GET didn&#8217;t decoded properly and I was very astonished, my code was written correctly but the problem was present.
BTW the problem wasn&#8217;t on my code but in Jboss (in Tomcat embedded instance).
The connector must have the attribute URIEncoding otherwise the [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=dafizilla.wordpress.com&blog=887576&post=11&subd=dafizilla&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><p>I&#8217;ve found a strange problem with my first <font color="#ff0000">real</font> UTF-8 web application&#8230;</p>
<p>The urls sent in GET didn&#8217;t decoded properly and I was very astonished, my code was written correctly but the problem was present.</p>
<p>BTW the problem wasn&#8217;t on my code but in Jboss (in Tomcat embedded instance).</p>
<p>The connector must have the attribute <a href="http://tomcat.apache.org/faq/connectors.html#utf8">URIEncoding</a> otherwise the webapp never will work.</p>
<p>Due to the fact I use mod_jk (ie AJP13 protocol) this lifesaver attribute must be added in AJP13 connector, too</p>
<p>I love when problems disappear modifing only a configuration file <img src='http://s.wordpress.com/wp-includes/images/smilies/icon_smile.gif' alt=':-)' class='wp-smiley' /> </p>
<p>For sanity check I&#8217;ve added UTF-8 support also in Apache Server but I suspect this isn&#8217;t really necessary <img src='http://s.wordpress.com/wp-includes/images/smilies/icon_wink.gif' alt=';-)' class='wp-smiley' /> </p>
<p>In http.conf be sure to have the <a href="http://httpd.apache.org/docs/2.0/mod/core.html#adddefaultcharset">AddDefaultCharset</a> directive set as shown below</p>
<p><code> AddDefaultCharset utf-8</code></p>
<img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/dafizilla.wordpress.com/11/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/dafizilla.wordpress.com/11/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/dafizilla.wordpress.com/11/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/dafizilla.wordpress.com/11/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/dafizilla.wordpress.com/11/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/dafizilla.wordpress.com/11/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/dafizilla.wordpress.com/11/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/dafizilla.wordpress.com/11/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/dafizilla.wordpress.com/11/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/dafizilla.wordpress.com/11/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/dafizilla.wordpress.com/11/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/dafizilla.wordpress.com/11/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=dafizilla.wordpress.com&blog=887576&post=11&subd=dafizilla&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://dafizilla.wordpress.com/2007/06/22/using-utf-8-with-apache-and-jboss/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/5759d7f64a710425e4ab730ba7a8311e?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">dafi</media:title>
		</media:content>
	</item>
		<item>
		<title>More Jboss on same machine (shutdown)</title>
		<link>http://dafizilla.wordpress.com/2007/06/09/more-jboss-on-same-machine-shutdown/</link>
		<comments>http://dafizilla.wordpress.com/2007/06/09/more-jboss-on-same-machine-shutdown/#comments</comments>
		<pubDate>Sat, 09 Jun 2007 08:19:19 +0000</pubDate>
		<dc:creator>dafi</dc:creator>
				<category><![CDATA[java]]></category>
		<category><![CDATA[jboss]]></category>

		<guid isPermaLink="false">http://dafizilla.wordpress.com/2007/06/09/more-jboss-on-same-machine-shutdown/</guid>
		<description><![CDATA[When you run the shutdown.sh script Jboss receives a &#8220;communication&#8221; through the NamingService port (default 1099) so if you want to stop a second Jboss instance you must modify the shutdown.sh script adding the line shown below:
JAVA_OPTS=-Djava.naming.provider.url=jnp://localhost:2099
Change the port number (in example 2099) to your Jboss correct value
       <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=dafizilla.wordpress.com&blog=887576&post=7&subd=dafizilla&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><p>When you run the shutdown.sh script Jboss receives a &#8220;communication&#8221; through the NamingService port (default 1099) so if you want to stop a second Jboss instance you must modify the shutdown.sh script adding the line shown below:</p>
<p><code>JAVA_OPTS=-Djava.naming.provider.url=jnp://localhost:<font color="#ff0000">2099</font></code></p>
<p>Change the port number (in example <font color="#ff0000">2099</font>) to your Jboss correct value</p>
<img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/dafizilla.wordpress.com/7/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/dafizilla.wordpress.com/7/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/dafizilla.wordpress.com/7/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/dafizilla.wordpress.com/7/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/dafizilla.wordpress.com/7/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/dafizilla.wordpress.com/7/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/dafizilla.wordpress.com/7/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/dafizilla.wordpress.com/7/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/dafizilla.wordpress.com/7/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/dafizilla.wordpress.com/7/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/dafizilla.wordpress.com/7/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/dafizilla.wordpress.com/7/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=dafizilla.wordpress.com&blog=887576&post=7&subd=dafizilla&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://dafizilla.wordpress.com/2007/06/09/more-jboss-on-same-machine-shutdown/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/5759d7f64a710425e4ab730ba7a8311e?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">dafi</media:title>
		</media:content>
	</item>
		<item>
		<title>More Jboss on same machine (startup)</title>
		<link>http://dafizilla.wordpress.com/2007/06/09/more-jboss-on-same-machine/</link>
		<comments>http://dafizilla.wordpress.com/2007/06/09/more-jboss-on-same-machine/#comments</comments>
		<pubDate>Sat, 09 Jun 2007 08:11:20 +0000</pubDate>
		<dc:creator>dafi</dc:creator>
				<category><![CDATA[java]]></category>
		<category><![CDATA[jboss]]></category>

		<guid isPermaLink="false">http://dafizilla.wordpress.com/2007/06/09/more-jboss-on-same-machine/</guid>
		<description><![CDATA[Bad practice, I know&#8230;
But when it&#8217;s necessary you need to change many port numbers to allow two (or more) JBosses to cohabit together.
Take a look at JBoss port table to save many hours and spend them on another problem  
       <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=dafizilla.wordpress.com&blog=887576&post=6&subd=dafizilla&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><p>Bad practice, I know&#8230;</p>
<p>But when it&#8217;s necessary you need to change many port numbers to allow two (or more) JBosses to cohabit together.</p>
<p>Take a look at <a href="http://davide-ficano.sourceforge.net/java/jboss.html" title="JBoss ports">JBoss port table</a> to save many hours and spend them on another problem <img src='http://s.wordpress.com/wp-includes/images/smilies/icon_wink.gif' alt=';-)' class='wp-smiley' /> </p>
<img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/dafizilla.wordpress.com/6/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/dafizilla.wordpress.com/6/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/dafizilla.wordpress.com/6/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/dafizilla.wordpress.com/6/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/dafizilla.wordpress.com/6/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/dafizilla.wordpress.com/6/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/dafizilla.wordpress.com/6/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/dafizilla.wordpress.com/6/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/dafizilla.wordpress.com/6/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/dafizilla.wordpress.com/6/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/dafizilla.wordpress.com/6/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/dafizilla.wordpress.com/6/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=dafizilla.wordpress.com&blog=887576&post=6&subd=dafizilla&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://dafizilla.wordpress.com/2007/06/09/more-jboss-on-same-machine/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/5759d7f64a710425e4ab730ba7a8311e?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">dafi</media:title>
		</media:content>
	</item>
	</channel>
</rss>