<?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"
	>

<channel>
	<title>Chris Harcourt</title>
	<atom:link href="http://www.charcourt.com/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.charcourt.com</link>
	<description>carpe noctus</description>
	<pubDate>Thu, 20 Nov 2008 14:23:22 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.6.3</generator>
	<language>en</language>
			<item>
		<title>One Year&#8217;s Uptime</title>
		<link>http://www.charcourt.com/2008/11/11/one-years-uptime/</link>
		<comments>http://www.charcourt.com/2008/11/11/one-years-uptime/#comments</comments>
		<pubDate>Tue, 11 Nov 2008 17:27:56 +0000</pubDate>
		<dc:creator>Chris Harcourt</dc:creator>
		
		<category><![CDATA[General]]></category>

		<guid isPermaLink="false">http://www.charcourt.com/?p=91</guid>
		<description><![CDATA[I just noticed that I&#8217;ve tipped one year&#8217;s worth of uptime on omicron.
Woo yeah!
]]></description>
			<content:encoded><![CDATA[<p>I just noticed that I&#8217;ve tipped one year&#8217;s worth of uptime on <a title="omicron system information" href="http://omicron.xaedalus.net">omicron</a>.</p>
<p>Woo yeah!</p>
]]></content:encoded>
			<wfw:commentRss>http://www.charcourt.com/2008/11/11/one-years-uptime/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Essential Eclipse Plugins</title>
		<link>http://www.charcourt.com/2008/07/05/essential-eclipse-plugins/</link>
		<comments>http://www.charcourt.com/2008/07/05/essential-eclipse-plugins/#comments</comments>
		<pubDate>Sat, 05 Jul 2008 21:17:14 +0000</pubDate>
		<dc:creator>Chris Harcourt</dc:creator>
		
		<category><![CDATA[Java]]></category>

		<category><![CDATA[Programming]]></category>

		<guid isPermaLink="false">http://www.charcourt.com/?p=84</guid>
		<description><![CDATA[With the release of Eclipse 3.4 &#8220;Ganymede&#8221; I&#8217;ve had to reinstall all of the plugins I use. So, I decided to share with the world the suite of plugins that I use. I use the Eclipse JEE bundle since this already includes much of what I want - if you use a different bundle YMMV.
On [...]]]></description>
			<content:encoded><![CDATA[<p>With the release of <a href="http://www.eclipse.org/downloads/">Eclipse 3.4 &#8220;Ganymede&#8221;</a> I&#8217;ve had to reinstall all of the plugins I use. So, I decided to share with the world the suite of plugins that I use. I use the <a href="http://www.eclipse.org/downloads/packages/eclipse-ide-java-ee-developers/ganymeder">Eclipse JEE bundle</a> since this already includes much of what I want - if you use a different bundle YMMV.</p>
<p>On with the plugins (links to installation instructions):</p>
<ul>
<li><a href="http://www.eclipse.org/subversive/documentation/gettingStarted/aboutSubversive/install.php">Subversive</a> - Subversion integration</li>
<li><a href="http://m2eclipse.codehaus.org/">M2Eclipse</a> - <a href="http://maven.apache.org">Maven</a> integration</li>
<li><a href="http://eclipse-cs.sourceforge.net/">Checkstyle</a> - coding style enforcement</li>
<li><a href="http://pmd.sourceforge.net/integrations.html#eclipse">PMD</a> - code analyser</li>
<li><a href="http://eclipseme.org/docs/installation.html">EclipseME</a> - JME WTK support</li>
<li><a href="http://springide.org/project/wiki/SpringideInstall">SpringIDE</a> - <a href="http://www.springframework.org">Spring</a> integration</li>
</ul>
<p>For me these are essential, for you they may not be. Anyone care to suggest any other useful Eclipse plugins?</p>
]]></content:encoded>
			<wfw:commentRss>http://www.charcourt.com/2008/07/05/essential-eclipse-plugins/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Spring WS, Tomcat 6, Java 6 - Problems &#038; A Simple Solution</title>
		<link>http://www.charcourt.com/2008/06/20/spring-ws-tomcat-6-java-6-problems-and-a-simple-solution/</link>
		<comments>http://www.charcourt.com/2008/06/20/spring-ws-tomcat-6-java-6-problems-and-a-simple-solution/#comments</comments>
		<pubDate>Fri, 20 Jun 2008 17:52:04 +0000</pubDate>
		<dc:creator>Chris Harcourt</dc:creator>
		
		<category><![CDATA[Java]]></category>

		<category><![CDATA[Programming]]></category>

		<category><![CDATA[Sysadmin]]></category>

		<guid isPermaLink="false">http://www.charcourt.com/?p=81</guid>
		<description><![CDATA[I&#8217;ve been working on a project using Spring WS recently. During development I run/test webapps using the Maven Jetty plugin. All was well, everythings works as expected, and I was at a stage where I needed to deploy on a Tomcat 6 server for some larger scale testing. In the past I have had no [...]]]></description>
			<content:encoded><![CDATA[<p>I&#8217;ve been working on a project using <a href="http://static.springframework.org/spring-ws/site/">Spring WS</a> recently. During development I run/test webapps using the <a href="http://mojo.codehaus.org/jetty-maven-plugin/usage.html">Maven Jetty plugin</a>. All was well, everythings works as expected, and I was at a stage where I needed to deploy on a Tomcat 6 server for some larger scale testing. In the past I have had no issues moving from Jetty to Tomcat so, possibly foolishly, I was not expecting any this time&#8230;</p>
<p>After deploying to Tomcat the web frontend worked fine, but the web services did not. A quick look at the logs revealed lots of exceptions relating to <a href="https://saaj.dev.java.net/">SAAJ</a>. The top of the stacktraces were:<br />
<code><br />
org.springframework.ws.soap.saaj.SaajSoapMessageException: Could not write message to OutputStream: Error during saving a multipart message; nested exception is com.sun.xml.internal.messaging.saaj.SOAPExceptionImpl: Error during saving a multipart message<br />
at org.springframework.ws.soap.saaj.SaajSoapMessage.writeTo(SaajSoapMessage.java:122)<br />
...<br />
Caused by: com.sun.xml.internal.messaging.saaj.SOAPExceptionImpl: Error during saving a multipart message<br />
at com.sun.xml.internal.messaging.saaj.soap.MessageImpl.saveChanges(MessageImpl.java:1126)<br />
at org.springframework.ws.soap.saaj.Saaj13Implementation.writeTo(Saaj13Implementation.java:264)<br />
at org.springframework.ws.soap.saaj.SaajSoapMessage.writeTo(SaajSoapMessage.java:118)<br />
...<br />
Caused by: com.sun.xml.internal.messaging.saaj.SOAPExceptionImpl: Unable to get header stream in saveChanges:<br />
at com.sun.xml.internal.messaging.saaj.soap.MessageImpl.saveChanges(MessageImpl.java:1103)<br />
...<br />
Caused by: java.io.IOException<br />
at com.sun.xml.internal.messaging.saaj.soap.impl.EnvelopeImpl.output(EnvelopeImpl.java:298)<br />
</code></p>
<p>I&#8217;m running on Java 6, which contains it&#8217;s own SAAJ implementation, so I was fairly sure it wasn&#8217;t a problem with the libraries in the application itself. So, I hit google for a couple of hours in hope of finding a solution. I didn&#8217;t find anything which mentioned this issue specifically, but the gist I was getting pointed towards a problem with the XML parser.</p>
<p>In desperation I tried including various bits of Xerces in the application&#8217;s WAR (I know Java 6 has a built in parser, but I figured it was worth a try). This didn&#8217;t work, and in fact caused even more errors. This problem was really starting to annoy me&#8230;</p>
<p>It occurred to me that it could be something about the configuration of the server which runs Tomcat. If it all works fine on my workstation it must be the server, right? So I put pulled down a copy of the project onto the server and ran it using the Maven Jetty plugin. Lo and behold, it worked flawlessly. Maybe it&#8217;s a Tomcat issue then? To verify this I installed Tomcat on my workstation and ran the app there. Same problem - it muct be Tomcat then. OK, time to hit google again.</p>
<p>&#8230;many frustrating hours pass&#8230;</p>
<p>Eventually I found <a href="http://www.nabble.com/WS-Security-and-Tomcat-error-td14271852.html">a page which mentioned errors simmilar to mine</a>, so I tried it&#8217;s solution&#8230; and &#8230; thank the Lord - it works! What was this magical solution? <em>Putting a copy of Xerces and Xalan in the Tomcat&#8217;s &#8216;endorsed&#8217; lib directory</em>. Annoyingly simple. Why does this work? I&#8217;m not certain, but apparently the versions of Xerces and Xalan which Tomcat ships with don&#8217;t play well with the SAAJ implementation in Java 6 (this might well be wrong&#8230;). The important thing is it fixed the problem.</p>
<p>For reference (in case this problem appears for anyone else) I am using: Java 1.6.0_06, Tomcat 6.0.16, Spring 2.5.4 and Spring WS 1.5.2. The jars I put in %TomcatHome%/common/endorsed to fix the problem were xalan-2.7.0 and xercesImpl-2.8.1.</p>
<p>I am now back to development nirvana - balance has been restored.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.charcourt.com/2008/06/20/spring-ws-tomcat-6-java-6-problems-and-a-simple-solution/feed/</wfw:commentRss>
		</item>
		<item>
		<title>200+ Days Uptime</title>
		<link>http://www.charcourt.com/2008/06/13/200-days-uptime/</link>
		<comments>http://www.charcourt.com/2008/06/13/200-days-uptime/#comments</comments>
		<pubDate>Fri, 13 Jun 2008 12:00:34 +0000</pubDate>
		<dc:creator>Chris Harcourt</dc:creator>
		
		<category><![CDATA[Sysadmin]]></category>

		<guid isPermaLink="false">http://www.charcourt.com/?p=78</guid>
		<description><![CDATA[I just noticed that my server has been up for over 200 days. I&#8217;m pretty sure that&#8217;s the longest it&#8217;s ever been up continuously. Most of the reboots have been for upgrades (or a hosting move) but there have been some problems along the way.
The box is now handling around 10GB of traffic every month, [...]]]></description>
			<content:encoded><![CDATA[<p>I just noticed that <a href="http://omicron.xaedalus.net/phpsysinfo/">my server</a> has been up for over 200 days. I&#8217;m pretty sure that&#8217;s the longest it&#8217;s ever been up continuously. Most of the reboots have been for upgrades (or a hosting move) but there have been <a href="http://www.charcourt.com/2007/04/13/server-downtime-or-digg-killed-my-server/">some problems</a> along the way.</p>
<p>The box is now handling around 10GB of traffic every month, with the occasional large spike, so I think 200 days uptime validates the configuration tweaks I&#8217;ve made to improve stability. The only minor worry is I haven&#8217;t had to deal with a real world high load test of any of the Java applications (Tomcat hosted sites). I&#8217;m pretty sure I&#8217;ve reigned in the JVMs allowed memory, but until it gets a proper real world test I&#8217;ll always have a doubt in the back of my mind.</p>
<p>Fingers crossed for 1 years uptime&#8230;</p>
]]></content:encoded>
			<wfw:commentRss>http://www.charcourt.com/2008/06/13/200-days-uptime/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Broadband Frustrations</title>
		<link>http://www.charcourt.com/2008/06/11/broadband-frustrations/</link>
		<comments>http://www.charcourt.com/2008/06/11/broadband-frustrations/#comments</comments>
		<pubDate>Wed, 11 Jun 2008 17:06:18 +0000</pubDate>
		<dc:creator>Chris Harcourt</dc:creator>
		
		<category><![CDATA[Online &amp; WWW]]></category>

		<category><![CDATA[Rants]]></category>

		<category><![CDATA[Real Life]]></category>

		<guid isPermaLink="false">http://www.charcourt.com/?p=77</guid>
		<description><![CDATA[Since I upgraded my living situation a few weeks ago (moved into a new house share with 2 friends) I&#8217;ve been without an internet connection. We ended up having to wait 2 weeks for BT to &#8220;install&#8221; our phone line (in quotes since it was physically already there), then around 10 days for the ISP [...]]]></description>
			<content:encoded><![CDATA[<p>Since I upgraded my living situation a few weeks ago (moved into a new house share with 2 friends) I&#8217;ve been without an internet connection. We ended up having to wait 2 weeks for BT to &#8220;install&#8221; our phone line (in quotes since it was physically already there), then around 10 days for the ISP to active the ADSL. Being without an internet connection at home feels really weird. Even more so since we don&#8217;t have TV either, which meant we were rather cut off from the world (hope I didn&#8217;t miss anything important).</p>
<p>Anyway, yesterday the ADSL started working (2 days early actually). Happy times&#8230; kind of.</p>
<p>We&#8217;re on an 8Mbit service, but I&#8217;m struggling to get more than around 70KB/sec for downloads. This is, as you can probably imagine, is a bit of the step back from the 700KB/sec or more that I&#8217;ve been accustomed to. Just now I needed to grab a copy of Spring-WS - 25MB - it took almost 7 minutes! Sigh&#8230;</p>
<p>I&#8217;m assuming the problem is the length of the line from the house to the exchange (very roughly about 3 miles) combined with less than amazing in-house wiring. Initially the router was connecting at only 800Kbps! You don&#8217;t expect to get all of the bandwidth they claim, but a tenth it just ridiculous.</p>
<p>Switching the rather crappy looking micro filter which was left by the previous occupants for the decent one I&#8217;ve used before got that up to 2200Kbps. However, the actual speed of connection didn&#8217;t change much. I&#8217;m putting this down the (according to what I can work out) horrendous attenuation and noise margin (59dB/6dB if you&#8217;re interested). I&#8217;ve yet to really dig into the things that can be done about this (hey, I&#8217;m busy), but I&#8217;m hoping I can improved the situation a bit.</p>
<p>Ah well, at least we&#8217;re online now <img src='http://www.charcourt.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /></p>
]]></content:encoded>
			<wfw:commentRss>http://www.charcourt.com/2008/06/11/broadband-frustrations/feed/</wfw:commentRss>
		</item>
		<item>
		<title>ThinkLighting The Way</title>
		<link>http://www.charcourt.com/2008/05/03/thinklighting-the-way/</link>
		<comments>http://www.charcourt.com/2008/05/03/thinklighting-the-way/#comments</comments>
		<pubDate>Sat, 03 May 2008 01:23:08 +0000</pubDate>
		<dc:creator>Chris Harcourt</dc:creator>
		
		<category><![CDATA[General]]></category>

		<category><![CDATA[Hardware]]></category>

		<category><![CDATA[Real Life]]></category>

		<guid isPermaLink="false">http://www.charcourt.com/?p=72</guid>
		<description><![CDATA[I&#8217;m on my second ThinkPad now. Last year I replaced my failing T42 with a T60. Both had/have ThinkLights, but I&#8217;ve never seen the point in them before&#8230;
Right now though, sitting in the garden at night, I finally see the point (I can see my keyboard!!!). Mind you, it&#8217;s irrelevant how well lit my laptop [...]]]></description>
			<content:encoded><![CDATA[<p>I&#8217;m on my second <a href="http://en.wikipedia.org/wiki/ThinkPad">ThinkPad</a> now. Last year I replaced my <a href="http://www.charcourt.com/2007/09/23/biting-the-new-laptop-bullet/">failing T42 with a T60</a>. Both had/have <a href="http://en.wikipedia.org/wiki/Thinklight">ThinkLights</a>, but I&#8217;ve never seen the point in them before&#8230;</p>
<p>Right now though, sitting in the garden at night, I finally see the point (I can see my keyboard!!!). Mind you, it&#8217;s irrelevant how well lit my laptop is, it still doesn&#8217;t detract from the fact I should be in bed&#8230;</p>
<p>Also, loving the new admin interface in wordpress 2.5.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.charcourt.com/2008/05/03/thinklighting-the-way/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Lots Of Upgrades!</title>
		<link>http://www.charcourt.com/2008/03/05/lots-of-upgrades/</link>
		<comments>http://www.charcourt.com/2008/03/05/lots-of-upgrades/#comments</comments>
		<pubDate>Wed, 05 Mar 2008 20:08:50 +0000</pubDate>
		<dc:creator>Chris Harcourt</dc:creator>
		
		<category><![CDATA[Gentoo]]></category>

		<category><![CDATA[Linux]]></category>

		<category><![CDATA[Sysadmin]]></category>

		<guid isPermaLink="false">http://www.charcourt.com/2008/03/05/lots-of-upgrades/</guid>
		<description><![CDATA[After putting off upgrades on omicron for ages (I was busy), this week I finally found the time. So, I&#8217;m now running:

Apache 2.2.8
Tomcat 6.0.16
MySQL 5.0.54
Subversion 1.4.6

Woo yeah for them all running smoothly! I was especially happy that converting my Tomcat 5.5 configuration to 6.0 was easy.
As a bonus upgrade, I&#8217;ve switched the theme on my [...]]]></description>
			<content:encoded><![CDATA[<p>After putting off upgrades on omicron for ages (I was busy), this week I finally found the time. So, I&#8217;m now running:</p>
<ul>
<li>Apache 2.2.8</li>
<li>Tomcat 6.0.16</li>
<li>MySQL 5.0.54</li>
<li>Subversion 1.4.6</li>
</ul>
<p>Woo yeah for them all running smoothly! I was especially happy that converting my Tomcat 5.5 configuration to 6.0 was easy.</p>
<p>As a bonus upgrade, I&#8217;ve switched the theme on my blog. White on black was starting to annoy me, so this time it&#8217;s black on white. Mmmmm - minimalist.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.charcourt.com/2008/03/05/lots-of-upgrades/feed/</wfw:commentRss>
		</item>
		<item>
		<title>MIDP Low-Level UI Pains</title>
		<link>http://www.charcourt.com/2008/03/03/midp-low-level-ui-pains/</link>
		<comments>http://www.charcourt.com/2008/03/03/midp-low-level-ui-pains/#comments</comments>
		<pubDate>Mon, 03 Mar 2008 11:58:54 +0000</pubDate>
		<dc:creator>Chris Harcourt</dc:creator>
		
		<category><![CDATA[Java]]></category>

		<category><![CDATA[Programming]]></category>

		<category><![CDATA[Rants]]></category>

		<guid isPermaLink="false">http://www.charcourt.com/2008/03/03/midp-low-level-ui-pains/</guid>
		<description><![CDATA[Over the last couple of week I&#8217;ve been doing some work with the MIDP low level UI API. I&#8217;ve used the API before, but not for anything that complex. This time however I am building a set of fairly complex rich UI screens, so it&#8217;s been a good opportunity to really get to grips with [...]]]></description>
			<content:encoded><![CDATA[<p>Over the last couple of week I&#8217;ve been doing some work with the MIDP low level UI API. I&#8217;ve used the API before, but not for anything that complex. This time however I am building a set of fairly complex rich UI screens, so it&#8217;s been a good opportunity to really get to grips with the API. It&#8217;s been so long that I&#8217;d forgotten how sparse it all is.</p>
<p>One thing that has been really annoying me over the last few days is the lack of a way to rotate the orientation of text.  I want some of the labels in my UI to be written down the side of the screen (top to bottom). You can anchor text pretty easily, and alter it&#8217;s horizontal alignment, but there is no way rotate it so it reads top to bottom rather than left to right.</p>
<p>One suggested way to get around this is to draw the text to an off-screen in, memory image then rotate this image before drawing it on the display. But, of course, there is no way to rotate an image either!</p>
<p>&#8230;Now I remember why I don&#8217;t like using low level graphics.</p>
<p>For now I&#8217;m just not bothering with the rotated labels (it&#8217;s only a prototype at the moment), but ideally I&#8217;d like to find a solution. One possibility I&#8217;d thought of is to simply write my own way of rotating images - maybe an operation on the actual bytes in the image, or swapping pixels.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.charcourt.com/2008/03/03/midp-low-level-ui-pains/feed/</wfw:commentRss>
		</item>
		<item>
		<title>The Internet Turns 30</title>
		<link>http://www.charcourt.com/2007/11/22/the-internet-turns-30/</link>
		<comments>http://www.charcourt.com/2007/11/22/the-internet-turns-30/#comments</comments>
		<pubDate>Thu, 22 Nov 2007 17:14:41 +0000</pubDate>
		<dc:creator>Chris Harcourt</dc:creator>
		
		<category><![CDATA[Online &amp; WWW]]></category>

		<guid isPermaLink="false">http://www.charcourt.com/2007/11/22/the-internet-turns-30/</guid>
		<description><![CDATA[An article in my RSS reader caught my eye today. elharo writes:
The Internet is 30 today. Exactly 30 years ago today on November 22, 1977 the first three networks were connected to become the Internet
Think how far we&#8217;ve come&#8230;
]]></description>
			<content:encoded><![CDATA[<p>An article in my RSS reader caught my eye today. <a href="http://cafe.elharo.com/internet/happy-30th-birthday-internet/">elharo writes</a>:</p>
<blockquote><p>The Internet is 30 today. Exactly 30 years ago today on November 22, 1977 the first three networks were connected to become the Internet</p></blockquote>
<p>Think how far we&#8217;ve come&#8230;</p>
]]></content:encoded>
			<wfw:commentRss>http://www.charcourt.com/2007/11/22/the-internet-turns-30/feed/</wfw:commentRss>
		</item>
		<item>
		<title>VM Upgrades</title>
		<link>http://www.charcourt.com/2007/11/20/vm-upgrades/</link>
		<comments>http://www.charcourt.com/2007/11/20/vm-upgrades/#comments</comments>
		<pubDate>Tue, 20 Nov 2007 16:46:53 +0000</pubDate>
		<dc:creator>Chris Harcourt</dc:creator>
		
		<category><![CDATA[Linux]]></category>

		<category><![CDATA[Sysadmin]]></category>

		<guid isPermaLink="false">http://www.charcourt.com/2007/11/20/vm-upgrades/</guid>
		<description><![CDATA[So, yesterday evening bytemark finally got around to upgrading the host machine for my VM server. The upgrade itself went smoothly, so I now have 300MB of memory and 20GB of disc space (at no extra cost). Woo for me  
I did however have some problems getting the server to come back online again [...]]]></description>
			<content:encoded><![CDATA[<p>So, yesterday evening <a href="http://www.bytemark.co.uk">bytemark</a> finally got around to upgrading the host machine for my VM server. The upgrade itself went smoothly, so I now have 300MB of memory and 20GB of disc space (at no extra cost). Woo for me <img src='http://www.charcourt.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p>I did however have some problems getting the server to come back online again after the upgrade. It came up, then fell over again a couple of times before I worked out what the problem was. Actually, that&#8217;s a lie - I&#8217;m still not sure what the problem was, but it (seems to) work now, so I shall leave it alone while keeping an eye on it.</p>
<p>I have a feeling the problem was probably something to do with it being rebooted. Prior to the upgrade it had been up for over 150 days without a reboot, in which time I&#8217;d updated lots of core system packages, so I guess there could have been an issue somewhere I was not aware of.</p>
<p>Anyway - it&#8217;s working now (as you can read this page&#8230;.) and as I write this it&#8217;s been up for just over an hour without any problems.</p>
<p>Fingers crossed&#8230;</p>
]]></content:encoded>
			<wfw:commentRss>http://www.charcourt.com/2007/11/20/vm-upgrades/feed/</wfw:commentRss>
		</item>
	</channel>
</rss>
