<?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>Jeff Beard</title>
	<atom:link href="http://jeffbeard.org/feed" rel="self" type="application/rss+xml" />
	<link>http://jeffbeard.org</link>
	<description>blog.blog</description>
	<pubDate>Wed, 25 Jun 2008 04:41:44 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.5.1</generator>
	<language>en</language>
			<item>
		<title>Artifactory and Hudson with Tomcat on CentOS 5</title>
		<link>http://jeffbeard.org/2008/06/artifactory-hudson-tomcat-on-centos5.html</link>
		<comments>http://jeffbeard.org/2008/06/artifactory-hudson-tomcat-on-centos5.html#comments</comments>
		<pubDate>Wed, 25 Jun 2008 04:17:28 +0000</pubDate>
		<dc:creator>jeff</dc:creator>
		
		<category><![CDATA[Java]]></category>

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

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

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

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

		<guid isPermaLink="false">http://jeffbeard.org/?p=70</guid>
		<description><![CDATA[I had occasion to install Artifactory, a Maven 2 Repository system, and Hudson, a Continuous Integration engine today and ran into some issues I wanted to note.
Both packages are Java web applications but the standard  Artifactory distribution comes with Jetty in order for it to be a runnable application with a single download. We [...]]]></description>
			<content:encoded><![CDATA[<p>I had occasion to install <a title="Artifactory Web Site" href="http://www.jfrog.org/sites/artifactory/latest/">Artifactory</a>, a <a title="Maven" href="http://maven.apache.org/">Maven 2</a> Repository system, and Hudson, a Continuous Integration engine today and ran into some issues I wanted to note.</p>
<p>Both packages are Java web applications but the standard  Artifactory distribution comes with <a title="The Jetty Web Site" href="http://www.mortbay.org/jetty-6/">Jetty</a> in order for it to be a runnable application with a single download. We use Tomcat as our Servlet container for all our custom Java applications so I was deviating somewhat from the norm.</p>
<p>And even though we use Tomcat 6 from an archive downloaded from the Apache web site, I decided to  use the package that comes with CentOS 5 (x86_64) in hopes of easier maintenance since this Tomcat instance won&#8217;t be running our custom Java applications. (The Tomcat version that comes with CentOS 5 is 5.5.x.)</p>
<p>Anyway, I installed Hudson by dropping the WAR file into the Tomcat webapps directory and accessed it&#8217;s context with a browser. I got a 404 which indicates that the application did not start. A quick scan of the logs showed that I need to get a home directory for Hudson. So I created the folder it was trying to use and made it writable by the tomcat user then restarted the container. I tried again but got a stacktrace indicating that there was something a permissions problem of some sort. I Googled the error and found a found my way to this <a title="Hudson Bug" href="https://hudson.dev.java.net/issues/show_bug.cgi?id=1936">issue</a> in the Hudson bug tracker. I downloaded the previous version, dropped in on top of the deployed WAR file and it Just Worked.</p>
<p>Next I configured the Artifactory environment according to the <a title="Artifactory Tomcat Instructions" href="http://www.jfrog.org/confluence/display/RTF/Installing#Installing-TomactandOtherServletContainers">instructions</a>, restarted Tomcat then dropped the Artifactory WAR file into the webapps directory. Accessing the application with my web browser resulted in a stacktrace.</p>
<p>The first issue I noticed was that there was an NoClassDefFoundError:<br />
<code><br />
javax.xml.transform.TransformerFactoryConfigurationError : Provider org.apache.xalan.processor.TransformerFactoryImpl not found.</code></p>
<p>So I Googled the error found this <a href="http://www.nabble.com/Re%3A-java.lang.NoClassDefFoundError%3A-org-quartz-CronExpression-p13139289.html">bit</a> on Nabble which told me to set <code>TOMCAT5_SECURITY=no</code> in my init script. They also mentioned the JVM setting &#8220;<code>-Djava.endorsed.dirs</code>&#8221; so I made sure that was NOT set to anything in the Tomcat startup scripts (the init script calls <code>/usr/bin/dtomcat5</code>) . I also took a peek in the Tomcat endorsed directory to see what was there and if it might be missing some jar files. Here I found some odd symbolic links where the files names were in brackets.  I removed them and replaced them the original file names. Then I restarted Tomcat again tested and found that it worked.</p>
<p>Next time, I&#8217;ll probably stick with using the downloaded Tomcat packages instead of the OS bundle. I get much more consistent results with that approach.</p>
]]></content:encoded>
			<wfw:commentRss>http://jeffbeard.org/2008/06/artifactory-hudson-tomcat-on-centos5.html/feed</wfw:commentRss>
		</item>
		<item>
		<title>Spitzer Space Telescope Windows Infarction</title>
		<link>http://jeffbeard.org/2008/06/spitzer-space-telescope-windows-infarction.html</link>
		<comments>http://jeffbeard.org/2008/06/spitzer-space-telescope-windows-infarction.html#comments</comments>
		<pubDate>Mon, 23 Jun 2008 04:05:24 +0000</pubDate>
		<dc:creator>jeff</dc:creator>
		
		<category><![CDATA[Desktop Technology]]></category>

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

		<category><![CDATA[error report]]></category>

		<category><![CDATA[spitzer space telescope]]></category>

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

		<guid isPermaLink="false">http://jeffbeard.org/?p=68</guid>
		<description><![CDATA[I was cruising around the Spitzer Space Telescope site and found a page that had a screen capture of a piece of software that continuously shows a prediction of the space craft&#8217;s position within the solar system. I noticed an oddly familiar dialog on the thumbnail view so I clicked on it to find this:



I [...]]]></description>
			<content:encoded><![CDATA[<p>I was cruising around the Spitzer Space Telescope site and found a page that had a screen capture of a piece of software that continuously shows a prediction of the space craft&#8217;s position within the solar system. I noticed an oddly familiar dialog on the thumbnail view so I clicked on it to find this:</p>
<p><a href="http://jeffbeard.org/wp-content/uploads/2008/06/soap-capture1.jpg"><img class="alignnone size-medium wp-image-69" title="soap-capture1" src="http://jeffbeard.org/wp-content/uploads/2008/06/soap-capture1-300x195.jpg" alt="Aaaaargh!" width="300" height="195" /></a></p>
<p><img src="/wp-content/uploads/06/soap-capture.jpg" alt="" /></p>
<p><img src="/wp-content/uploads/06/soap-capture.jpg" alt="" /></p>
<p>I wonder if they send the error report or not?</p>
]]></content:encoded>
			<wfw:commentRss>http://jeffbeard.org/2008/06/spitzer-space-telescope-windows-infarction.html/feed</wfw:commentRss>
		</item>
		<item>
		<title>Ext3 File System Limits</title>
		<link>http://jeffbeard.org/2008/06/ext3-file-system-limits.html</link>
		<comments>http://jeffbeard.org/2008/06/ext3-file-system-limits.html#comments</comments>
		<pubDate>Fri, 06 Jun 2008 18:19:32 +0000</pubDate>
		<dc:creator>jeff</dc:creator>
		
		<category><![CDATA[General]]></category>

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

		<category><![CDATA[Systems Administration]]></category>

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

		<category><![CDATA[block size]]></category>

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

		<category><![CDATA[file system]]></category>

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

		<guid isPermaLink="false">http://jeffbeard.org/?p=61</guid>
		<description><![CDATA[Last week I was trying to move a 21GB MySQL backup file from one host to another. I tried rsync first but it stopped after only 17GB was transferred. Then I compressed it with gzip, rsync&#8217;d the file to the host then attempted to decompress it but it failed again around 17GB. This seemed a [...]]]></description>
			<content:encoded><![CDATA[<p>Last week I was trying to move a 21GB MySQL backup file from one host to another. I tried <a title="rsync" href="http://samba.anu.edu.au/rsync/">rsync</a> first but it stopped after only 17GB was transferred. Then I compressed it with gzip, rsync&#8217;d the file to the host then attempted to decompress it but it failed again around 17GB. This seemed a little too coincidental to me so I asked Google about Linux Ext3 file system limits to which it responded with some articles about block sizes and whatnot. And since the host that I was transferring the file to was a <a title="Virtuozzo" href="http://www.parallels.com/en/products/virtuozzo/">Virtuozzo</a> Virtual Environment, I also looked into limitations associated with its&#8217; use, especially since I couldn&#8217;t even ascertain what the block size was from inside the VE. It appeared that there was the potential for the Virtuozzo quota system to enforce a block size however that turned out not to be the case for <a title="COhomefinder" href="http://www.cohomefinder.com">us</a>.</p>
<p>Anyway, the fix was mildly traumatic since we had to have a new hardware node built with the underlying file system formatted with a 2048 block size then moving all 5 VEs to the new system. But it went surprisingly well due in large part to the flexibility of using virtual environments.</p>
<p>Regardless, I wanted to note the block size available for the Ext3 file system and it&#8217;s associated limitations for myself and posterity:</p>
<table style="height: 163px;" border="0" cellpadding="2" width="307">
<caption style="text-align: center;"><strong>Ext3 Block Sizes and Limits</strong></caption>
<colgroup style="text-align: center;" span="3"> <col style="background-color: darkgray;"></col> <col style="background-color: olive;"></col> <col style="background-color: gray;"></col> </colgroup>
<tbody>
<tr style="background-color: black; font-size: 11px;">
<th><span style="color: #ffffff;">Block size</span></th>
<th><span style="color: #ffffff;">Max file size</span></th>
<th><span style="color: #ffffff;">Max file system size</span></th>
</tr>
<tr>
<td>1KB</td>
<td>16GB</td>
<td>2TB</td>
</tr>
<tr>
<td>2KB</td>
<td>256GB</td>
<td>8TB</td>
</tr>
<tr>
<td>4KB</td>
<td>2TB</td>
<td>16TB</td>
</tr>
<tr>
<td>8KB</td>
<td>16TB</td>
<td>32TB</td>
</tr>
</tbody>
</table>
]]></content:encoded>
			<wfw:commentRss>http://jeffbeard.org/2008/06/ext3-file-system-limits.html/feed</wfw:commentRss>
		</item>
		<item>
		<title>Ubuntu Server 6.10 to 7.04 Upgrade</title>
		<link>http://jeffbeard.org/2008/06/ubuntu-server-610-to-704-upgrade.html</link>
		<comments>http://jeffbeard.org/2008/06/ubuntu-server-610-to-704-upgrade.html#comments</comments>
		<pubDate>Fri, 06 Jun 2008 07:22:31 +0000</pubDate>
		<dc:creator>jeff</dc:creator>
		
		<category><![CDATA[Systems Administration]]></category>

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

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

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

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

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

		<guid isPermaLink="false">http://jeffbeard.org/?p=59</guid>
		<description><![CDATA[My personal mail and file server was my first &#8220;production&#8221; installation of Ubuntu and I&#8217;ve been very happy with it. It was a replacement for RedHat 7.2 so as you might guess this box has been a workhorse for me for a long time. I planned to turn it into a bulletproof mail server with [...]]]></description>
			<content:encoded><![CDATA[<p>My personal mail and file server was my first &#8220;production&#8221; installation of Ubuntu and I&#8217;ve been very happy with it. It was a replacement for RedHat 7.2 so as you might guess this box has been a workhorse for me for a long time. I planned to turn it into a bulletproof mail server with anti spam capabilities, SSL for all inbound connections, postfix, cyrus IMAP (new for me) backed with MySQL. I followed one of the recipes on <a title="HowtoForge" href="http://www.howtoforge.com/howtos/email/postfix?from=10">HowtoForge</a> and it went great. It had been running fine for a couple of years.</p>
<p>However, there have been some kernel security updates recently release and when I tried to install the updates, I got 404 errors from all the sources. I&#8217;m not sure what the issue was and Google wasn&#8217;t much help either so I thought maybe just upgrading would be a good idea. Since my system was so far back rev, I decided I&#8217;d better upgrade to the next release. I found an <a href="http://www.ubuntugeek.com/upgrade-ubuntu-610-edgy-eft-to-ubuntu-704-feisty-fawn-2.html">article</a> that two methods. I used the second which I&#8217;ll describe here since it was so simple:</p>
<ol>
<li>Backup then edit the file /etc/apt/sources.list, replacing all instances of &#8220;edgy&#8221; with &#8220;feisty&#8221;.</li>
<li>Update the source listings with this command: <code>sudo apt-get update</code></li>
<li>Do the upgrade: <code>sudo apt-get dist-upgrade</code></li>
<li>Check it with:
<ol>
<li><code>sudo apt-get -f install</code></li>
<li><code>sudo dpkg --configure -a</code></li>
</ol>
</li>
<li>Reboot: <code>sudo reboot</code></li>
<li>Make sure it worked: <code>cat /etc/issue</code></li>
</ol>
<p>First thing I noticed was that hey, the upgrade just worked! And done in under 30 minutes. The only hitch was Tomcat didn&#8217;t start so the upgrade process stopped so I could  deal with it.  It was complaining about the JAVA_HOME environmental variable not being set. I uninstalled it then ran &#8220;sudo dpkg &#8211;configure -a&#8221; from the command line and it finished up.</p>
<p>The second thing I noticed was that my IMAP service was faster (I use Outlook which typically sucks at IMAP but there seems to have been some improvements on the server side in that regard).</p>
<p>Everything else appears to work fine too.</p>
<p>Next step: continue the upgrades until I get to Hardy Heron. But I&#8217;ll let this one &#8220;settle&#8221; for a while before I do that.</p>
]]></content:encoded>
			<wfw:commentRss>http://jeffbeard.org/2008/06/ubuntu-server-610-to-704-upgrade.html/feed</wfw:commentRss>
		</item>
		<item>
		<title>HDR Image Processing</title>
		<link>http://jeffbeard.org/2008/06/hdr-image-processing.html</link>
		<comments>http://jeffbeard.org/2008/06/hdr-image-processing.html#comments</comments>
		<pubDate>Mon, 02 Jun 2008 17:57:39 +0000</pubDate>
		<dc:creator>jeff</dc:creator>
		
		<category><![CDATA[Photography]]></category>

		<category><![CDATA[digital imaging]]></category>

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

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

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

		<guid isPermaLink="false">http://jeffbeard.org/?p=56</guid>
		<description><![CDATA[I love color and lots of it. Rich, vibrant, totally luscious color and that was what drew me to HDR in the first place. I just had to figure out how to make images like the ones I was seeing.
I found a tutorial by searching for my camera model plus HDR. This tutorial used Photoshop. [...]]]></description>
			<content:encoded><![CDATA[<p>I love color and lots of it. Rich, vibrant, totally luscious color and that was what drew me to HDR in the first place. I just <em>had</em> to figure out how to make images like the ones I was seeing.</p>
<p>I found a <a href="http://www.squidoo.com/hdrphoto">tutorial</a> by searching for my <a title="Canon Rebel XTi" href="http://www.usa.canon.com/consumer/controller?act=ModelInfoAct&amp;fcategoryid=139&amp;modelid=14256">camera model</a> plus HDR. This tutorial used Photoshop. I followed the instructions but really couldn&#8217;t get the effects that I had seen. I love Photoshop but it is a powerful generalized tool which means in a lot of cases going from idea to finished product can be difficult, time consuming and frustrating. (I found a better tutorial for Photoshop <a href="http://www.cambridgeincolour.com/tutorials/high-dynamic-range.htm">here</a>, but I will still have to practice to be able to get the same results I get with less effort from Photomatix.)</p>
<p>Anyway, I was aware of some other tools that create HDR images so I let my frustration drive me to try <a title="HDR photo software" href="http://www.hdrsoft.com/">Photomatix</a>. Photomatix provides credence to the notion that purpose-built tools are many time superior to more powerful and generalized tools. Not only did it create the type of images that I have seen on Flickr and other places on the Internet but it is faster too. Here are some test images that I took and processed today:</p><div class="ngg-galleryoverview" id="ngg-gallery-3"><div class="slideshowlink"><a class="slideshowlink" href="/feed?show=slide">[Show as slideshow]</a></div><div id="ngg-image-32" class="ngg-gallery-thumbnail-box ">
	<div class="ngg-gallery-thumbnail"  >
	<a href="http://jeffbeard.org/wp-content/gallery/hdr-test/olliver-test-2-photomatix.jpg" title="Oliver tractor in Boulder County Colorado (HDR image)" class="thickbox" rel="hdr-test" ><img title="oliver-test-2-photomatix.jpg" alt="oliver-test-2-photomatix.jpg" src="http://jeffbeard.org/wp-content/gallery/hdr-test/thumbs/thumbs_olliver-test-2-photomatix.jpg" style="width:100px; height:75px;" /></a>
</div>
</div>
<div id="ngg-image-33" class="ngg-gallery-thumbnail-box ">
	<div class="ngg-gallery-thumbnail"  >
	<a href="http://jeffbeard.org/wp-content/gallery/hdr-test/farmall-test-2-photomatix.jpg" title="Farmall tractor in Boulder County Colorado (HDR image)" class="thickbox" rel="hdr-test" ><img title="farmall-test-2-photomatix.jpg" alt="farmall-test-2-photomatix.jpg" src="http://jeffbeard.org/wp-content/gallery/hdr-test/thumbs/thumbs_farmall-test-2-photomatix.jpg" style="width:100px; height:75px;" /></a>
</div>
</div>
<div id="ngg-image-36" class="ngg-gallery-thumbnail-box ">
	<div class="ngg-gallery-thumbnail"  >
	<a href="http://jeffbeard.org/wp-content/gallery/hdr-test/2000-hdr-jeep.jpg" title="2000 HDR Jeep Cherokee" class="thickbox" rel="hdr-test" ><img title="2000-hdr-jeep.jpg" alt="2000-hdr-jeep.jpg" src="http://jeffbeard.org/wp-content/gallery/hdr-test/thumbs/thumbs_2000-hdr-jeep.jpg" style="width:100px; height:75px;" /></a>
</div>
</div>
<div id="ngg-image-37" class="ngg-gallery-thumbnail-box ">
	<div class="ngg-gallery-thumbnail"  >
	<a href="http://jeffbeard.org/wp-content/gallery/hdr-test/evening-super-cell-06022008.jpg" title="Super Cell over Eastern Plains of Boulder County Colorado." class="thickbox" rel="hdr-test" ><img title="evening-super-cell-06022008.jpg" alt="evening-super-cell-06022008.jpg" src="http://jeffbeard.org/wp-content/gallery/hdr-test/thumbs/thumbs_evening-super-cell-06022008.jpg" style="width:100px; height:75px;" /></a>
</div>
</div>
<div id="ngg-image-34" class="ngg-gallery-thumbnail-box ">
	<div class="ngg-gallery-thumbnail"  >
	<a href="http://jeffbeard.org/wp-content/gallery/hdr-test/bird-blind-2-photomatix.jpg" title="Barr Lake Colorado: Bird blind " class="thickbox" rel="hdr-test" ><img title="bird-blind-2-photomatix.jpg" alt="bird-blind-2-photomatix.jpg" src="http://jeffbeard.org/wp-content/gallery/hdr-test/thumbs/thumbs_bird-blind-2-photomatix.jpg" style="width:100px; height:75px;" /></a>
</div>
</div>
<div id="ngg-image-35" class="ngg-gallery-thumbnail-box ">
	<div class="ngg-gallery-thumbnail"  >
	<a href="http://jeffbeard.org/wp-content/gallery/hdr-test/bird-blind-1-photomatix.jpg" title="Barr Lake Colorado: Another bird blind" class="thickbox" rel="hdr-test" ><img title="bird-blind-1-photomatix.jpg" alt="bird-blind-1-photomatix.jpg" src="http://jeffbeard.org/wp-content/gallery/hdr-test/thumbs/thumbs_bird-blind-1-photomatix.jpg" style="width:100px; height:75px;" /></a>
</div>
</div>
</div>
<div class='ngg-clear'></div>
<p>(Note that I put in the two bird blind pictures as a comparison to those in my previous article, which were created with Photoshop.)</p>
<p>Anyway, the technique is reasonably straight forward with current technology and Photomatix. I have a Canon Rebel XTi which has an automatic bracketing feature that my friend <a title="Chris Masters" href="http://www.connectionresearch.com">Chris Masters</a> introduced me to yesterday. So I configured the camera to automatically set the exposure to -2, 0 and +2. It requires a tripod so don&#8217;t forget it if you plan to try this out.</p>
<p>I&#8217;m going to continue to experiment with this technique to refine my understanding of it but wow&#8230;it&#8217;s just amazing what can be done with digital photography even for someone getting started with it.</p>
]]></content:encoded>
			<wfw:commentRss>http://jeffbeard.org/2008/06/hdr-image-processing.html/feed</wfw:commentRss>
		</item>
	</channel>
</rss>
