<?xml version="1.0" encoding="UTF-8"?>
<?xml-stylesheet type="text/xsl" media="screen" href="/~d/styles/rss2full.xsl"?><?xml-stylesheet type="text/css" media="screen" href="http://feeds.feedburner.com/~d/styles/itemcontent.css"?><rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:wfw="http://wellformedweb.org/CommentAPI/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:sy="http://purl.org/rss/1.0/modules/syndication/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:feedburner="http://rssnamespace.org/feedburner/ext/1.0" version="2.0">

<channel>
	<title>betweenGo</title>
	
	<link>http://betweengo.com</link>
	<description>We make Ruby on Rails easy.  We make ATG easy.</description>
	<lastBuildDate>Tue, 08 May 2012 19:30:33 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.2</generator>
		<atom10:link xmlns:atom10="http://www.w3.org/2005/Atom" rel="self" type="application/rss+xml" href="http://feeds.feedburner.com/betweengo" /><feedburner:info uri="betweengo" /><atom10:link xmlns:atom10="http://www.w3.org/2005/Atom" rel="hub" href="http://pubsubhubbub.appspot.com/" /><feedburner:emailServiceId>betweengo</feedburner:emailServiceId><feedburner:feedburnerHostname>http://feedburner.google.com</feedburner:feedburnerHostname><item>
		<title>Clearing Out BCC Projects</title>
		<link>http://feedproxy.google.com/~r/betweengo/~3/Ney1wSOxn9c/</link>
		<comments>http://betweengo.com/2012/04/25/clearing-out-bcc-projects/#comments</comments>
		<pubDate>Wed, 25 Apr 2012 16:33:45 +0000</pubDate>
		<dc:creator>Frank Kim</dc:creator>
				<category><![CDATA[Publishing]]></category>

		<guid isPermaLink="false">http://betweengo.com/?p=1244</guid>
		<description><![CDATA[Clean Up or You&#8217;re Out! :Brooklyn Street Sign by emilydickinsonridesabmx This may not be the best way to clear out your BCC projects but it’s quick. delete from epub_pr_history; delete from epub_project; delete from epub_proc_history; delete from epub_proc_taskinfo; delete from epub_ind_workflow; delete from epub_process; delete from avm_asset_lock; delete from avm_workspace; Related posts: Sorting Nested Properties
Related posts:<ol>
<li><a href='http://betweengo.com/2008/06/10/sorting-nested-properties/' rel='bookmark' title='Sorting Nested Properties'>Sorting Nested Properties</a></li>
</ol>]]></description>
			<content:encoded><![CDATA[<p><a href="http://www.flickr.com/photos/emilyrides/5188289325/"><img title="Clean Up or You're Out! :Brooklyn Street Sign | Flickr" src="http://farm5.staticflickr.com/4083/5188289325_964d90bcdf.jpg" alt="Clean Up or You're Out! :Brooklyn Street Sign | Flickr" /></a></p>
<p align="center"><a title="Clean Up or You're Out! :Brooklyn Street Sign | Flickr" href="http://www.flickr.com/photos/emilyrides/5188289325/">Clean Up or You&#8217;re Out! :Brooklyn Street Sign</a> by <a title="Flickr: emilydickinsonridesabmx's photostream" href="http://www.flickr.com/photos/emilyrides/">emilydickinsonridesabmx</a></p>
<p>This may not be the best way to clear out your BCC projects but it’s quick.</p>
<pre>delete from epub_pr_history;

delete from epub_project;

delete from epub_proc_history;

delete from epub_proc_taskinfo;

delete from epub_ind_workflow;

delete from epub_process;

delete from avm_asset_lock;

delete from avm_workspace;</pre>
<p><a class="a2a_dd a2a_target addtoany_share_save" href="http://www.addtoany.com/share_save#url=http%3A%2F%2Fbetweengo.com%2F2012%2F04%2F25%2Fclearing-out-bcc-projects%2F&amp;title=Clearing%20Out%20BCC%20Projects" id="wpa2a_2"><img src="http://betweengo.com/wp-content/plugins/add-to-any/share_save_171_16.png" width="171" height="16" alt="Share"/></a></p><p>Related posts:<ol>
<li><a href='http://betweengo.com/2008/06/10/sorting-nested-properties/' rel='bookmark' title='Sorting Nested Properties'>Sorting Nested Properties</a></li>
</ol></p>
<p><a href="http://feedads.g.doubleclick.net/~a/B9uh-MW4Q36F2Dg7oPR2ZfpkHBw/0/da"><img src="http://feedads.g.doubleclick.net/~a/B9uh-MW4Q36F2Dg7oPR2ZfpkHBw/0/di" border="0" ismap="true"></img></a><br/>
<a href="http://feedads.g.doubleclick.net/~a/B9uh-MW4Q36F2Dg7oPR2ZfpkHBw/1/da"><img src="http://feedads.g.doubleclick.net/~a/B9uh-MW4Q36F2Dg7oPR2ZfpkHBw/1/di" border="0" ismap="true"></img></a></p><div class="feedflare">
<a href="http://feeds.feedburner.com/~ff/betweengo?a=Ney1wSOxn9c:B8h8xqGBPMA:yIl2AUoC8zA"><img src="http://feeds.feedburner.com/~ff/betweengo?d=yIl2AUoC8zA" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/betweengo?a=Ney1wSOxn9c:B8h8xqGBPMA:D7DqB2pKExk"><img src="http://feeds.feedburner.com/~ff/betweengo?i=Ney1wSOxn9c:B8h8xqGBPMA:D7DqB2pKExk" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/betweengo?a=Ney1wSOxn9c:B8h8xqGBPMA:F7zBnMyn0Lo"><img src="http://feeds.feedburner.com/~ff/betweengo?i=Ney1wSOxn9c:B8h8xqGBPMA:F7zBnMyn0Lo" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/betweengo?a=Ney1wSOxn9c:B8h8xqGBPMA:V_sGLiPBpWU"><img src="http://feeds.feedburner.com/~ff/betweengo?i=Ney1wSOxn9c:B8h8xqGBPMA:V_sGLiPBpWU" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/betweengo?a=Ney1wSOxn9c:B8h8xqGBPMA:qj6IDK7rITs"><img src="http://feeds.feedburner.com/~ff/betweengo?d=qj6IDK7rITs" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/betweengo?a=Ney1wSOxn9c:B8h8xqGBPMA:gIN9vFwOqvQ"><img src="http://feeds.feedburner.com/~ff/betweengo?i=Ney1wSOxn9c:B8h8xqGBPMA:gIN9vFwOqvQ" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/betweengo?a=Ney1wSOxn9c:B8h8xqGBPMA:TzevzKxY174"><img src="http://feeds.feedburner.com/~ff/betweengo?d=TzevzKxY174" border="0"></img></a>
</div><img src="http://feeds.feedburner.com/~r/betweengo/~4/Ney1wSOxn9c" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://betweengo.com/2012/04/25/clearing-out-bcc-projects/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://betweengo.com/2012/04/25/clearing-out-bcc-projects/</feedburner:origLink></item>
		<item>
		<title>Changing VirtualBox’s Disk Image Sizes</title>
		<link>http://feedproxy.google.com/~r/betweengo/~3/N9pjayO0dbQ/</link>
		<comments>http://betweengo.com/2011/07/23/changing-virtualboxs-disk-image-sizes/#comments</comments>
		<pubDate>Sat, 23 Jul 2011 15:42:11 +0000</pubDate>
		<dc:creator>Frank Kim</dc:creator>
				<category><![CDATA[Mac]]></category>
		<category><![CDATA[virtualbox]]></category>
		<category><![CDATA[windows]]></category>

		<guid isPermaLink="false">http://betweengo.com/2011/07/23/changing-virtualboxs-disk-image-sizes/</guid>
		<description><![CDATA[Teacup’s Revenge by Earl-Wilkerson I was running out of room in my Virtual Box Windows 7 disk.&#160; Windows was reporting used space of 18.6 GB and free space of 1.22 GB.&#160; My Mac was reporting that my disk image was using up 21.39 GB. Compacting On your Windows Guest: Run Disk Cleanup. Run Disk Defragmenter. [...]
Related posts:<ol>
<li><a href='http://betweengo.com/2008/08/01/spaces-not-tabs/' rel='bookmark' title='Spaces, not Tabs'>Spaces, not Tabs</a></li>
<li><a href='http://betweengo.com/2008/04/23/changing-a-users-password/' rel='bookmark' title='Changing a user&#8217;s password'>Changing a user&#8217;s password</a></li>
<li><a href='http://betweengo.com/2011/02/28/virtualbox-unable-to-run-two-instances/' rel='bookmark' title='VirtualBox Unable to Run Two Instances'>VirtualBox Unable to Run Two Instances</a></li>
</ol>]]></description>
			<content:encoded><![CDATA[<p align="center"><a href="http://www.flickr.com/photos/earlwilkersonphotography/5564234121/"><img title="Teacup&#39;s Revenge | Flickr" alt="Teacup&#39;s Revenge | Flickr" src="http://farm6.static.flickr.com/5134/5564234121_c036586b69.jpg" /></a></p>
<p align="center"><a title="Teacup&#39;s Revenge | Flickr" href="http://www.flickr.com/photos/earlwilkersonphotography/5564234121/">Teacup’s Revenge</a> by <a title="Flickr: Earl-Wilkerson&#39;s Photostream" href="http://www.flickr.com/photos/earlwilkersonphotography/">Earl-Wilkerson</a></p>
<p>I was running out of room in my Virtual Box Windows 7 disk.&#160; Windows was reporting used space of 18.6 GB and free space of 1.22 GB.&#160; My Mac was reporting that my disk image was using up 21.39 GB.</p>
<p><strong>Compacting</strong></p>
<p>On your Windows Guest:</p>
<ol>
<li>Run <a title="Delete files using Disk Cleanup" href="http://windows.microsoft.com/en-US/windows-vista/Delete-files-using-Disk-Cleanup">Disk Cleanup</a>. </li>
<li>Run <a title="Using Disk Defragmenter" href="http://www.microsoft.com/resources/documentation/windows/xp/all/proddocs/en-us/snap_defrag.mspx?mfr=true">Disk Defragmenter</a>. </li>
<li>Download <a title="SDelete" href="http://technet.microsoft.com/en-us/sysinternals/bb897443">SDelete</a> and use it to zero out free space. I put sdelete in C:\Windows\System32 and then ran it like this from the command prompt.
<pre>C:\&gt; sdelete -c c:/</pre>
<p></li>
<li>Shutdown Windows. </li>
</ol>
<p>On your Mac Host:</p>
<ol>
<li>Run VBoxManage from the Terminal to compact the disk image.
<pre>$ VBoxManage modifyhd Windows.vdi --compact</pre>
</li>
</ol>
<p><strong>Sad Story</strong></p>
<p>I first tried shrinking the disk image to see if that would free up room using the instructions above which were based on the article <a title="How To Shrink Your Virtualbox VM And Free Up Space For Your Hard Disk" href="http://maketecheasier.com/shrink-your-virtualbox-vm/2009/04/06">How To Shrink Your Virtualbox VM And Free Up Space For Your Hard Disk</a>.</p>
<p>After doing this Windows reported used space of 18.8 GB and free space of 1.03 GB.&#160; In other words no difference. <img style="border-bottom-style: none; border-left-style: none; border-top-style: none; border-right-style: none" class="wlEmoticon wlEmoticon-sadsmile" alt="Sad smile" src="http://betweengo.com/wp-content/uploads/2011/07/wlEmoticon-sadsmile.png" />&#160; But on the Mac the disk image was now only using up 20.51 GB.</p>
<p><strong>Resizing</strong></p>
<p>On your Windows Guest:</p>
<ol>
<li>Shutdown Windows. </li>
</ol>
<p>On your Mac Host:</p>
<ol>
<li>Run VBoxManage from the Terminal to resize the disk image. This is how I did it.
<pre>$ VBoxManage modifyhd Windows.vdi --resize N</pre>
</li>
</ol>
<p>On your Windows Guest:</p>
<ol>
<li>Restart Windows. </li>
<li>Use <a title="Microsoft Windows - Extend a basic volume" href="http://www.microsoft.com/resources/documentation/windows/xp/all/proddocs/en-us/dm_extend_basic_volume.mspx?mfr=true">diskpart</a> to resize the C: drive to use the new space. </li>
</ol>
<p><strong>Happy Story</strong></p>
<p>Realizing that compacting did not work I shut down again and this time increased the size of the disk image by 10 GB from 20 GB to 30 GB (N = 30720).</p>
<p>VirtualBox showed in its settings that the disk image size was now 30 GB.&#160; But Windows still reported used space of 18.8 GB and free space of 1.03 GB.&#160; Again no difference. <img style="border-bottom-style: none; border-left-style: none; border-top-style: none; border-right-style: none" class="wlEmoticon wlEmoticon-sadsmile" alt="Sad smile" src="http://betweengo.com/wp-content/uploads/2011/07/wlEmoticon-sadsmile.png" />&#160; And on the Mac the disk image was still the same but that was to be expected.</p>
<p>Back to Google which led me to Windows’ brilliant tool <a title="Microsoft Windows - Extend a basic volume" href="http://www.microsoft.com/resources/documentation/windows/xp/all/proddocs/en-us/dm_extend_basic_volume.mspx?mfr=true">diskpart</a>.</p>
<pre>C:\&gt;diskpart

Microsoft DiskPart version 6.1.7600
Copyright (C) 1999-2008 Microsoft Corporation.
On computer: WIN-7-IMAC-POOP

DISKPART&gt; list volume

  Volume ###  Ltr  Label        Fs     Type        Size     Status     Info
  ----------  ---  -----------  -----  ----------  -------  ---------  --------
  Volume 0     D   VBOXADDITIO  CDFS   CD-ROM        38 MB  Healthy
  Volume 1         System Rese  NTFS   Partition    100 MB  Healthy    System
  Volume 2     C                NTFS   Partition     19 GB  Healthy    Boot

DISKPART&gt; select volume 2

Volume 2 is the selected volume.

DISKPART&gt; extend size=10240

DiskPart successfully extended the volume.</pre>
<p>Windows now reported free space of 11.0 GB.<img style="border-bottom-style: none; border-left-style: none; border-top-style: none; border-right-style: none" class="wlEmoticon wlEmoticon-openmouthedsmile" alt="Open-mouthed smile" src="http://betweengo.com/wp-content/uploads/2011/07/wlEmoticon-openmouthedsmile.png" /></p>
<p><strong>End Note</strong></p>
<p>I originally tried resizing the disk by specifying the size of how much I wanted the disk increased, i.e. 10 GB or N=10240.</p>
<pre>$ VBoxManage modifyhd Library/VirtualBox/HardDisks/Windows\ 7.vdi --resize 10240</pre>
<p>This failed with the strange error:</p>
<pre>Progress state: VBOX_E_NOT_SUPPORTED
VBoxManage: error: Resize hard disk operation for this format is not implemented yet!</pre>
<p>Fortunately I found out in <a title="VBoxManage.exe modifyhd returns ERROR on Win7 Host" href="http://forums.virtualbox.org/viewtopic.php?f=6&amp;t=39480&amp;start=0">one of the VirtualBox forums</a> that this happened because I gave the wrong argument to resize.&#160; Too bad the error message wasn’t a little more helpful. <img style="border-bottom-style: none; border-left-style: none; border-top-style: none; border-right-style: none" class="wlEmoticon wlEmoticon-smile" alt="Smile" src="http://betweengo.com/wp-content/uploads/2011/07/wlEmoticon-smile.png" /></p>
<p><a class="a2a_dd a2a_target addtoany_share_save" href="http://www.addtoany.com/share_save#url=http%3A%2F%2Fbetweengo.com%2F2011%2F07%2F23%2Fchanging-virtualboxs-disk-image-sizes%2F&amp;title=Changing%20VirtualBox%26rsquo%3Bs%20Disk%20Image%20Sizes" id="wpa2a_4"><img src="http://betweengo.com/wp-content/plugins/add-to-any/share_save_171_16.png" width="171" height="16" alt="Share"/></a></p><p>Related posts:<ol>
<li><a href='http://betweengo.com/2008/08/01/spaces-not-tabs/' rel='bookmark' title='Spaces, not Tabs'>Spaces, not Tabs</a></li>
<li><a href='http://betweengo.com/2008/04/23/changing-a-users-password/' rel='bookmark' title='Changing a user&#8217;s password'>Changing a user&#8217;s password</a></li>
<li><a href='http://betweengo.com/2011/02/28/virtualbox-unable-to-run-two-instances/' rel='bookmark' title='VirtualBox Unable to Run Two Instances'>VirtualBox Unable to Run Two Instances</a></li>
</ol></p>
<p><a href="http://feedads.g.doubleclick.net/~a/-BCQvyZKkFwl1qztvD4xoXYdwoU/0/da"><img src="http://feedads.g.doubleclick.net/~a/-BCQvyZKkFwl1qztvD4xoXYdwoU/0/di" border="0" ismap="true"></img></a><br/>
<a href="http://feedads.g.doubleclick.net/~a/-BCQvyZKkFwl1qztvD4xoXYdwoU/1/da"><img src="http://feedads.g.doubleclick.net/~a/-BCQvyZKkFwl1qztvD4xoXYdwoU/1/di" border="0" ismap="true"></img></a></p><div class="feedflare">
<a href="http://feeds.feedburner.com/~ff/betweengo?a=N9pjayO0dbQ:LpQt6YTNzcE:yIl2AUoC8zA"><img src="http://feeds.feedburner.com/~ff/betweengo?d=yIl2AUoC8zA" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/betweengo?a=N9pjayO0dbQ:LpQt6YTNzcE:D7DqB2pKExk"><img src="http://feeds.feedburner.com/~ff/betweengo?i=N9pjayO0dbQ:LpQt6YTNzcE:D7DqB2pKExk" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/betweengo?a=N9pjayO0dbQ:LpQt6YTNzcE:F7zBnMyn0Lo"><img src="http://feeds.feedburner.com/~ff/betweengo?i=N9pjayO0dbQ:LpQt6YTNzcE:F7zBnMyn0Lo" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/betweengo?a=N9pjayO0dbQ:LpQt6YTNzcE:V_sGLiPBpWU"><img src="http://feeds.feedburner.com/~ff/betweengo?i=N9pjayO0dbQ:LpQt6YTNzcE:V_sGLiPBpWU" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/betweengo?a=N9pjayO0dbQ:LpQt6YTNzcE:qj6IDK7rITs"><img src="http://feeds.feedburner.com/~ff/betweengo?d=qj6IDK7rITs" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/betweengo?a=N9pjayO0dbQ:LpQt6YTNzcE:gIN9vFwOqvQ"><img src="http://feeds.feedburner.com/~ff/betweengo?i=N9pjayO0dbQ:LpQt6YTNzcE:gIN9vFwOqvQ" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/betweengo?a=N9pjayO0dbQ:LpQt6YTNzcE:TzevzKxY174"><img src="http://feeds.feedburner.com/~ff/betweengo?d=TzevzKxY174" border="0"></img></a>
</div><img src="http://feeds.feedburner.com/~r/betweengo/~4/N9pjayO0dbQ" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://betweengo.com/2011/07/23/changing-virtualboxs-disk-image-sizes/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		<feedburner:origLink>http://betweengo.com/2011/07/23/changing-virtualboxs-disk-image-sizes/</feedburner:origLink></item>
		<item>
		<title>Adding a New Link to a Commerce Pipeline</title>
		<link>http://feedproxy.google.com/~r/betweengo/~3/DqWpqr9AJkg/</link>
		<comments>http://betweengo.com/2011/06/22/adding-a-new-link-to-a-commerce-pipeline/#comments</comments>
		<pubDate>Wed, 22 Jun 2011 21:22:06 +0000</pubDate>
		<dc:creator>Frank Kim</dc:creator>
				<category><![CDATA[Commerce]]></category>
		<category><![CDATA[configuration]]></category>
		<category><![CDATA[xml]]></category>

		<guid isPermaLink="false">http://betweengo.com/2011/06/22/adding-a-new-link-to-a-commerce-pipeline/</guid>
		<description><![CDATA[Only as strong as the weakest link. Part 2 by David&#8217;n'Sheila To add new links to a commerce pipeline you need to override the default definition for the appropriate commerce pipeline.&#160; Commerce pipelines are defined in XML so you use ATG’s XML combining feature to accomplish this. For example if you want to add a [...]
Related posts:<ol>
<li><a href='http://betweengo.com/2009/11/12/the-dangers-of-custom-atg-repository-ids/' rel='bookmark' title='The Dangers of Custom ATG Repository ID&rsquo;s.'>The Dangers of Custom ATG Repository ID&rsquo;s.</a></li>
<li><a href='http://betweengo.com/2009/09/08/update-profile-in-atg-commerce/' rel='bookmark' title='Update Profile in ATG Commerce'>Update Profile in ATG Commerce</a></li>
<li><a href='http://betweengo.com/2010/01/12/combining-xml-in-atg/' rel='bookmark' title='Combining XML in ATG'>Combining XML in ATG</a></li>
</ol>]]></description>
			<content:encoded><![CDATA[<p><a href="http://www.flickr.com/photos/afferent/461165947/"><img style="display: block; float: none; margin-left: auto; margin-right: auto" title="Only as strong as the weakest link. Part 2 | Flickr" alt="Only as strong as the weakest link. Part 2 | Flickr" src="http://farm1.static.flickr.com/196/461165947_ae3cdcca07.jpg" /></a></p>
<p align="center"><a title="Only as strong as the weakest link. Part 2 | Flickr" href="http://www.flickr.com/photos/afferent/461165947/">Only as strong as the weakest link. Part 2</a> by <a title="Flickr: David&#39;n&#39;Sheila&#39;s Photostream" href="http://www.flickr.com/photos/afferent/">David&#8217;n'Sheila</a></p>
<p>To add new links to a commerce pipeline you need to override the default definition for the appropriate commerce pipeline.&#160; Commerce pipelines are defined in XML so you use <a title="Combining XML in ATG « betweenGo" href="http://betweengo.com/2010/01/12/combining-xml-in-atg/" target="_blank">ATG’s XML combining feature</a> to accomplish this.</p>
<p>For example if you want to add a new link to the ProcessOrder chain in the /atg/commerce/commercepipeline.xml you would create the following commercepipeline.xml in your local config.</p>
<pre>&lt;pipelinemanager&gt;
  &lt;pipelinechain name=&quot;processOrder&quot; xml-combine=&quot;append&quot;&gt;
    &lt;pipelinelink transaction=&quot;TX_MANDATORY&quot; name=&quot;authorizePayment&quot; xml-combine=&quot;replace&quot;&gt;
      &lt;processor jndi=&quot;/atg/commerce/order/processor/AuthorizePayment&quot; /&gt;
      &lt;transition returnvalue=&quot;1&quot; link=&quot;updateInventory&quot; /&gt;
    &lt;/pipelinelink&gt;
    &lt;pipelinelink name=&quot;updateInventory&quot; transaction=&quot;TX_MANDATORY&quot;&gt;
      &lt;processor jndi=&quot;/betweengo/commerce/inventory/processor/ProcUpdateInventory&quot; /&gt;
      &lt;transition returnvalue=&quot;1&quot; link=&quot;updateGiftRepository&quot; /&gt;
    &lt;/pipelinelink&gt;
&lt;/pipelinemanager&gt;</pre>
<p>In this example we added the new updateInventory link which is inserted between the authorizePayment and updateGiftRepository links.</p>
<p><a class="a2a_dd a2a_target addtoany_share_save" href="http://www.addtoany.com/share_save#url=http%3A%2F%2Fbetweengo.com%2F2011%2F06%2F22%2Fadding-a-new-link-to-a-commerce-pipeline%2F&amp;title=Adding%20a%20New%20Link%20to%20a%20Commerce%20Pipeline" id="wpa2a_6"><img src="http://betweengo.com/wp-content/plugins/add-to-any/share_save_171_16.png" width="171" height="16" alt="Share"/></a></p><p>Related posts:<ol>
<li><a href='http://betweengo.com/2009/11/12/the-dangers-of-custom-atg-repository-ids/' rel='bookmark' title='The Dangers of Custom ATG Repository ID&rsquo;s.'>The Dangers of Custom ATG Repository ID&rsquo;s.</a></li>
<li><a href='http://betweengo.com/2009/09/08/update-profile-in-atg-commerce/' rel='bookmark' title='Update Profile in ATG Commerce'>Update Profile in ATG Commerce</a></li>
<li><a href='http://betweengo.com/2010/01/12/combining-xml-in-atg/' rel='bookmark' title='Combining XML in ATG'>Combining XML in ATG</a></li>
</ol></p>
<p><a href="http://feedads.g.doubleclick.net/~a/JmuYdiji2IZFkGCrkbWBqbqD8gk/0/da"><img src="http://feedads.g.doubleclick.net/~a/JmuYdiji2IZFkGCrkbWBqbqD8gk/0/di" border="0" ismap="true"></img></a><br/>
<a href="http://feedads.g.doubleclick.net/~a/JmuYdiji2IZFkGCrkbWBqbqD8gk/1/da"><img src="http://feedads.g.doubleclick.net/~a/JmuYdiji2IZFkGCrkbWBqbqD8gk/1/di" border="0" ismap="true"></img></a></p><div class="feedflare">
<a href="http://feeds.feedburner.com/~ff/betweengo?a=DqWpqr9AJkg:VReecCEFbLM:yIl2AUoC8zA"><img src="http://feeds.feedburner.com/~ff/betweengo?d=yIl2AUoC8zA" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/betweengo?a=DqWpqr9AJkg:VReecCEFbLM:D7DqB2pKExk"><img src="http://feeds.feedburner.com/~ff/betweengo?i=DqWpqr9AJkg:VReecCEFbLM:D7DqB2pKExk" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/betweengo?a=DqWpqr9AJkg:VReecCEFbLM:F7zBnMyn0Lo"><img src="http://feeds.feedburner.com/~ff/betweengo?i=DqWpqr9AJkg:VReecCEFbLM:F7zBnMyn0Lo" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/betweengo?a=DqWpqr9AJkg:VReecCEFbLM:V_sGLiPBpWU"><img src="http://feeds.feedburner.com/~ff/betweengo?i=DqWpqr9AJkg:VReecCEFbLM:V_sGLiPBpWU" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/betweengo?a=DqWpqr9AJkg:VReecCEFbLM:qj6IDK7rITs"><img src="http://feeds.feedburner.com/~ff/betweengo?d=qj6IDK7rITs" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/betweengo?a=DqWpqr9AJkg:VReecCEFbLM:gIN9vFwOqvQ"><img src="http://feeds.feedburner.com/~ff/betweengo?i=DqWpqr9AJkg:VReecCEFbLM:gIN9vFwOqvQ" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/betweengo?a=DqWpqr9AJkg:VReecCEFbLM:TzevzKxY174"><img src="http://feeds.feedburner.com/~ff/betweengo?d=TzevzKxY174" border="0"></img></a>
</div><img src="http://feeds.feedburner.com/~r/betweengo/~4/DqWpqr9AJkg" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://betweengo.com/2011/06/22/adding-a-new-link-to-a-commerce-pipeline/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://betweengo.com/2011/06/22/adding-a-new-link-to-a-commerce-pipeline/</feedburner:origLink></item>
		<item>
		<title>Create Tablespaces in Oracle</title>
		<link>http://feedproxy.google.com/~r/betweengo/~3/2eGrF7XU1jQ/</link>
		<comments>http://betweengo.com/2011/03/21/create-tablespaces-in-oracle/#comments</comments>
		<pubDate>Mon, 21 Mar 2011 16:00:00 +0000</pubDate>
		<dc:creator>Frank Kim</dc:creator>
				<category><![CDATA[Oracle]]></category>
		<category><![CDATA[mac]]></category>

		<guid isPermaLink="false">http://betweengo.com/2011/03/21/create-tablespaces-in-oracle/</guid>
		<description><![CDATA[Zero Table by CommandZed Previously I posted about how to import and create users in Oracle and in those examples I used the tablespaces provided by Oracle, users and temp.  But often you will want to create your own tablespace and use that one as the default tablespace for your users. Here is an example [...]
Related posts:<ol>
<li><a href='http://betweengo.com/2009/07/17/how-to-import-and-create-users-in-oracle/' rel='bookmark' title='How to Import and Create Users in Oracle'>How to Import and Create Users in Oracle</a></li>
<li><a href='http://betweengo.com/2008/10/08/ruby-on-rails-and-oracle/' rel='bookmark' title='Ruby on Rails and Oracle'>Ruby on Rails and Oracle</a></li>
<li><a href='http://betweengo.com/2007/01/05/oracle-sequences/' rel='bookmark' title='Oracle Triggers'>Oracle Triggers</a></li>
</ol>]]></description>
			<content:encoded><![CDATA[<p><a href="http://www.flickr.com/photos/zara/2752802532/"><img class="aligncenter" title="Zero Table | Flickr" src="http://farm4.static.flickr.com/3257/2752802532_3484ed5037.jpg" alt="Zero Table | Flickr" /></a></p>
<p style="text-align: center;"><a title="Zero Table | Flickr" href="http://www.flickr.com/photos/zara/2752802532/">Zero Table</a> by <a title="Flickr: CommandZed's Photostream" href="http://www.flickr.com/photos/zara/">CommandZed</a></p>
<p>Previously I posted about <a title="How to Import and Create Users in Oracle « betweenGo" href="http://betweengo.com/2009/07/17/how-to-import-and-create-users-in-oracle/">how to import and create users in Oracle</a> and in those examples I used the tablespaces provided by Oracle, <tt>users</tt> and <tt>temp</tt>.  But often you will want to create your own tablespace and use that one as the default tablespace for your users.</p>
<p>Here is an example of how to create a tablespace with the name foo of size 1 GB. Note that it is created in <tt>/Users/oracle/oradata/orcl</tt> which is the default folder for dataspaces on Mac OS X.</p>
<pre>create tablespace
foo
datafile '/Users/oracle/oradata/orcl/foo.dbf'
size 1g;</pre>
<p>Here is an example of how to create the same tablespace except now you are allowing it to grow bigger in 100 MB increments up to a maximum of 2 GB.  If you don&#8217;t specify the maximum it will grow unlimited.</p>
<pre>create tablespace
foo
datafile '/Users/oracle/oradata/orcl/foo.dbf'
size 1g
autoextend on
next 100m
maxsize 2g;</pre>
<p>If your tablespace is not big enough you can resize it using syntax like this.</p>
<pre>alter database
datafile '/Users/oracle/oradata/orcl/foo.dbf'
resize 10g;</pre>
<p>To see how big your tablespaces are you can use this query.</p>
<pre>SELECT /* + RULE */  df.tablespace_name "Tablespace",
       df.bytes / (1024 * 1024) "Size (MB)",
       SUM(fs.bytes) / (1024 * 1024) "Free (MB)",
       Nvl(Round(SUM(fs.bytes) * 100 / df.bytes),1) "% Free",
       Round((df.bytes - SUM(fs.bytes)) * 100 / df.bytes) "% Used"
  FROM dba_free_space fs,
       (SELECT tablespace_name,SUM(bytes) bytes
          FROM dba_data_files
         GROUP BY tablespace_name) df
 WHERE fs.tablespace_name (+)  = df.tablespace_name
 GROUP BY df.tablespace_name,df.bytes
UNION ALL
SELECT /* + RULE */ df.tablespace_name tspace,
       fs.bytes / (1024 * 1024),
       SUM(df.bytes_free) / (1024 * 1024),
       Nvl(Round((SUM(fs.bytes) - df.bytes_used) * 100 / fs.bytes), 1),
       Round((SUM(fs.bytes) - df.bytes_free) * 100 / fs.bytes)
  FROM dba_temp_files fs,
       (SELECT tablespace_name,bytes_free,bytes_used
          FROM v$temp_space_header
         GROUP BY tablespace_name,bytes_free,bytes_used) df
 WHERE fs.tablespace_name (+)  = df.tablespace_name
 GROUP BY df.tablespace_name,fs.bytes,df.bytes_free,df.bytes_used
 ORDER BY 4 DESC;</pre>
<p>Here is an example of how to drop a tablespace including its contents and datafiles.</p>
<pre>drop tablespace foo including contents and datafiles</pre>
<p>For further reading please see <a title="Oracle create tablespace &amp; alter tablespace syntax" href="http://www.dba-oracle.com/t_tablespace_create_alter.htm">Oracle create tablespace &amp; alter tablespace syntax</a>, <a title="Tablespace – Oracle FAQ" href="http://www.orafaq.com/wiki/Tablespace">Tablespace – Oracle FAQ</a> and <a title="How enlarge or decrease the size of an Oracle Tablespace" href="http://peoplecnc.com/whitepapers/article.php?story=20060518130813908">How enlarge or decrease the size of an Oracle Tablespace</a>.</p>
<p><a class="a2a_dd a2a_target addtoany_share_save" href="http://www.addtoany.com/share_save#url=http%3A%2F%2Fbetweengo.com%2F2011%2F03%2F21%2Fcreate-tablespaces-in-oracle%2F&amp;title=Create%20Tablespaces%20in%20Oracle" id="wpa2a_8"><img src="http://betweengo.com/wp-content/plugins/add-to-any/share_save_171_16.png" width="171" height="16" alt="Share"/></a></p><p>Related posts:<ol>
<li><a href='http://betweengo.com/2009/07/17/how-to-import-and-create-users-in-oracle/' rel='bookmark' title='How to Import and Create Users in Oracle'>How to Import and Create Users in Oracle</a></li>
<li><a href='http://betweengo.com/2008/10/08/ruby-on-rails-and-oracle/' rel='bookmark' title='Ruby on Rails and Oracle'>Ruby on Rails and Oracle</a></li>
<li><a href='http://betweengo.com/2007/01/05/oracle-sequences/' rel='bookmark' title='Oracle Triggers'>Oracle Triggers</a></li>
</ol></p>
<p><a href="http://feedads.g.doubleclick.net/~a/XphrAVY8Rw-KJoSdylMro6DFA_U/0/da"><img src="http://feedads.g.doubleclick.net/~a/XphrAVY8Rw-KJoSdylMro6DFA_U/0/di" border="0" ismap="true"></img></a><br/>
<a href="http://feedads.g.doubleclick.net/~a/XphrAVY8Rw-KJoSdylMro6DFA_U/1/da"><img src="http://feedads.g.doubleclick.net/~a/XphrAVY8Rw-KJoSdylMro6DFA_U/1/di" border="0" ismap="true"></img></a></p><div class="feedflare">
<a href="http://feeds.feedburner.com/~ff/betweengo?a=2eGrF7XU1jQ:P7Q_PurEoO4:yIl2AUoC8zA"><img src="http://feeds.feedburner.com/~ff/betweengo?d=yIl2AUoC8zA" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/betweengo?a=2eGrF7XU1jQ:P7Q_PurEoO4:D7DqB2pKExk"><img src="http://feeds.feedburner.com/~ff/betweengo?i=2eGrF7XU1jQ:P7Q_PurEoO4:D7DqB2pKExk" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/betweengo?a=2eGrF7XU1jQ:P7Q_PurEoO4:F7zBnMyn0Lo"><img src="http://feeds.feedburner.com/~ff/betweengo?i=2eGrF7XU1jQ:P7Q_PurEoO4:F7zBnMyn0Lo" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/betweengo?a=2eGrF7XU1jQ:P7Q_PurEoO4:V_sGLiPBpWU"><img src="http://feeds.feedburner.com/~ff/betweengo?i=2eGrF7XU1jQ:P7Q_PurEoO4:V_sGLiPBpWU" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/betweengo?a=2eGrF7XU1jQ:P7Q_PurEoO4:qj6IDK7rITs"><img src="http://feeds.feedburner.com/~ff/betweengo?d=qj6IDK7rITs" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/betweengo?a=2eGrF7XU1jQ:P7Q_PurEoO4:gIN9vFwOqvQ"><img src="http://feeds.feedburner.com/~ff/betweengo?i=2eGrF7XU1jQ:P7Q_PurEoO4:gIN9vFwOqvQ" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/betweengo?a=2eGrF7XU1jQ:P7Q_PurEoO4:TzevzKxY174"><img src="http://feeds.feedburner.com/~ff/betweengo?d=TzevzKxY174" border="0"></img></a>
</div><img src="http://feeds.feedburner.com/~r/betweengo/~4/2eGrF7XU1jQ" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://betweengo.com/2011/03/21/create-tablespaces-in-oracle/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://betweengo.com/2011/03/21/create-tablespaces-in-oracle/</feedburner:origLink></item>
		<item>
		<title>SQL Delete in One Table Based on Values in Another Table</title>
		<link>http://feedproxy.google.com/~r/betweengo/~3/-I91h4nHh8Q/</link>
		<comments>http://betweengo.com/2011/03/14/sql-delete-in-one-table-based-on-values-in-another-table/#comments</comments>
		<pubDate>Mon, 14 Mar 2011 16:00:00 +0000</pubDate>
		<dc:creator>Frank Kim</dc:creator>
				<category><![CDATA[Oracle]]></category>
		<category><![CDATA[ATG]]></category>
		<category><![CDATA[ecommerce]]></category>
		<category><![CDATA[sql]]></category>

		<guid isPermaLink="false">http://betweengo.com/2011/03/14/sql-delete-in-one-table-based-on-values-in-another-table/</guid>
		<description><![CDATA[Growing by Simon Peckham Delete From One Table Whose Values Don’t Appear in Another Table Sometimes you will find that you have items in a table whose values reference items in another table that no longer exist.&#160; For example in ATG you may have orders that reference profiles that no longer exist.&#160; This could happen [...]
Related posts:<ol>
<li><a href='http://betweengo.com/2010/01/18/sql-insert-in-one-table-based-on-values-in-another-table/' rel='bookmark' title='SQL Insert in One Table Based on Values in Another Table'>SQL Insert in One Table Based on Values in Another Table</a></li>
<li><a href='http://betweengo.com/2008/07/02/sql-update-in-one-table-based-on-values-in-another/' rel='bookmark' title='SQL Update in One Table Based on Values in Another Table'>SQL Update in One Table Based on Values in Another Table</a></li>
<li><a href='http://betweengo.com/2009/10/06/how-to-alter-table/' rel='bookmark' title='How to Alter Table'>How to Alter Table</a></li>
</ol>]]></description>
			<content:encoded><![CDATA[<p><a href="http://www.flickr.com/photos/speckham/3848251199/"><img style="display: block; float: none; margin-left: auto; margin-right: auto" title="Growing | Flickr" alt="Growing | Flickr" src="http://farm4.static.flickr.com/3573/3848251199_3d84512d5f.jpg" /></a></p>
<p align="center"><a title="Growing | Flickr" href="http://www.flickr.com/photos/speckham/3848251199/">Growing</a> by <a title="Flickr: Simon Peckham&#39;s Photostream" href="http://www.flickr.com/photos/speckham/">Simon Peckham</a></p>
<p><strong>Delete From One Table Whose Values Don’t Appear in Another Table</strong></p>
<p>Sometimes you will find that you have items in a table whose values reference items in another table that no longer exist.&#160; For example in ATG you may have orders that reference profiles that no longer exist.&#160; This could happen if an <a title="Persistent Cart for Anonymous Users « betweenGo" href="http://betweengo.com/2010/05/03/persistent-cart-for-anonymous-users/">order is for an anonymous profile</a> that was deleted.</p>
<p>Here is an example of how to delete items in a table whose values reference items in another table that no longer exist, in this case ATG orders whose profiles no longer exist.</p>
<pre>DELETE FROM dcspp_order
WHERE profile_id
NOT IN
(
  SELECT id
  FROM dps_user
);</pre>
<p>This example does not actually work because of the dependencies on the <tt>dcspp_order</tt> table so please don’t try it. <img style="border-bottom-style: none; border-right-style: none; border-top-style: none; border-left-style: none" class="wlEmoticon wlEmoticon-smile" alt="Smile" src="http://betweengo.com/wp-content/uploads/2011/03/wlEmoticon-smile1.png" /></p>
<p><strong>Delete From One Table Based on Values in Another Table</strong></p>
<p>Sometimes you want to delete items in one tables based on values in another table.&#160; You can do this similarly to the previous case.</p>
<pre>DELETE FROM dcspp_order
WHERE profile_id
IN
(
  SELECT id
  FROM dps_user
  WHERE id LIKE '6%'
);</pre>
<p>This example also does not actually work because of the dependencies on the <tt>dcspp_order</tt> table so please don’t try it. <img style="border-bottom-style: none; border-right-style: none; border-top-style: none; border-left-style: none" class="wlEmoticon wlEmoticon-smile" alt="Smile" src="http://betweengo.com/wp-content/uploads/2011/03/wlEmoticon-smile1.png" /></p>
<p>For further reading please see <a title="How to delete records from a SQL Server database - Stack Overflow" href="http://stackoverflow.com/questions/4715549/how-to-delete-records-from-a-sql-server-database">How to delete records from a SQL Server database</a> and <a title="SQL Delete Rows Based on Another Table - Stack Overflow" href="http://stackoverflow.com/questions/1783784/sql-delete-rows-based-on-another-table">SQL Delete Rows Based on Another Table</a>.</p>
<p><a class="a2a_dd a2a_target addtoany_share_save" href="http://www.addtoany.com/share_save#url=http%3A%2F%2Fbetweengo.com%2F2011%2F03%2F14%2Fsql-delete-in-one-table-based-on-values-in-another-table%2F&amp;title=SQL%20Delete%20in%20One%20Table%20Based%20on%20Values%20in%20Another%20Table" id="wpa2a_10"><img src="http://betweengo.com/wp-content/plugins/add-to-any/share_save_171_16.png" width="171" height="16" alt="Share"/></a></p><p>Related posts:<ol>
<li><a href='http://betweengo.com/2010/01/18/sql-insert-in-one-table-based-on-values-in-another-table/' rel='bookmark' title='SQL Insert in One Table Based on Values in Another Table'>SQL Insert in One Table Based on Values in Another Table</a></li>
<li><a href='http://betweengo.com/2008/07/02/sql-update-in-one-table-based-on-values-in-another/' rel='bookmark' title='SQL Update in One Table Based on Values in Another Table'>SQL Update in One Table Based on Values in Another Table</a></li>
<li><a href='http://betweengo.com/2009/10/06/how-to-alter-table/' rel='bookmark' title='How to Alter Table'>How to Alter Table</a></li>
</ol></p>
<p><a href="http://feedads.g.doubleclick.net/~a/eo8Au2n9SRk4q2oKqmmERMdElL8/0/da"><img src="http://feedads.g.doubleclick.net/~a/eo8Au2n9SRk4q2oKqmmERMdElL8/0/di" border="0" ismap="true"></img></a><br/>
<a href="http://feedads.g.doubleclick.net/~a/eo8Au2n9SRk4q2oKqmmERMdElL8/1/da"><img src="http://feedads.g.doubleclick.net/~a/eo8Au2n9SRk4q2oKqmmERMdElL8/1/di" border="0" ismap="true"></img></a></p><div class="feedflare">
<a href="http://feeds.feedburner.com/~ff/betweengo?a=-I91h4nHh8Q:K-K4VrPFuno:yIl2AUoC8zA"><img src="http://feeds.feedburner.com/~ff/betweengo?d=yIl2AUoC8zA" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/betweengo?a=-I91h4nHh8Q:K-K4VrPFuno:D7DqB2pKExk"><img src="http://feeds.feedburner.com/~ff/betweengo?i=-I91h4nHh8Q:K-K4VrPFuno:D7DqB2pKExk" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/betweengo?a=-I91h4nHh8Q:K-K4VrPFuno:F7zBnMyn0Lo"><img src="http://feeds.feedburner.com/~ff/betweengo?i=-I91h4nHh8Q:K-K4VrPFuno:F7zBnMyn0Lo" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/betweengo?a=-I91h4nHh8Q:K-K4VrPFuno:V_sGLiPBpWU"><img src="http://feeds.feedburner.com/~ff/betweengo?i=-I91h4nHh8Q:K-K4VrPFuno:V_sGLiPBpWU" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/betweengo?a=-I91h4nHh8Q:K-K4VrPFuno:qj6IDK7rITs"><img src="http://feeds.feedburner.com/~ff/betweengo?d=qj6IDK7rITs" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/betweengo?a=-I91h4nHh8Q:K-K4VrPFuno:gIN9vFwOqvQ"><img src="http://feeds.feedburner.com/~ff/betweengo?i=-I91h4nHh8Q:K-K4VrPFuno:gIN9vFwOqvQ" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/betweengo?a=-I91h4nHh8Q:K-K4VrPFuno:TzevzKxY174"><img src="http://feeds.feedburner.com/~ff/betweengo?d=TzevzKxY174" border="0"></img></a>
</div><img src="http://feeds.feedburner.com/~r/betweengo/~4/-I91h4nHh8Q" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://betweengo.com/2011/03/14/sql-delete-in-one-table-based-on-values-in-another-table/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://betweengo.com/2011/03/14/sql-delete-in-one-table-based-on-values-in-another-table/</feedburner:origLink></item>
		<item>
		<title>Specifying the Calculator per Promotion</title>
		<link>http://feedproxy.google.com/~r/betweengo/~3/gsRY0m9A2qs/</link>
		<comments>http://betweengo.com/2011/03/07/specifying-the-calculator-per-promotion/#comments</comments>
		<pubDate>Mon, 07 Mar 2011 16:00:00 +0000</pubDate>
		<dc:creator>Frank Kim</dc:creator>
				<category><![CDATA[Commerce]]></category>

		<guid isPermaLink="false">http://betweengo.com/2011/03/07/specifying-the-calculator-per-promotion/</guid>
		<description><![CDATA[(Photo: calculator by ansik) ATG’s documentation, as far as I can tell, does not document how to specify the calculator for a promotion.  Promotion’s have a repository property called pricingCalculatorService.  In the ACC you won’t see it by default but you will see it if you show expert-level information.  Also you can see it configured [...]
Related posts:<ol>
<li><a href='http://betweengo.com/2007/12/07/creating-buy-n-get-m-free-promotions/' rel='bookmark' title='Creating Buy N Get M Free Promotions'>Creating Buy N Get M Free Promotions</a></li>
<li><a href='http://betweengo.com/2009/12/15/nullpointerexception-in-atg-orderdiscountcalculator/' rel='bookmark' title='NullPointerException in ATG OrderDiscountCalculator'>NullPointerException in ATG OrderDiscountCalculator</a></li>
<li><a href='http://betweengo.com/2007/11/17/date-and-timestamp-repository-data-types/' rel='bookmark' title='Date and Timestamp Repository Data Types'>Date and Timestamp Repository Data Types</a></li>
</ol>]]></description>
			<content:encoded><![CDATA[<p align="center"><a href="http://www.flickr.com/photos/ansik/304526237/"><img title="calculator on Flickr" src="http://farm1.static.flickr.com/109/304526237_6d1acf58bb.jpg" alt="calculator on Flickr" /></a></p>
<p align="center">(Photo: <a title="calculator on Flickr" href="http://www.flickr.com/photos/ansik/304526237/">calculator</a> by <a title="Flickr: ansik's Photostream" href="http://www.flickr.com/photos/ansik/">ansik</a>)</p>
<p>ATG’s documentation, as far as I can tell, does not document how to specify the calculator for a promotion.  Promotion’s have a repository property called <tt>pricingCalculatorService</tt>.  In the ACC you won’t see it by default but you will see it if you <a title="Viewing Expert-Level Information in the ACC" href="http://betweengo.com/2007/12/06/viewing-expert-level-information-in-the-acc/">show expert-level information</a>.  Also you can see it configured in the Promotion repository (<tt>/atg/commerce/pricing/Promotions</tt>).</p>
<p>Having a repository property for each promotion allows you to specify different calculators for different promotions.  But typically you will probably specify the same one for the same class of promotion, e.g. <tt>/betweengo/commerce/pricing/calculators/ItemDiscountCalculator</tt>.</p>
<p><a class="a2a_dd a2a_target addtoany_share_save" href="http://www.addtoany.com/share_save#url=http%3A%2F%2Fbetweengo.com%2F2011%2F03%2F07%2Fspecifying-the-calculator-per-promotion%2F&amp;title=Specifying%20the%20Calculator%20per%20Promotion" id="wpa2a_12"><img src="http://betweengo.com/wp-content/plugins/add-to-any/share_save_171_16.png" width="171" height="16" alt="Share"/></a></p><p>Related posts:<ol>
<li><a href='http://betweengo.com/2007/12/07/creating-buy-n-get-m-free-promotions/' rel='bookmark' title='Creating Buy N Get M Free Promotions'>Creating Buy N Get M Free Promotions</a></li>
<li><a href='http://betweengo.com/2009/12/15/nullpointerexception-in-atg-orderdiscountcalculator/' rel='bookmark' title='NullPointerException in ATG OrderDiscountCalculator'>NullPointerException in ATG OrderDiscountCalculator</a></li>
<li><a href='http://betweengo.com/2007/11/17/date-and-timestamp-repository-data-types/' rel='bookmark' title='Date and Timestamp Repository Data Types'>Date and Timestamp Repository Data Types</a></li>
</ol></p>
<p><a href="http://feedads.g.doubleclick.net/~a/Vtn5EQCDuveKdijopLjHer2lB6E/0/da"><img src="http://feedads.g.doubleclick.net/~a/Vtn5EQCDuveKdijopLjHer2lB6E/0/di" border="0" ismap="true"></img></a><br/>
<a href="http://feedads.g.doubleclick.net/~a/Vtn5EQCDuveKdijopLjHer2lB6E/1/da"><img src="http://feedads.g.doubleclick.net/~a/Vtn5EQCDuveKdijopLjHer2lB6E/1/di" border="0" ismap="true"></img></a></p><div class="feedflare">
<a href="http://feeds.feedburner.com/~ff/betweengo?a=gsRY0m9A2qs:0Xn-UqCVtec:yIl2AUoC8zA"><img src="http://feeds.feedburner.com/~ff/betweengo?d=yIl2AUoC8zA" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/betweengo?a=gsRY0m9A2qs:0Xn-UqCVtec:D7DqB2pKExk"><img src="http://feeds.feedburner.com/~ff/betweengo?i=gsRY0m9A2qs:0Xn-UqCVtec:D7DqB2pKExk" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/betweengo?a=gsRY0m9A2qs:0Xn-UqCVtec:F7zBnMyn0Lo"><img src="http://feeds.feedburner.com/~ff/betweengo?i=gsRY0m9A2qs:0Xn-UqCVtec:F7zBnMyn0Lo" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/betweengo?a=gsRY0m9A2qs:0Xn-UqCVtec:V_sGLiPBpWU"><img src="http://feeds.feedburner.com/~ff/betweengo?i=gsRY0m9A2qs:0Xn-UqCVtec:V_sGLiPBpWU" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/betweengo?a=gsRY0m9A2qs:0Xn-UqCVtec:qj6IDK7rITs"><img src="http://feeds.feedburner.com/~ff/betweengo?d=qj6IDK7rITs" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/betweengo?a=gsRY0m9A2qs:0Xn-UqCVtec:gIN9vFwOqvQ"><img src="http://feeds.feedburner.com/~ff/betweengo?i=gsRY0m9A2qs:0Xn-UqCVtec:gIN9vFwOqvQ" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/betweengo?a=gsRY0m9A2qs:0Xn-UqCVtec:TzevzKxY174"><img src="http://feeds.feedburner.com/~ff/betweengo?d=TzevzKxY174" border="0"></img></a>
</div><img src="http://feeds.feedburner.com/~r/betweengo/~4/gsRY0m9A2qs" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://betweengo.com/2011/03/07/specifying-the-calculator-per-promotion/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://betweengo.com/2011/03/07/specifying-the-calculator-per-promotion/</feedburner:origLink></item>
		<item>
		<title>Incorporated</title>
		<link>http://feedproxy.google.com/~r/betweengo/~3/WrY7NlNX1SQ/</link>
		<comments>http://betweengo.com/2011/03/03/incorporated/#comments</comments>
		<pubDate>Thu, 03 Mar 2011 20:58:23 +0000</pubDate>
		<dc:creator>Frank Kim</dc:creator>
				<category><![CDATA[Consulting]]></category>
		<category><![CDATA[recommendations]]></category>

		<guid isPermaLink="false">http://betweengo.com/2011/03/03/incorporated/</guid>
		<description><![CDATA[Yesterday I incorporated.&#160; My business is now officially betweenGo LLC. Special thanks goes to my lawyer, Allen M. Lee, and accountant, Leyla Hanson.&#160; I highly recommend both. Now I just need to figure out payroll, accounting, etc. Related posts: MeetingKoreans.com launched using Ruby on Rails
Related posts:<ol>
<li><a href='http://betweengo.com/2005/11/08/meetingkoreanscom-launched-using-ruby-on-rails/' rel='bookmark' title='MeetingKoreans.com launched using Ruby on Rails'>MeetingKoreans.com launched using Ruby on Rails</a></li>
</ol>]]></description>
			<content:encoded><![CDATA[<p><a href="http://www.flickr.com/photos/jule_berlin/1444822130/"><img style="margin: 0px 0px 0px 7px; display: inline; float: right" title="Bursting | Flickr" alt="Bursting | Flickr" align="right" src="http://farm2.static.flickr.com/1093/1444822130_2841058852_m.jpg" /></a>Yesterday I incorporated.&#160; My business is now officially <a title="betweenGo LLC" href="http://betweengo.com/">betweenGo LLC</a>.</p>
<p>Special thanks goes to my lawyer, <a title="Allen M. Lee" href="http://allemnlee.com/">Allen M. Lee</a>, and accountant, <a title="Leyla Hanson, CPA" href="http://leylahansoncpa.com/">Leyla Hanson</a>.&#160; I highly recommend both.</p>
<p>Now I just need to figure out payroll, accounting, etc. <img style="border-bottom-style: none; border-right-style: none; border-top-style: none; border-left-style: none" class="wlEmoticon wlEmoticon-smile" alt="Smile" src="http://betweengo.com/wp-content/uploads/2011/03/wlEmoticon-smile.png" /></p>
<p><a class="a2a_dd a2a_target addtoany_share_save" href="http://www.addtoany.com/share_save#url=http%3A%2F%2Fbetweengo.com%2F2011%2F03%2F03%2Fincorporated%2F&amp;title=Incorporated" id="wpa2a_14"><img src="http://betweengo.com/wp-content/plugins/add-to-any/share_save_171_16.png" width="171" height="16" alt="Share"/></a></p><p>Related posts:<ol>
<li><a href='http://betweengo.com/2005/11/08/meetingkoreanscom-launched-using-ruby-on-rails/' rel='bookmark' title='MeetingKoreans.com launched using Ruby on Rails'>MeetingKoreans.com launched using Ruby on Rails</a></li>
</ol></p>
<p><a href="http://feedads.g.doubleclick.net/~a/ypLBynr4YfHIjQaSAv8WZzVqdh0/0/da"><img src="http://feedads.g.doubleclick.net/~a/ypLBynr4YfHIjQaSAv8WZzVqdh0/0/di" border="0" ismap="true"></img></a><br/>
<a href="http://feedads.g.doubleclick.net/~a/ypLBynr4YfHIjQaSAv8WZzVqdh0/1/da"><img src="http://feedads.g.doubleclick.net/~a/ypLBynr4YfHIjQaSAv8WZzVqdh0/1/di" border="0" ismap="true"></img></a></p><div class="feedflare">
<a href="http://feeds.feedburner.com/~ff/betweengo?a=WrY7NlNX1SQ:VfcMJ_L1kvM:yIl2AUoC8zA"><img src="http://feeds.feedburner.com/~ff/betweengo?d=yIl2AUoC8zA" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/betweengo?a=WrY7NlNX1SQ:VfcMJ_L1kvM:D7DqB2pKExk"><img src="http://feeds.feedburner.com/~ff/betweengo?i=WrY7NlNX1SQ:VfcMJ_L1kvM:D7DqB2pKExk" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/betweengo?a=WrY7NlNX1SQ:VfcMJ_L1kvM:F7zBnMyn0Lo"><img src="http://feeds.feedburner.com/~ff/betweengo?i=WrY7NlNX1SQ:VfcMJ_L1kvM:F7zBnMyn0Lo" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/betweengo?a=WrY7NlNX1SQ:VfcMJ_L1kvM:V_sGLiPBpWU"><img src="http://feeds.feedburner.com/~ff/betweengo?i=WrY7NlNX1SQ:VfcMJ_L1kvM:V_sGLiPBpWU" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/betweengo?a=WrY7NlNX1SQ:VfcMJ_L1kvM:qj6IDK7rITs"><img src="http://feeds.feedburner.com/~ff/betweengo?d=qj6IDK7rITs" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/betweengo?a=WrY7NlNX1SQ:VfcMJ_L1kvM:gIN9vFwOqvQ"><img src="http://feeds.feedburner.com/~ff/betweengo?i=WrY7NlNX1SQ:VfcMJ_L1kvM:gIN9vFwOqvQ" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/betweengo?a=WrY7NlNX1SQ:VfcMJ_L1kvM:TzevzKxY174"><img src="http://feeds.feedburner.com/~ff/betweengo?d=TzevzKxY174" border="0"></img></a>
</div><img src="http://feeds.feedburner.com/~r/betweengo/~4/WrY7NlNX1SQ" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://betweengo.com/2011/03/03/incorporated/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://betweengo.com/2011/03/03/incorporated/</feedburner:origLink></item>
		<item>
		<title>VirtualBox Unable to Run Two Instances</title>
		<link>http://feedproxy.google.com/~r/betweengo/~3/5RvLatTpZg8/</link>
		<comments>http://betweengo.com/2011/02/28/virtualbox-unable-to-run-two-instances/#comments</comments>
		<pubDate>Mon, 28 Feb 2011 16:00:00 +0000</pubDate>
		<dc:creator>Frank Kim</dc:creator>
				<category><![CDATA[Mac]]></category>
		<category><![CDATA[virtualbox]]></category>

		<guid isPermaLink="false">http://betweengo.com/2011/02/28/virtualbox-unable-to-run-two-instances/</guid>
		<description><![CDATA[Double Bows by Nicholas_T I have been using VirtualBox for awhile and have been pretty pleased with it considering it’s a free solution.&#160; I blogged about wanting to try it over two years ago. Today I started up Windows 7 on my iMac.&#160; Then I tried to start up Windows XP but got this error. [...]
Related posts:<ol>
<li><a href='http://betweengo.com/2008/07/19/virtualbox/' rel='bookmark' title='Sun&#8217;s VirtualBox'>Sun&#8217;s VirtualBox</a></li>
<li><a href='http://betweengo.com/2011/07/23/changing-virtualboxs-disk-image-sizes/' rel='bookmark' title='Changing VirtualBox&rsquo;s Disk Image Sizes'>Changing VirtualBox&rsquo;s Disk Image Sizes</a></li>
<li><a href='http://betweengo.com/2007/03/07/unable-to-start-sh-from-windows-command-prompt/' rel='bookmark' title='Unable to start Cygwin shell from Windows command prompt'>Unable to start Cygwin shell from Windows command prompt</a></li>
</ol>]]></description>
			<content:encoded><![CDATA[<p><a title="Double Bows" href="http://www.flickr.com/photos/nicholas_t/281820290/"><img style="display: block; float: none; margin-left: auto; margin-right: auto" src="http://farm1.static.flickr.com/86/281820290_6779f72291.jpg" /></a></p>
<p align="center"><a title="Double Bows | Flickr" href="http://www.flickr.com/photos/nicholas_t/281820290/">Double Bows</a> by <a title="Flickr: Nicholas_T&#39;s Photostream" href="http://www.flickr.com/photos/nicholas_t/">Nicholas_T</a></p>
<p>I have been using <a title="VirtualBox" href="http://www.virtualbox.org/">VirtualBox</a> for awhile and have been pretty pleased with it considering it’s a free solution.&#160; I blogged about <a title="Sun&#39;s VirtualBox" href="http://betweengo.com/2008/07/19/virtualbox/">wanting to try it over two years ago</a>.</p>
<p>Today I started up Windows 7 on my iMac.&#160; Then I tried to start up Windows XP but got this error.</p>
<blockquote><p>Failed to open a session for the virtual machine <strong>Windows XP Pro Media Center</strong>.</p>
<p>PIIX3 cannot attach drive to the Secondary Master      <br />(VERR_SHARING_VOILATION).</p>
<p>Unknown error creating VM (VERR_SHARING_VIOLATION).</p>
</blockquote>
<p>Fortunately Google came to the rescue and led me to this article in the VirtualBox forums, <a title="Can’t run multiple Instances on OSX Leapord • virtualbox.org" href="http://forums.virtualbox.org/viewtopic.php?f=1&amp;t=31546&amp;start=0">Can’t run multiple Instances on OSX Leapord</a>.&#160; Once I unmounted the DVD drive in Windows 7 (Devices –&gt; CD/DVD Devices) I was able to start Windows XP.</p>
<p><a class="a2a_dd a2a_target addtoany_share_save" href="http://www.addtoany.com/share_save#url=http%3A%2F%2Fbetweengo.com%2F2011%2F02%2F28%2Fvirtualbox-unable-to-run-two-instances%2F&amp;title=VirtualBox%20Unable%20to%20Run%20Two%20Instances" id="wpa2a_16"><img src="http://betweengo.com/wp-content/plugins/add-to-any/share_save_171_16.png" width="171" height="16" alt="Share"/></a></p><p>Related posts:<ol>
<li><a href='http://betweengo.com/2008/07/19/virtualbox/' rel='bookmark' title='Sun&#8217;s VirtualBox'>Sun&#8217;s VirtualBox</a></li>
<li><a href='http://betweengo.com/2011/07/23/changing-virtualboxs-disk-image-sizes/' rel='bookmark' title='Changing VirtualBox&rsquo;s Disk Image Sizes'>Changing VirtualBox&rsquo;s Disk Image Sizes</a></li>
<li><a href='http://betweengo.com/2007/03/07/unable-to-start-sh-from-windows-command-prompt/' rel='bookmark' title='Unable to start Cygwin shell from Windows command prompt'>Unable to start Cygwin shell from Windows command prompt</a></li>
</ol></p>
<p><a href="http://feedads.g.doubleclick.net/~a/cMvDLG1_QNL6jRneSrhqomE0HEQ/0/da"><img src="http://feedads.g.doubleclick.net/~a/cMvDLG1_QNL6jRneSrhqomE0HEQ/0/di" border="0" ismap="true"></img></a><br/>
<a href="http://feedads.g.doubleclick.net/~a/cMvDLG1_QNL6jRneSrhqomE0HEQ/1/da"><img src="http://feedads.g.doubleclick.net/~a/cMvDLG1_QNL6jRneSrhqomE0HEQ/1/di" border="0" ismap="true"></img></a></p><div class="feedflare">
<a href="http://feeds.feedburner.com/~ff/betweengo?a=5RvLatTpZg8:MHV45zYvlbU:yIl2AUoC8zA"><img src="http://feeds.feedburner.com/~ff/betweengo?d=yIl2AUoC8zA" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/betweengo?a=5RvLatTpZg8:MHV45zYvlbU:D7DqB2pKExk"><img src="http://feeds.feedburner.com/~ff/betweengo?i=5RvLatTpZg8:MHV45zYvlbU:D7DqB2pKExk" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/betweengo?a=5RvLatTpZg8:MHV45zYvlbU:F7zBnMyn0Lo"><img src="http://feeds.feedburner.com/~ff/betweengo?i=5RvLatTpZg8:MHV45zYvlbU:F7zBnMyn0Lo" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/betweengo?a=5RvLatTpZg8:MHV45zYvlbU:V_sGLiPBpWU"><img src="http://feeds.feedburner.com/~ff/betweengo?i=5RvLatTpZg8:MHV45zYvlbU:V_sGLiPBpWU" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/betweengo?a=5RvLatTpZg8:MHV45zYvlbU:qj6IDK7rITs"><img src="http://feeds.feedburner.com/~ff/betweengo?d=qj6IDK7rITs" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/betweengo?a=5RvLatTpZg8:MHV45zYvlbU:gIN9vFwOqvQ"><img src="http://feeds.feedburner.com/~ff/betweengo?i=5RvLatTpZg8:MHV45zYvlbU:gIN9vFwOqvQ" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/betweengo?a=5RvLatTpZg8:MHV45zYvlbU:TzevzKxY174"><img src="http://feeds.feedburner.com/~ff/betweengo?d=TzevzKxY174" border="0"></img></a>
</div><img src="http://feeds.feedburner.com/~r/betweengo/~4/5RvLatTpZg8" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://betweengo.com/2011/02/28/virtualbox-unable-to-run-two-instances/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://betweengo.com/2011/02/28/virtualbox-unable-to-run-two-instances/</feedburner:origLink></item>
		<item>
		<title>Programming Secure FTP in Java</title>
		<link>http://feedproxy.google.com/~r/betweengo/~3/mo8hjkO1PIo/</link>
		<comments>http://betweengo.com/2011/02/21/programming-secure-ftp-in-java/#comments</comments>
		<pubDate>Mon, 21 Feb 2011 16:00:00 +0000</pubDate>
		<dc:creator>Frank Kim</dc:creator>
				<category><![CDATA[Java SE]]></category>
		<category><![CDATA[jsch]]></category>
		<category><![CDATA[sftp]]></category>

		<guid isPermaLink="false">http://betweengo.com/2011/02/21/programming-secure-ftp-in-java/</guid>
		<description><![CDATA[Often server applications need to upload or download files using FTP.&#160; But in this age of increasing security awareness vendors are now asking this be done using SFTP (Secure FTP). Fortunately this is not difficult using the JSch (Java Secure Channel) library.&#160; The downloadable JSch archive includes numerous examples.&#160; I used the Sftp.java to implement [...]
Related posts:<ol>
<li><a href='http://betweengo.com/2005/08/12/acc-not-connecting/' rel='bookmark' title='ACC not connecting'>ACC not connecting</a></li>
<li><a href='http://betweengo.com/2008/09/01/java-method-with-generic-return-type/' rel='bookmark' title='Java Method with Generic Return Type'>Java Method with Generic Return Type</a></li>
<li><a href='http://betweengo.com/2008/04/18/oracle-tns-listener-service-not-starting/' rel='bookmark' title='Oracle TNS Listener service not starting'>Oracle TNS Listener service not starting</a></li>
</ol>]]></description>
			<content:encoded><![CDATA[<p><a title="Comes with built-in FTP server | Flickr" href="http://www.flickr.com/photos/mptre/5152486610/"><img style="margin: 0px 0px 0px 5px; display: inline; float: right" align="right" src="http://farm2.static.flickr.com/1399/5152486610_24681b6e36_m.jpg" /></a>Often server applications need to upload or download files using FTP.&#160; But in this age of increasing security awareness vendors are now asking this be done using SFTP (Secure FTP).</p>
<p>Fortunately this is not difficult using the <a title="JSch - Java Secure Channel" href="http://www.jcraft.com/jsch/">JSch (Java Secure Channel) library</a>.&#160; The downloadable JSch archive includes numerous examples.&#160; I used the <tt>Sftp.java</tt> to implement SFTP for my server application.</p>
<p>Starting a connection to an SFTP server using JSch is somewhat simple.</p>
<pre>JSch jsch = new JSch();

// start session
session = jsch.getSession(username, host);

// specify our own user info to accept secure connection to FTP server
UserInfo ui = new MyUserInfo(host);
session.setUserInfo(ui);

// set password
session.setPassword(password);

// connect
session.connect();

// get SFTP channel
Channel channel = session.openChannel(&quot;sftp&quot;);
channel.connect();
schannel = (ChannelSftp) channel;</pre>
<p>The trick is getting past confirmation of the authenticity of the host. I do this my creating my own <tt>UserInfo</tt> implementation, <tt>MyUserInfo</tt>, which knows about the host I am connecting to. The only method I implement is the <tt>promptYesNo</tt> method which simply checks if the message is asking about the host I want to connect to. </p>
<pre>protected MyUserInfo(final String pKnownHost) {
    this.mKnownHost = pKnownHost;
}

@Override
public boolean promptYesNo(final String pMessage) {
    // message looks like this &quot;The authenticity of host 'foo.com' can't be established...&quot;
    final int start = pMessage.indexOf(&quot;'&quot;) + 1;
    final int end = pMessage.indexOf(&quot;'&quot;, start);
    final String host = pMessage.substring(start, end);

    // is the host a known host?
    return this.mKnownHost.equals(host);
}</pre>
<p>Now uploading is trivial.</p>
<pre>schannel.put(src, dest);</pre>
<p>For further reading please see <a title="ftp - Java: What is the best way to SFTP a file from a server - Stack Overflow" href="http://stackoverflow.com/questions/14617/java-what-is-the-best-way-to-sftp-a-file-from-a-server">Java: What is the best way to SFTP a file from a server</a>.</p>
<p><a class="a2a_dd a2a_target addtoany_share_save" href="http://www.addtoany.com/share_save#url=http%3A%2F%2Fbetweengo.com%2F2011%2F02%2F21%2Fprogramming-secure-ftp-in-java%2F&amp;title=Programming%20Secure%20FTP%20in%20Java" id="wpa2a_18"><img src="http://betweengo.com/wp-content/plugins/add-to-any/share_save_171_16.png" width="171" height="16" alt="Share"/></a></p><p>Related posts:<ol>
<li><a href='http://betweengo.com/2005/08/12/acc-not-connecting/' rel='bookmark' title='ACC not connecting'>ACC not connecting</a></li>
<li><a href='http://betweengo.com/2008/09/01/java-method-with-generic-return-type/' rel='bookmark' title='Java Method with Generic Return Type'>Java Method with Generic Return Type</a></li>
<li><a href='http://betweengo.com/2008/04/18/oracle-tns-listener-service-not-starting/' rel='bookmark' title='Oracle TNS Listener service not starting'>Oracle TNS Listener service not starting</a></li>
</ol></p>
<p><a href="http://feedads.g.doubleclick.net/~a/qqkBMMhmM81DgGgrBl10Dt0HoCc/0/da"><img src="http://feedads.g.doubleclick.net/~a/qqkBMMhmM81DgGgrBl10Dt0HoCc/0/di" border="0" ismap="true"></img></a><br/>
<a href="http://feedads.g.doubleclick.net/~a/qqkBMMhmM81DgGgrBl10Dt0HoCc/1/da"><img src="http://feedads.g.doubleclick.net/~a/qqkBMMhmM81DgGgrBl10Dt0HoCc/1/di" border="0" ismap="true"></img></a></p><div class="feedflare">
<a href="http://feeds.feedburner.com/~ff/betweengo?a=mo8hjkO1PIo:eCMJYfgDRWU:yIl2AUoC8zA"><img src="http://feeds.feedburner.com/~ff/betweengo?d=yIl2AUoC8zA" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/betweengo?a=mo8hjkO1PIo:eCMJYfgDRWU:D7DqB2pKExk"><img src="http://feeds.feedburner.com/~ff/betweengo?i=mo8hjkO1PIo:eCMJYfgDRWU:D7DqB2pKExk" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/betweengo?a=mo8hjkO1PIo:eCMJYfgDRWU:F7zBnMyn0Lo"><img src="http://feeds.feedburner.com/~ff/betweengo?i=mo8hjkO1PIo:eCMJYfgDRWU:F7zBnMyn0Lo" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/betweengo?a=mo8hjkO1PIo:eCMJYfgDRWU:V_sGLiPBpWU"><img src="http://feeds.feedburner.com/~ff/betweengo?i=mo8hjkO1PIo:eCMJYfgDRWU:V_sGLiPBpWU" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/betweengo?a=mo8hjkO1PIo:eCMJYfgDRWU:qj6IDK7rITs"><img src="http://feeds.feedburner.com/~ff/betweengo?d=qj6IDK7rITs" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/betweengo?a=mo8hjkO1PIo:eCMJYfgDRWU:gIN9vFwOqvQ"><img src="http://feeds.feedburner.com/~ff/betweengo?i=mo8hjkO1PIo:eCMJYfgDRWU:gIN9vFwOqvQ" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/betweengo?a=mo8hjkO1PIo:eCMJYfgDRWU:TzevzKxY174"><img src="http://feeds.feedburner.com/~ff/betweengo?d=TzevzKxY174" border="0"></img></a>
</div><img src="http://feeds.feedburner.com/~r/betweengo/~4/mo8hjkO1PIo" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://betweengo.com/2011/02/21/programming-secure-ftp-in-java/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		<feedburner:origLink>http://betweengo.com/2011/02/21/programming-secure-ftp-in-java/</feedburner:origLink></item>
		<item>
		<title>Configuring JBoss for HTTPS</title>
		<link>http://feedproxy.google.com/~r/betweengo/~3/1vdhnMzcTFc/</link>
		<comments>http://betweengo.com/2011/02/16/configuring-jboss-for-https/#comments</comments>
		<pubDate>Wed, 16 Feb 2011 14:19:55 +0000</pubDate>
		<dc:creator>Frank Kim</dc:creator>
				<category><![CDATA[JBoss]]></category>
		<category><![CDATA[ATG]]></category>
		<category><![CDATA[configuration]]></category>

		<guid isPermaLink="false">http://betweengo.com/2011/02/16/configuring-jboss-for-https/</guid>
		<description><![CDATA[Keys 1 by ~Brenda-Starr~ This is how I configured JBoss to handle HTTPS requests for secure ATG applications. Create the keystore and private key. $ cd /opt/jboss/jboss-eap-4.3/jboss-as/server/atg/conf $ keytool -genkey -alias jbosskey -keyalg RSA -keystore server.keystore Generate and store the certificate. $ keytool -export -alias jbosskey -file server.crt -keystore server.keystore $ keytool -import -alias jbosscert [...]
Related posts:<ol>
<li><a href='http://betweengo.com/2009/07/20/create-additional-jboss-application-server-configurations/' rel='bookmark' title='Create Additional JBoss Application Server Configurations'>Create Additional JBoss Application Server Configurations</a></li>
<li><a href='http://betweengo.com/2010/12/19/turning-on-debug-in-jboss/' rel='bookmark' title='Turning On Debug in JBoss'>Turning On Debug in JBoss</a></li>
<li><a href='http://betweengo.com/2009/07/21/namenotfoundexceptions-during-start-up-of-atg-application-on-jboss/' rel='bookmark' title='NameNotFoundExceptions during start up of ATG application on JBoss'>NameNotFoundExceptions during start up of ATG application on JBoss</a></li>
</ol>]]></description>
			<content:encoded><![CDATA[<p><a title="Keys 1" href="http://www.flickr.com/photos/brenda-starr/3466560105/"><img style="background-image: none; padding-left: 0px; padding-right: 0px; display: block; float: none; margin-left: auto; margin-right: auto; padding-top: 0px; border: 0px;" src="http://farm4.static.flickr.com/3557/3466560105_0b6f694d4a.jpg" border="0" alt="" /></a></p>
<p style="text-align: center;"><a title="Keys 1 | Flickr" href="http://www.flickr.com/photos/brenda-starr/3466560105/">Keys 1</a> by <a title="Flickr: ~Brenda-Starr~'s Photostream" href="http://www.flickr.com/photos/brenda-starr/3466560105/">~Brenda-Starr~</a></p>
<p>This is how I configured JBoss to handle HTTPS requests for <a title="Turning on Secure for ATG Applications" href="http://betweengo.com/2010/11/10/turning-on-secure-for-atg-applications/">secure ATG applications</a>.</p>
<ol>
<li>Create the keystore and private key.
<pre>$ cd /opt/jboss/jboss-eap-4.3/jboss-as/server/atg/conf
$ keytool -genkey -alias jbosskey -keyalg RSA -keystore server.keystore</pre>
</li>
<li>Generate and store the certificate.
<pre>$ keytool -export -alias jbosskey -file server.crt -keystore server.keystore
$ keytool -import -alias jbosscert -file server.crt -keystore server.keystore</pre>
</li>
<li>Enable HTTPS.
<pre>$ vi /opt/jboss/jboss-eap-4.3/jboss-as/server/atg/deploy/jboss-web.deployer/server.xml</pre>
<p>Uncomment SSL HTTP/1.1 Connector section and edit. For example:</p>
<pre>    &lt;Connector port="8443" address="${jboss.bind.address}"
               protocol="HTTP/1.1" SSLEnabled="true"
               maxThreads="150" scheme="https" secure="true"
               clientAuth="false" sslProtocol="TLS"
               keystoreFile="${jboss.server.home.dir}/conf/server.keystore"
               keystorePass="letmein" /&gt;</pre>
</li>
<li>Start JBoss with keystore specified. On UNIX you can do this by updating <tt>run.conf</tt>. For example:
<pre>JAVA_OPTS="-Xms128m -Xmx512m -XX:MaxPermSize=128m -Djavax.net.ssl.trustStore=/opt/jboss/jboss-eap-4.3/jboss-as/server/atg/conf/server.keystore -Dsun.rmi.dgc.client.gcInterval=3600000 -Dsun.rmi.dgc.server.gcInterval=3600000 -Dsun.lang.ClassLoader.allowArraySyntax=true"</pre>
</li>
</ol>
<p>Note that if you are using service bindings (i.e. uncommented service bindings section of <tt>conf/jboss-service.xml</tt>) then the bindings in the XML configuration file (e.g. <tt>sample-bindings.xml</tt>) will take precedence.  In this case the secure port becomes 8543.</p>
<p>For further reading please see <a title="HOWTO Configure JBoss for HTTPS" href="https://wiki.jasig.org/display/CASUM/HOWTO+Configure+JBoss+for+HTTPS">HOWTO Configure JBoss for HTTPS</a>.</p>
<p><a class="a2a_dd a2a_target addtoany_share_save" href="http://www.addtoany.com/share_save#url=http%3A%2F%2Fbetweengo.com%2F2011%2F02%2F16%2Fconfiguring-jboss-for-https%2F&amp;title=Configuring%20JBoss%20for%20HTTPS" id="wpa2a_20"><img src="http://betweengo.com/wp-content/plugins/add-to-any/share_save_171_16.png" width="171" height="16" alt="Share"/></a></p><p>Related posts:<ol>
<li><a href='http://betweengo.com/2009/07/20/create-additional-jboss-application-server-configurations/' rel='bookmark' title='Create Additional JBoss Application Server Configurations'>Create Additional JBoss Application Server Configurations</a></li>
<li><a href='http://betweengo.com/2010/12/19/turning-on-debug-in-jboss/' rel='bookmark' title='Turning On Debug in JBoss'>Turning On Debug in JBoss</a></li>
<li><a href='http://betweengo.com/2009/07/21/namenotfoundexceptions-during-start-up-of-atg-application-on-jboss/' rel='bookmark' title='NameNotFoundExceptions during start up of ATG application on JBoss'>NameNotFoundExceptions during start up of ATG application on JBoss</a></li>
</ol></p>
<p><a href="http://feedads.g.doubleclick.net/~a/sKnxwsHgCYxYLuXTZyBFgZiUF7U/0/da"><img src="http://feedads.g.doubleclick.net/~a/sKnxwsHgCYxYLuXTZyBFgZiUF7U/0/di" border="0" ismap="true"></img></a><br/>
<a href="http://feedads.g.doubleclick.net/~a/sKnxwsHgCYxYLuXTZyBFgZiUF7U/1/da"><img src="http://feedads.g.doubleclick.net/~a/sKnxwsHgCYxYLuXTZyBFgZiUF7U/1/di" border="0" ismap="true"></img></a></p><div class="feedflare">
<a href="http://feeds.feedburner.com/~ff/betweengo?a=1vdhnMzcTFc:phPC99dRkvo:yIl2AUoC8zA"><img src="http://feeds.feedburner.com/~ff/betweengo?d=yIl2AUoC8zA" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/betweengo?a=1vdhnMzcTFc:phPC99dRkvo:D7DqB2pKExk"><img src="http://feeds.feedburner.com/~ff/betweengo?i=1vdhnMzcTFc:phPC99dRkvo:D7DqB2pKExk" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/betweengo?a=1vdhnMzcTFc:phPC99dRkvo:F7zBnMyn0Lo"><img src="http://feeds.feedburner.com/~ff/betweengo?i=1vdhnMzcTFc:phPC99dRkvo:F7zBnMyn0Lo" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/betweengo?a=1vdhnMzcTFc:phPC99dRkvo:V_sGLiPBpWU"><img src="http://feeds.feedburner.com/~ff/betweengo?i=1vdhnMzcTFc:phPC99dRkvo:V_sGLiPBpWU" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/betweengo?a=1vdhnMzcTFc:phPC99dRkvo:qj6IDK7rITs"><img src="http://feeds.feedburner.com/~ff/betweengo?d=qj6IDK7rITs" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/betweengo?a=1vdhnMzcTFc:phPC99dRkvo:gIN9vFwOqvQ"><img src="http://feeds.feedburner.com/~ff/betweengo?i=1vdhnMzcTFc:phPC99dRkvo:gIN9vFwOqvQ" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/betweengo?a=1vdhnMzcTFc:phPC99dRkvo:TzevzKxY174"><img src="http://feeds.feedburner.com/~ff/betweengo?d=TzevzKxY174" border="0"></img></a>
</div><img src="http://feeds.feedburner.com/~r/betweengo/~4/1vdhnMzcTFc" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://betweengo.com/2011/02/16/configuring-jboss-for-https/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://betweengo.com/2011/02/16/configuring-jboss-for-https/</feedburner:origLink></item>
	</channel>
</rss><!-- WP Super Cache is installed but broken. The path to wp-cache-phase1.php in wp-content/advanced-cache.php must be fixed! -->

