<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Devon Hillard&#039;s Digital Sanctuary &#187; os x</title>
	<atom:link href="http://www.digitalsanctuary.com/tech-blog/tag/os-x/feed" rel="self" type="application/rss+xml" />
	<link>http://www.digitalsanctuary.com/tech-blog</link>
	<description>Java, ATG, Seam, and related Technologies</description>
	<lastBuildDate>Mon, 30 Jan 2012 23:04:32 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
		<item>
		<title>Why I Love Having 8 Gigs of RAM</title>
		<link>http://www.digitalsanctuary.com/tech-blog/apple/why-i-love-having-8-gigs-of-ram.html</link>
		<comments>http://www.digitalsanctuary.com/tech-blog/apple/why-i-love-having-8-gigs-of-ram.html#comments</comments>
		<pubDate>Tue, 17 Mar 2009 22:51:20 +0000</pubDate>
		<dc:creator>Devon</dc:creator>
				<category><![CDATA[Apple]]></category>
		<category><![CDATA[eclipse]]></category>
		<category><![CDATA[os x]]></category>

		<guid isPermaLink="false">http://www.digitalsanctuary.com/tech-blog/?p=312</guid>
		<description><![CDATA[I recently upgraded my primary computer from a 15&#8243; MacBookPro with 4 GB of RAM to a 17&#8243; MacBookPro with 8 GB of RAM. That probably sounds gratuitous. Here&#8217;s why it&#8217;s not: I&#8217;m currently running: Mac OS 10.5.6 Adium (IM &#8230; <a href="http://www.digitalsanctuary.com/tech-blog/apple/why-i-love-having-8-gigs-of-ram.html">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>I recently upgraded my primary computer from a 15&#8243; MacBookPro with 4 GB of RAM to a 17&#8243; MacBookPro with 8 GB of RAM.  That probably sounds gratuitous.  Here&#8217;s why it&#8217;s not:</p>
<p><img src="http://www.digitalsanctuary.com/tech-blog/wp-content/uploads/2009/03/picture-3.png" alt="picture-3" title="picture-3" width="608" height="161" class="aligncenter size-full wp-image-313" /></p>
<p>I&#8217;m currently running:</p>
<ul>
<li>Mac OS 10.5.6</li>
<li>Adium (IM chat client)</li>
<li>Mail.app (e-mail client)</li>
<li>iCal (calendar application)</li>
<li>iTunes (music)</li>
<li>OmniFocus (GTD todo list)</li>
<li>TextMate (text editor)</li>
<li>Preview (image viewer &#8211; for looking at screenshots, scanned requirements docs)</li>
<li>PostgreSQL (CouponEngine database)</li>
<li>pgAdmin (postgreSQL client and admin app)</li>
<li>Terminal</li>
<li>Safari 4 (primary browser)</li>
<li>Firefox 3 (for testing look and feel)</li>
<li>Eclipse (development environment)</li>
<li>Windows XP (running in Parallels-for testing and Oracle)</li>
<li>Oracle 10G (ATG database)</li>
<li>JBoss 4.0 + ATG 2006.3 with full Commerce stack</li>
<li>JBoss 4.2 + Seam application</li>
<li>ANT JVMs for running builds</li>
</ul>
<p>This is what I need to run to do my job, and it takes more than 4 GB of RAM. </p>
<p>Now that I have 8 GB, I&#8217;m not longer running into swapping and paging delays, and I&#8217;m much more productive.</p>
<p>Having close to twice the screen real estate (~70% more I think), a faster CPU, and 8 hours of battery life don&#8217;t hurt either.  This is the perfect machine for me.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.digitalsanctuary.com/tech-blog/apple/why-i-love-having-8-gigs-of-ram.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Huge Logs and OS X</title>
		<link>http://www.digitalsanctuary.com/tech-blog/java/atg/huge-logs-and-os-x.html</link>
		<comments>http://www.digitalsanctuary.com/tech-blog/java/atg/huge-logs-and-os-x.html#comments</comments>
		<pubDate>Fri, 22 Aug 2008 23:12:35 +0000</pubDate>
		<dc:creator>Devon</dc:creator>
				<category><![CDATA[Apple]]></category>
		<category><![CDATA[ATG]]></category>
		<category><![CDATA[os x]]></category>

		<guid isPermaLink="false">http://www.digitalsanctuary.com/tech-blog/java/atg/huge-logs-and-os-x.html</guid>
		<description><![CDATA[Another reason that I love my mac: it can handle 1.3 GB log files easily with built in tools. I recently received a huge log file in zipped form from a co-worker with the warning &#8220;good luck opening it, textpad &#8230; <a href="http://www.digitalsanctuary.com/tech-blog/java/atg/huge-logs-and-os-x.html">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>Another reason that I love my mac:  it can handle 1.3 GB log files easily with built in tools.  I recently received a huge log file in zipped form from a co-worker with the warning &#8220;good luck opening it, textpad won&#8217;t open it.&#8221;</p>
<p>After unzipping it to the full 1.3 GB size I was able to open it using the built in Apple log viewer Console.</p>
<p>I ended up mostly using the terminal and tools like cat, less, grep, etc&#8230; to quickly find what I wanted and view the log lines surrounding the events I was interested in.</p>
<p>No problem.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.digitalsanctuary.com/tech-blog/java/atg/huge-logs-and-os-x.html/feed</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
		<item>
		<title>Time Machine To The Rescue</title>
		<link>http://www.digitalsanctuary.com/tech-blog/apple/time-machine-to-the-rescue.html</link>
		<comments>http://www.digitalsanctuary.com/tech-blog/apple/time-machine-to-the-rescue.html#comments</comments>
		<pubDate>Mon, 04 Aug 2008 07:24:03 +0000</pubDate>
		<dc:creator>Devon</dc:creator>
				<category><![CDATA[Apple]]></category>
		<category><![CDATA[ant]]></category>
		<category><![CDATA[os x]]></category>

		<guid isPermaLink="false">http://www.digitalsanctuary.com/tech-blog/?p=141</guid>
		<description><![CDATA[I ran an ANT task to undeploy an ATG Module, but I had my build property module location set incorrectly. As a result, I inadvertently deleted my entire ATG 7.1 installation. Whoops. I opened the containing directly in the Finder, &#8230; <a href="http://www.digitalsanctuary.com/tech-blog/apple/time-machine-to-the-rescue.html">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>I ran an ANT task to undeploy an ATG Module, but I had my build property module location set incorrectly.  As a result, I inadvertently deleted my entire ATG 7.1 installation.</p>
<p>Whoops.</p>
<p>I opened the containing directly in the Finder, where my ATG 7.1 USED to be, and hit TimeMachine.  My laptop connected to my Time Machine over wireless, and let me browse through the last month or so of folder states for that directory.  I went to the previous backup (about half an hour ago), and clicked Restore.  Like magic, my entire missing ATG installation reappeared.  </p>
<p>Pretty sweet stuff.  Thanks Apple.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.digitalsanctuary.com/tech-blog/apple/time-machine-to-the-rescue.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>YouTube Gets Stuck After 2 Seconds</title>
		<link>http://www.digitalsanctuary.com/tech-blog/apple/youtube-gets-stuck-after-2-seconds.html</link>
		<comments>http://www.digitalsanctuary.com/tech-blog/apple/youtube-gets-stuck-after-2-seconds.html#comments</comments>
		<pubDate>Fri, 09 May 2008 03:50:31 +0000</pubDate>
		<dc:creator>Devon</dc:creator>
				<category><![CDATA[Apple]]></category>
		<category><![CDATA[Flash]]></category>
		<category><![CDATA[os x]]></category>
		<category><![CDATA[safari]]></category>
		<category><![CDATA[YouTube]]></category>

		<guid isPermaLink="false">http://www.digitalsanctuary.com/tech-blog/?p=103</guid>
		<description><![CDATA[I recently started having an issue with YouTube playing a video without sound for 2 seconds, then stopping. This is a new laptop, so everything is fresh and new, leaving me with a ton of potential culprits: OS X, Safari &#8230; <a href="http://www.digitalsanctuary.com/tech-blog/apple/youtube-gets-stuck-after-2-seconds.html">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>I recently started having an issue with YouTube playing a video without sound for 2 seconds, then stopping.  This is a new laptop, so everything is fresh and new, leaving me with a ton of potential culprits: OS X, Safari 3.1.1, Flash, network, Perian, etc&#8230;.</p>
<p>Googling showed that other people were having this issue across many OSes and browsers.  Unfortunately, most of the advice was &#8220;reboot&#8221; or &#8220;change your network buffer&#8221; or &#8220;YouTube sucks!&#8221;.  None of which helped me.</p>
<p>What did help, is downgrading from Flash Player 9.0.124.0 to 9.0.47.0 using the <a href="http://kb.adobe.com/selfservice/viewContent.do?externalId=tn_14266">Adobe archive of Flash Players</a>.  I uninstalled the 9.0.124.0, and installed 9.0.47.0, and poof, no more problems with YouTube videos.</p>
<p>I hope this helps someone.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.digitalsanctuary.com/tech-blog/apple/youtube-gets-stuck-after-2-seconds.html/feed</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Eclipse StartOnFirstThread Error (and fix!)</title>
		<link>http://www.digitalsanctuary.com/tech-blog/java/eclipse-startonfirstthread-error-and-fix.html</link>
		<comments>http://www.digitalsanctuary.com/tech-blog/java/eclipse-startonfirstthread-error-and-fix.html#comments</comments>
		<pubDate>Thu, 24 Jan 2008 23:22:12 +0000</pubDate>
		<dc:creator>Devon</dc:creator>
				<category><![CDATA[Apple]]></category>
		<category><![CDATA[Java]]></category>
		<category><![CDATA[eclipse]]></category>
		<category><![CDATA[mac]]></category>
		<category><![CDATA[os x]]></category>

		<guid isPermaLink="false">http://www.digitalsanctuary.com/tech-blog/java/eclipse-startonfirstthread-error-and-fix.html</guid>
		<description><![CDATA[This appears to be an issue with the JVM under Leopard (Mac OS X 10.5), but I started getting the following error within Eclipse when using the ResourceBundleEditor plugin: It also apparently happens with other plugins/apps and is an issue &#8230; <a href="http://www.digitalsanctuary.com/tech-blog/java/eclipse-startonfirstthread-error-and-fix.html">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>This appears to be an issue with the JVM under Leopard (Mac OS X 10.5), but I started getting the following error within Eclipse when using the ResourceBundleEditor plugin:</p>
<p><img src='http://www.digitalsanctuary.com/tech-blog/wp-content/uploads/2008/01/startonfirstthread-error.jpg' alt='StartOnFirstThread Error Message' /></p>
<p>It also apparently happens with other plugins/apps and is an issue with the AWT kit in the new JVM.  After pouring through all of my Eclipse config files and determining that I definitely was NOT specifying StartOnFirstThread anywhere, I found this fix:</p>
<p>Within the Eclipse application bundle, in the file Contents/MacOS/eclipse.ini, add this line:</p>
<p>-Djava.awt.headless=true</p>
<p>Save the file, and restart Eclipse.  Problem solved.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.digitalsanctuary.com/tech-blog/java/eclipse-startonfirstthread-error-and-fix.html/feed</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
		<item>
		<title>ATG Installation on OS X</title>
		<link>http://www.digitalsanctuary.com/tech-blog/java/atg/atg-installation-on-os-x.html</link>
		<comments>http://www.digitalsanctuary.com/tech-blog/java/atg/atg-installation-on-os-x.html#comments</comments>
		<pubDate>Tue, 09 Oct 2007 23:05:23 +0000</pubDate>
		<dc:creator>Devon</dc:creator>
				<category><![CDATA[ATG]]></category>
		<category><![CDATA[os x]]></category>

		<guid isPermaLink="false">http://www.digitalsanctuary.com/tech-blog/java/atg/atg-installation-on-os-x.html</guid>
		<description><![CDATA[While ATG runs fine on OS X, and while many people inside and outside of ATG use OS X as their primary operating system, the ATG installer STILL doesn&#8217;t work under OS X. It &#8220;mostly&#8221; works. It seems to work, &#8230; <a href="http://www.digitalsanctuary.com/tech-blog/java/atg/atg-installation-on-os-x.html">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>While ATG runs fine on OS X, and while many people inside and outside of ATG use OS X as their primary operating system, the ATG installer STILL doesn&#8217;t work under OS X.  It &#8220;mostly&#8221; works.  It seems to work, it installs things, however if you try to do stuff, like patch, or like adding other ATG modules, things don&#8217;t work.  The culprit is the installconfig/config.xml.  If you install on Solaris for instance, you get one that looks something like this:</p>
<blockquote><p>
&lt;?xml version=&#8221;1.0&#8243; encoding=&#8221;UTF-8&#8243;?&gt;<br />
&lt;config xmlns=&#8221;*&#8221;&gt;<br />
&lt;install xmlns=&#8221;"&gt;<br />
&lt;product name=&#8221;ATG Adaptive Scenario Engine&#8221; version=&#8221;2006.3&#8243;&gt;<br />
&lt;configure&gt;false&lt;/configure&gt;<br />
&lt;/product&gt;<br />
&lt;product name=&#8221;ATG Consumer Commerce&#8221; version=&#8221;2006.3&#8243;&gt;<br />
&lt;configure&gt;false&lt;/configure&gt;<br />
&lt;/product&gt;<br />
&lt;product name=&#8221;ATG Content Administration&#8221; version=&#8221;2006.3&#8243;&gt;<br />
&lt;configure&gt;false&lt;/configure&gt;<br />
&lt;/product&gt;<br />
&lt;product name=&#8221;ATG Portal&#8221; version=&#8221;2006.3&#8243;&gt;<br />
&lt;configure&gt;false&lt;/configure&gt;<br />
&lt;/product&gt;<br />
&lt;product name=&#8221;ATG Business Commerce&#8221; version=&#8221;2006.3&#8243;&gt;<br />
&lt;configure&gt;false&lt;/configure&gt;<br />
&lt;/product&gt;<br />
&lt;/install&gt;<br />
&lt;systemEnv xmlns=&#8221;"&gt;<br />
&lt;locale&gt;en&lt;/locale&gt;<br />
&lt;rootDir&gt;/opt/atg/versions/ATG2006.3&lt;/rootDir&gt;<br />
&lt;jBossListenPort&gt;8080&lt;/jBossListenPort&gt;<br />
&lt;docRoot&gt;/opt/atg/versions/ATG2006.3/home/doc&lt;/docRoot&gt;<br />
&lt;platform&gt;Darwin&lt;/platform&gt;<br />
&lt;rmiPort&gt;8860&lt;/rmiPort&gt;<br />
&lt;appServer&gt;JBoss&lt;/appServer&gt;<br />
&lt;jBossHome&gt;/opt/jboss/root/&lt;/jBossHome&gt;<br />
&lt;jBossVersion&gt;4.0.3&lt;/jBossVersion&gt;<br />
&lt;baseLevel&gt;ATG2006.3_8095&lt;/baseLevel&gt;<br />
&lt;ATGJRE&gt;/Library/Java/Home/bin/java&lt;/ATGJRE&gt;<br />
&lt;patchLevel&gt;2006.3p4&lt;/patchLevel&gt;<br />
&lt;/systemEnv&gt;<br />
&lt;/config&gt;
</p></blockquote>
<p>when you install under OS X you end up with an atrophied little file like this:</p>
<p><span id="more-46"></span></p>
<blockquote><p>
&lt;?xml version=&#8221;1.0&#8243;?&gt;<br />
&lt;config&gt;<br />
&lt;systemEnv&gt;<br />
&lt;baseLevel&gt;ATG7.2_7673&lt;/baseLevel&gt;<br />
&lt;/systemEnv&gt;<br />
&lt;/config&gt;
</p></blockquote>
<p>When installers and patches go looking to see what is installed, they can&#8217;t find anything and die.  If you dig around you can find the following errors from the install logged away somewhere obscure:</p>
<p><code>java.lang.NullPointerException<br />
at com.zerog.ia.installer.actions.MakeExecutable.a(DashoA8113)<br />
at com.zerog.ia.installer.actions.MakeExecutable.a(DashoA8113)<br />
at com.zerog.ia.installer.actions.MakeExecutable.r(DashoA8113)<br />
at com.zerog.ia.installer.actions.MakeExecutable.installSelf(DashoA8113)<br />
at com.zerog.ia.installer.actions.InstallUninstaller.c(DashoA8113)<br />
at com.zerog.ia.installer.actions.InstallUninstaller.installSelf(DashoA8113)<br />
at com.zerog.ia.installer.Action.install(DashoA8113)<br />
at com.zerog.ia.installer.actions.InstallDirectory.install(DashoA8113)<br />
at com.zerog.ia.installer.actions.InstallDirectory.install(DashoA8113)<br />
at com.zerog.ia.installer.Action.install(DashoA8113)<br />
at com.zerog.ia.installer.GhostDirectory.install(DashoA8113)<br />
at com.zerog.ia.installer.Installer.install(DashoA8113)<br />
at com.zerog.ia.installer.LifeCycleManager.a(DashoA8113)<br />
at com.zerog.ia.installer.LifeCycleManager.a(DashoA8113)<br />
at com.zerog.ia.installer.Main.main(DashoA8113)<br />
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)<br />
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)<br />
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)<br />
at java.lang.reflect.Method.invoke(Method.java:585)<br />
at com.zerog.lax.LAX.launch(DashoA8113)<br />
at com.zerog.lax.LAX.main(DashoA8113)<br />
XMLScriptWriter: No Installation Objects were skipped<br />
Retrying Installables deferred in pass 0<br />
Deferral retries done because:<br />
There were no deferrals in the last pass.<br />
RepositoryManager: repository successfully written to stable storage<br />
RepositoryManager: repository successfully written to stable storage<br />
Execute Custom Code<br />
class atg.road.install.iacustom.action.WriteConfigXML FatalInstallException.</code></p>
<p>Now the first error turns out to be the ZeroG installer failing to create an uninstaller.  Exactly why it failed, I couldn&#8217;t figure out, as they&#8217;ve obscured the heck out of their code.  The MakeExecutable class has about 8 methods named &#8220;a&#8221;, many of them call other &#8220;a&#8221; methods, none of the variables are clearly named, etc&#8230;.  But it&#8217;s just an installer, so I&#8217;ll let it slide.</p>
<p>The second error looks like the real culprit here.  The problem is that the error itself isn&#8217;t very helpful.  The code isn&#8217;t very helpful either, and it looks like it should be logging more helpful info, but I can&#8217;t find it anywhere.  I poked around for a few hours, but didn&#8217;t make any headway.</p>
<p>Short answer is you have to install on a support platform, Solaris (you can even grab a Solaris image for Parallels off the net), Linux, Windows, etc&#8230; and copy over the install,or at least the config.xml file from that install.</p>
<p>It&#8217;s a real shame since really the whole thing just unpacks and could be well served by being distributed like JBoss in a simple zip file.  Maybe make a post-install setup tool to help configure somethings (like perhaps the database connections?  Run the install scripts automatically after being giving the jdbc info&#8230;.  just an idea guys)?</p>
]]></content:encoded>
			<wfw:commentRss>http://www.digitalsanctuary.com/tech-blog/java/atg/atg-installation-on-os-x.html/feed</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Home Backups</title>
		<link>http://www.digitalsanctuary.com/tech-blog/general/home-backups.html</link>
		<comments>http://www.digitalsanctuary.com/tech-blog/general/home-backups.html#comments</comments>
		<pubDate>Fri, 22 Jun 2007 05:20:28 +0000</pubDate>
		<dc:creator>Devon</dc:creator>
				<category><![CDATA[Apple]]></category>
		<category><![CDATA[General]]></category>
		<category><![CDATA[mac]]></category>
		<category><![CDATA[os x]]></category>

		<guid isPermaLink="false">http://www.digitalsanctuary.com/tech-blog/archives/20</guid>
		<description><![CDATA[I just setup some bash scripts leveraging rsync and triggered via cron to not only keep my external hard-drives backed up to their relative backups, but also to keep my wife&#8217;s laptop (MacBook) backed up to an external drive attached &#8230; <a href="http://www.digitalsanctuary.com/tech-blog/general/home-backups.html">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>I just setup some bash scripts leveraging rsync and triggered via cron to not only keep my external hard-drives backed up to their relative backups, but also to keep my wife&#8217;s laptop (MacBook) backed up to an external drive attached to my desktop (PowerMac).</p>
<p><code>/usr/bin/backup:</code><br /><code>#!/bin/bash<br />
rsync /Users/emma/ -avz -e ssh 'modoc@andromeda.local:/Volumes/MBP\ Backup/tongari/Users/emma/'<br />
rsync /Applications/ -avz -e ssh 'modoc@andromeda.local:/Volumes/MBP\ Backup/tongari/Applications/'</code></p>
<p><code>/etc/crontab</code><br /><code># minute        hour    mday    month   wday    who     command<br />
30      5       *       *       *       emma    /bin/bash /usr/bin/backup</code></p>
<p>And with ssh keys setup correctly, it should just work.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.digitalsanctuary.com/tech-blog/general/home-backups.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

<!-- Performance optimized by W3 Total Cache. Learn more: http://www.w3-edge.com/wordpress-plugins/

Minified using disk: basic
Page Caching using disk: enhanced
Database Caching 1/43 queries in 0.009 seconds using disk: basic
Object Caching 582/685 objects using disk: basic

Served from: www.digitalsanctuary.com @ 2012-02-06 23:47:52 -->
