<?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>devbox@COMPUTEC &#187; Operating Systems</title>
	<atom:link href="http://devbox.computec.de/category/admin/os/feed/" rel="self" type="application/rss+xml" />
	<link>http://devbox.computec.de</link>
	<description>The Computec development blog</description>
	<lastBuildDate>Tue, 24 Aug 2010 08:45:38 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<cloud domain='devbox.computec.de' port='80' path='/?rsscloud=notify' registerProcedure='' protocol='http-post' />
		<item>
		<title>CF Instance Hangs, &#8220;too many open files&#8221; in Log</title>
		<link>http://devbox.computec.de/2009/07/cf-instance-hangs-too-many-open-files-in-log/?utm_source=rss&amp;utm_medium=rss&amp;utm_campaign=cf-instance-hangs-too-many-open-files-in-log</link>
		<comments>http://devbox.computec.de/2009/07/cf-instance-hangs-too-many-open-files-in-log/#comments</comments>
		<pubDate>Tue, 21 Jul 2009 10:43:49 +0000</pubDate>
		<dc:creator>Markus Wollny</dc:creator>
				<category><![CDATA[ColdFusion]]></category>
		<category><![CDATA[Operating Systems]]></category>
		<category><![CDATA[kernel]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[too many open files]]></category>
		<category><![CDATA[tuning]]></category>

		<guid isPermaLink="false">http://devbox.computec.de/?p=237</guid>
		<description><![CDATA[This is really quite trivial, but may be of some interest to people who don't know too much about Linux OS tweaking.  Today our dev-server instance was hanging - again. Only this time I took the liberty to make our developers wait a little longer before I restarted it, so I could actually diagnose [...]]]></description>
			<content:encoded><![CDATA[<p>This is really quite trivial, but may be of some interest to people who don't know too much about Linux OS tweaking.  Today our dev-server instance was hanging - again. Only this time I took the liberty to make our developers wait a little longer before I restarted it, so I could actually diagnose the issue and resolve it for good. As only one of our two instances was hanging, I took a peek into its logfiles first - but couldn't find anything out of the ordinary. And the Enterprise Manager reported the instance to be running, too.<br />
<span id="more-237"></span><br />
So I got the impression that the problem must be some level higher up, i.e. not inside the instance. Looking at the tail of my <code>/opt/jrun4/logs/cfusion-event.log</code> I got myself a winner:</p>
<pre>
21/07 11:43:02 error Too many open files
java.net.SocketException: Too many open files
        at java.net.PlainSocketImpl.socketAccept(Native Method)
        at java.net.PlainSocketImpl.accept(PlainSocketImpl.java:384)
        at java.net.ServerSocket.implAccept(ServerSocket.java:453)
        at java.net.ServerSocket.accept(ServerSocket.java:421)
        at jrun.servlet.network.NetworkService.accept(NetworkService.java:356)
        at jrun.servlet.jrpp.JRunProxyService.accept(JRunProxyService.java:103)
        at jrun.servlet.jrpp.JRunProxyService.createRunnable(JRunProxyService.java:119)
        at jrunx.scheduler.ThreadPool$ThreadThrottle.createRunnable(ThreadPool.java:349)
        at jrunx.scheduler.WorkerThread.run(WorkerThread.java:62)
</pre>
<p>If you know where to look, this may be easily resolved. The maximum number of open files for a certain user can be displayed and set with the <code>ulimit -n</code> command. There is a hard and a soft limit. The soft limit is the one currently set for the user with <code>ulimit -n xxx</code>, the hard limit is the max. number the user can actually set his soft limit to with the <code>ulimit -n</code> command. The hard limit can be displayed with <code>ulimit -Hn</code>.</p>
<p>First thing we do is edit our ColdFusion init-script (mine is <code>/etc/init.d/coldfusion8multi</code>) and add the following line somewhere before the actual start of jrun:</p>
<pre>
ulimit -n `ulimit -Hn`
</pre>
<p>Don't restart ColdFusion just yet as most likely both your soft and hard limits are set to 1024 - and this not being high enough is the actual reason for our problem.</p>
<p>You'll need to edit <code>/etc/security/limits.conf</code> next in order to alter the soft and hard limits. If you just want to increase the filehandle-limits for all accounts on this box, the following two lines would be sufficient:</p>
<pre>
*                soft    nofile          1024
*                hard    nofile          8192
</pre>
<p>If you just want to set it for the <code>jrun</code> account, replace the wildcard with the account-name. Settings for groups can be done using the <code>@group</code> syntax. The file is fairly well documented inside on most standard installs, so no worries. The changes in this file affect all new logins (or newly started processes), so your running processes are not affected, but after a restart, ColdFusion will have picked up the changes.</p>
<p>There's one issue remaining - the total number of open files for the system has a limit, too. To show the current limit, you can use <code>cat /proc/sys/fs/file-max</code>. You could also write to that pseudo-file in order to increase the limit, but your changes would be lost on system reboot. In order to make your settings permanent, you'll need to edit <code>/etc/sysctl.conf</code>. Add a line like</p>
<pre>
fs.file-max = 275140
</pre>
<p>Do a <code>sysctl -p /etc/sysctl.conf</code> for the changes to take effect.</p>



Share and Enjoy:


	<a rel="nofollow"  href="http://www.printfriendly.com/print?url=http%3A%2F%2Fdevbox.computec.de%2F2009%2F07%2Fcf-instance-hangs-too-many-open-files-in-log%2F&amp;partner=sociable" title="Print"><img src="http://devbox.computec.de/wp-content/plugins/sociable/images/printfriendly.png" title="Print" alt="Print" class="sociable-hovers" /></a>
	<a rel="nofollow"  href="http://digg.com/submit?phase=2&amp;url=http%3A%2F%2Fdevbox.computec.de%2F2009%2F07%2Fcf-instance-hangs-too-many-open-files-in-log%2F&amp;title=CF%20Instance%20Hangs%2C%20%22too%20many%20open%20files%22%20in%20Log&amp;bodytext=This%20is%20really%20quite%20trivial%2C%20but%20may%20be%20of%20some%20interest%20to%20people%20who%20don%27t%20know%20too%20much%20about%20Linux%20OS%20tweaking.%20%20Today%20our%20dev-server%20instance%20was%20hanging%20-%20again.%20Only%20this%20time%20I%20took%20the%20liberty%20to%20make%20our%20developers%20wait%20a%20little%20longer%20bef" title="Digg"><img src="http://devbox.computec.de/wp-content/plugins/sociable/images/digg.png" title="Digg" alt="Digg" class="sociable-hovers" /></a>
	<a rel="nofollow"  href="http://delicious.com/post?url=http%3A%2F%2Fdevbox.computec.de%2F2009%2F07%2Fcf-instance-hangs-too-many-open-files-in-log%2F&amp;title=CF%20Instance%20Hangs%2C%20%22too%20many%20open%20files%22%20in%20Log&amp;notes=This%20is%20really%20quite%20trivial%2C%20but%20may%20be%20of%20some%20interest%20to%20people%20who%20don%27t%20know%20too%20much%20about%20Linux%20OS%20tweaking.%20%20Today%20our%20dev-server%20instance%20was%20hanging%20-%20again.%20Only%20this%20time%20I%20took%20the%20liberty%20to%20make%20our%20developers%20wait%20a%20little%20longer%20bef" title="del.icio.us"><img src="http://devbox.computec.de/wp-content/plugins/sociable/images/delicious.png" title="del.icio.us" alt="del.icio.us" class="sociable-hovers" /></a>
	<a rel="nofollow"  href="http://www.facebook.com/share.php?u=http%3A%2F%2Fdevbox.computec.de%2F2009%2F07%2Fcf-instance-hangs-too-many-open-files-in-log%2F&amp;t=CF%20Instance%20Hangs%2C%20%22too%20many%20open%20files%22%20in%20Log" title="Facebook"><img src="http://devbox.computec.de/wp-content/plugins/sociable/images/facebook.png" title="Facebook" alt="Facebook" class="sociable-hovers" /></a>
	<a rel="nofollow"  href="http://www.google.com/bookmarks/mark?op=edit&amp;bkmk=http%3A%2F%2Fdevbox.computec.de%2F2009%2F07%2Fcf-instance-hangs-too-many-open-files-in-log%2F&amp;title=CF%20Instance%20Hangs%2C%20%22too%20many%20open%20files%22%20in%20Log&amp;annotation=This%20is%20really%20quite%20trivial%2C%20but%20may%20be%20of%20some%20interest%20to%20people%20who%20don%27t%20know%20too%20much%20about%20Linux%20OS%20tweaking.%20%20Today%20our%20dev-server%20instance%20was%20hanging%20-%20again.%20Only%20this%20time%20I%20took%20the%20liberty%20to%20make%20our%20developers%20wait%20a%20little%20longer%20bef" title="Google Bookmarks"><img src="http://devbox.computec.de/wp-content/plugins/sociable/images/googlebookmark.png" title="Google Bookmarks" alt="Google Bookmarks" class="sociable-hovers" /></a>
	<a rel="nofollow"  href="http://www.linkedin.com/shareArticle?mini=true&amp;url=http%3A%2F%2Fdevbox.computec.de%2F2009%2F07%2Fcf-instance-hangs-too-many-open-files-in-log%2F&amp;title=CF%20Instance%20Hangs%2C%20%22too%20many%20open%20files%22%20in%20Log&amp;source=devbox%40COMPUTEC+The+Computec+development+blog&amp;summary=This%20is%20really%20quite%20trivial%2C%20but%20may%20be%20of%20some%20interest%20to%20people%20who%20don%27t%20know%20too%20much%20about%20Linux%20OS%20tweaking.%20%20Today%20our%20dev-server%20instance%20was%20hanging%20-%20again.%20Only%20this%20time%20I%20took%20the%20liberty%20to%20make%20our%20developers%20wait%20a%20little%20longer%20bef" title="LinkedIn"><img src="http://devbox.computec.de/wp-content/plugins/sociable/images/linkedin.png" title="LinkedIn" alt="LinkedIn" class="sociable-hovers" /></a>
	<a rel="nofollow"  href="http://www.mister-wong.de/addurl/?bm_url=http%3A%2F%2Fdevbox.computec.de%2F2009%2F07%2Fcf-instance-hangs-too-many-open-files-in-log%2F&amp;bm_description=CF%20Instance%20Hangs%2C%20%22too%20many%20open%20files%22%20in%20Log&amp;plugin=soc" title="MisterWong.DE"><img src="http://devbox.computec.de/wp-content/plugins/sociable/images/misterwong.png" title="MisterWong.DE" alt="MisterWong.DE" class="sociable-hovers" /></a>
	<a rel="nofollow"  href="http://www.netvibes.com/share?title=CF%20Instance%20Hangs%2C%20%22too%20many%20open%20files%22%20in%20Log&amp;url=http%3A%2F%2Fdevbox.computec.de%2F2009%2F07%2Fcf-instance-hangs-too-many-open-files-in-log%2F" title="Netvibes"><img src="http://devbox.computec.de/wp-content/plugins/sociable/images/netvibes.png" title="Netvibes" alt="Netvibes" class="sociable-hovers" /></a>
	<a rel="nofollow"  href="http://reddit.com/submit?url=http%3A%2F%2Fdevbox.computec.de%2F2009%2F07%2Fcf-instance-hangs-too-many-open-files-in-log%2F&amp;title=CF%20Instance%20Hangs%2C%20%22too%20many%20open%20files%22%20in%20Log" title="Reddit"><img src="http://devbox.computec.de/wp-content/plugins/sociable/images/reddit.png" title="Reddit" alt="Reddit" class="sociable-hovers" /></a>
	<a rel="nofollow"  href="http://slashdot.org/bookmark.pl?title=CF%20Instance%20Hangs%2C%20%22too%20many%20open%20files%22%20in%20Log&amp;url=http%3A%2F%2Fdevbox.computec.de%2F2009%2F07%2Fcf-instance-hangs-too-many-open-files-in-log%2F" title="Slashdot"><img src="http://devbox.computec.de/wp-content/plugins/sociable/images/slashdot.png" title="Slashdot" alt="Slashdot" class="sociable-hovers" /></a>
	<a rel="nofollow"  href="http://www.stumbleupon.com/submit?url=http%3A%2F%2Fdevbox.computec.de%2F2009%2F07%2Fcf-instance-hangs-too-many-open-files-in-log%2F&amp;title=CF%20Instance%20Hangs%2C%20%22too%20many%20open%20files%22%20in%20Log" title="StumbleUpon"><img src="http://devbox.computec.de/wp-content/plugins/sociable/images/stumbleupon.png" title="StumbleUpon" alt="StumbleUpon" class="sociable-hovers" /></a>
	<a rel="nofollow"  href="http://technorati.com/faves?add=http%3A%2F%2Fdevbox.computec.de%2F2009%2F07%2Fcf-instance-hangs-too-many-open-files-in-log%2F" title="Technorati"><img src="http://devbox.computec.de/wp-content/plugins/sociable/images/technorati.png" title="Technorati" alt="Technorati" class="sociable-hovers" /></a>
	<a rel="nofollow"  href="http://twitter.com/home?status=CF%20Instance%20Hangs%2C%20%22too%20many%20open%20files%22%20in%20Log%20-%20http%3A%2F%2Fdevbox.computec.de%2F2009%2F07%2Fcf-instance-hangs-too-many-open-files-in-log%2F" title="Twitter"><img src="http://devbox.computec.de/wp-content/plugins/sociable/images/twitter.png" title="Twitter" alt="Twitter" class="sociable-hovers" /></a>
	<a rel="nofollow"  href="http://bookmarks.yahoo.com/toolbar/savebm?u=http%3A%2F%2Fdevbox.computec.de%2F2009%2F07%2Fcf-instance-hangs-too-many-open-files-in-log%2F&amp;t=CF%20Instance%20Hangs%2C%20%22too%20many%20open%20files%22%20in%20Log&opener=bm&amp;ei=UTF-8&amp;d=This%20is%20really%20quite%20trivial%2C%20but%20may%20be%20of%20some%20interest%20to%20people%20who%20don%27t%20know%20too%20much%20about%20Linux%20OS%20tweaking.%20%20Today%20our%20dev-server%20instance%20was%20hanging%20-%20again.%20Only%20this%20time%20I%20took%20the%20liberty%20to%20make%20our%20developers%20wait%20a%20little%20longer%20bef" title="Yahoo! Bookmarks"><img src="http://devbox.computec.de/wp-content/plugins/sociable/images/yahoomyweb.png" title="Yahoo! Bookmarks" alt="Yahoo! Bookmarks" class="sociable-hovers" /></a>
	<a rel="nofollow"  href="http://linkarena.com/bookmarks/addlink/?url=http%3A%2F%2Fdevbox.computec.de%2F2009%2F07%2Fcf-instance-hangs-too-many-open-files-in-log%2F&amp;title=CF%20Instance%20Hangs%2C%20%22too%20many%20open%20files%22%20in%20Log" title="LinkArena"><img src="http://devbox.computec.de/wp-content/plugins/sociable/images/linkarena.png" title="LinkArena" alt="LinkArena" class="sociable-hovers" /></a>
	<a rel="nofollow"  href="https://favorites.live.com/quickadd.aspx?marklet=1&amp;url=http%3A%2F%2Fdevbox.computec.de%2F2009%2F07%2Fcf-instance-hangs-too-many-open-files-in-log%2F&amp;title=CF%20Instance%20Hangs%2C%20%22too%20many%20open%20files%22%20in%20Log" title="Live"><img src="http://devbox.computec.de/wp-content/plugins/sociable/images/live.png" title="Live" alt="Live" class="sociable-hovers" /></a>
	<a rel="nofollow"  href="http://www.myspace.com/Modules/PostTo/Pages/?u=http%3A%2F%2Fdevbox.computec.de%2F2009%2F07%2Fcf-instance-hangs-too-many-open-files-in-log%2F&amp;t=CF%20Instance%20Hangs%2C%20%22too%20many%20open%20files%22%20in%20Log" title="MySpace"><img src="http://devbox.computec.de/wp-content/plugins/sociable/images/myspace.png" title="MySpace" alt="MySpace" class="sociable-hovers" /></a>
	<a rel="nofollow"  href="http://buzz.yahoo.com/submit/?submitUrl=http%3A%2F%2Fdevbox.computec.de%2F2009%2F07%2Fcf-instance-hangs-too-many-open-files-in-log%2F&amp;submitHeadline=CF%20Instance%20Hangs%2C%20%22too%20many%20open%20files%22%20in%20Log&amp;submitSummary=This%20is%20really%20quite%20trivial%2C%20but%20may%20be%20of%20some%20interest%20to%20people%20who%20don%27t%20know%20too%20much%20about%20Linux%20OS%20tweaking.%20%20Today%20our%20dev-server%20instance%20was%20hanging%20-%20again.%20Only%20this%20time%20I%20took%20the%20liberty%20to%20make%20our%20developers%20wait%20a%20little%20longer%20bef&amp;submitCategory=science&amp;submitAssetType=text" title="Yahoo! Buzz"><img src="http://devbox.computec.de/wp-content/plugins/sociable/images/yahoobuzz.png" title="Yahoo! Buzz" alt="Yahoo! Buzz" class="sociable-hovers" /></a>
	<a rel="nofollow"  href="http://yigg.de/neu?exturl=http%3A%2F%2Fdevbox.computec.de%2F2009%2F07%2Fcf-instance-hangs-too-many-open-files-in-log%2F&amp;exttitle=CF%20Instance%20Hangs%2C%20%22too%20many%20open%20files%22%20in%20Log" title="Yigg"><img src="http://devbox.computec.de/wp-content/plugins/sociable/images/yiggit.png" title="Yigg" alt="Yigg" class="sociable-hovers" /></a>
	<a rel="nofollow"  href="http://blogmarks.net/my/new.php?mini=1&amp;simple=1&amp;url=http%3A%2F%2Fdevbox.computec.de%2F2009%2F07%2Fcf-instance-hangs-too-many-open-files-in-log%2F&amp;title=CF%20Instance%20Hangs%2C%20%22too%20many%20open%20files%22%20in%20Log" title="blogmarks"><img src="http://devbox.computec.de/wp-content/plugins/sociable/images/blogmarks.png" title="blogmarks" alt="blogmarks" class="sociable-hovers" /></a>
	<a rel="nofollow"  href="http://faves.com/Authoring.aspx?u=http%3A%2F%2Fdevbox.computec.de%2F2009%2F07%2Fcf-instance-hangs-too-many-open-files-in-log%2F&amp;title=CF%20Instance%20Hangs%2C%20%22too%20many%20open%20files%22%20in%20Log" title="Faves"><img src="http://devbox.computec.de/wp-content/plugins/sociable/images/bluedot.png" title="Faves" alt="Faves" class="sociable-hovers" /></a>
	<a rel="nofollow"  href="http://www.friendfeed.com/share?title=CF%20Instance%20Hangs%2C%20%22too%20many%20open%20files%22%20in%20Log&amp;link=http%3A%2F%2Fdevbox.computec.de%2F2009%2F07%2Fcf-instance-hangs-too-many-open-files-in-log%2F" title="FriendFeed"><img src="http://devbox.computec.de/wp-content/plugins/sociable/images/friendfeed.png" title="FriendFeed" alt="FriendFeed" class="sociable-hovers" /></a>
	<a rel="nofollow"  href="http://www.mister-wong.com/addurl/?bm_url=http%3A%2F%2Fdevbox.computec.de%2F2009%2F07%2Fcf-instance-hangs-too-many-open-files-in-log%2F&amp;bm_description=CF%20Instance%20Hangs%2C%20%22too%20many%20open%20files%22%20in%20Log&amp;plugin=soc" title="MisterWong"><img src="http://devbox.computec.de/wp-content/plugins/sociable/images/misterwong.png" title="MisterWong" alt="MisterWong" class="sociable-hovers" /></a>


<br/><br/>]]></content:encoded>
			<wfw:commentRss>http://devbox.computec.de/2009/07/cf-instance-hangs-too-many-open-files-in-log/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>ColdFusion 8 and Symlinks &#8211; Hell Awaits? (solved)</title>
		<link>http://devbox.computec.de/2009/07/coldfusion-8-and-symlinks-hell-awaits/?utm_source=rss&amp;utm_medium=rss&amp;utm_campaign=coldfusion-8-and-symlinks-hell-awaits</link>
		<comments>http://devbox.computec.de/2009/07/coldfusion-8-and-symlinks-hell-awaits/#comments</comments>
		<pubDate>Tue, 14 Jul 2009 09:54:47 +0000</pubDate>
		<dc:creator>Markus Wollny</dc:creator>
				<category><![CDATA[ColdFusion]]></category>
		<category><![CDATA[Operating Systems]]></category>
		<category><![CDATA[Webserver]]></category>

		<guid isPermaLink="false">http://devbox.computec.de/?p=230</guid>
		<description><![CDATA[UPDATE: The issue seems to be fixed with ColdFusion Hotfix hf801-71648 (see technote kb403629). The fix is included in the Cumulative Hot Fix 2 for ColdFusion 8.0.1 (see technote kb403781). My bad - I thought I had deployed the hotfix when all I had in fact done was upload the zip-file instead of the jar. [...]]]></description>
			<content:encoded><![CDATA[<p><strong>UPDATE</strong>: The issue seems to be fixed with ColdFusion Hotfix hf801-71648 (see technote <a title="Adobe ColdFusion technote kb403629" href="http://www.adobe.com/go/kb403629">kb403629</a>). The fix is included in the Cumulative Hot Fix 2 for ColdFusion 8.0.1 (see technote <a title="Adobe ColdFusion technote kb403781" href="http://www.adobe.com/go/kb403781">kb403781</a>). My bad - I thought I had deployed the hotfix when all I had in fact done was upload the zip-file instead of the jar. Epic fail. Anyway, the technote is a bit misleading as well - it's talking about Application.cfm path resolution when the same issue applies to <code>cfinclude</code>, too.<br />
<strong>UPDATE 2</strong>: This hit us today again. I usually download the ZIP-Archives of the updates and just unzip then in place before restarting coldfusion. For some reason two of our five CF-servers decided to include chf8010002.zip into their classpath instead of the chf8010002.jar that was sitting right next to it. I cannot imagine how CF decides that a ZIP-file would be a valuable addition to its classpath, but only after I simply removed the original ZIPs and restarted the server, the JAR was correctly included and the annoying symlink resolving went away.</p>
<p>I recently stumbled over an issue when using symbolic links on a couple of ColdFusion applications. I intended to use symlinks to keep duplicate code between different applications to a minimum. I'm running Apache 2.2 with ColdFusion 8.0.1 on 64-bit Debian Etch. Each of our web-applications needs a "connector" while retaining an include with some site-specific config.<br />
<span id="more-230"></span><br />
This is the intended directory layout</p>
<p>../foo/shared/connector/bar.cfm<br />
../foo/mysite/myinclude.inc<br />
../foo/mysite/connector symbolic link to -&gt; ../shared/connector<br />
../foo/mysite/bar.cfm symbolic link to -&gt; connector/bar.cfm</p>
<p>../foo/mysite/ would be the web-root for my application. <em>bar.cfm</em> just reads <code>&lt;cfinclude template="./myinclude.inc"&gt;</code>, <em>myinclude.cfm</em> reads <code>&lt;cfoutput&gt;#now()#&lt;/cfoutput&gt;</code>.</p>
<p>Calling <em>http://mysite/bar.cfm</em> I get an error "Could not find the included template ./myinclude.inc." and a detail: "The error occurred in /var/www/.../foo/shared/connector/bar.cfm: line 1". Notice the path to the file that throws the error? ColdFusion seems to have resolved the symlink to its destination instead of executing the symlink in the location it was found just like it would have executed a physical file.</p>
<p>The webserver has no problem with calling this file via symbolik link - if I simply rename the symlink <em>bar.cfm</em> to <em>bar.txt</em>, I get the source code of <em>bar.cfm</em> (as this is not going through ColdFusion). And if I simply copy the physical bar.cfm over the symlink, all is well, too.</p>
<p>Webserver aliases wouldn't work in this case either, because they wouldn't parse the site's Application.cfc, as it's a different physical path. Symlinks would emulate the physical paths being present in different locations, though without actually having several physical copies. Symlinks would be extremely useful - if only they worked as intended (i.e. transparent, as they are for almost any other program). This is exactly the use case symlinks were made for - and the way they are handled by the filesystem.</p>
<p>I wonder what may be the reasoning behind this non-standard link-resolving of ColdFusion. Has anybody else experienced this unexpected behaviour and found some solution?</p>



Share and Enjoy:


	<a rel="nofollow"  href="http://www.printfriendly.com/print?url=http%3A%2F%2Fdevbox.computec.de%2F2009%2F07%2Fcoldfusion-8-and-symlinks-hell-awaits%2F&amp;partner=sociable" title="Print"><img src="http://devbox.computec.de/wp-content/plugins/sociable/images/printfriendly.png" title="Print" alt="Print" class="sociable-hovers" /></a>
	<a rel="nofollow"  href="http://digg.com/submit?phase=2&amp;url=http%3A%2F%2Fdevbox.computec.de%2F2009%2F07%2Fcoldfusion-8-and-symlinks-hell-awaits%2F&amp;title=ColdFusion%208%20and%20Symlinks%20-%20Hell%20Awaits%3F%20%28solved%29&amp;bodytext=UPDATE%3A%20The%20issue%20seems%20to%20be%20fixed%20with%20ColdFusion%20Hotfix%20hf801-71648%20%28see%20technote%20kb403629%29.%20The%20fix%20is%20included%20in%20the%20Cumulative%20Hot%20Fix%202%20for%20ColdFusion%208.0.1%20%28see%20technote%20kb403781%29.%20My%20bad%20-%20I%20thought%20I%20had%20deployed%20the%20hotfix%20when%20all%20I%20had%20" title="Digg"><img src="http://devbox.computec.de/wp-content/plugins/sociable/images/digg.png" title="Digg" alt="Digg" class="sociable-hovers" /></a>
	<a rel="nofollow"  href="http://delicious.com/post?url=http%3A%2F%2Fdevbox.computec.de%2F2009%2F07%2Fcoldfusion-8-and-symlinks-hell-awaits%2F&amp;title=ColdFusion%208%20and%20Symlinks%20-%20Hell%20Awaits%3F%20%28solved%29&amp;notes=UPDATE%3A%20The%20issue%20seems%20to%20be%20fixed%20with%20ColdFusion%20Hotfix%20hf801-71648%20%28see%20technote%20kb403629%29.%20The%20fix%20is%20included%20in%20the%20Cumulative%20Hot%20Fix%202%20for%20ColdFusion%208.0.1%20%28see%20technote%20kb403781%29.%20My%20bad%20-%20I%20thought%20I%20had%20deployed%20the%20hotfix%20when%20all%20I%20had%20" title="del.icio.us"><img src="http://devbox.computec.de/wp-content/plugins/sociable/images/delicious.png" title="del.icio.us" alt="del.icio.us" class="sociable-hovers" /></a>
	<a rel="nofollow"  href="http://www.facebook.com/share.php?u=http%3A%2F%2Fdevbox.computec.de%2F2009%2F07%2Fcoldfusion-8-and-symlinks-hell-awaits%2F&amp;t=ColdFusion%208%20and%20Symlinks%20-%20Hell%20Awaits%3F%20%28solved%29" title="Facebook"><img src="http://devbox.computec.de/wp-content/plugins/sociable/images/facebook.png" title="Facebook" alt="Facebook" class="sociable-hovers" /></a>
	<a rel="nofollow"  href="http://www.google.com/bookmarks/mark?op=edit&amp;bkmk=http%3A%2F%2Fdevbox.computec.de%2F2009%2F07%2Fcoldfusion-8-and-symlinks-hell-awaits%2F&amp;title=ColdFusion%208%20and%20Symlinks%20-%20Hell%20Awaits%3F%20%28solved%29&amp;annotation=UPDATE%3A%20The%20issue%20seems%20to%20be%20fixed%20with%20ColdFusion%20Hotfix%20hf801-71648%20%28see%20technote%20kb403629%29.%20The%20fix%20is%20included%20in%20the%20Cumulative%20Hot%20Fix%202%20for%20ColdFusion%208.0.1%20%28see%20technote%20kb403781%29.%20My%20bad%20-%20I%20thought%20I%20had%20deployed%20the%20hotfix%20when%20all%20I%20had%20" title="Google Bookmarks"><img src="http://devbox.computec.de/wp-content/plugins/sociable/images/googlebookmark.png" title="Google Bookmarks" alt="Google Bookmarks" class="sociable-hovers" /></a>
	<a rel="nofollow"  href="http://www.linkedin.com/shareArticle?mini=true&amp;url=http%3A%2F%2Fdevbox.computec.de%2F2009%2F07%2Fcoldfusion-8-and-symlinks-hell-awaits%2F&amp;title=ColdFusion%208%20and%20Symlinks%20-%20Hell%20Awaits%3F%20%28solved%29&amp;source=devbox%40COMPUTEC+The+Computec+development+blog&amp;summary=UPDATE%3A%20The%20issue%20seems%20to%20be%20fixed%20with%20ColdFusion%20Hotfix%20hf801-71648%20%28see%20technote%20kb403629%29.%20The%20fix%20is%20included%20in%20the%20Cumulative%20Hot%20Fix%202%20for%20ColdFusion%208.0.1%20%28see%20technote%20kb403781%29.%20My%20bad%20-%20I%20thought%20I%20had%20deployed%20the%20hotfix%20when%20all%20I%20had%20" title="LinkedIn"><img src="http://devbox.computec.de/wp-content/plugins/sociable/images/linkedin.png" title="LinkedIn" alt="LinkedIn" class="sociable-hovers" /></a>
	<a rel="nofollow"  href="http://www.mister-wong.de/addurl/?bm_url=http%3A%2F%2Fdevbox.computec.de%2F2009%2F07%2Fcoldfusion-8-and-symlinks-hell-awaits%2F&amp;bm_description=ColdFusion%208%20and%20Symlinks%20-%20Hell%20Awaits%3F%20%28solved%29&amp;plugin=soc" title="MisterWong.DE"><img src="http://devbox.computec.de/wp-content/plugins/sociable/images/misterwong.png" title="MisterWong.DE" alt="MisterWong.DE" class="sociable-hovers" /></a>
	<a rel="nofollow"  href="http://www.netvibes.com/share?title=ColdFusion%208%20and%20Symlinks%20-%20Hell%20Awaits%3F%20%28solved%29&amp;url=http%3A%2F%2Fdevbox.computec.de%2F2009%2F07%2Fcoldfusion-8-and-symlinks-hell-awaits%2F" title="Netvibes"><img src="http://devbox.computec.de/wp-content/plugins/sociable/images/netvibes.png" title="Netvibes" alt="Netvibes" class="sociable-hovers" /></a>
	<a rel="nofollow"  href="http://reddit.com/submit?url=http%3A%2F%2Fdevbox.computec.de%2F2009%2F07%2Fcoldfusion-8-and-symlinks-hell-awaits%2F&amp;title=ColdFusion%208%20and%20Symlinks%20-%20Hell%20Awaits%3F%20%28solved%29" title="Reddit"><img src="http://devbox.computec.de/wp-content/plugins/sociable/images/reddit.png" title="Reddit" alt="Reddit" class="sociable-hovers" /></a>
	<a rel="nofollow"  href="http://slashdot.org/bookmark.pl?title=ColdFusion%208%20and%20Symlinks%20-%20Hell%20Awaits%3F%20%28solved%29&amp;url=http%3A%2F%2Fdevbox.computec.de%2F2009%2F07%2Fcoldfusion-8-and-symlinks-hell-awaits%2F" title="Slashdot"><img src="http://devbox.computec.de/wp-content/plugins/sociable/images/slashdot.png" title="Slashdot" alt="Slashdot" class="sociable-hovers" /></a>
	<a rel="nofollow"  href="http://www.stumbleupon.com/submit?url=http%3A%2F%2Fdevbox.computec.de%2F2009%2F07%2Fcoldfusion-8-and-symlinks-hell-awaits%2F&amp;title=ColdFusion%208%20and%20Symlinks%20-%20Hell%20Awaits%3F%20%28solved%29" title="StumbleUpon"><img src="http://devbox.computec.de/wp-content/plugins/sociable/images/stumbleupon.png" title="StumbleUpon" alt="StumbleUpon" class="sociable-hovers" /></a>
	<a rel="nofollow"  href="http://technorati.com/faves?add=http%3A%2F%2Fdevbox.computec.de%2F2009%2F07%2Fcoldfusion-8-and-symlinks-hell-awaits%2F" title="Technorati"><img src="http://devbox.computec.de/wp-content/plugins/sociable/images/technorati.png" title="Technorati" alt="Technorati" class="sociable-hovers" /></a>
	<a rel="nofollow"  href="http://twitter.com/home?status=ColdFusion%208%20and%20Symlinks%20-%20Hell%20Awaits%3F%20%28solved%29%20-%20http%3A%2F%2Fdevbox.computec.de%2F2009%2F07%2Fcoldfusion-8-and-symlinks-hell-awaits%2F" title="Twitter"><img src="http://devbox.computec.de/wp-content/plugins/sociable/images/twitter.png" title="Twitter" alt="Twitter" class="sociable-hovers" /></a>
	<a rel="nofollow"  href="http://bookmarks.yahoo.com/toolbar/savebm?u=http%3A%2F%2Fdevbox.computec.de%2F2009%2F07%2Fcoldfusion-8-and-symlinks-hell-awaits%2F&amp;t=ColdFusion%208%20and%20Symlinks%20-%20Hell%20Awaits%3F%20%28solved%29&opener=bm&amp;ei=UTF-8&amp;d=UPDATE%3A%20The%20issue%20seems%20to%20be%20fixed%20with%20ColdFusion%20Hotfix%20hf801-71648%20%28see%20technote%20kb403629%29.%20The%20fix%20is%20included%20in%20the%20Cumulative%20Hot%20Fix%202%20for%20ColdFusion%208.0.1%20%28see%20technote%20kb403781%29.%20My%20bad%20-%20I%20thought%20I%20had%20deployed%20the%20hotfix%20when%20all%20I%20had%20" title="Yahoo! Bookmarks"><img src="http://devbox.computec.de/wp-content/plugins/sociable/images/yahoomyweb.png" title="Yahoo! Bookmarks" alt="Yahoo! Bookmarks" class="sociable-hovers" /></a>
	<a rel="nofollow"  href="http://linkarena.com/bookmarks/addlink/?url=http%3A%2F%2Fdevbox.computec.de%2F2009%2F07%2Fcoldfusion-8-and-symlinks-hell-awaits%2F&amp;title=ColdFusion%208%20and%20Symlinks%20-%20Hell%20Awaits%3F%20%28solved%29" title="LinkArena"><img src="http://devbox.computec.de/wp-content/plugins/sociable/images/linkarena.png" title="LinkArena" alt="LinkArena" class="sociable-hovers" /></a>
	<a rel="nofollow"  href="https://favorites.live.com/quickadd.aspx?marklet=1&amp;url=http%3A%2F%2Fdevbox.computec.de%2F2009%2F07%2Fcoldfusion-8-and-symlinks-hell-awaits%2F&amp;title=ColdFusion%208%20and%20Symlinks%20-%20Hell%20Awaits%3F%20%28solved%29" title="Live"><img src="http://devbox.computec.de/wp-content/plugins/sociable/images/live.png" title="Live" alt="Live" class="sociable-hovers" /></a>
	<a rel="nofollow"  href="http://www.myspace.com/Modules/PostTo/Pages/?u=http%3A%2F%2Fdevbox.computec.de%2F2009%2F07%2Fcoldfusion-8-and-symlinks-hell-awaits%2F&amp;t=ColdFusion%208%20and%20Symlinks%20-%20Hell%20Awaits%3F%20%28solved%29" title="MySpace"><img src="http://devbox.computec.de/wp-content/plugins/sociable/images/myspace.png" title="MySpace" alt="MySpace" class="sociable-hovers" /></a>
	<a rel="nofollow"  href="http://buzz.yahoo.com/submit/?submitUrl=http%3A%2F%2Fdevbox.computec.de%2F2009%2F07%2Fcoldfusion-8-and-symlinks-hell-awaits%2F&amp;submitHeadline=ColdFusion%208%20and%20Symlinks%20-%20Hell%20Awaits%3F%20%28solved%29&amp;submitSummary=UPDATE%3A%20The%20issue%20seems%20to%20be%20fixed%20with%20ColdFusion%20Hotfix%20hf801-71648%20%28see%20technote%20kb403629%29.%20The%20fix%20is%20included%20in%20the%20Cumulative%20Hot%20Fix%202%20for%20ColdFusion%208.0.1%20%28see%20technote%20kb403781%29.%20My%20bad%20-%20I%20thought%20I%20had%20deployed%20the%20hotfix%20when%20all%20I%20had%20&amp;submitCategory=science&amp;submitAssetType=text" title="Yahoo! Buzz"><img src="http://devbox.computec.de/wp-content/plugins/sociable/images/yahoobuzz.png" title="Yahoo! Buzz" alt="Yahoo! Buzz" class="sociable-hovers" /></a>
	<a rel="nofollow"  href="http://yigg.de/neu?exturl=http%3A%2F%2Fdevbox.computec.de%2F2009%2F07%2Fcoldfusion-8-and-symlinks-hell-awaits%2F&amp;exttitle=ColdFusion%208%20and%20Symlinks%20-%20Hell%20Awaits%3F%20%28solved%29" title="Yigg"><img src="http://devbox.computec.de/wp-content/plugins/sociable/images/yiggit.png" title="Yigg" alt="Yigg" class="sociable-hovers" /></a>
	<a rel="nofollow"  href="http://blogmarks.net/my/new.php?mini=1&amp;simple=1&amp;url=http%3A%2F%2Fdevbox.computec.de%2F2009%2F07%2Fcoldfusion-8-and-symlinks-hell-awaits%2F&amp;title=ColdFusion%208%20and%20Symlinks%20-%20Hell%20Awaits%3F%20%28solved%29" title="blogmarks"><img src="http://devbox.computec.de/wp-content/plugins/sociable/images/blogmarks.png" title="blogmarks" alt="blogmarks" class="sociable-hovers" /></a>
	<a rel="nofollow"  href="http://faves.com/Authoring.aspx?u=http%3A%2F%2Fdevbox.computec.de%2F2009%2F07%2Fcoldfusion-8-and-symlinks-hell-awaits%2F&amp;title=ColdFusion%208%20and%20Symlinks%20-%20Hell%20Awaits%3F%20%28solved%29" title="Faves"><img src="http://devbox.computec.de/wp-content/plugins/sociable/images/bluedot.png" title="Faves" alt="Faves" class="sociable-hovers" /></a>
	<a rel="nofollow"  href="http://www.friendfeed.com/share?title=ColdFusion%208%20and%20Symlinks%20-%20Hell%20Awaits%3F%20%28solved%29&amp;link=http%3A%2F%2Fdevbox.computec.de%2F2009%2F07%2Fcoldfusion-8-and-symlinks-hell-awaits%2F" title="FriendFeed"><img src="http://devbox.computec.de/wp-content/plugins/sociable/images/friendfeed.png" title="FriendFeed" alt="FriendFeed" class="sociable-hovers" /></a>
	<a rel="nofollow"  href="http://www.mister-wong.com/addurl/?bm_url=http%3A%2F%2Fdevbox.computec.de%2F2009%2F07%2Fcoldfusion-8-and-symlinks-hell-awaits%2F&amp;bm_description=ColdFusion%208%20and%20Symlinks%20-%20Hell%20Awaits%3F%20%28solved%29&amp;plugin=soc" title="MisterWong"><img src="http://devbox.computec.de/wp-content/plugins/sociable/images/misterwong.png" title="MisterWong" alt="MisterWong" class="sociable-hovers" /></a>


<br/><br/>]]></content:encoded>
			<wfw:commentRss>http://devbox.computec.de/2009/07/coldfusion-8-and-symlinks-hell-awaits/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
	</channel>
</rss>
