<?xml version="1.0" encoding="UTF-8"?>
<?xml-stylesheet type="text/xsl" media="screen" href="/~d/styles/rss2full.xsl"?><?xml-stylesheet type="text/css" media="screen" href="http://feeds.feedburner.com/~d/styles/itemcontent.css"?><rss 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:feedburner="http://rssnamespace.org/feedburner/ext/1.0" version="2.0">

<channel>
	<title>jamesvulling.com</title>
	
	<link>http://www.jamesvulling.com</link>
	<description>jamesvulling.com</description>
	<lastBuildDate>Wed, 02 Feb 2011 23:05:26 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.4</generator>
		<atom10:link xmlns:atom10="http://www.w3.org/2005/Atom" rel="self" type="application/rss+xml" href="http://feeds.feedburner.com/jamesvulling" /><feedburner:info uri="jamesvulling" /><atom10:link xmlns:atom10="http://www.w3.org/2005/Atom" rel="hub" href="http://pubsubhubbub.appspot.com/" /><item>
		<title>Installing Terracotta and Tomcat on Amazon EC2</title>
		<link>http://feedproxy.google.com/~r/jamesvulling/~3/WGUOrmIVhK8/</link>
		<comments>http://www.jamesvulling.com/2010/12/installing-terracotta-and-tomcat-on-amazon-ec2/#comments</comments>
		<pubDate>Wed, 08 Dec 2010 11:57:21 +0000</pubDate>
		<dc:creator>james.vulling</dc:creator>
				<category><![CDATA[Technology]]></category>
		<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[aws]]></category>
		<category><![CDATA[cloud computing]]></category>
		<category><![CDATA[howto]]></category>
		<category><![CDATA[terracotta]]></category>
		<category><![CDATA[tomcat]]></category>

		<guid isPermaLink="false">http://www.jamesvulling.com/?p=39</guid>
		<description><![CDATA[I&#8217;ve recently been looking into Terracotta to enable session replication in one of our products. In order to get a deeper understanding, it seemed logical to try and set it up myself. It&#8217;s really useful to get your hands dirty, see how the Operations team work &#8211; this gives you a better perspective of what [...]]]></description>
			<content:encoded><![CDATA[<p>I&#8217;ve recently been looking into Terracotta to enable session replication in one of our products. In order to get a deeper understanding, it seemed logical to try and set it up myself. It&#8217;s really useful to get your hands dirty, see how the Operations team work &#8211; this gives you a better perspective of what the installation and configuration involve. It&#8217;s no use developing software and letting someone else take care of the rest, today&#8217;s organisations need people who can break-down boundaries, not stick their head in the sand. Besides, it leads to a better understanding of the systems that comprise your entire architecture.</p>
<p>Using the Amazon&#8217;s EC2 Cloud seemed like a perfect fit for a short term experiment like this. The approach was to start at the easiest parts and gradually add complexity until we had Tomcat offloading session storage to the Terracotta cluster.</p>
<p>The basic steps were to:</p>
<ol>
<li>Launch an EC2 server instance</li>
<li>Perform a basic Tomcat installation</li>
<li>Install Terracotta on the same instance and re-configure Tomcat</li>
<li>Rinse and repeat to add a second Terracotta instance to the cluster</li>
</ol>
<h2>Launch an EC2 server instance</h2>
<p>Start by firing up a <a href="http://aws.amazon.com/ec2/#instance"><em>t1.micro</em></a> instance using the <a href="http://aws.amazon.com/amazon-linux-ami/">Amazon Linux AMI</a>. If you&#8217;re using the Amazon EC2 command-line tools, start the instance and then check it has started correctly using these commands.</p>
<pre>ec2-run-instances ami-3ac33653 -n 1 -g default -k [keyname] -t t1.micro
ec2-describe-instances</pre>
<p>Login to the instance using your favourite SSH client, but make sure that the SSH key specified in the <em>ec2-run-instances</em> command is being used.</p>
<h2>Basic Tomcat installation</h2>
<p>This AMI already has Java installed (an OpenJDK version), so installing Tomcat simply requires a download of the software, unpack and run the startup script. Make sure that the Amazon Security Group used to start the instance <a href="http://docs.amazonwebservices.com/AWSEC2/latest/UserGuide/using-network-security.html">allows access</a> to the Tomcat port (default 8080) on the instance.</p>
<p>Accessing the public DNS name of the Tomcat server should show you the default Tomcat homepage. You can retrieve the public DNS name for any instance in the <a href="https://console.aws.amazon.com/ec2/home">AWS Management Console</a>.</p>
<h2>Terracotta and Tomcat</h2>
<p>The open source versions is available from <a href="http://www.terracotta.org/dl/oss-download-catalog">Terracotta downloads</a>.</p>
<p>Following the <a href="http://www.terracotta.org/documentation/web-sessions-install.html#353062232_pgfId-1010080">web sessions install</a>:</p>
<ol>
<li>Extract the Terracotta software</li>
<li>Copy the Terracotta jars (terracotta-session-1.1.1.jar, terracotta-toolkit-1.1-runtime-2.0.0.jar) into the $TOMCAT_HOME/lib directory</li>
<li>Add a Terracotta configuration (here&#8217;s an example) and use the $TERRACOTTA_HOME/bin/start-tc-server.sh to fire up Terracotta and start tailing stdout</li>
<li>Add a <a href="http://tomcat.apache.org/tomcat-6.0-doc/config/valve.html#Introduction">Valve</a> to the Tomcat context configuration letting Tomcat know to load the Valve and Terracotta config from the URL provided</li>
</ol>
<pre>&lt;Valve className="org.terracotta.session.TerracottaTomcat60xSessionValve" \
    tcConfigUrl="ec2-xx-xx-xx-xx.compute-1.amazonaws.com:9510" /&gt;</pre>
<p>From your machine, you can fire up the Terracotta Developer Console using the bin/dev-console.(sh|bat) script, but it will be necessary to allow connections to ports 9510, 9520 and 9530. The server host will be the same DNS name used in the tcConfigUrl and port 9530. When starting Tomcat the catalina logs should show that Tomcat has successfully loaded the configuration and the Developer Console will display the sessions in the tree menu on the left.</p>
<h2>Add a second Terracotta instance</h2>
<p>Launch a second instance, add the Terracotta software, open the required ports (9510, 9520 and 9530; they should be open to each other and to your machine to use the Dev Console) and launch the startup script &#8211; you are almost there.</p>
<p>Each of the Terracotta configuration files will need both servers listed (using the same names, in the same order) and then require a restart.</p>
<p>This example is a <a href="http://www.terracotta.org/documentation/3.1.x/product-documentation-15.html">single server array</a> and provides reliability and failover. For scalability, you will need to add multiple mirror groups.</p>
<h2>Gotchas</h2>
<ul>
<li>You can now stop/start the Terracotta instances indepently and the ACTIVE CO-ORDINATOR role will change. When a server is rejoining, it may complain that it has a dirty cache and that it needs to be manually cleaned up. This can be done by removing the terracotta/server-data directory and then restarting it.</li>
<li>If the server listed in the Valve configuration is no longer the co-ordinator and Tomcat is restarted, the Tomcat server will not be able to load the config file. Only the co-ordinator seems to answer to this request from Tomcat. Using Elastic IPs to map the current co-ordinator could be a solution for this.</li>
<li>Make sure you use the external DNS name in the Terracotta configurations if you wish to interrogate them with the Developer Console. The console will obtain the configuration file from the node it connects to, but if the addresses used are not routable from where the console is running you won&#8217;t get any results.</li>
</ul>
<img src="http://feeds.feedburner.com/~r/jamesvulling/~4/WGUOrmIVhK8" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://www.jamesvulling.com/2010/12/installing-terracotta-and-tomcat-on-amazon-ec2/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://www.jamesvulling.com/2010/12/installing-terracotta-and-tomcat-on-amazon-ec2/</feedburner:origLink></item>
		<item>
		<title>Six emerging technology trends in Australia</title>
		<link>http://feedproxy.google.com/~r/jamesvulling/~3/tuzimnntQcI/</link>
		<comments>http://www.jamesvulling.com/2010/06/six-emerging-technology-trends-in-australia/#comments</comments>
		<pubDate>Thu, 10 Jun 2010 12:31:31 +0000</pubDate>
		<dc:creator>james.vulling</dc:creator>
				<category><![CDATA[Conference]]></category>
		<category><![CDATA[Social media]]></category>
		<category><![CDATA[technology]]></category>
		<category><![CDATA[trends]]></category>

		<guid isPermaLink="false">http://www.jamesvulling.com/?p=28</guid>
		<description><![CDATA[Preference to communicate using the Internet Australian&#8217;s now prefer to communicate using the Internet rather than a mobile/cellphone. In the 2008 edition of Nielsen&#8217;s Australian Internet and Technology Report, 33% of Australian&#8217;s preferred to communicate using the Internet and 38% preferred to use a mobile phone. In 2009, the balance had swung to 44% and [...]]]></description>
			<content:encoded><![CDATA[<h3>Preference to communicate using the Internet</h3>
<p>Australian&#8217;s now prefer to communicate using the Internet rather than a mobile/cellphone. In the 2008 edition of Nielsen&#8217;s <em>Australian Internet and Technology Report</em>, 33% of Australian&#8217;s preferred to communicate using the Internet and 38% preferred to use a mobile phone. In 2009, the balance had swung to 44% and 31% respectively.</p>
<h3>Smartphones are commonplace</h3>
<p>The widespread adoption of smartphones is driving <em>enabled mobility</em>. Mobile service usage has increased dramatically with 43% of phones capable of accessing the Internet &#8211; with search, news, email and maps amongst the most widely used services.</p>
<h3>Business models are being redefined</h3>
<p>There has been a huge amount of discussion in recent media over charging for content online. A lot of the coverage has had <a href="http://www.youtube.com/watch?v=M7GkJqRv3BI">Rupert Murdoch</a> at the centre. This is a huge shift for the world of online news and services, which have typically been free of charge. However, more subtly, Steve Jobs has also been grooming the world for this change. His iTunes platform has made people very comfortable with handing over 99 cents for a song and the recent iPad launch and <a href="http://www.theaustralian.com.au/business/media/rupert-murdoch-reveals-ipad-newspaper-app-sales-figures-as-steve-jobs-rejects-nation-of-bloggers/story-e6frg996-1225874602477">early newspaper app sales figures</a> will surely see this flourish.</p>
<h3>Consumers are engaged</h3>
<p>It has long been the norm for people to review a product online, but recent Nielsen statistics show that 86% of people read reviews or discussions about products or services they intend to pay for and that 63% watched a video online of a product before handing over their hard earned.</p>
<p>For the products with strong customer sentiment, it strengthens their position &#8211; for those with bad sentiment, they don&#8217;t stand a chance. Consumers can now share their enthusiasm or fight back after a poor experience.</p>
<p>Consumers that <a href="http://www.youtube.com/watch?v=5YGc4zOqozo">aren&#8217;t treated fairly</a> have the means and ability to reach massive audiences through flawless distribution like <a href="http://www.youtube.com/">YouTube</a> and <a href="http://www.facebook.com/">Facebook</a>. Be careful about your brands online perception and especially careful about what your <a href="http://www.youtube.com/watch?v=OhBmWxQpedI">own staff could saying about your brand</a>.</p>
<h3>Bullish trends for social currency</h3>
<p>When you consider the plethora of social websites &#8211; how many can you think of that don&#8217;t have a competitive angle to them? 4square has their <em>points</em> and <em>mayorships</em>, YouTube has their <em>views</em>, Twitter has their <em>followers</em>, TripIt has their <em>days from home</em>, LinkedIn has their <em>connections</em> and it&#8217;s expected that Facebook&#8217;s <a href="http://www.facebook.com/help/?page=1038">newest currency</a> could potentially become one of the largest global economies.</p>
<p>Social currencies are gaining weight, reputation is now worth more to some folks than money in the bank.</p>
<h3>Barriers to social networks are reducing</h3>
<p>Amid recent concerns over Facebook&#8217;s latest privacy changes, privacy controls amongst the major networks are becoming more sophisticated. An increased ability to filter what is displayed to my friends, family, neighbour or a complete stranger aids in growing a user&#8217;s trust in a site, allowing them to flourish from the embryo to the social butterfly.</p>
<img src="http://feeds.feedburner.com/~r/jamesvulling/~4/tuzimnntQcI" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://www.jamesvulling.com/2010/06/six-emerging-technology-trends-in-australia/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		<feedburner:origLink>http://www.jamesvulling.com/2010/06/six-emerging-technology-trends-in-australia/</feedburner:origLink></item>
		<item>
		<title>The web is becoming inherently social</title>
		<link>http://feedproxy.google.com/~r/jamesvulling/~3/7xqJgj2wxX8/</link>
		<comments>http://www.jamesvulling.com/2010/06/the-web-is-becoming-inherently-social/#comments</comments>
		<pubDate>Sun, 06 Jun 2010 07:45:28 +0000</pubDate>
		<dc:creator>james.vulling</dc:creator>
				<category><![CDATA[Conference]]></category>
		<category><![CDATA[Social media]]></category>
		<category><![CDATA[collective intelligence]]></category>
		<category><![CDATA[nick love]]></category>

		<guid isPermaLink="false">http://www.jamesvulling.com/?p=23</guid>
		<description><![CDATA[I had the pleasure of hearing Nick Love speak at the Web3.0 &#038; the Future of Social Media last week at the Sheraton in Sydney. He was discussing the trend that more and more sites are providing a social experience. Nick believes that all sites will soon consider social tools a must have rather than [...]]]></description>
			<content:encoded><![CDATA[<p>I had the pleasure of hearing <a href="http://au.linkedin.com/in/nicklove">Nick Love</a> speak at the <a href="http://ibrc.com.au/product_details.php?product=web3_2010">Web3.0 &#038; the Future of Social Media</a> last week at the <a href="http://www.google.com/maps?f=q&#038;source=s_q&#038;hl=en&#038;geocode=&#038;q=Sheraton+on+the+Park+Sydney+New+South+Wales+Australia&#038;sll=-37.815984,144.949343&#038;sspn=0.030038,0.077162&#038;ie=UTF8&#038;hq=Sheraton+on+the+Park&#038;hnear=Sydney+NSW,+Australia&#038;t=h&#038;ll=-33.869863,151.21037&#038;spn=0.007893,0.01929&#038;z=16&#038;iwloc=A">Sheraton in Sydney</a>. He was discussing the trend that more and more sites are providing a social experience.</p>
<p>Nick believes that all sites will soon consider social tools a <em>must have</em> rather than a <em>nice to have</em> and that the term social media as a term.</p>
<p>The social web is all about you: it&#8217;s not enough to know that the user likes sport, we need to know that you like <a href="http://www.tennis.com.au/">Tennis</a> on Wednesday nights and <a href="http://www.rugby.com.au/">Rugby</a> on the weekends.</p>
<p>The web is improving behavioural understanding &#8211; it is moving from observations about similar events to a knowledge of what you need or like and when. We are moving away from the <a href="http://en.wikipedia.org/wiki/Collective_intelligence">collective intelligence</a> approach that Amazon used to bring us the <em>customers who bought this also bought</em> to this deeper individual understanding.</p>
<p>That said &#8211; I think that some of the <a href="http://www.amazon.com/gp/product/0596529325?ie=UTF8&#038;tag=ontrium-20&#038;linkCode=as2&#038;camp=1789&#038;creative=390957&#038;creativeASIN=0596529325">collective intelligence techniques</a> are very relevant and under utilised to make intelligent suggestions about what the user is trying to achieve.</p>
<p>Websites are constantly using the social currency of reputation to encourage users to participate with their site &#8211; increasing engagement and length of site visit. Great for the popularity of their site and the advertising spend. Some great examples of common social functionality we see on the web are:</p>
<ul>
<li>tell others what you&#8217;re doing</li>
<li>see the latest activities of people you know</li>
<li>connect your identities &#8211; the activity from sites like <a href="http://www.linkedin.com/">Linked In</a>, <a href="http://twitter.com/">Twitter</a>, <a href="http://www.facebook.com/">Facebook</a> is intermingled across the web</li>
<li>build collections of things</li>
<li>find others like you</li>
</ul>
<p>The web is moving towards a deeper behavioural understanding from the current models that are used </p>
<img src="http://feeds.feedburner.com/~r/jamesvulling/~4/7xqJgj2wxX8" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://www.jamesvulling.com/2010/06/the-web-is-becoming-inherently-social/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		<feedburner:origLink>http://www.jamesvulling.com/2010/06/the-web-is-becoming-inherently-social/</feedburner:origLink></item>
		<item>
		<title>Some basic Oracle 10g tips</title>
		<link>http://feedproxy.google.com/~r/jamesvulling/~3/7n0IfGlSzNA/</link>
		<comments>http://www.jamesvulling.com/2008/12/some-basic-oracle-10g-tips/#comments</comments>
		<pubDate>Mon, 22 Dec 2008 01:01:06 +0000</pubDate>
		<dc:creator>james.vulling</dc:creator>
				<category><![CDATA[Oracle]]></category>
		<category><![CDATA[database]]></category>
		<category><![CDATA[tips]]></category>

		<guid isPermaLink="false">http://www.jamesvulling.com/?p=17</guid>
		<description><![CDATA[To view the current database from the SQLPLUS command line: SELECT name FROM V$DATABASE; To view the current process list: SELECT * FROM V$PROCESS; For more information on what processes are currently doing, I found this post pretty useful. I recently had to increase the number of allowed connections to a database, which meant a [...]]]></description>
			<content:encoded><![CDATA[<p>To view the current database from the SQLPLUS command line:<br />
<code><br />
SELECT name FROM V$DATABASE;<br />
</code></p>
<p>To view the current process list:<br />
<code><br />
SELECT * FROM V$PROCESS;<br />
</code><br />
For more information on what processes are currently doing, I found <a href="http://www.praetoriate.com/oracle_tips_process_detail.htm">this post</a> pretty useful.</p>
<p>I recently had to increase the number of allowed connections to a database, which meant a restart. I did this using:<br />
<code><br />
# sqlplus /nolog<br />
CONNECT / AS sysdba;<br />
SHUTDOWN IMMEDIATE;<br />
STARTUP;<br />
</code></p>
<p>These are pretty basic operations but thought they may be of use to someone out there!</p>
<img src="http://feeds.feedburner.com/~r/jamesvulling/~4/7n0IfGlSzNA" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://www.jamesvulling.com/2008/12/some-basic-oracle-10g-tips/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://www.jamesvulling.com/2008/12/some-basic-oracle-10g-tips/</feedburner:origLink></item>
		<item>
		<title>The Effective Executive, Peter Drucker</title>
		<link>http://feedproxy.google.com/~r/jamesvulling/~3/c6IJvHe9AAw/</link>
		<comments>http://www.jamesvulling.com/2008/12/the-effective-executive-peter-drucker/#comments</comments>
		<pubDate>Sat, 20 Dec 2008 02:26:09 +0000</pubDate>
		<dc:creator>james.vulling</dc:creator>
				<category><![CDATA[Book]]></category>
		<category><![CDATA[business]]></category>
		<category><![CDATA[management]]></category>

		<guid isPermaLink="false">http://www.jamesvulling.com/?p=11</guid>
		<description><![CDATA[Peter Drucker&#8217;s books and essays on management topics have a widespread reputation. I first heard about Drucker listening to the guys on Manager Tools and decided to purchase his book The Effective Executive to see what he had to say. Drucker discusses what he perceives to be the definition of an executive and the role that [...]]]></description>
			<content:encoded><![CDATA[<p>Peter Drucker&#8217;s books and essays on management topics have a widespread reputation. I first heard about Drucker listening to the guys on <a href="http://www.manager-tools.com">Manager Tools</a> and decided to purchase his book <a href="http://www.amazon.com/gp/product/0060833459?ie=UTF8&amp;tag=ontrium-20&amp;linkCode=as2&amp;camp=1789&amp;creative=390957&amp;creativeASIN=0060833459">The Effective Executive</a><img style="border:none !important; margin:0px !important;" src="http://www.assoc-amazon.com/e/ir?t=ontrium-20&amp;l=as2&amp;o=1&amp;a=0060833459" alt="" width="1" height="1" /> to see what he had to say.</p>
<p>Drucker discusses what he perceives to be the definition of an executive and the role that they play within an organisation. Druckers key take-away points are that:</p>
<ul>
<li>Effectiveness must be learned</li>
<li>Record and analyse where your time goes</li>
<li>Focus your vision on contribution</li>
<li>Make the strengths of yourself and others productive</li>
<li>Items with the most impact should be undertaken first</li>
</ul>
<img src="http://feeds.feedburner.com/~r/jamesvulling/~4/c6IJvHe9AAw" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://www.jamesvulling.com/2008/12/the-effective-executive-peter-drucker/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://www.jamesvulling.com/2008/12/the-effective-executive-peter-drucker/</feedburner:origLink></item>
	</channel>
</rss>

