<?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:geo="http://www.w3.org/2003/01/geo/wgs84_pos#" xmlns:feedburner="http://rssnamespace.org/feedburner/ext/1.0" version="2.0">

<channel>
	<title>devnulled</title>
	
	<link>http://devnulled.com</link>
	<description>words about things that software engineers enjoy</description>
	<lastBuildDate>Wed, 14 Mar 2012 06:09:45 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=</generator>
		<feedburner:info uri="devnulled" /><atom10:link xmlns:atom10="http://www.w3.org/2005/Atom" rel="hub" href="http://pubsubhubbub.appspot.com/" /><geo:lat>39.866785</geo:lat><geo:long>-105.041436</geo:long><atom10:link xmlns:atom10="http://www.w3.org/2005/Atom" rel="self" type="application/rss+xml" href="http://devnulled.com/feed/" /><feedburner:emailServiceId>Devnulled</feedburner:emailServiceId><feedburner:feedburnerHostname>http://feedburner.google.com</feedburner:feedburnerHostname><feedburner:feedFlare href="http://add.my.yahoo.com/rss?url=http%3A%2F%2Fdevnulled.com%2Ffeed%2F" src="http://us.i1.yimg.com/us.yimg.com/i/us/my/addtomyyahoo4.gif">Subscribe with My Yahoo!</feedburner:feedFlare><feedburner:feedFlare href="http://www.newsgator.com/ngs/subscriber/subext.aspx?url=http%3A%2F%2Fdevnulled.com%2Ffeed%2F" src="http://www.newsgator.com/images/ngsub1.gif">Subscribe with NewsGator</feedburner:feedFlare><feedburner:feedFlare href="http://feeds.my.aol.com/add.jsp?url=http%3A%2F%2Fdevnulled.com%2Ffeed%2F" src="http://o.aolcdn.com/favorites.my.aol.com/webmaster/ffclient/webroot/locale/en-US/images/myAOLButtonSmall.gif">Subscribe with My AOL</feedburner:feedFlare><feedburner:feedFlare href="http://www.bloglines.com/sub/http://devnulled.com/feed/" src="http://www.bloglines.com/images/sub_modern11.gif">Subscribe with Bloglines</feedburner:feedFlare><feedburner:feedFlare href="http://www.netvibes.com/subscribe.php?url=http%3A%2F%2Fdevnulled.com%2Ffeed%2F" src="http://www.netvibes.com/img/add2netvibes.gif">Subscribe with Netvibes</feedburner:feedFlare><feedburner:feedFlare href="http://fusion.google.com/add?feedurl=http%3A%2F%2Fdevnulled.com%2Ffeed%2F" src="http://buttons.googlesyndication.com/fusion/add.gif">Subscribe with Google</feedburner:feedFlare><feedburner:feedFlare href="http://www.pageflakes.com/subscribe.aspx?url=http%3A%2F%2Fdevnulled.com%2Ffeed%2F" src="http://www.pageflakes.com/ImageFile.ashx?instanceId=Static_4&amp;fileName=ATP_blu_91x17.gif">Subscribe with Pageflakes</feedburner:feedFlare><item>
		<title>Resources For Pitching GitHub Enterprise</title>
		<link>http://feedproxy.google.com/~r/Devnulled/~3/upN-lnkDXTA/</link>
		<comments>http://devnulled.com/resources-for-pitching-github-enterprise/#comments</comments>
		<pubDate>Wed, 14 Mar 2012 06:09:45 +0000</pubDate>
		<dc:creator>Brandon Harper</dc:creator>
				<category><![CDATA[Culture]]></category>
		<category><![CDATA[Tips, Hacks, & Tricks]]></category>
		<category><![CDATA[Tools]]></category>
		<category><![CDATA[Git]]></category>
		<category><![CDATA[GitHub]]></category>
		<category><![CDATA[GitHub Enterprise]]></category>
		<category><![CDATA[how to pitch github to your boss]]></category>
		<category><![CDATA[how to pitch github to your coworkers]]></category>
		<category><![CDATA[pitching github]]></category>
		<category><![CDATA[Wiki]]></category>

		<guid isPermaLink="false">http://devnulled.com/?p=1315</guid>
		<description>&lt;p&gt;Recently GitHub announced GitHub Enterprise, a way to have all of the goodness of GitHub behind your own companies firewall on your own servers. GitHub in general is an obvious win for developers, but when trying to pitch why it&amp;#8217;s &amp;#8230; &lt;a href="http://devnulled.com/resources-for-pitching-github-enterprise/"&gt;Continue reading &lt;span class="meta-nav"&gt;&amp;#8594;&lt;/span&gt;&lt;/a&gt;&lt;/p&gt;</description>
			<content:encoded><![CDATA[
<p><a href="http://feedads.g.doubleclick.net/~a/FnagLggQF-QhOEpf5Kj170LGW80/0/da"><img src="http://feedads.g.doubleclick.net/~a/FnagLggQF-QhOEpf5Kj170LGW80/0/di" border="0" ismap="true"></img></a><br/>
<a href="http://feedads.g.doubleclick.net/~a/FnagLggQF-QhOEpf5Kj170LGW80/1/da"><img src="http://feedads.g.doubleclick.net/~a/FnagLggQF-QhOEpf5Kj170LGW80/1/di" border="0" ismap="true"></img></a></p><p>Recently <a href="http://github.com">GitHub</a> announced <a href="https://enterprise.github.com/">GitHub Enterprise</a>, a way to have all of the goodness of GitHub behind your own companies firewall on your own servers.  GitHub in general is an obvious win for developers, but when trying to pitch why it&#8217;s so awesome to managers, execs, etc I was sort of at a loss as there isn&#8217;t currently much on the GHE site as far as features, etc.  I reached out to GitHub trainer <a href="http://ambientideas.com/blog/">Matthew McCullough</a> <a href="http://twitter.com/matthewmccull">@matthewmccull</a> for some ideas on features that I was not even aware of, and we came-up with a GitHub wiki page which outlines all of the various features we could think of that you would get over plain git hosting by using GitHub Enterprise:</p>
<p><a href="https://github.com/devnulled/sharing/wiki/GitHub-Enterprise">GitHub Enterprise</a></p>
<p>While this is the only thing I&#8217;m aware of to use to help you pitch GitHub Enterprise to your peers and superiors at the time of writing, I plan on this being a living entry and will update it as I&#8217;m made aware of more stuff.  If you know of other features, please update the Wiki entry above.  Also, if you have other resources to use for pitching GitHub, <a href="http://twitter.com/devnulled">contact me</a> and I will add them to this page.</p>
<div class="feedflare">
<a href="http://feeds.feedburner.com/~ff/Devnulled?a=upN-lnkDXTA:MRUlp7NKPYM:yIl2AUoC8zA"><img src="http://feeds.feedburner.com/~ff/Devnulled?d=yIl2AUoC8zA" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/Devnulled?a=upN-lnkDXTA:MRUlp7NKPYM:V_sGLiPBpWU"><img src="http://feeds.feedburner.com/~ff/Devnulled?i=upN-lnkDXTA:MRUlp7NKPYM:V_sGLiPBpWU" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/Devnulled?a=upN-lnkDXTA:MRUlp7NKPYM:F7zBnMyn0Lo"><img src="http://feeds.feedburner.com/~ff/Devnulled?i=upN-lnkDXTA:MRUlp7NKPYM:F7zBnMyn0Lo" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/Devnulled?a=upN-lnkDXTA:MRUlp7NKPYM:7Q72WNTAKBA"><img src="http://feeds.feedburner.com/~ff/Devnulled?d=7Q72WNTAKBA" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/Devnulled?a=upN-lnkDXTA:MRUlp7NKPYM:dnMXMwOfBR0"><img src="http://feeds.feedburner.com/~ff/Devnulled?d=dnMXMwOfBR0" border="0"></img></a>
</div><img src="http://feeds.feedburner.com/~r/Devnulled/~4/upN-lnkDXTA" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://devnulled.com/resources-for-pitching-github-enterprise/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://devnulled.com/resources-for-pitching-github-enterprise/</feedburner:origLink></item>
		<item>
		<title>CFAkismet Has Moved to GitHub</title>
		<link>http://feedproxy.google.com/~r/Devnulled/~3/XUhKwz9Rqzg/</link>
		<comments>http://devnulled.com/cfakismet-has-moved-to-github/#comments</comments>
		<pubDate>Wed, 14 Mar 2012 05:49:29 +0000</pubDate>
		<dc:creator>Brandon Harper</dc:creator>
				<category><![CDATA[Languages]]></category>
		<category><![CDATA[Site News]]></category>
		<category><![CDATA[Tools]]></category>
		<category><![CDATA[akismet]]></category>
		<category><![CDATA[cfakismet]]></category>
		<category><![CDATA[Git]]></category>
		<category><![CDATA[GitHub]]></category>

		<guid isPermaLink="false">http://devnulled.com/?p=1308</guid>
		<description>&lt;p&gt;This is just a quick note to mention that one of the first open source projects that I wrote, CFAkismet, the ColdFusion based Akismet client, has finally moved to GitHub. Read more about it&amp;#8217;s new location on the CFAkismet Project &amp;#8230; &lt;a href="http://devnulled.com/cfakismet-has-moved-to-github/"&gt;Continue reading &lt;span class="meta-nav"&gt;&amp;#8594;&lt;/span&gt;&lt;/a&gt;&lt;/p&gt;</description>
			<content:encoded><![CDATA[
<p><a href="http://feedads.g.doubleclick.net/~a/UUX-EFrlEJ9wvqTcT_E8Z0itNWw/0/da"><img src="http://feedads.g.doubleclick.net/~a/UUX-EFrlEJ9wvqTcT_E8Z0itNWw/0/di" border="0" ismap="true"></img></a><br/>
<a href="http://feedads.g.doubleclick.net/~a/UUX-EFrlEJ9wvqTcT_E8Z0itNWw/1/da"><img src="http://feedads.g.doubleclick.net/~a/UUX-EFrlEJ9wvqTcT_E8Z0itNWw/1/di" border="0" ismap="true"></img></a></p><p>This is just a quick note to mention that one of the first open source projects that I wrote, <a href="http://devnulled.com/software/cfakismet">CFAkismet</a>, the ColdFusion based Akismet client, has finally moved to GitHub. Read more about it&#8217;s new location on the <a href="http://devnulled.com/software/cfakismet">CFAkismet Project Page</a>. </p>
<div class="feedflare">
<a href="http://feeds.feedburner.com/~ff/Devnulled?a=XUhKwz9Rqzg:_Iw7x6JnHwg:yIl2AUoC8zA"><img src="http://feeds.feedburner.com/~ff/Devnulled?d=yIl2AUoC8zA" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/Devnulled?a=XUhKwz9Rqzg:_Iw7x6JnHwg:V_sGLiPBpWU"><img src="http://feeds.feedburner.com/~ff/Devnulled?i=XUhKwz9Rqzg:_Iw7x6JnHwg:V_sGLiPBpWU" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/Devnulled?a=XUhKwz9Rqzg:_Iw7x6JnHwg:F7zBnMyn0Lo"><img src="http://feeds.feedburner.com/~ff/Devnulled?i=XUhKwz9Rqzg:_Iw7x6JnHwg:F7zBnMyn0Lo" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/Devnulled?a=XUhKwz9Rqzg:_Iw7x6JnHwg:7Q72WNTAKBA"><img src="http://feeds.feedburner.com/~ff/Devnulled?d=7Q72WNTAKBA" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/Devnulled?a=XUhKwz9Rqzg:_Iw7x6JnHwg:dnMXMwOfBR0"><img src="http://feeds.feedburner.com/~ff/Devnulled?d=dnMXMwOfBR0" border="0"></img></a>
</div><img src="http://feeds.feedburner.com/~r/Devnulled/~4/XUhKwz9Rqzg" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://devnulled.com/cfakismet-has-moved-to-github/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://devnulled.com/cfakismet-has-moved-to-github/</feedburner:origLink></item>
		<item>
		<title>Six Steps For Troubleshooting Instability, Crashes and Freezes In Lion</title>
		<link>http://feedproxy.google.com/~r/Devnulled/~3/00LZ8Chzi3k/</link>
		<comments>http://devnulled.com/six-steps-for-troubleshooting-instability-crashes-and-freezes-in-lion/#comments</comments>
		<pubDate>Tue, 17 Jan 2012 16:19:10 +0000</pubDate>
		<dc:creator>Brandon Harper</dc:creator>
				<category><![CDATA[Operating Systems]]></category>
		<category><![CDATA[Tips, Hacks, & Tricks]]></category>
		<category><![CDATA[Apple Inc.]]></category>
		<category><![CDATA[Computing]]></category>
		<category><![CDATA[crashes]]></category>
		<category><![CDATA[freeze]]></category>
		<category><![CDATA[instability]]></category>
		<category><![CDATA[Lion]]></category>
		<category><![CDATA[mac os x]]></category>
		<category><![CDATA[Mac OS X Snow Leopard]]></category>
		<category><![CDATA[Mac OS X v10.5]]></category>
		<category><![CDATA[MacBook]]></category>
		<category><![CDATA[Macintosh]]></category>
		<category><![CDATA[macos]]></category>
		<category><![CDATA[operating-system]]></category>
		<category><![CDATA[Technology/Internet]]></category>

		<guid isPermaLink="false">http://devnulled.com/?p=1295</guid>
		<description>&lt;p&gt;My primary home machine as of this writing is a 2008 model MacBook Pro, and every since I have upgraded it to MacOS X Lion, I&amp;#8217;ve have had nothing but problems with it. I held of on upgrading until iOS &amp;#8230; &lt;a href="http://devnulled.com/six-steps-for-troubleshooting-instability-crashes-and-freezes-in-lion/"&gt;Continue reading &lt;span class="meta-nav"&gt;&amp;#8594;&lt;/span&gt;&lt;/a&gt;&lt;/p&gt;</description>
			<content:encoded><![CDATA[
<p><a href="http://feedads.g.doubleclick.net/~a/Jc1QUwS1MAdhvX6xldGuZLcpYas/0/da"><img src="http://feedads.g.doubleclick.net/~a/Jc1QUwS1MAdhvX6xldGuZLcpYas/0/di" border="0" ismap="true"></img></a><br/>
<a href="http://feedads.g.doubleclick.net/~a/Jc1QUwS1MAdhvX6xldGuZLcpYas/1/da"><img src="http://feedads.g.doubleclick.net/~a/Jc1QUwS1MAdhvX6xldGuZLcpYas/1/di" border="0" ismap="true"></img></a></p><p>My primary home machine as of this writing is a 2008 model MacBook Pro, and every since I have upgraded it to MacOS X Lion, I&#8217;ve have had nothing but problems with it.  I held of on upgrading until iOS 5 came-out, which then needed Lion for iCloud support.  I gave in and ended-up spending several months troubleshooting various problems to get my machine back into a usable state.</p>
<p>This blog post is not the end-all authorative information about how to fix instability problems in Lion, it is however a quick guide of things to check if you are an experienced Unix/MacOS user.  I don&#8217;t outline the steps down to the actions you must perform, it&#8217;s just an overview on what you should check.  There are no guarantees that any of this will fix your problems, and you should have an expert do this for you if any of this stuff is unfamilliar to you.</p>
<p><img src="http://cdn.devnulled.com/wp-content/uploads/2012/01/mac_os_x_2.jpg" alt="" title="Mac OS X Lion" width="600" height="307" class="aligncenter size-full wp-image-1300" /></p>
<p>Out of all of the things I read about people having problems with Lion, the culprit in at least 95% of the situations was old software interferring with Lion.  Given that I have taken my machine from Leopard, to Snow Leopard, to Lion, there were bound to be problems leftover from old software.</p>
<p>The most important thing I have learned in this process is that Lion is not an operating system you want to upgrade to because it has a lot of massive changes in it.  <strong>Do everything you can to only use Lion from a clean install.  I can&#8217;t stress this enough.</strong>  You will spend much less time getting your machine back to a usable state by doing a clean install than you would having to troubleshoot this stuff.  In hindsight I&#8217;m still at least a little bit glad I didn&#8217;t because I learned a lot in the process, and getting Lion usable again has been a frustrating but somewhat rewarding experience.</p>
<p>Now that I&#8217;ve got all of that out of the way, here are some of the steps you should do in order to figure out why your machine keeps locking up:</p>
<p><strong>1.  Review Log Files</strong></p>
<p>This is the quickest and most valuable step in figuring out what is going on.  If you&#8217;re lucky, there will be all kind of different traces of badness happening including kernel panics.  Google for anything suspicious you see in log files, and fix it if possible.</p>
<p><strong>2.  Make Sure Your Hardware Is In Good Working Order</strong></p>
<p>You could actually have some sort of hardware problem that is making Lion crash.  Maybe you have RAM that is not working correctly, a problem with your video card, etc.  Make sure your hardware is not an issue.</p>
<p><strong>3.  Repair Disk &#038; Disk Permissions</strong></p>
<p>This is a pretty good thing to do in general when you are having system problems.  It doesn&#8217;t take long to run, and it will almost always find something wrong, especially if you are experencing crashes.</p>
<p><strong>3.  Update/Uninstall Always Running Applications and Daemons</strong></p>
<p>Are you running up to date software for everything that runs at startup?  Some suspects would include software like Little Snitch and Dropbox.  This sort of software almost never updates itself automatically, so make sure you are running the latest versions of programs that run at start-up or as daemon processes.</p>
<p><strong>4.  Update Frequently Used Applications</strong></p>
<p>What programs do you usually have open when you experience a lock-up/crash?  You should probably make sure they are all the latest versions.  Run them one at a time and see which one causes Lion to crash.</p>
<p>For me, during troubleshooting I narrowed it down to Google Chrome.  I instead ran Firefox for awhile and the crashes went away.  Eventually I switched Chrome to the dev channel and it seemed to be stable, but I had already done a bunch of other stuff in the process so no idea if that was actually the fix or not.</p>
<p><strong>5.  Remove old Kernel Extensions</strong></p>
<p>This one is kind of nasty and you could end-up really hosing your system.  Be very careful while doing this.  I ended-up finding a very old Cisco VPN extension from 2007, and well as some library called &#8220;Soundflower&#8221; or something like that which was also incredibly out of date.</p>
<p><strong>6.  Do A Clean Install Of Lion</strong></p>
<p>If you&#8217;ve done all of the steps above and are still having problems, I would suggest a clean install of Lion.  If you continue to have problems even after a clean install, you likely have a hardware problem.</p>
<p>Honestly I&#8217;ve had an almost finished blog post in my drafts folder with a lot of bile and hate for Lion for at least a month or two after seemingly wasting so much time trying to figure out what the problem was.  However after running through all of these steps several times to make sure I didn&#8217;t miss anything, my old MacBook Pro from 2008 is stable again!</p>
<p>I can&#8217;t exactly point my finger at Apple for the problems I&#8217;ve had as I would say they were likely the fault of old software.  I have certainly not been that happy with them as of late, though.</p>
<div class="feedflare">
<a href="http://feeds.feedburner.com/~ff/Devnulled?a=00LZ8Chzi3k:odmyGZ60YFc:yIl2AUoC8zA"><img src="http://feeds.feedburner.com/~ff/Devnulled?d=yIl2AUoC8zA" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/Devnulled?a=00LZ8Chzi3k:odmyGZ60YFc:V_sGLiPBpWU"><img src="http://feeds.feedburner.com/~ff/Devnulled?i=00LZ8Chzi3k:odmyGZ60YFc:V_sGLiPBpWU" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/Devnulled?a=00LZ8Chzi3k:odmyGZ60YFc:F7zBnMyn0Lo"><img src="http://feeds.feedburner.com/~ff/Devnulled?i=00LZ8Chzi3k:odmyGZ60YFc:F7zBnMyn0Lo" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/Devnulled?a=00LZ8Chzi3k:odmyGZ60YFc:7Q72WNTAKBA"><img src="http://feeds.feedburner.com/~ff/Devnulled?d=7Q72WNTAKBA" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/Devnulled?a=00LZ8Chzi3k:odmyGZ60YFc:dnMXMwOfBR0"><img src="http://feeds.feedburner.com/~ff/Devnulled?d=dnMXMwOfBR0" border="0"></img></a>
</div><img src="http://feeds.feedburner.com/~r/Devnulled/~4/00LZ8Chzi3k" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://devnulled.com/six-steps-for-troubleshooting-instability-crashes-and-freezes-in-lion/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://devnulled.com/six-steps-for-troubleshooting-instability-crashes-and-freezes-in-lion/</feedburner:origLink></item>
		<item>
		<title>Coming Out of Hibernation</title>
		<link>http://feedproxy.google.com/~r/Devnulled/~3/_e2P-fKOdY4/</link>
		<comments>http://devnulled.com/coming-out-of-hibernation/#comments</comments>
		<pubDate>Sat, 31 Dec 2011 08:43:52 +0000</pubDate>
		<dc:creator>Brandon Harper</dc:creator>
				<category><![CDATA[Site News]]></category>

		<guid isPermaLink="false">http://devnulled.com/?p=963</guid>
		<description>&lt;p&gt;This site, to some degree, has been online since the first part of 2003. Given that it&amp;#8217;s almost 9 years old now, it certainly has some baggage associated with it. Over the past few years I&amp;#8217;ve been severely neglecting it; &amp;#8230; &lt;a href="http://devnulled.com/coming-out-of-hibernation/"&gt;Continue reading &lt;span class="meta-nav"&gt;&amp;#8594;&lt;/span&gt;&lt;/a&gt;&lt;/p&gt;</description>
			<content:encoded><![CDATA[
<p><a href="http://feedads.g.doubleclick.net/~a/kSitAdi8kI95CT6tfGUH8xMpM4Y/0/da"><img src="http://feedads.g.doubleclick.net/~a/kSitAdi8kI95CT6tfGUH8xMpM4Y/0/di" border="0" ismap="true"></img></a><br/>
<a href="http://feedads.g.doubleclick.net/~a/kSitAdi8kI95CT6tfGUH8xMpM4Y/1/da"><img src="http://feedads.g.doubleclick.net/~a/kSitAdi8kI95CT6tfGUH8xMpM4Y/1/di" border="0" ismap="true"></img></a></p><p>This site, to some degree, has been online since the first part of 2003.  Given that it&#8217;s almost 9 years old now, it certainly has some baggage associated with it.  Over the past few years I&#8217;ve been severely neglecting it; every since I lost a custom theme I&#8217;d coded by hand, I just never found one I was very happy with.  Also around the same time, I signed-up for Twitter, then left a job I had been at for 4 years to join a startup and things have just been crazy every since between my career and personal life.  I have about twice as many followers on Twitter than I do RSS readers of this blog, and it&#8217;s time to change that!</p>
<p>The state of my blog has been killing me and it was time to update it.  I&#8217;ve had the last week off of work and have spent a portion of it ripping the guts out of this blog and replacing them.  New theme, almost all new plugins, etc.  Other than starting off on a new blogging platform, it&#8217;s pretty much been done to this site.  I still have some editing and purging of old entries to do, but I wanted to iterate quickly and get something out the door TODAY.</p>
<p>I&#8217;m pretty pleased as to how it&#8217;s turned-out and plan on trying to blog more frequently.  If that doesn&#8217;t happen, I suppose I may as well shut it down or rethink it a bit.</p>
<div class="feedflare">
<a href="http://feeds.feedburner.com/~ff/Devnulled?a=_e2P-fKOdY4:1Z5EjVyK6TY:yIl2AUoC8zA"><img src="http://feeds.feedburner.com/~ff/Devnulled?d=yIl2AUoC8zA" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/Devnulled?a=_e2P-fKOdY4:1Z5EjVyK6TY:V_sGLiPBpWU"><img src="http://feeds.feedburner.com/~ff/Devnulled?i=_e2P-fKOdY4:1Z5EjVyK6TY:V_sGLiPBpWU" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/Devnulled?a=_e2P-fKOdY4:1Z5EjVyK6TY:F7zBnMyn0Lo"><img src="http://feeds.feedburner.com/~ff/Devnulled?i=_e2P-fKOdY4:1Z5EjVyK6TY:F7zBnMyn0Lo" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/Devnulled?a=_e2P-fKOdY4:1Z5EjVyK6TY:7Q72WNTAKBA"><img src="http://feeds.feedburner.com/~ff/Devnulled?d=7Q72WNTAKBA" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/Devnulled?a=_e2P-fKOdY4:1Z5EjVyK6TY:dnMXMwOfBR0"><img src="http://feeds.feedburner.com/~ff/Devnulled?d=dnMXMwOfBR0" border="0"></img></a>
</div><img src="http://feeds.feedburner.com/~r/Devnulled/~4/_e2P-fKOdY4" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://devnulled.com/coming-out-of-hibernation/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://devnulled.com/coming-out-of-hibernation/</feedburner:origLink></item>
		<item>
		<title>Hot Corners Stopped Working on Mac OS X</title>
		<link>http://feedproxy.google.com/~r/Devnulled/~3/n32PLBtY-J8/</link>
		<comments>http://devnulled.com/hot-corners-stopped-working-on-mac-os-x/#comments</comments>
		<pubDate>Fri, 04 Mar 2011 05:38:06 +0000</pubDate>
		<dc:creator>Brandon Harper</dc:creator>
				<category><![CDATA[Operating Systems]]></category>
		<category><![CDATA[apple]]></category>
		<category><![CDATA[hot corners]]></category>
		<category><![CDATA[hot corners broken]]></category>
		<category><![CDATA[mac]]></category>
		<category><![CDATA[mac os x]]></category>
		<category><![CDATA[macos]]></category>

		<guid isPermaLink="false">http://devnulled.com/?p=807</guid>
		<description>&lt;p&gt;Like many Mac users, I use hot corners to start my password protected screensaver when I&amp;#8217;m ready to walk away from my desk. Seemingly out of the blue, I was unable to use hot corners any longer. I tried changing &amp;#8230; &lt;a href="http://devnulled.com/hot-corners-stopped-working-on-mac-os-x/"&gt;Continue reading &lt;span class="meta-nav"&gt;&amp;#8594;&lt;/span&gt;&lt;/a&gt;&lt;/p&gt;</description>
			<content:encoded><![CDATA[
<p><a href="http://feedads.g.doubleclick.net/~a/iluuVC00ZK0G78yrpfer2eUSj1U/0/da"><img src="http://feedads.g.doubleclick.net/~a/iluuVC00ZK0G78yrpfer2eUSj1U/0/di" border="0" ismap="true"></img></a><br/>
<a href="http://feedads.g.doubleclick.net/~a/iluuVC00ZK0G78yrpfer2eUSj1U/1/da"><img src="http://feedads.g.doubleclick.net/~a/iluuVC00ZK0G78yrpfer2eUSj1U/1/di" border="0" ismap="true"></img></a></p><p>Like many Mac users, I use hot corners to start my password protected screensaver when I&#8217;m ready to walk away from my desk.  Seemingly out of the blue, I was unable to use hot corners any longer.  I tried changing the settings, added another hot corner, etc, and nothing seemed to work.  Finally after much googling I found a thread on apple.com with other people having the same problem.  Most of the solutions said to reboot which I didn&#8217;t really want to do, but eventually someone else found a way to fix the problem:</p>
<blockquote><p>
a) Open up Activity Monitor (/Applications/Utilities/Activity Monitor)</p>
<p>b) In the search filter type &#8220;Dock&#8221;</p>
<p>c) Select the item in the list who&#8217;s Process Name is &#8220;Dock&#8221;</p>
<p>d) Click on Quit Process.</p>
<p>The Dock and Expose will be restarted and the problem should be solved.
</p></blockquote>
<p>Give that a whirl and hot corners should start working again for you.</p>
<div class="feedflare">
<a href="http://feeds.feedburner.com/~ff/Devnulled?a=n32PLBtY-J8:7-ongHGBoxQ:yIl2AUoC8zA"><img src="http://feeds.feedburner.com/~ff/Devnulled?d=yIl2AUoC8zA" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/Devnulled?a=n32PLBtY-J8:7-ongHGBoxQ:V_sGLiPBpWU"><img src="http://feeds.feedburner.com/~ff/Devnulled?i=n32PLBtY-J8:7-ongHGBoxQ:V_sGLiPBpWU" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/Devnulled?a=n32PLBtY-J8:7-ongHGBoxQ:F7zBnMyn0Lo"><img src="http://feeds.feedburner.com/~ff/Devnulled?i=n32PLBtY-J8:7-ongHGBoxQ:F7zBnMyn0Lo" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/Devnulled?a=n32PLBtY-J8:7-ongHGBoxQ:7Q72WNTAKBA"><img src="http://feeds.feedburner.com/~ff/Devnulled?d=7Q72WNTAKBA" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/Devnulled?a=n32PLBtY-J8:7-ongHGBoxQ:dnMXMwOfBR0"><img src="http://feeds.feedburner.com/~ff/Devnulled?d=dnMXMwOfBR0" border="0"></img></a>
</div><img src="http://feeds.feedburner.com/~r/Devnulled/~4/n32PLBtY-J8" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://devnulled.com/hot-corners-stopped-working-on-mac-os-x/feed/</wfw:commentRss>
		<slash:comments>5</slash:comments>
		<feedburner:origLink>http://devnulled.com/hot-corners-stopped-working-on-mac-os-x/</feedburner:origLink></item>
		<item>
		<title>Running Jetty 7 on Port 80 With Maven</title>
		<link>http://feedproxy.google.com/~r/Devnulled/~3/mqew2nDLhCM/</link>
		<comments>http://devnulled.com/running-jetty-7-on-port-80-with-maven/#comments</comments>
		<pubDate>Wed, 18 Aug 2010 06:20:43 +0000</pubDate>
		<dc:creator>Brandon Harper</dc:creator>
				<category><![CDATA[Culture]]></category>
		<category><![CDATA[Languages]]></category>
		<category><![CDATA[Operating Systems]]></category>
		<category><![CDATA[Servers]]></category>
		<category><![CDATA[Tips, Hacks, & Tricks]]></category>
		<category><![CDATA[Tools]]></category>
		<category><![CDATA[eclipse]]></category>
		<category><![CDATA[jetty]]></category>
		<category><![CDATA[jetty 7]]></category>
		<category><![CDATA[jetty connector]]></category>
		<category><![CDATA[Maven]]></category>
		<category><![CDATA[mvn]]></category>
		<category><![CDATA[mvn jetty:run]]></category>
		<category><![CDATA[port 80]]></category>

		<guid isPermaLink="false">http://devnulled.com/?p=795</guid>
		<description>&lt;p&gt;I think Jetty is one of the best kept secrets in the Java world, in particular for getting a quick container up and running with full integration with Maven for local testing of Java based web applications. I was doing &amp;#8230; &lt;a href="http://devnulled.com/running-jetty-7-on-port-80-with-maven/"&gt;Continue reading &lt;span class="meta-nav"&gt;&amp;#8594;&lt;/span&gt;&lt;/a&gt;&lt;/p&gt;</description>
			<content:encoded><![CDATA[
<p><a href="http://feedads.g.doubleclick.net/~a/ObvTWyRegXXzYhytoUduOj1VnCU/0/da"><img src="http://feedads.g.doubleclick.net/~a/ObvTWyRegXXzYhytoUduOj1VnCU/0/di" border="0" ismap="true"></img></a><br/>
<a href="http://feedads.g.doubleclick.net/~a/ObvTWyRegXXzYhytoUduOj1VnCU/1/da"><img src="http://feedads.g.doubleclick.net/~a/ObvTWyRegXXzYhytoUduOj1VnCU/1/di" border="0" ismap="true"></img></a></p><p>I think <a href="http://www.eclipse.org/jetty/">Jetty</a> is one of the best kept secrets in the Java world, in particular for getting a quick container up and running with full integration with <a href="http://maven.apache.org/">Maven</a> for local testing of Java based web applications.  I was doing a non-stock configuration of Jetty 7 and Maven today which took way too much Googling to get working (mostly to custom configure the connector), so I thought I'd document the process for those looking for the same thing.  If you're looking how to get Jetty 7 working on Port 80 (particularly on Linux or OS X) with Maven, you're in the right place.  As of the time of writing, the latest stable release of Jetty looks to be 7.1.6.v20100715.</p>
<p>The three minor hurdles to configuring Jetty 7 and Maven are making sure port 80 is not already taken, getting the right connector implementation configured, and running Maven as sudo so that Jetty has permission to run on Port 80.  In OS X, you can see if anything is already running on port 80 by running the following command from Terminal:</p>
<div class="igBar"><span id="lcode-4"><a href="#" onclick="javascript:showCodeTxt('code-4'); return false;">PLAIN TEXT</a></span></div>
<div class="syntax_hilite"><span class="langName">CODE:</span>
<div id="code-4">
<div class="code">
<ol>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">sudo lsof -i -P | grep -i listen </div>
</li>
</ol>
</div>
</div>
</div>
<p></p>
<p>If you're on OS X and see something running on Port 80 yet you didn't install a webserver, chances are it's Sharing.  Go to System Preferences > Sharing and disable it.  Otherwise, figure out what process is running on port 80 and make it go away.</p>
<p>Now to configure the Jetty Maven plug-in, here is what my configuration looks like which you should replicate in your pom.xml under the plugins section (and adjust to your particular directory structure and desired context):</p>
<div class="igBar"><span id="lcode-5"><a href="#" onclick="javascript:showCodeTxt('code-5'); return false;">PLAIN TEXT</a></span></div>
<div class="syntax_hilite"><span class="langName">CODE:</span>
<div id="code-5">
<div class="code">
<ol>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&lt;plugin&gt;</div>
</li>
<li style="font-weight: bold;color:#26536A;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp; &nbsp; &lt;groupid&gt;org.<span style="">mortbay</span>.<span style="">jetty</span>&lt;/groupid&gt;</div>
</li>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp; &nbsp; &lt;artifactid&gt;jetty-maven-plugin&lt;/artifactid&gt;</div>
</li>
<li style="font-weight: bold;color:#26536A;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp; &nbsp; &lt;version&gt;<span style="color:#800000;color:#800000;">7</span>.<span style="color:#800000;color:#800000;">1</span>.<span style="color:#800000;color:#800000;">6</span>.<span style="">v20100715</span>&lt;/version&gt;</div>
</li>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp; &nbsp; &lt;configuration&gt;</div>
</li>
<li style="font-weight: bold;color:#26536A;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp; &nbsp; &nbsp; &nbsp; &lt;connectors&gt;</div>
</li>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;connector implementation=<span style="color:#CC0000;">"org.eclipse.jetty.server.nio.SelectChannelConnector"</span>&gt;</div>
</li>
<li style="font-weight: bold;color:#26536A;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;port&gt;<span style="color:#800000;color:#800000;">80</span>&lt;/port&gt;</div>
</li>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;/connector&gt;</div>
</li>
<li style="font-weight: bold;color:#26536A;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp; &nbsp; &nbsp; &nbsp; &lt;/connectors&gt;</div>
</li>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp; &nbsp; &nbsp; &nbsp; &lt;webappsourcedirectory&gt;$<span style="color:#006600; font-weight:bold;">&#123;</span>basedir<span style="color:#006600; font-weight:bold;">&#125;</span>/resources/war&lt;/webappsourcedirectory&gt;</div>
</li>
<li style="font-weight: bold;color:#26536A;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp; &nbsp; &nbsp; &nbsp; &lt;scanintervalseconds&gt;<span style="color:#800000;color:#800000;">10</span>&lt;/scanintervalseconds&gt;</div>
</li>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp; &nbsp; &nbsp; &nbsp; &lt;webappconfig&gt;</div>
</li>
<li style="font-weight: bold;color:#26536A;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;contextpath&gt;/&lt;/contextpath&gt;</div>
</li>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp; &nbsp; &nbsp; &nbsp; &lt;/webappconfig&gt;</div>
</li>
<li style="font-weight: bold;color:#26536A;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp; &nbsp; &lt;/configuration&gt;</div>
</li>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&lt;/plugin&gt; </div>
</li>
</ol>
</div>
</div>
</div>
<p></p>
<p>One of the difficulties I encountered was getting the connector working correctly.  Since Maven has moved to be an Eclipse project, the package structure for the connector has changed and thus the reason most of the existing documentation on getting custom connectors to work did not work for me.</p>
<p>The last remaining hurdle to overcome is that running a standard “mvn jetty:run” doesn't work on OS X (and likely Linux as well). You'll see the error message “Embedded error: Permission denied”.  If you run Maven with error stacktraces enabled, you'll see an exception that looks like this:</p>
<div class="igBar"><span id="lcode-6"><a href="#" onclick="javascript:showCodeTxt('code-6'); return false;">PLAIN TEXT</a></span></div>
<div class="syntax_hilite"><span class="langName">CODE:</span>
<div id="code-6">
<div class="code">
<ol>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;"><span style="color:#006600; font-weight:bold;">&#91;</span>INFO<span style="color:#006600; font-weight:bold;">&#93;</span> Jetty server exiting.</div>
</li>
<li style="font-weight: bold;color:#26536A;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;"><span style="color:#006600; font-weight:bold;">&#91;</span>INFO<span style="color:#006600; font-weight:bold;">&#93;</span> ------------------------------------------------------------------------</div>
</li>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;"><span style="color:#006600; font-weight:bold;">&#91;</span>ERROR<span style="color:#006600; font-weight:bold;">&#93;</span> BUILD ERROR</div>
</li>
<li style="font-weight: bold;color:#26536A;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;"><span style="color:#006600; font-weight:bold;">&#91;</span>INFO<span style="color:#006600; font-weight:bold;">&#93;</span> ------------------------------------------------------------------------</div>
</li>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;"><span style="color:#006600; font-weight:bold;">&#91;</span>INFO<span style="color:#006600; font-weight:bold;">&#93;</span> Failure</div>
</li>
<li style="font-weight: bold;color:#26536A;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp;</div>
</li>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">Embedded error: Permission denied</div>
</li>
<li style="font-weight: bold;color:#26536A;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;"><span style="color:#006600; font-weight:bold;">&#91;</span>INFO<span style="color:#006600; font-weight:bold;">&#93;</span> ------------------------------------------------------------------------</div>
</li>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;"><span style="color:#006600; font-weight:bold;">&#91;</span>INFO<span style="color:#006600; font-weight:bold;">&#93;</span> Trace</div>
</li>
<li style="font-weight: bold;color:#26536A;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">org.<span style="">apache</span>.<span style="">maven</span>.<span style="">lifecycle</span>.<span style="">LifecycleExecutionException</span>: Failure</div>
</li>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp; &nbsp; at org.<span style="">apache</span>.<span style="">maven</span>.<span style="">lifecycle</span>.<span style="">DefaultLifecycleExecutor</span>.<span style="">executeGoals</span><span style="color:#006600; font-weight:bold;">&#40;</span>DefaultLifecycleExecutor.<span style="">java</span>:<span style="color:#800000;color:#800000;">719</span><span style="color:#006600; font-weight:bold;">&#41;</span></div>
</li>
<li style="font-weight: bold;color:#26536A;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp; &nbsp; at org.<span style="">apache</span>.<span style="">maven</span>.<span style="">lifecycle</span>.<span style="">DefaultLifecycleExecutor</span>.<span style="">executeStandaloneGoal</span><span style="color:#006600; font-weight:bold;">&#40;</span>DefaultLifecycleExecutor.<span style="">java</span>:<span style="color:#800000;color:#800000;">569</span><span style="color:#006600; font-weight:bold;">&#41;</span></div>
</li>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp; &nbsp; at org.<span style="">apache</span>.<span style="">maven</span>.<span style="">lifecycle</span>.<span style="">DefaultLifecycleExecutor</span>.<span style="">executeGoal</span><span style="color:#006600; font-weight:bold;">&#40;</span>DefaultLifecycleExecutor.<span style="">java</span>:<span style="color:#800000;color:#800000;">539</span><span style="color:#006600; font-weight:bold;">&#41;</span></div>
</li>
<li style="font-weight: bold;color:#26536A;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp; &nbsp; at org.<span style="">apache</span>.<span style="">maven</span>.<span style="">lifecycle</span>.<span style="">DefaultLifecycleExecutor</span>.<span style="">executeGoalAndHandleFailures</span><span style="color:#006600; font-weight:bold;">&#40;</span>DefaultLifecycleExecutor.<span style="">java</span>:<span style="color:#800000;color:#800000;">387</span><span style="color:#006600; font-weight:bold;">&#41;</span></div>
</li>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp; &nbsp; at org.<span style="">apache</span>.<span style="">maven</span>.<span style="">lifecycle</span>.<span style="">DefaultLifecycleExecutor</span>.<span style="">executeTaskSegments</span><span style="color:#006600; font-weight:bold;">&#40;</span>DefaultLifecycleExecutor.<span style="">java</span>:<span style="color:#800000;color:#800000;">348</span><span style="color:#006600; font-weight:bold;">&#41;</span></div>
</li>
<li style="font-weight: bold;color:#26536A;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp; &nbsp; at org.<span style="">apache</span>.<span style="">maven</span>.<span style="">lifecycle</span>.<span style="">DefaultLifecycleExecutor</span>.<span style="">execute</span><span style="color:#006600; font-weight:bold;">&#40;</span>DefaultLifecycleExecutor.<span style="">java</span>:<span style="color:#800000;color:#800000;">180</span><span style="color:#006600; font-weight:bold;">&#41;</span></div>
</li>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp; &nbsp; at org.<span style="">apache</span>.<span style="">maven</span>.<span style="">DefaultMaven</span>.<span style="">doExecute</span><span style="color:#006600; font-weight:bold;">&#40;</span>DefaultMaven.<span style="">java</span>:<span style="color:#800000;color:#800000;">328</span><span style="color:#006600; font-weight:bold;">&#41;</span></div>
</li>
<li style="font-weight: bold;color:#26536A;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp; &nbsp; at org.<span style="">apache</span>.<span style="">maven</span>.<span style="">DefaultMaven</span>.<span style="">execute</span><span style="color:#006600; font-weight:bold;">&#40;</span>DefaultMaven.<span style="">java</span>:<span style="color:#800000;color:#800000;">138</span><span style="color:#006600; font-weight:bold;">&#41;</span></div>
</li>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp; &nbsp; at org.<span style="">apache</span>.<span style="">maven</span>.<span style="">cli</span>.<span style="">MavenCli</span>.<span style="">main</span><span style="color:#006600; font-weight:bold;">&#40;</span>MavenCli.<span style="">java</span>:<span style="color:#800000;color:#800000;">362</span><span style="color:#006600; font-weight:bold;">&#41;</span></div>
</li>
<li style="font-weight: bold;color:#26536A;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp; &nbsp; at org.<span style="">apache</span>.<span style="">maven</span>.<span style="">cli</span>.<span style="">compat</span>.<span style="">CompatibleMain</span>.<span style="">main</span><span style="color:#006600; font-weight:bold;">&#40;</span>CompatibleMain.<span style="">java</span>:<span style="color:#800000;color:#800000;">60</span><span style="color:#006600; font-weight:bold;">&#41;</span></div>
</li>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp; &nbsp; at sun.<span style="">reflect</span>.<span style="">NativeMethodAccessorImpl</span>.<span style="">invoke0</span><span style="color:#006600; font-weight:bold;">&#40;</span>Native Method<span style="color:#006600; font-weight:bold;">&#41;</span></div>
</li>
<li style="font-weight: bold;color:#26536A;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp; &nbsp; at sun.<span style="">reflect</span>.<span style="">NativeMethodAccessorImpl</span>.<span style="">invoke</span><span style="color:#006600; font-weight:bold;">&#40;</span>NativeMethodAccessorImpl.<span style="">java</span>:<span style="color:#800000;color:#800000;">39</span><span style="color:#006600; font-weight:bold;">&#41;</span></div>
</li>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp; &nbsp; at sun.<span style="">reflect</span>.<span style="">DelegatingMethodAccessorImpl</span>.<span style="">invoke</span><span style="color:#006600; font-weight:bold;">&#40;</span>DelegatingMethodAccessorImpl.<span style="">java</span>:<span style="color:#800000;color:#800000;">25</span><span style="color:#006600; font-weight:bold;">&#41;</span></div>
</li>
<li style="font-weight: bold;color:#26536A;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp; &nbsp; at java.<span style="">lang</span>.<span style="">reflect</span>.<span style="">Method</span>.<span style="">invoke</span><span style="color:#006600; font-weight:bold;">&#40;</span>Method.<span style="">java</span>:<span style="color:#800000;color:#800000;">597</span><span style="color:#006600; font-weight:bold;">&#41;</span></div>
</li>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp; &nbsp; at org.<span style="">codehaus</span>.<span style="">classworlds</span>.<span style="">Launcher</span>.<span style="">launchEnhanced</span><span style="color:#006600; font-weight:bold;">&#40;</span>Launcher.<span style="">java</span>:<span style="color:#800000;color:#800000;">315</span><span style="color:#006600; font-weight:bold;">&#41;</span></div>
</li>
<li style="font-weight: bold;color:#26536A;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp; &nbsp; at org.<span style="">codehaus</span>.<span style="">classworlds</span>.<span style="">Launcher</span>.<span style="">launch</span><span style="color:#006600; font-weight:bold;">&#40;</span>Launcher.<span style="">java</span>:<span style="color:#800000;color:#800000;">255</span><span style="color:#006600; font-weight:bold;">&#41;</span></div>
</li>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp; &nbsp; at org.<span style="">codehaus</span>.<span style="">classworlds</span>.<span style="">Launcher</span>.<span style="">mainWithExitCode</span><span style="color:#006600; font-weight:bold;">&#40;</span>Launcher.<span style="">java</span>:<span style="color:#800000;color:#800000;">430</span><span style="color:#006600; font-weight:bold;">&#41;</span></div>
</li>
<li style="font-weight: bold;color:#26536A;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp; &nbsp; at org.<span style="">codehaus</span>.<span style="">classworlds</span>.<span style="">Launcher</span>.<span style="">main</span><span style="color:#006600; font-weight:bold;">&#40;</span>Launcher.<span style="">java</span>:<span style="color:#800000;color:#800000;">375</span><span style="color:#006600; font-weight:bold;">&#41;</span></div>
</li>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">Caused by: org.<span style="">apache</span>.<span style="">maven</span>.<span style="">plugin</span>.<span style="">MojoExecutionException</span>: Failure</div>
</li>
<li style="font-weight: bold;color:#26536A;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp; &nbsp; at org.<span style="">mortbay</span>.<span style="">jetty</span>.<span style="">plugin</span>.<span style="">AbstractJettyMojo</span>.<span style="">startJetty</span><span style="color:#006600; font-weight:bold;">&#40;</span>AbstractJettyMojo.<span style="">java</span>:<span style="color:#800000;color:#800000;">462</span><span style="color:#006600; font-weight:bold;">&#41;</span></div>
</li>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp; &nbsp; at org.<span style="">mortbay</span>.<span style="">jetty</span>.<span style="">plugin</span>.<span style="">AbstractJettyMojo</span>.<span style="">execute</span><span style="color:#006600; font-weight:bold;">&#40;</span>AbstractJettyMojo.<span style="">java</span>:<span style="color:#800000;color:#800000;">377</span><span style="color:#006600; font-weight:bold;">&#41;</span></div>
</li>
<li style="font-weight: bold;color:#26536A;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp; &nbsp; at org.<span style="">mortbay</span>.<span style="">jetty</span>.<span style="">plugin</span>.<span style="">JettyRunMojo</span>.<span style="">execute</span><span style="color:#006600; font-weight:bold;">&#40;</span>JettyRunMojo.<span style="">java</span>:<span style="color:#800000;color:#800000;">577</span><span style="color:#006600; font-weight:bold;">&#41;</span></div>
</li>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp; &nbsp; at org.<span style="">apache</span>.<span style="">maven</span>.<span style="">plugin</span>.<span style="">DefaultPluginManager</span>.<span style="">executeMojo</span><span style="color:#006600; font-weight:bold;">&#40;</span>DefaultPluginManager.<span style="">java</span>:<span style="color:#800000;color:#800000;">490</span><span style="color:#006600; font-weight:bold;">&#41;</span></div>
</li>
<li style="font-weight: bold;color:#26536A;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp; &nbsp; at org.<span style="">apache</span>.<span style="">maven</span>.<span style="">lifecycle</span>.<span style="">DefaultLifecycleExecutor</span>.<span style="">executeGoals</span><span style="color:#006600; font-weight:bold;">&#40;</span>DefaultLifecycleExecutor.<span style="">java</span>:<span style="color:#800000;color:#800000;">694</span><span style="color:#006600; font-weight:bold;">&#41;</span></div>
</li>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp; &nbsp; ... <span style="color:#800000;color:#800000;">17</span> more</div>
</li>
<li style="font-weight: bold;color:#26536A;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">Caused by: java.<span style="">net</span>.<span style="">SocketException</span>: Permission denied</div>
</li>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp; &nbsp; at sun.<span style="">nio</span>.<span style="">ch</span>.<span style="">Net</span>.<span style="">bind</span><span style="color:#006600; font-weight:bold;">&#40;</span>Native Method<span style="color:#006600; font-weight:bold;">&#41;</span></div>
</li>
<li style="font-weight: bold;color:#26536A;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp; &nbsp; at sun.<span style="">nio</span>.<span style="">ch</span>.<span style="">ServerSocketChannelImpl</span>.<span style="">bind</span><span style="color:#006600; font-weight:bold;">&#40;</span>ServerSocketChannelImpl.<span style="">java</span>:<span style="color:#800000;color:#800000;">119</span><span style="color:#006600; font-weight:bold;">&#41;</span></div>
</li>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp; &nbsp; at sun.<span style="">nio</span>.<span style="">ch</span>.<span style="">ServerSocketAdaptor</span>.<span style="">bind</span><span style="color:#006600; font-weight:bold;">&#40;</span>ServerSocketAdaptor.<span style="">java</span>:<span style="color:#800000;color:#800000;">59</span><span style="color:#006600; font-weight:bold;">&#41;</span></div>
</li>
<li style="font-weight: bold;color:#26536A;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp; &nbsp; at org.<span style="">eclipse</span>.<span style="">jetty</span>.<span style="">server</span>.<span style="">nio</span>.<span style="">SelectChannelConnector</span>.<span style="">open</span><span style="color:#006600; font-weight:bold;">&#40;</span>SelectChannelConnector.<span style="">java</span>:<span style="color:#800000;color:#800000;">209</span><span style="color:#006600; font-weight:bold;">&#41;</span></div>
</li>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp; &nbsp; at org.<span style="">eclipse</span>.<span style="">jetty</span>.<span style="">server</span>.<span style="">nio</span>.<span style="">SelectChannelConnector</span>.<span style="">doStart</span><span style="color:#006600; font-weight:bold;">&#40;</span>SelectChannelConnector.<span style="">java</span>:<span style="color:#800000;color:#800000;">289</span><span style="color:#006600; font-weight:bold;">&#41;</span></div>
</li>
<li style="font-weight: bold;color:#26536A;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp; &nbsp; at org.<span style="">eclipse</span>.<span style="">jetty</span>.<span style="">util</span>.<span style="">component</span>.<span style="">AbstractLifeCycle</span>.<span style="">start</span><span style="color:#006600; font-weight:bold;">&#40;</span>AbstractLifeCycle.<span style="">java</span>:<span style="color:#800000;color:#800000;">55</span><span style="color:#006600; font-weight:bold;">&#41;</span></div>
</li>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp; &nbsp; at org.<span style="">eclipse</span>.<span style="">jetty</span>.<span style="">server</span>.<span style="">Server</span>.<span style="">doStart</span><span style="color:#006600; font-weight:bold;">&#40;</span>Server.<span style="">java</span>:<span style="color:#800000;color:#800000;">253</span><span style="color:#006600; font-weight:bold;">&#41;</span></div>
</li>
<li style="font-weight: bold;color:#26536A;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp; &nbsp; at org.<span style="">mortbay</span>.<span style="">jetty</span>.<span style="">plugin</span>.<span style="">JettyServer</span>.<span style="">doStart</span><span style="color:#006600; font-weight:bold;">&#40;</span>JettyServer.<span style="">java</span>:<span style="color:#800000;color:#800000;">67</span><span style="color:#006600; font-weight:bold;">&#41;</span></div>
</li>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp; &nbsp; at org.<span style="">eclipse</span>.<span style="">jetty</span>.<span style="">util</span>.<span style="">component</span>.<span style="">AbstractLifeCycle</span>.<span style="">start</span><span style="color:#006600; font-weight:bold;">&#40;</span>AbstractLifeCycle.<span style="">java</span>:<span style="color:#800000;color:#800000;">55</span><span style="color:#006600; font-weight:bold;">&#41;</span></div>
</li>
<li style="font-weight: bold;color:#26536A;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp; &nbsp; at org.<span style="">mortbay</span>.<span style="">jetty</span>.<span style="">plugin</span>.<span style="">AbstractJettyMojo</span>.<span style="">startJetty</span><span style="color:#006600; font-weight:bold;">&#40;</span>AbstractJettyMojo.<span style="">java</span>:<span style="color:#800000;color:#800000;">437</span><span style="color:#006600; font-weight:bold;">&#41;</span></div>
</li>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp; &nbsp; ... <span style="color:#800000;color:#800000;">21</span> more </div>
</li>
</ol>
</div>
</div>
</div>
<p></p>
<p>This is because you need elevated permissions to run applications on lower ports on *nix based systems.  Simply run it as sudo, “sudo mvn jetty:run” and you'll be good to go.</p>
<p>Not a terribly tough problem to overcome on your own, but I thought I'd try and try to save someone some time if they run across the same issues.</p>
<div class="feedflare">
<a href="http://feeds.feedburner.com/~ff/Devnulled?a=mqew2nDLhCM:73cLk8Br82Y:yIl2AUoC8zA"><img src="http://feeds.feedburner.com/~ff/Devnulled?d=yIl2AUoC8zA" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/Devnulled?a=mqew2nDLhCM:73cLk8Br82Y:V_sGLiPBpWU"><img src="http://feeds.feedburner.com/~ff/Devnulled?i=mqew2nDLhCM:73cLk8Br82Y:V_sGLiPBpWU" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/Devnulled?a=mqew2nDLhCM:73cLk8Br82Y:F7zBnMyn0Lo"><img src="http://feeds.feedburner.com/~ff/Devnulled?i=mqew2nDLhCM:73cLk8Br82Y:F7zBnMyn0Lo" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/Devnulled?a=mqew2nDLhCM:73cLk8Br82Y:7Q72WNTAKBA"><img src="http://feeds.feedburner.com/~ff/Devnulled?d=7Q72WNTAKBA" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/Devnulled?a=mqew2nDLhCM:73cLk8Br82Y:dnMXMwOfBR0"><img src="http://feeds.feedburner.com/~ff/Devnulled?d=dnMXMwOfBR0" border="0"></img></a>
</div><img src="http://feeds.feedburner.com/~r/Devnulled/~4/mqew2nDLhCM" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://devnulled.com/running-jetty-7-on-port-80-with-maven/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://devnulled.com/running-jetty-7-on-port-80-with-maven/</feedburner:origLink></item>
		<item>
		<title>The Most Efficent Way to Increment A Map Value in Java</title>
		<link>http://feedproxy.google.com/~r/Devnulled/~3/D7gIis5fgPU/</link>
		<comments>http://devnulled.com/the-most-efficent-way-to-increment-a-map-value-in-java/#comments</comments>
		<pubDate>Tue, 22 Sep 2009 19:47:26 +0000</pubDate>
		<dc:creator>Brandon Harper</dc:creator>
				<category><![CDATA[Culture]]></category>
		<category><![CDATA[Languages]]></category>
		<category><![CDATA[Tips, Hacks, & Tricks]]></category>
		<category><![CDATA[efficent]]></category>
		<category><![CDATA[increment]]></category>
		<category><![CDATA[increment value]]></category>
		<category><![CDATA[Java]]></category>
		<category><![CDATA[map]]></category>
		<category><![CDATA[performance]]></category>
		<category><![CDATA[value]]></category>

		<guid isPermaLink="false">http://devnulled.com/?p=768</guid>
		<description>&lt;p&gt;Finding myself in a situation of needing to increment values in a map in Java, I was curious to see what the most efficient way to do so. Said piece of code will be looped over thousands of times and &amp;#8230; &lt;a href="http://devnulled.com/the-most-efficent-way-to-increment-a-map-value-in-java/"&gt;Continue reading &lt;span class="meta-nav"&gt;&amp;#8594;&lt;/span&gt;&lt;/a&gt;&lt;/p&gt;</description>
			<content:encoded><![CDATA[
<p><a href="http://feedads.g.doubleclick.net/~a/bIQUHOGsy1gRbg1qsrrgtlbK6hw/0/da"><img src="http://feedads.g.doubleclick.net/~a/bIQUHOGsy1gRbg1qsrrgtlbK6hw/0/di" border="0" ismap="true"></img></a><br/>
<a href="http://feedads.g.doubleclick.net/~a/bIQUHOGsy1gRbg1qsrrgtlbK6hw/1/da"><img src="http://feedads.g.doubleclick.net/~a/bIQUHOGsy1gRbg1qsrrgtlbK6hw/1/di" border="0" ismap="true"></img></a></p><p>Finding myself in a situation of needing to increment values in a map in Java, I was curious to see what the most efficient way to do so.  Said piece of code will be looped over thousands of times and I wanted it to run as quickly possible.  Yes, I know that pre-optimization is the root of all evil, but in this case it was something I needed to be conscious of.</p>
<p>I found a <a href="http://stackoverflow.com/questions/81346/most-efficient-way-to-increment-a-map-value-in-java">question/thread on StackOverflow</a> where someone else had already pondered the same thing and got a long list of possible answers to compare to each other, including using <a href="http://commons.apache.org/">Apache Commons</a> and the <a href="http://code.google.com/p/google-collections/">Google Collections Library</a>.   After testing all of them, the fastest way ended-up being implementing a "MutableInt" class and using it as the value data type in the map:</p>
<div class="igBar"><span id="lcode-8"><a href="#" onclick="javascript:showCodeTxt('code-8'); return false;">PLAIN TEXT</a></span></div>
<div class="syntax_hilite"><span class="langName">CODE:</span>
<div id="code-8">
<div class="code">
<ol>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">class MutableInt <span style="color:#006600; font-weight:bold;">&#123;</span></div>
</li>
<li style="font-weight: bold;color:#26536A;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp; int value = <span style="color:#800000;color:#800000;">0</span>;</div>
</li>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp; public void inc <span style="color:#006600; font-weight:bold;">&#40;</span><span style="color:#006600; font-weight:bold;">&#41;</span> <span style="color:#006600; font-weight:bold;">&#123;</span> ++value; <span style="color:#006600; font-weight:bold;">&#125;</span></div>
</li>
<li style="font-weight: bold;color:#26536A;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp; public int get <span style="color:#006600; font-weight:bold;">&#40;</span><span style="color:#006600; font-weight:bold;">&#41;</span> <span style="color:#006600; font-weight:bold;">&#123;</span> return value; <span style="color:#006600; font-weight:bold;">&#125;</span></div>
</li>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;"><span style="color:#006600; font-weight:bold;">&#125;</span></div>
</li>
<li style="font-weight: bold;color:#26536A;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp;</div>
</li>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">Map&lt;string ,MutableInt&gt; map = new HashMap&lt;string ,MutableInt&gt;<span style="color:#006600; font-weight:bold;">&#40;</span><span style="color:#006600; font-weight:bold;">&#41;</span>;</div>
</li>
<li style="font-weight: bold;color:#26536A;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">MutableInt value = map.<span style="">get</span> <span style="color:#006600; font-weight:bold;">&#40;</span>key<span style="color:#006600; font-weight:bold;">&#41;</span>;</div>
</li>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">if <span style="color:#006600; font-weight:bold;">&#40;</span>value == null<span style="color:#006600; font-weight:bold;">&#41;</span> <span style="color:#006600; font-weight:bold;">&#123;</span></div>
</li>
<li style="font-weight: bold;color:#26536A;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp; value = new MutableInt <span style="color:#006600; font-weight:bold;">&#40;</span><span style="color:#006600; font-weight:bold;">&#41;</span>;</div>
</li>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp; map.<span style="">put</span> <span style="color:#006600; font-weight:bold;">&#40;</span>key, value<span style="color:#006600; font-weight:bold;">&#41;</span>;</div>
</li>
<li style="font-weight: bold;color:#26536A;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;"><span style="color:#006600; font-weight:bold;">&#125;</span></div>
</li>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp;</div>
</li>
<li style="font-weight: bold;color:#26536A;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">value.<span style="">inc</span> <span style="color:#006600; font-weight:bold;">&#40;</span><span style="color:#006600; font-weight:bold;">&#41;</span>; </div>
</li>
</ol>
</div>
</div>
</div>
<p></p>
<p>Pretty interesting stuff!  Note that the above code snippet is not very cleanly formatted, but you'll get the idea.</p>
<div class="feedflare">
<a href="http://feeds.feedburner.com/~ff/Devnulled?a=D7gIis5fgPU:nVeWNPD0ADc:yIl2AUoC8zA"><img src="http://feeds.feedburner.com/~ff/Devnulled?d=yIl2AUoC8zA" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/Devnulled?a=D7gIis5fgPU:nVeWNPD0ADc:V_sGLiPBpWU"><img src="http://feeds.feedburner.com/~ff/Devnulled?i=D7gIis5fgPU:nVeWNPD0ADc:V_sGLiPBpWU" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/Devnulled?a=D7gIis5fgPU:nVeWNPD0ADc:F7zBnMyn0Lo"><img src="http://feeds.feedburner.com/~ff/Devnulled?i=D7gIis5fgPU:nVeWNPD0ADc:F7zBnMyn0Lo" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/Devnulled?a=D7gIis5fgPU:nVeWNPD0ADc:7Q72WNTAKBA"><img src="http://feeds.feedburner.com/~ff/Devnulled?d=7Q72WNTAKBA" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/Devnulled?a=D7gIis5fgPU:nVeWNPD0ADc:dnMXMwOfBR0"><img src="http://feeds.feedburner.com/~ff/Devnulled?d=dnMXMwOfBR0" border="0"></img></a>
</div><img src="http://feeds.feedburner.com/~r/Devnulled/~4/D7gIis5fgPU" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://devnulled.com/the-most-efficent-way-to-increment-a-map-value-in-java/feed/</wfw:commentRss>
		<slash:comments>6</slash:comments>
		<feedburner:origLink>http://devnulled.com/the-most-efficent-way-to-increment-a-map-value-in-java/</feedburner:origLink></item>
		<item>
		<title>Fixing Remote Desktop in Snow Leopard</title>
		<link>http://feedproxy.google.com/~r/Devnulled/~3/qnxeQ4RLghs/</link>
		<comments>http://devnulled.com/fixing-remote-desktop-in-snow-leopard/#comments</comments>
		<pubDate>Mon, 07 Sep 2009 20:32:16 +0000</pubDate>
		<dc:creator>Brandon Harper</dc:creator>
				<category><![CDATA[Culture]]></category>
		<category><![CDATA[Operating Systems]]></category>
		<category><![CDATA[Tips, Hacks, & Tricks]]></category>
		<category><![CDATA[mac]]></category>
		<category><![CDATA[macos]]></category>
		<category><![CDATA[OS X]]></category>
		<category><![CDATA[remote-desktop]]></category>
		<category><![CDATA[snow leopard]]></category>
		<category><![CDATA[Windows]]></category>
		<category><![CDATA[windows xp]]></category>

		<guid isPermaLink="false">http://devnulled.com/?p=764</guid>
		<description>&lt;p&gt;After upgrading to Snow Leopard on my MacBook Pro, I only found a couple of minor issues which were easily fixed. One of them was Microsoft&amp;#8217;s Remote Desktop Client crashing at startup when I ran it. Luckily the fix was &amp;#8230; &lt;a href="http://devnulled.com/fixing-remote-desktop-in-snow-leopard/"&gt;Continue reading &lt;span class="meta-nav"&gt;&amp;#8594;&lt;/span&gt;&lt;/a&gt;&lt;/p&gt;</description>
			<content:encoded><![CDATA[
<p><a href="http://feedads.g.doubleclick.net/~a/CoJWWmYv5nkbcdZ-0Qvt0YPYrnk/0/da"><img src="http://feedads.g.doubleclick.net/~a/CoJWWmYv5nkbcdZ-0Qvt0YPYrnk/0/di" border="0" ismap="true"></img></a><br/>
<a href="http://feedads.g.doubleclick.net/~a/CoJWWmYv5nkbcdZ-0Qvt0YPYrnk/1/da"><img src="http://feedads.g.doubleclick.net/~a/CoJWWmYv5nkbcdZ-0Qvt0YPYrnk/1/di" border="0" ismap="true"></img></a></p><p>After upgrading to Snow Leopard on my MacBook Pro, I only found a couple of minor issues which were easily fixed.  One of them was Microsoft's Remote Desktop Client crashing at startup when I ran it.  Luckily the fix was very simple-- I simply downloaded the latest version from Microsoft and installed it again.  If you're having problems with Remote Desktop in Snow Leopard, give it a try!</p>
<p><a href="http://www.microsoft.com/mac/products/remote-desktop/default.mspx">Microsoft Remote Desktop for OS X</a></p>
<p>Alternatively, you can also try downloading CoRD, an open source Remote Desktop Client and installing it.  It seemed to have trouble connecting to my Windows XP workstation for whatever reason, but that doesn't mean it won't work for you of course.</p>
<p><a href="http://cord.sourceforge.net/">CoRD</a></p>
<blockquote><p>
CoRD is a Mac OS X remote desktop client for Microsoft Windows computers using the RDP protocol. It's easy to use, fast, and free for anyone to use or modify.
</p></blockquote>
<div class="feedflare">
<a href="http://feeds.feedburner.com/~ff/Devnulled?a=qnxeQ4RLghs:H8Q7ANrB6J8:yIl2AUoC8zA"><img src="http://feeds.feedburner.com/~ff/Devnulled?d=yIl2AUoC8zA" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/Devnulled?a=qnxeQ4RLghs:H8Q7ANrB6J8:V_sGLiPBpWU"><img src="http://feeds.feedburner.com/~ff/Devnulled?i=qnxeQ4RLghs:H8Q7ANrB6J8:V_sGLiPBpWU" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/Devnulled?a=qnxeQ4RLghs:H8Q7ANrB6J8:F7zBnMyn0Lo"><img src="http://feeds.feedburner.com/~ff/Devnulled?i=qnxeQ4RLghs:H8Q7ANrB6J8:F7zBnMyn0Lo" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/Devnulled?a=qnxeQ4RLghs:H8Q7ANrB6J8:7Q72WNTAKBA"><img src="http://feeds.feedburner.com/~ff/Devnulled?d=7Q72WNTAKBA" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/Devnulled?a=qnxeQ4RLghs:H8Q7ANrB6J8:dnMXMwOfBR0"><img src="http://feeds.feedburner.com/~ff/Devnulled?d=dnMXMwOfBR0" border="0"></img></a>
</div><img src="http://feeds.feedburner.com/~r/Devnulled/~4/qnxeQ4RLghs" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://devnulled.com/fixing-remote-desktop-in-snow-leopard/feed/</wfw:commentRss>
		<slash:comments>9</slash:comments>
		<feedburner:origLink>http://devnulled.com/fixing-remote-desktop-in-snow-leopard/</feedburner:origLink></item>
		<item>
		<title>Using Spring and Hibernate With JPA And Entity Interfaces</title>
		<link>http://feedproxy.google.com/~r/Devnulled/~3/o8f-6L2yt9o/</link>
		<comments>http://devnulled.com/using-spring-and-hibernate-with-jpa-and-entity-interfaces/#comments</comments>
		<pubDate>Wed, 11 Mar 2009 23:03:23 +0000</pubDate>
		<dc:creator>Brandon Harper</dc:creator>
				<category><![CDATA[Frameworks]]></category>
		<category><![CDATA[Languages]]></category>
		<category><![CDATA[entity]]></category>
		<category><![CDATA[Hibernate]]></category>
		<category><![CDATA[interface]]></category>
		<category><![CDATA[Java]]></category>
		<category><![CDATA[jpa]]></category>
		<category><![CDATA[Spring]]></category>

		<guid isPermaLink="false">http://devnulled.com/?p=753</guid>
		<description>&lt;p&gt;I&amp;#8217;m currently setting up a new Hibernate project and finally getting around to trying out JPA annotations instead of using any Hibernate configuration or mapping files&amp;#8211; what the hell took me so long!!??! Anyhow, among the many gotchas I came &amp;#8230; &lt;a href="http://devnulled.com/using-spring-and-hibernate-with-jpa-and-entity-interfaces/"&gt;Continue reading &lt;span class="meta-nav"&gt;&amp;#8594;&lt;/span&gt;&lt;/a&gt;&lt;/p&gt;</description>
			<content:encoded><![CDATA[
<p><a href="http://feedads.g.doubleclick.net/~a/oZ1OdtS66pVRQdAT6FdI0pV_eBk/0/da"><img src="http://feedads.g.doubleclick.net/~a/oZ1OdtS66pVRQdAT6FdI0pV_eBk/0/di" border="0" ismap="true"></img></a><br/>
<a href="http://feedads.g.doubleclick.net/~a/oZ1OdtS66pVRQdAT6FdI0pV_eBk/1/da"><img src="http://feedads.g.doubleclick.net/~a/oZ1OdtS66pVRQdAT6FdI0pV_eBk/1/di" border="0" ismap="true"></img></a></p><p>I'm currently setting up a new Hibernate project and finally getting around to trying out JPA annotations instead of using any Hibernate configuration or mapping files-- what the hell took me so long!!??!  Anyhow, among the many gotchas I came across, one was how to deal with using Interfaces with Hibernate entity beans and associations.  </p>
<p>When you declare an association to a Hibernate Entity with an Interface without using the correct annotation syntax to point Hibernate at the implementing class, you will likely see exceptions like this while running JUnit 4 tests in Eclipse:</p>
<div class="igBar"><span id="lcode-11"><a href="#" onclick="javascript:showCodeTxt('code-11'); return false;">PLAIN TEXT</a></span></div>
<div class="syntax_hilite"><span class="langName">CODE:</span>
<div id="code-11">
<div class="code">
<ol>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">java.<span style="">lang</span>.<span style="">IllegalStateException</span>: Failed to load ApplicationContext</div>
</li>
<li style="font-weight: bold;color:#26536A;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp; &nbsp; at org.<span style="">springframework</span>.<span style="">test</span>.<span style="">context</span>.<span style="">TestContext</span>.<span style="">getApplicationContext</span><span style="color:#006600; font-weight:bold;">&#40;</span>TestContext.<span style="">java</span>:<span style="color:#800000;color:#800000;">201</span><span style="color:#006600; font-weight:bold;">&#41;</span></div>
</li>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp; &nbsp; at org.<span style="">springframework</span>.<span style="">test</span>.<span style="">context</span>.<span style="">support</span>.<span style="">DependencyInjectionTestExecutionListener</span>.<span style="">injectDependencies</span><span style="color:#006600; font-weight:bold;">&#40;</span>DependencyInjectionTestExecutionListener.<span style="">java</span>:<span style="color:#800000;color:#800000;">109</span><span style="color:#006600; font-weight:bold;">&#41;</span></div>
</li>
<li style="font-weight: bold;color:#26536A;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp; &nbsp; at org.<span style="">springframework</span>.<span style="">test</span>.<span style="">context</span>.<span style="">support</span>.<span style="">DependencyInjectionTestExecutionListener</span>.<span style="">prepareTestInstance</span><span style="color:#006600; font-weight:bold;">&#40;</span>DependencyInjectionTestExecutionListener.<span style="">java</span>:<span style="color:#800000;color:#800000;">75</span><span style="color:#006600; font-weight:bold;">&#41;</span></div>
</li>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp; &nbsp; at org.<span style="">springframework</span>.<span style="">test</span>.<span style="">context</span>.<span style="">TestContextManager</span>.<span style="">prepareTestInstance</span><span style="color:#006600; font-weight:bold;">&#40;</span>TestContextManager.<span style="">java</span>:<span style="color:#800000;color:#800000;">255</span><span style="color:#006600; font-weight:bold;">&#41;</span></div>
</li>
<li style="font-weight: bold;color:#26536A;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp; &nbsp; at org.<span style="">springframework</span>.<span style="">test</span>.<span style="">context</span>.<span style="">junit4</span>.<span style="">SpringJUnit4ClassRunner</span>.<span style="">createTest</span><span style="color:#006600; font-weight:bold;">&#40;</span>SpringJUnit4ClassRunner.<span style="">java</span>:<span style="color:#800000;color:#800000;">111</span><span style="color:#006600; font-weight:bold;">&#41;</span></div>
</li>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp; &nbsp; at org.<span style="">springframework</span>.<span style="">test</span>.<span style="">context</span>.<span style="">junit4</span>.<span style="">SpringJUnit4ClassRunner</span>.<span style="">invokeTestMethod</span><span style="color:#006600; font-weight:bold;">&#40;</span>SpringJUnit4ClassRunner.<span style="">java</span>:<span style="color:#800000;color:#800000;">148</span><span style="color:#006600; font-weight:bold;">&#41;</span></div>
</li>
<li style="font-weight: bold;color:#26536A;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp; &nbsp; at org.<span style="">junit</span>.<span style="">internal</span>.<span style="">runners</span>.<span style="">JUnit4ClassRunner</span>.<span style="">runMethods</span><span style="color:#006600; font-weight:bold;">&#40;</span>JUnit4ClassRunner.<span style="">java</span>:<span style="color:#800000;color:#800000;">51</span><span style="color:#006600; font-weight:bold;">&#41;</span></div>
</li>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp; &nbsp; at org.<span style="">junit</span>.<span style="">internal</span>.<span style="">runners</span>.<span style="">JUnit4ClassRunner</span>$<span style="color:#800000;color:#800000;">1</span>.<span style="">run</span><span style="color:#006600; font-weight:bold;">&#40;</span>JUnit4ClassRunner.<span style="">java</span>:<span style="color:#800000;color:#800000;">44</span><span style="color:#006600; font-weight:bold;">&#41;</span></div>
</li>
<li style="font-weight: bold;color:#26536A;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp; &nbsp; at org.<span style="">junit</span>.<span style="">internal</span>.<span style="">runners</span>.<span style="">ClassRoadie</span>.<span style="">runUnprotected</span><span style="color:#006600; font-weight:bold;">&#40;</span>ClassRoadie.<span style="">java</span>:<span style="color:#800000;color:#800000;">27</span><span style="color:#006600; font-weight:bold;">&#41;</span></div>
</li>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp; &nbsp; at org.<span style="">junit</span>.<span style="">internal</span>.<span style="">runners</span>.<span style="">ClassRoadie</span>.<span style="">runProtected</span><span style="color:#006600; font-weight:bold;">&#40;</span>ClassRoadie.<span style="">java</span>:<span style="color:#800000;color:#800000;">37</span><span style="color:#006600; font-weight:bold;">&#41;</span></div>
</li>
<li style="font-weight: bold;color:#26536A;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp; &nbsp; at org.<span style="">junit</span>.<span style="">internal</span>.<span style="">runners</span>.<span style="">JUnit4ClassRunner</span>.<span style="">run</span><span style="color:#006600; font-weight:bold;">&#40;</span>JUnit4ClassRunner.<span style="">java</span>:<span style="color:#800000;color:#800000;">42</span><span style="color:#006600; font-weight:bold;">&#41;</span></div>
</li>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp; &nbsp; at org.<span style="">springframework</span>.<span style="">test</span>.<span style="">context</span>.<span style="">junit4</span>.<span style="">SpringJUnit4ClassRunner</span>.<span style="">run</span><span style="color:#006600; font-weight:bold;">&#40;</span>SpringJUnit4ClassRunner.<span style="">java</span>:<span style="color:#800000;color:#800000;">97</span><span style="color:#006600; font-weight:bold;">&#41;</span></div>
</li>
<li style="font-weight: bold;color:#26536A;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp; &nbsp; at org.<span style="">junit</span>.<span style="">internal</span>.<span style="">runners</span>.<span style="">CompositeRunner</span>.<span style="">runChildren</span><span style="color:#006600; font-weight:bold;">&#40;</span>CompositeRunner.<span style="">java</span>:<span style="color:#800000;color:#800000;">33</span><span style="color:#006600; font-weight:bold;">&#41;</span></div>
</li>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp; &nbsp; at org.<span style="">junit</span>.<span style="">runners</span>.<span style="">Suite</span>.<span style="">access</span>$<span style="color:#800000;color:#800000;">000</span><span style="color:#006600; font-weight:bold;">&#40;</span>Suite.<span style="">java</span>:<span style="color:#800000;color:#800000;">26</span><span style="color:#006600; font-weight:bold;">&#41;</span></div>
</li>
<li style="font-weight: bold;color:#26536A;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp; &nbsp; at org.<span style="">junit</span>.<span style="">runners</span>.<span style="">Suite</span>$<span style="color:#800000;color:#800000;">1</span>.<span style="">run</span><span style="color:#006600; font-weight:bold;">&#40;</span>Suite.<span style="">java</span>:<span style="color:#800000;color:#800000;">93</span><span style="color:#006600; font-weight:bold;">&#41;</span></div>
</li>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp; &nbsp; at org.<span style="">junit</span>.<span style="">internal</span>.<span style="">runners</span>.<span style="">ClassRoadie</span>.<span style="">runUnprotected</span><span style="color:#006600; font-weight:bold;">&#40;</span>ClassRoadie.<span style="">java</span>:<span style="color:#800000;color:#800000;">27</span><span style="color:#006600; font-weight:bold;">&#41;</span></div>
</li>
<li style="font-weight: bold;color:#26536A;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp; &nbsp; at org.<span style="">junit</span>.<span style="">internal</span>.<span style="">runners</span>.<span style="">ClassRoadie</span>.<span style="">runProtected</span><span style="color:#006600; font-weight:bold;">&#40;</span>ClassRoadie.<span style="">java</span>:<span style="color:#800000;color:#800000;">37</span><span style="color:#006600; font-weight:bold;">&#41;</span></div>
</li>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp; &nbsp; at org.<span style="">junit</span>.<span style="">runners</span>.<span style="">Suite</span>.<span style="">run</span><span style="color:#006600; font-weight:bold;">&#40;</span>Suite.<span style="">java</span>:<span style="color:#800000;color:#800000;">91</span><span style="color:#006600; font-weight:bold;">&#41;</span></div>
</li>
<li style="font-weight: bold;color:#26536A;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp; &nbsp; at org.<span style="">eclipse</span>.<span style="">jdt</span>.<span style="">internal</span>.<span style="">junit4</span>.<span style="">runner</span>.<span style="">JUnit4TestReference</span>.<span style="">run</span><span style="color:#006600; font-weight:bold;">&#40;</span>JUnit4TestReference.<span style="">java</span>:<span style="color:#800000;color:#800000;">38</span><span style="color:#006600; font-weight:bold;">&#41;</span></div>
</li>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp; &nbsp; at org.<span style="">eclipse</span>.<span style="">jdt</span>.<span style="">internal</span>.<span style="">junit</span>.<span style="">runner</span>.<span style="">TestExecution</span>.<span style="">run</span><span style="color:#006600; font-weight:bold;">&#40;</span>TestExecution.<span style="">java</span>:<span style="color:#800000;color:#800000;">38</span><span style="color:#006600; font-weight:bold;">&#41;</span></div>
</li>
<li style="font-weight: bold;color:#26536A;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp; &nbsp; at org.<span style="">eclipse</span>.<span style="">jdt</span>.<span style="">internal</span>.<span style="">junit</span>.<span style="">runner</span>.<span style="">RemoteTestRunner</span>.<span style="">runTests</span><span style="color:#006600; font-weight:bold;">&#40;</span>RemoteTestRunner.<span style="">java</span>:<span style="color:#800000;color:#800000;">460</span><span style="color:#006600; font-weight:bold;">&#41;</span></div>
</li>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp; &nbsp; at org.<span style="">eclipse</span>.<span style="">jdt</span>.<span style="">internal</span>.<span style="">junit</span>.<span style="">runner</span>.<span style="">RemoteTestRunner</span>.<span style="">runTests</span><span style="color:#006600; font-weight:bold;">&#40;</span>RemoteTestRunner.<span style="">java</span>:<span style="color:#800000;color:#800000;">673</span><span style="color:#006600; font-weight:bold;">&#41;</span></div>
</li>
<li style="font-weight: bold;color:#26536A;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp; &nbsp; at org.<span style="">eclipse</span>.<span style="">jdt</span>.<span style="">internal</span>.<span style="">junit</span>.<span style="">runner</span>.<span style="">RemoteTestRunner</span>.<span style="">run</span><span style="color:#006600; font-weight:bold;">&#40;</span>RemoteTestRunner.<span style="">java</span>:<span style="color:#800000;color:#800000;">386</span><span style="color:#006600; font-weight:bold;">&#41;</span></div>
</li>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp; &nbsp; at org.<span style="">eclipse</span>.<span style="">jdt</span>.<span style="">internal</span>.<span style="">junit</span>.<span style="">runner</span>.<span style="">RemoteTestRunner</span>.<span style="">main</span><span style="color:#006600; font-weight:bold;">&#40;</span>RemoteTestRunner.<span style="">java</span>:<span style="color:#800000;color:#800000;">196</span><span style="color:#006600; font-weight:bold;">&#41;</span></div>
</li>
<li style="font-weight: bold;color:#26536A;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">Caused by: org.<span style="">springframework</span>.<span style="">beans</span>.<span style="">factory</span>.<span style="">BeanCreationException</span>: Error creating bean with name <span style="color:#CC0000;">'geoSessionFactory'</span> defined in class path resource <span style="color:#006600; font-weight:bold;">&#91;</span>com/peerdigital/spring/applicationContext.<span style="">xml</span><span style="color:#006600; font-weight:bold;">&#93;</span>: Invocation of init method failed; nested exception is org.<span style="">hibernate</span>.<span style="">AnnotationException</span>: @OneToOne or @ManyToOne on com.<span style="">peerdigital</span>.<span style="">geolocation</span>.<span style="">model</span>.<span style="">DefaultCountryEntityImpl</span>.<span style="">regionEntity</span> references an unknown entity: com.<span style="">peerdigital</span>.<span style="">geolocation</span>.<span style="">model</span>.<span style="">DefaultRegionEntityImpl</span></div>
</li>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp; &nbsp; at org.<span style="">springframework</span>.<span style="">beans</span>.<span style="">factory</span>.<span style="">support</span>.<span style="">AbstractAutowireCapableBeanFactory</span>.<span style="">initializeBean</span><span style="color:#006600; font-weight:bold;">&#40;</span>AbstractAutowireCapableBeanFactory.<span style="">java</span>:<span style="color:#800000;color:#800000;">1338</span><span style="color:#006600; font-weight:bold;">&#41;</span></div>
</li>
<li style="font-weight: bold;color:#26536A;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp; &nbsp; at org.<span style="">springframework</span>.<span style="">beans</span>.<span style="">factory</span>.<span style="">support</span>.<span style="">AbstractAutowireCapableBeanFactory</span>.<span style="">doCreateBean</span><span style="color:#006600; font-weight:bold;">&#40;</span>AbstractAutowireCapableBeanFactory.<span style="">java</span>:<span style="color:#800000;color:#800000;">473</span><span style="color:#006600; font-weight:bold;">&#41;</span></div>
</li>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp; &nbsp; at org.<span style="">springframework</span>.<span style="">beans</span>.<span style="">factory</span>.<span style="">support</span>.<span style="">AbstractAutowireCapableBeanFactory</span>$<span style="color:#800000;color:#800000;">1</span>.<span style="">run</span><span style="color:#006600; font-weight:bold;">&#40;</span>AbstractAutowireCapableBeanFactory.<span style="">java</span>:<span style="color:#800000;color:#800000;">409</span><span style="color:#006600; font-weight:bold;">&#41;</span></div>
</li>
<li style="font-weight: bold;color:#26536A;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp; &nbsp; at java.<span style="">security</span>.<span style="">AccessController</span>.<span style="">doPrivileged</span><span style="color:#006600; font-weight:bold;">&#40;</span>Native Method<span style="color:#006600; font-weight:bold;">&#41;</span></div>
</li>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp; &nbsp; at org.<span style="">springframework</span>.<span style="">beans</span>.<span style="">factory</span>.<span style="">support</span>.<span style="">AbstractAutowireCapableBeanFactory</span>.<span style="">createBean</span><span style="color:#006600; font-weight:bold;">&#40;</span>AbstractAutowireCapableBeanFactory.<span style="">java</span>:<span style="color:#800000;color:#800000;">380</span><span style="color:#006600; font-weight:bold;">&#41;</span></div>
</li>
<li style="font-weight: bold;color:#26536A;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp; &nbsp; at org.<span style="">springframework</span>.<span style="">beans</span>.<span style="">factory</span>.<span style="">support</span>.<span style="">AbstractBeanFactory</span>$<span style="color:#800000;color:#800000;">1</span>.<span style="">getObject</span><span style="color:#006600; font-weight:bold;">&#40;</span>AbstractBeanFactory.<span style="">java</span>:<span style="color:#800000;color:#800000;">264</span><span style="color:#006600; font-weight:bold;">&#41;</span></div>
</li>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp; &nbsp; at org.<span style="">springframework</span>.<span style="">beans</span>.<span style="">factory</span>.<span style="">support</span>.<span style="">DefaultSingletonBeanRegistry</span>.<span style="">getSingleton</span><span style="color:#006600; font-weight:bold;">&#40;</span>DefaultSingletonBeanRegistry.<span style="">java</span>:<span style="color:#800000;color:#800000;">222</span><span style="color:#006600; font-weight:bold;">&#41;</span></div>
</li>
<li style="font-weight: bold;color:#26536A;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp; &nbsp; at org.<span style="">springframework</span>.<span style="">beans</span>.<span style="">factory</span>.<span style="">support</span>.<span style="">AbstractBeanFactory</span>.<span style="">doGetBean</span><span style="color:#006600; font-weight:bold;">&#40;</span>AbstractBeanFactory.<span style="">java</span>:<span style="color:#800000;color:#800000;">261</span><span style="color:#006600; font-weight:bold;">&#41;</span></div>
</li>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp; &nbsp; at org.<span style="">springframework</span>.<span style="">beans</span>.<span style="">factory</span>.<span style="">support</span>.<span style="">AbstractBeanFactory</span>.<span style="">getBean</span><span style="color:#006600; font-weight:bold;">&#40;</span>AbstractBeanFactory.<span style="">java</span>:<span style="color:#800000;color:#800000;">185</span><span style="color:#006600; font-weight:bold;">&#41;</span></div>
</li>
<li style="font-weight: bold;color:#26536A;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp; &nbsp; at org.<span style="">springframework</span>.<span style="">beans</span>.<span style="">factory</span>.<span style="">support</span>.<span style="">AbstractBeanFactory</span>.<span style="">getBean</span><span style="color:#006600; font-weight:bold;">&#40;</span>AbstractBeanFactory.<span style="">java</span>:<span style="color:#800000;color:#800000;">164</span><span style="color:#006600; font-weight:bold;">&#41;</span></div>
</li>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp; &nbsp; at org.<span style="">springframework</span>.<span style="">beans</span>.<span style="">factory</span>.<span style="">support</span>.<span style="">DefaultListableBeanFactory</span>.<span style="">preInstantiateSingletons</span><span style="color:#006600; font-weight:bold;">&#40;</span>DefaultListableBeanFactory.<span style="">java</span>:<span style="color:#800000;color:#800000;">423</span><span style="color:#006600; font-weight:bold;">&#41;</span></div>
</li>
<li style="font-weight: bold;color:#26536A;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp; &nbsp; at org.<span style="">springframework</span>.<span style="">context</span>.<span style="">support</span>.<span style="">AbstractApplicationContext</span>.<span style="">finishBeanFactoryInitialization</span><span style="color:#006600; font-weight:bold;">&#40;</span>AbstractApplicationContext.<span style="">java</span>:<span style="color:#800000;color:#800000;">728</span><span style="color:#006600; font-weight:bold;">&#41;</span></div>
</li>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp; &nbsp; at org.<span style="">springframework</span>.<span style="">context</span>.<span style="">support</span>.<span style="">AbstractApplicationContext</span>.<span style="">refresh</span><span style="color:#006600; font-weight:bold;">&#40;</span>AbstractApplicationContext.<span style="">java</span>:<span style="color:#800000;color:#800000;">380</span><span style="color:#006600; font-weight:bold;">&#41;</span></div>
</li>
<li style="font-weight: bold;color:#26536A;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp; &nbsp; at org.<span style="">springframework</span>.<span style="">test</span>.<span style="">context</span>.<span style="">support</span>.<span style="">AbstractGenericContextLoader</span>.<span style="">loadContext</span><span style="color:#006600; font-weight:bold;">&#40;</span>AbstractGenericContextLoader.<span style="">java</span>:<span style="color:#800000;color:#800000;">84</span><span style="color:#006600; font-weight:bold;">&#41;</span></div>
</li>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp; &nbsp; at org.<span style="">springframework</span>.<span style="">test</span>.<span style="">context</span>.<span style="">support</span>.<span style="">AbstractGenericContextLoader</span>.<span style="">loadContext</span><span style="color:#006600; font-weight:bold;">&#40;</span>AbstractGenericContextLoader.<span style="">java</span>:<span style="color:#800000;color:#800000;">42</span><span style="color:#006600; font-weight:bold;">&#41;</span></div>
</li>
<li style="font-weight: bold;color:#26536A;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp; &nbsp; at org.<span style="">springframework</span>.<span style="">test</span>.<span style="">context</span>.<span style="">TestContext</span>.<span style="">loadApplicationContext</span><span style="color:#006600; font-weight:bold;">&#40;</span>TestContext.<span style="">java</span>:<span style="color:#800000;color:#800000;">173</span><span style="color:#006600; font-weight:bold;">&#41;</span></div>
</li>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp; &nbsp; at org.<span style="">springframework</span>.<span style="">test</span>.<span style="">context</span>.<span style="">TestContext</span>.<span style="">getApplicationContext</span><span style="color:#006600; font-weight:bold;">&#40;</span>TestContext.<span style="">java</span>:<span style="color:#800000;color:#800000;">197</span><span style="color:#006600; font-weight:bold;">&#41;</span></div>
</li>
<li style="font-weight: bold;color:#26536A;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp; &nbsp; ... <span style="color:#800000;color:#800000;">23</span> more</div>
</li>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">Caused by: org.<span style="">hibernate</span>.<span style="">AnnotationException</span>: @OneToOne or @ManyToOne on com.<span style="">peerdigital</span>.<span style="">geolocation</span>.<span style="">model</span>.<span style="">DefaultCountryEntityImpl</span>.<span style="">regionEntity</span> references an unknown entity: com.<span style="">peerdigital</span>.<span style="">geolocation</span>.<span style="">model</span>.<span style="">DefaultRegionEntityImpl</span></div>
</li>
<li style="font-weight: bold;color:#26536A;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp; &nbsp; at org.<span style="">hibernate</span>.<span style="">cfg</span>.<span style="">ToOneFkSecondPass</span>.<span style="">doSecondPass</span><span style="color:#006600; font-weight:bold;">&#40;</span>ToOneFkSecondPass.<span style="">java</span>:<span style="color:#800000;color:#800000;">81</span><span style="color:#006600; font-weight:bold;">&#41;</span></div>
</li>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp; &nbsp; at org.<span style="">hibernate</span>.<span style="">cfg</span>.<span style="">AnnotationConfiguration</span>.<span style="">processEndOfQueue</span><span style="color:#006600; font-weight:bold;">&#40;</span>AnnotationConfiguration.<span style="">java</span>:<span style="color:#800000;color:#800000;">456</span><span style="color:#006600; font-weight:bold;">&#41;</span></div>
</li>
<li style="font-weight: bold;color:#26536A;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp; &nbsp; at org.<span style="">hibernate</span>.<span style="">cfg</span>.<span style="">AnnotationConfiguration</span>.<span style="">processFkSecondPassInOrder</span><span style="color:#006600; font-weight:bold;">&#40;</span>AnnotationConfiguration.<span style="">java</span>:<span style="color:#800000;color:#800000;">438</span><span style="color:#006600; font-weight:bold;">&#41;</span></div>
</li>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp; &nbsp; at org.<span style="">hibernate</span>.<span style="">cfg</span>.<span style="">AnnotationConfiguration</span>.<span style="">secondPassCompile</span><span style="color:#006600; font-weight:bold;">&#40;</span>AnnotationConfiguration.<span style="">java</span>:<span style="color:#800000;color:#800000;">309</span><span style="color:#006600; font-weight:bold;">&#41;</span></div>
</li>
<li style="font-weight: bold;color:#26536A;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp; &nbsp; at org.<span style="">hibernate</span>.<span style="">cfg</span>.<span style="">Configuration</span>.<span style="">buildMappings</span><span style="color:#006600; font-weight:bold;">&#40;</span>Configuration.<span style="">java</span>:<span style="color:#800000;color:#800000;">1148</span><span style="color:#006600; font-weight:bold;">&#41;</span></div>
</li>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp; &nbsp; at org.<span style="">springframework</span>.<span style="">orm</span>.<span style="">hibernate3</span>.<span style="">LocalSessionFactoryBean</span>.<span style="">buildSessionFactory</span><span style="color:#006600; font-weight:bold;">&#40;</span>LocalSessionFactoryBean.<span style="">java</span>:<span style="color:#800000;color:#800000;">673</span><span style="color:#006600; font-weight:bold;">&#41;</span></div>
</li>
<li style="font-weight: bold;color:#26536A;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp; &nbsp; at org.<span style="">springframework</span>.<span style="">orm</span>.<span style="">hibernate3</span>.<span style="">AbstractSessionFactoryBean</span>.<span style="">afterPropertiesSet</span><span style="color:#006600; font-weight:bold;">&#40;</span>AbstractSessionFactoryBean.<span style="">java</span>:<span style="color:#800000;color:#800000;">211</span><span style="color:#006600; font-weight:bold;">&#41;</span></div>
</li>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp; &nbsp; at org.<span style="">springframework</span>.<span style="">beans</span>.<span style="">factory</span>.<span style="">support</span>.<span style="">AbstractAutowireCapableBeanFactory</span>.<span style="">invokeInitMethods</span><span style="color:#006600; font-weight:bold;">&#40;</span>AbstractAutowireCapableBeanFactory.<span style="">java</span>:<span style="color:#800000;color:#800000;">1369</span><span style="color:#006600; font-weight:bold;">&#41;</span></div>
</li>
<li style="font-weight: bold;color:#26536A;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp; &nbsp; at org.<span style="">springframework</span>.<span style="">beans</span>.<span style="">factory</span>.<span style="">support</span>.<span style="">AbstractAutowireCapableBeanFactory</span>.<span style="">initializeBean</span><span style="color:#006600; font-weight:bold;">&#40;</span>AbstractAutowireCapableBeanFactory.<span style="">java</span>:<span style="color:#800000;color:#800000;">1335</span><span style="color:#006600; font-weight:bold;">&#41;</span></div>
</li>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp; &nbsp; ... <span style="color:#800000;color:#800000;">39</span> more </div>
</li>
</ol>
</div>
</div>
</div>
<p></p>
<p>Most of the solutions I saw made you create a duplicate persistence.xml that had all of the same information in it which seemed silly to me.   Eventually with the help of Google I came across the answer somewhere (which I no longer have around) which was to modify the field annotation to point at the class which implements the Interface:</p>
<div class="igBar"><span id="lcode-12"><a href="#" onclick="javascript:showCodeTxt('code-12'); return false;">PLAIN TEXT</a></span></div>
<div class="syntax_hilite"><span class="langName">CODE:</span>
<div id="code-12">
<div class="code">
<ol>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">@ManyToOne<span style="color:#006600; font-weight:bold;">&#40;</span>targetEntity = DefaultRegionEntityImpl.<span style="">class</span><span style="color:#006600; font-weight:bold;">&#41;</span></div>
</li>
<li style="font-weight: bold;color:#26536A;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">@JoinColumn<span style="color:#006600; font-weight:bold;">&#40;</span>name = <span style="color:#CC0000;">"region_code_fk"</span>, referencedColumnName = <span style="color:#CC0000;">"region_code_pk"</span>, insertable = false, updatable = false<span style="color:#006600; font-weight:bold;">&#41;</span></div>
</li>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">private RegionEntity regionEntity; </div>
</li>
</ol>
</div>
</div>
</div>
<p> </p>
<p>One other thing to check-- make sure your @Entity annotation is importing the JPA annotation (javax.persistence.Entity), and NOT the Hibernate annotation (org.hibernate.annotations.Entity).  If you import the Hibernate @Entity annotation it will not find the entity bean.</p>
<p>Hopefully that's of some help to someone.  Just a quick post-- back to work I go!</p>
<div class="feedflare">
<a href="http://feeds.feedburner.com/~ff/Devnulled?a=o8f-6L2yt9o:Swz2agNW6yk:yIl2AUoC8zA"><img src="http://feeds.feedburner.com/~ff/Devnulled?d=yIl2AUoC8zA" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/Devnulled?a=o8f-6L2yt9o:Swz2agNW6yk:V_sGLiPBpWU"><img src="http://feeds.feedburner.com/~ff/Devnulled?i=o8f-6L2yt9o:Swz2agNW6yk:V_sGLiPBpWU" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/Devnulled?a=o8f-6L2yt9o:Swz2agNW6yk:F7zBnMyn0Lo"><img src="http://feeds.feedburner.com/~ff/Devnulled?i=o8f-6L2yt9o:Swz2agNW6yk:F7zBnMyn0Lo" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/Devnulled?a=o8f-6L2yt9o:Swz2agNW6yk:7Q72WNTAKBA"><img src="http://feeds.feedburner.com/~ff/Devnulled?d=7Q72WNTAKBA" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/Devnulled?a=o8f-6L2yt9o:Swz2agNW6yk:dnMXMwOfBR0"><img src="http://feeds.feedburner.com/~ff/Devnulled?d=dnMXMwOfBR0" border="0"></img></a>
</div><img src="http://feeds.feedburner.com/~r/Devnulled/~4/o8f-6L2yt9o" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://devnulled.com/using-spring-and-hibernate-with-jpa-and-entity-interfaces/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		<feedburner:origLink>http://devnulled.com/using-spring-and-hibernate-with-jpa-and-entity-interfaces/</feedburner:origLink></item>
		<item>
		<title>How To Install Dig in Ubuntu Linux</title>
		<link>http://feedproxy.google.com/~r/Devnulled/~3/rkYgi88bV_4/</link>
		<comments>http://devnulled.com/how-to-install-dig-in-ubuntu-linux/#comments</comments>
		<pubDate>Sat, 08 Nov 2008 16:26:49 +0000</pubDate>
		<dc:creator>Brandon Harper</dc:creator>
				<category><![CDATA[Culture]]></category>
		<category><![CDATA[Operating Systems]]></category>
		<category><![CDATA[Tips, Hacks, & Tricks]]></category>
		<category><![CDATA[Tools]]></category>
		<category><![CDATA[dig]]></category>
		<category><![CDATA[dns]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[nslookup]]></category>
		<category><![CDATA[ubuntu]]></category>
		<category><![CDATA[ubuntu-linux]]></category>

		<guid isPermaLink="false">http://devnulled.com/?p=742</guid>
		<description>&lt;p&gt;One tool I&amp;#8217;m used to having without installing (it&amp;#8217;s included by default in FreeBSD) is Dig (which is short for Domain Information Groper). Dig is a really handy tool for checking and troubleshooting DNS related issues once you learn how &amp;#8230; &lt;a href="http://devnulled.com/how-to-install-dig-in-ubuntu-linux/"&gt;Continue reading &lt;span class="meta-nav"&gt;&amp;#8594;&lt;/span&gt;&lt;/a&gt;&lt;/p&gt;</description>
			<content:encoded><![CDATA[
<p><a href="http://feedads.g.doubleclick.net/~a/GgiGyRT9_xxG_PhDKw-Lc10ICxo/0/da"><img src="http://feedads.g.doubleclick.net/~a/GgiGyRT9_xxG_PhDKw-Lc10ICxo/0/di" border="0" ismap="true"></img></a><br/>
<a href="http://feedads.g.doubleclick.net/~a/GgiGyRT9_xxG_PhDKw-Lc10ICxo/1/da"><img src="http://feedads.g.doubleclick.net/~a/GgiGyRT9_xxG_PhDKw-Lc10ICxo/1/di" border="0" ismap="true"></img></a></p><p>One tool I'm used to having without installing (it's included by default in <a href="http://freebsd.org">FreeBSD</a>) is <a href="http://en.wikipedia.org/wiki/Domain_Information_Groper">Dig</a> (which is short for Domain Information Groper).  Dig is a really handy tool for checking and troubleshooting DNS related issues once you learn how to use it.   For instance, it makes it easy to see how your MX records are resolving:</p>
<div class="igBar"><span id="lcode-15"><a href="#" onclick="javascript:showCodeTxt('code-15'); return false;">PLAIN TEXT</a></span></div>
<div class="syntax_hilite"><span class="langName">CODE:</span>
<div id="code-15">
<div class="code">
<ol>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;"># dig google.<span style="">com</span> mx</div>
</li>
<li style="font-weight: bold;color:#26536A;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp;</div>
</li>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">; &lt;&lt;&gt;&gt; DiG <span style="color:#800000;color:#800000;">9</span>.<span style="color:#800000;color:#800000;">3</span>.<span style="color:#800000;color:#800000;">2</span>-P2.<span style="color:#800000;color:#800000;">1</span> &lt;&lt;&gt;&gt; google.<span style="">com</span> mx</div>
</li>
<li style="font-weight: bold;color:#26536A;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">;; global options:&nbsp; printcmd</div>
</li>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">;; Got answer:</div>
</li>
<li style="font-weight: bold;color:#26536A;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">;; -&gt;&gt;HEADER&lt;&lt;- opcode: QUERY, status: NOERROR, id: <span style="color:#800000;color:#800000;">41334</span></div>
</li>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">;; flags: qr rd ra; QUERY: <span style="color:#800000;color:#800000;">1</span>, ANSWER: <span style="color:#800000;color:#800000;">4</span>, AUTHORITY: <span style="color:#800000;color:#800000;">0</span>, ADDITIONAL: <span style="color:#800000;color:#800000;">0</span></div>
</li>
<li style="font-weight: bold;color:#26536A;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp;</div>
</li>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">;; QUESTION SECTION:</div>
</li>
<li style="font-weight: bold;color:#26536A;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">;google.<span style="">com</span>.&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="">IN</span>&nbsp; &nbsp; &nbsp; MX</div>
</li>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp;</div>
</li>
<li style="font-weight: bold;color:#26536A;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">;; ANSWER SECTION:</div>
</li>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">google.<span style="">com</span>.&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;<span style="color:#800000;color:#800000;">10212</span>&nbsp; &nbsp;IN&nbsp; &nbsp; &nbsp; MX&nbsp; &nbsp; &nbsp; <span style="color:#800000;color:#800000;">10</span> smtp3.<span style="">google</span>.<span style="">com</span>.</div>
</li>
<li style="font-weight: bold;color:#26536A;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;"><span style="">google</span>.<span style="">com</span>.&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;<span style="color:#800000;color:#800000;">10212</span>&nbsp; &nbsp;IN&nbsp; &nbsp; &nbsp; MX&nbsp; &nbsp; &nbsp; <span style="color:#800000;color:#800000;">10</span> smtp4.<span style="">google</span>.<span style="">com</span>.</div>
</li>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;"><span style="">google</span>.<span style="">com</span>.&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;<span style="color:#800000;color:#800000;">10212</span>&nbsp; &nbsp;IN&nbsp; &nbsp; &nbsp; MX&nbsp; &nbsp; &nbsp; <span style="color:#800000;color:#800000;">10</span> smtp1.<span style="">google</span>.<span style="">com</span>.</div>
</li>
<li style="font-weight: bold;color:#26536A;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;"><span style="">google</span>.<span style="">com</span>.&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;<span style="color:#800000;color:#800000;">10212</span>&nbsp; &nbsp;IN&nbsp; &nbsp; &nbsp; MX&nbsp; &nbsp; &nbsp; <span style="color:#800000;color:#800000;">10</span> smtp2.<span style="">google</span>.<span style="">com</span>.</div>
</li>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp;</div>
</li>
<li style="font-weight: bold;color:#26536A;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">;; Query time: <span style="color:#800000;color:#800000;">1</span> msec</div>
</li>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">;; SERVER: <span style="color:#800000;color:#800000;">208</span>.<span style="color:#800000;color:#800000;">67</span>.<span style="color:#800000;color:#800000;">220</span>.<span style="color:#800000;color:#800000;">220</span>#53<span style="color:#006600; font-weight:bold;">&#40;</span><span style="color:#800000;color:#800000;">208</span>.<span style="color:#800000;color:#800000;">67</span>.<span style="color:#800000;color:#800000;">220</span>.<span style="color:#800000;color:#800000;">220</span><span style="color:#006600; font-weight:bold;">&#41;</span></div>
</li>
<li style="font-weight: bold;color:#26536A;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">;; WHEN: Sat Nov&nbsp; <span style="color:#800000;color:#800000;">8</span> <span style="color:#800000;color:#800000;">02</span>:<span style="color:#800000;color:#800000;">56</span>:<span style="color:#800000;color:#800000;">08</span> <span style="color:#800000;color:#800000;">2008</span></div>
</li>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">;; MSG SIZE&nbsp; rcvd: <span style="color:#800000;color:#800000;">116</span> </div>
</li>
</ol>
</div>
</div>
</div>
<p></p>
<p>Luckily this is easy to install, just not terribly intuitive or easy to find as it's not a package known as dig:</p>
<div class="igBar"><span id="lcode-16"><a href="#" onclick="javascript:showCodeTxt('code-16'); return false;">PLAIN TEXT</a></span></div>
<div class="syntax_hilite"><span class="langName">CODE:</span>
<div id="code-16">
<div class="code">
<ol>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;"># sudo apt-get install dnsutils </div>
</li>
</ol>
</div>
</div>
</div>
<p></p>
<p>That's pretty much it-- you should now be able to use dig!</p>
<div class="feedflare">
<a href="http://feeds.feedburner.com/~ff/Devnulled?a=rkYgi88bV_4:gQNiGbttCE4:yIl2AUoC8zA"><img src="http://feeds.feedburner.com/~ff/Devnulled?d=yIl2AUoC8zA" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/Devnulled?a=rkYgi88bV_4:gQNiGbttCE4:V_sGLiPBpWU"><img src="http://feeds.feedburner.com/~ff/Devnulled?i=rkYgi88bV_4:gQNiGbttCE4:V_sGLiPBpWU" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/Devnulled?a=rkYgi88bV_4:gQNiGbttCE4:F7zBnMyn0Lo"><img src="http://feeds.feedburner.com/~ff/Devnulled?i=rkYgi88bV_4:gQNiGbttCE4:F7zBnMyn0Lo" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/Devnulled?a=rkYgi88bV_4:gQNiGbttCE4:7Q72WNTAKBA"><img src="http://feeds.feedburner.com/~ff/Devnulled?d=7Q72WNTAKBA" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/Devnulled?a=rkYgi88bV_4:gQNiGbttCE4:dnMXMwOfBR0"><img src="http://feeds.feedburner.com/~ff/Devnulled?d=dnMXMwOfBR0" border="0"></img></a>
</div><img src="http://feeds.feedburner.com/~r/Devnulled/~4/rkYgi88bV_4" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://devnulled.com/how-to-install-dig-in-ubuntu-linux/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
		<feedburner:origLink>http://devnulled.com/how-to-install-dig-in-ubuntu-linux/</feedburner:origLink></item>
	</channel>
</rss><!-- Performance optimized by W3 Total Cache. Learn more: http://www.w3-edge.com/wordpress-plugins/

Minified using disk: basic (Feed is rejected)
Page Caching using disk: basic
Content Delivery Network via Amazon Web Services: CloudFront: cdn.devnulled.com

Served from: devnulled.com @ 2012-05-13 18:18:09 -->

