<?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>Development Technology &#187; architecture</title>
	<atom:link href="http://developmentech.wordpress.com/category/architecture/feed/" rel="self" type="application/rss+xml" />
	<link>http://developmentech.wordpress.com</link>
	<description>Tech blog about JavaEE Development and anything related</description>
	<lastBuildDate>Wed, 29 Oct 2008 04:59:43 +0000</lastBuildDate>
	<generator>http://wordpress.com/</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<cloud domain='developmentech.wordpress.com' port='80' path='/?rsscloud=notify' registerProcedure='' protocol='http-post' />
<image>
		<url>http://www.gravatar.com/blavatar/054fa3b89d1d0123441d30ac171dbf1b?s=96&#038;d=http://s.wordpress.com/i/buttonw-com.png</url>
		<title>Development Technology &#187; architecture</title>
		<link>http://developmentech.wordpress.com</link>
	</image>
			<item>
		<title>JDBC Driver Types</title>
		<link>http://developmentech.wordpress.com/2008/10/28/jdbc-driver-types-trackback/</link>
		<comments>http://developmentech.wordpress.com/2008/10/28/jdbc-driver-types-trackback/#comments</comments>
		<pubDate>Tue, 28 Oct 2008 15:15:38 +0000</pubDate>
		<dc:creator>jkilgrow</dc:creator>
				<category><![CDATA[architecture]]></category>
		<category><![CDATA[api]]></category>
		<category><![CDATA[database]]></category>
		<category><![CDATA[jdbc]]></category>

		<guid isPermaLink="false">http://developmentech.wordpress.com/?p=12</guid>
		<description><![CDATA[Here&#8217;s a post I came across that is good about explaining the different JDBC driver types.
JDBC Drivers Overview
       <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=developmentech.wordpress.com&blog=5123675&post=12&subd=developmentech&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><p>Here&#8217;s a post I came across that is good about explaining the different JDBC driver types.</p>
<p><a href="http://www.javadesign.info/JSE/JDBC/jdbc_architecture">JDBC Drivers Overview</a></p>
  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/developmentech.wordpress.com/12/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/developmentech.wordpress.com/12/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/developmentech.wordpress.com/12/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/developmentech.wordpress.com/12/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/developmentech.wordpress.com/12/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/developmentech.wordpress.com/12/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/developmentech.wordpress.com/12/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/developmentech.wordpress.com/12/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/developmentech.wordpress.com/12/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/developmentech.wordpress.com/12/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=developmentech.wordpress.com&blog=5123675&post=12&subd=developmentech&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://developmentech.wordpress.com/2008/10/28/jdbc-driver-types-trackback/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/1e036710f01b81007e6f07f99f58f4a9?s=96&#38;d=identicon" medium="image">
			<media:title type="html">jkilgrow</media:title>
		</media:content>
	</item>
		<item>
		<title>Load Balance/Cluster Your Tomcat (or any) Server</title>
		<link>http://developmentech.wordpress.com/2008/10/09/load-balancecluster-your-tomcat-or-any-server/</link>
		<comments>http://developmentech.wordpress.com/2008/10/09/load-balancecluster-your-tomcat-or-any-server/#comments</comments>
		<pubDate>Thu, 09 Oct 2008 18:21:14 +0000</pubDate>
		<dc:creator>jkilgrow</dc:creator>
				<category><![CDATA[architecture]]></category>
		<category><![CDATA[servers]]></category>
		<category><![CDATA[apache]]></category>
		<category><![CDATA[load balancing]]></category>
		<category><![CDATA[server failover]]></category>

		<guid isPermaLink="false">http://developmentech.wordpress.com/?p=7</guid>
		<description><![CDATA[I began my adventure with the need to ensure a lot of uptime for a particular web service that was running on a tomcat server. I investigated a lot of different avenues and, eventually, ended up on a colleagues blog.
Most of the information on the web about clustering tomcat servers tells you that you need [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=developmentech.wordpress.com&blog=5123675&post=7&subd=developmentech&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><p>I began my adventure with the need to ensure a lot of uptime for a particular web service that was running on a tomcat server. I investigated a lot of different avenues and, eventually, ended up on a colleagues blog.</p>
<p>Most of the information on the web about clustering tomcat servers tells you that you need to use the mod_jk apache module. This is not true and, in some cases, not what you really want. One such page is the following:</p>
<p>http://www.easywayserver.com/implementation-tomcat-clustering.htm</p>
<p>Which is not a bad way to go. I started doing that and then a colleague of mine directed me to one of his blog entries:</p>
<p>http://www.manorrock.com/documents/glassfish/loadbalancer.html</p>
<p>His article is mainly geared toward clustering glassfish servers but the concept and the process for configuring Apache is the same.</p>
<p>There are a couple of things that he left out, however.</p>
<p>1. You must make sure that you load the proxy load balancer. For instance, in your httpd.conf file there is a section where the apache modules are loaded. Make sure you have a LoadModule for the load balancer:</p>
<p>LoadModule proxy_balancer_module &lt;file path to your apache server&gt;/modules/mod_proxy_balancer.so</p>
<p>2. When you are configuring your cluster as in Manfred&#8217;s article, consider where you are putting these rules. They have to be included in the startup. So, either in the httpd.conf or maybe a rewrite rules file.</p>
<p>3. The &lt;Proxy&gt; and &lt;Location&gt; configurations in Manfred&#8217;s article contain a couple of mistakes (sorry Manfred). The &#8220;Order&#8221; parameter does not allow spaces after the comma. So, the &lt;Proxy&gt; and &lt;Location&gt; configuration becomes:</p>
<p>&lt;Proxy *&gt;<br />
Order deny,allow<br />
Allow from all<br />
&lt;/Proxy&gt;</p>
<p>&lt;Location /clusterjsp&gt;<br />
Order allow,deny<br />
Allow from all<br />
&lt;/Location&gt;</p>
<p>4. Pay attention to what you have put in your &lt;Location&gt; tag. This is the context you will use to access the load balancer management console. More on that later&#8230;.</p>
<p>5. The balancer defined in the &lt;Proxy&gt; tag. This is referenced in the ProxyPass parameter. Also in the ProxyPass parameter is the context of the application that needs to be load balanced. In Manfred&#8217;s example, /clusterjsp is the context of the application that is to be load balanced. There is a bunch of information about how to do different configurations for load balancer. A decent place to start for more information is here:</p>
<p>http://httpd.apache.org/docs/2.2/mod/mod_proxy_balancer.html</p>
<p>6. You define the nodes in your cluster in the &lt;Proxy&gt; section. The nodes are defined by the BalancerMember entries. These directives take the same parameters as the ProxyPass directive. So you can assign the route for your nodes to take. For instance:</p>
<p>BalancerMember http://localhost:8080 route=myroute1<br />
BalancerMember http://localhost:8081 route=myroute2<br />
BalancerMember http://localhost:8082 route=myroute3</p>
<p>7. Once you have this all set up and working (you have restarted your apache server), the next thing to do is to take a look at the load balancer console. If you have set this up on your local machine, and we are still working from Manfred&#8217;s example, the URL to this console would be this:</p>
<p>http://localhost/balancer-manager</p>
<p>This will load a page where you can enable/disable nodes in the cluster and set the failover node for a particular node. Click the link for one of the nodes. A new section of the page opens to allow you to enter information about the load factor (how much load should that node get), the route (can be anything you want), and the route redirect (which node to go to if this node becomes unavailable). The route redirect is the name of the node. So, if you call your first node &#8220;node1&#8243;, then the other nodes can refer to this node as &#8220;node1&#8243; in the redirect route box.</p>
<p>Also on this page are statistics about errors, usage, status of a particular node. Some useful information about the health of your cluster.</p>
<p>Finally, if you want to disable a particular node (for some maintenance) you can do so from the load balancer console.</p>
<p>There is lots more stuff that you can do with load balancer. If you are the least bit interested, make sure you read the Apache documentation.</p>
<p>http://httpd.apache.org/docs/2.2/mod/mod_proxy.html</p>
<p>Enjoy!</p>
  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/developmentech.wordpress.com/7/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/developmentech.wordpress.com/7/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/developmentech.wordpress.com/7/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/developmentech.wordpress.com/7/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/developmentech.wordpress.com/7/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/developmentech.wordpress.com/7/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/developmentech.wordpress.com/7/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/developmentech.wordpress.com/7/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/developmentech.wordpress.com/7/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/developmentech.wordpress.com/7/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=developmentech.wordpress.com&blog=5123675&post=7&subd=developmentech&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://developmentech.wordpress.com/2008/10/09/load-balancecluster-your-tomcat-or-any-server/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/1e036710f01b81007e6f07f99f58f4a9?s=96&#38;d=identicon" medium="image">
			<media:title type="html">jkilgrow</media:title>
		</media:content>
	</item>
	</channel>
</rss>