<?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>Blog - PonticStar.com &#187; ColdFusion</title>
	<atom:link href="http://www.ponticstar.com/blog/tag/coldfusion/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.ponticstar.com/blog</link>
	<description>Blog about various aspects of programming and web design</description>
	<lastBuildDate>Sun, 14 Aug 2011 23:52:31 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
		<item>
		<title>ColdFusion 8 on CentOS 4 with BlueQuartz</title>
		<link>http://www.ponticstar.com/blog/2009/05/14/coldfusion8-on-centos4/</link>
		<comments>http://www.ponticstar.com/blog/2009/05/14/coldfusion8-on-centos4/#comments</comments>
		<pubDate>Thu, 14 May 2009 15:44:53 +0000</pubDate>
		<dc:creator>Michael Ryvkin</dc:creator>
				<category><![CDATA[System Administration]]></category>
		<category><![CDATA[BlueQuartz]]></category>
		<category><![CDATA[CentOS]]></category>
		<category><![CDATA[ColdFusion]]></category>

		<guid isPermaLink="false">http://www.ponticstar.com/blog/?p=62</guid>
		<description><![CDATA[When starting ColdFusion for the first time connector wizard cannot configure web server correctly.
<pre>Starting ColdFusion 8...
The ColdFusion 8 server is starting up and will be available shortly.
======================================================================
Running the ColdFusion 8 connector wizard
======================================================================
Configuring the web server connector (Launched on the first run of the ColdFusion 8 start script)
Running apache connector wizard...
ColdFusion 8 not started, will retry connector 12 more time(s)
ColdFusion 8 not started, will retry connector 11 more time(s)
ColdFusion 8 not started, will retry connector 10 more time(s)
ColdFusion 8 not started, will retry connector 9 more time(s)
ColdFusion 8 not started, will retry connector 8 more time(s)
ColdFusion 8 not started, will retry connector 7 more time(s)
ColdFusion 8 not started, will retry connector 6 more time(s)
ColdFusion 8 not started, will retry connector 5 more time(s)
ColdFusion 8 not started, will retry connector 4 more time(s)
ColdFusion 8 not started, will retry connector 3 more time(s)
ColdFusion 8 not started, will retry connector 2 more time(s)
ColdFusion 8 not started, will retry connector 1 more time(s)
The connector wizard has not been able to contact the local ColdFusion 8, connector installation aborted.
======================================================================
ColdFusion 8 has been started.
ColdFusion 8 will write logs to /opt/coldfusion8/logs/cfserver.log
======================================================================
</pre>
]]></description>
			<content:encoded><![CDATA[<h3>PROBLEM:</h3>
<p>When starting ColdFusion for the first time connector wizard cannot configure web server correctly.</p>
<pre>Starting ColdFusion 8...
The ColdFusion 8 server is starting up and will be available shortly.
======================================================================
Running the ColdFusion 8 connector wizard
======================================================================
Configuring the web server connector (Launched on the first run of the ColdFusion 8 start script)
Running apache connector wizard...
ColdFusion 8 not started, will retry connector 12 more time(s)
ColdFusion 8 not started, will retry connector 11 more time(s)
ColdFusion 8 not started, will retry connector 10 more time(s)
ColdFusion 8 not started, will retry connector 9 more time(s)
ColdFusion 8 not started, will retry connector 8 more time(s)
ColdFusion 8 not started, will retry connector 7 more time(s)
ColdFusion 8 not started, will retry connector 6 more time(s)
ColdFusion 8 not started, will retry connector 5 more time(s)
ColdFusion 8 not started, will retry connector 4 more time(s)
ColdFusion 8 not started, will retry connector 3 more time(s)
ColdFusion 8 not started, will retry connector 2 more time(s)
ColdFusion 8 not started, will retry connector 1 more time(s)
The connector wizard has not been able to contact the local ColdFusion 8, connector installation aborted.
======================================================================
ColdFusion 8 has been started.
ColdFusion 8 will write logs to /opt/coldfusion8/logs/cfserver.log
======================================================================
</pre>
<div class="filename">/opt/coldfusion8/logs/cfserver.log:</div>
<pre>java.net.UnknownHostException: foo.mydomain.com: foo.mydomain.com</pre>
<div class="filename">/opt/coldfusion8/runtime/lib/wsconfig/wsconfig.log:</div>
<pre>05/06 07:59:07 info Macromedia JRun 4.0 (Build 108487)
05/06 07:59:08 error Could not connect to any JRun/ColdFusion servers on host localhost.
Possible causes:
o Server not running
  -Start Macromedia JRun4 or ColdFusion 8 server
o Server running
  -JNDI listen port in jndi.properties blocked by TCP/IP filtering or firewall
   on server
  -host restriction in security.properties blocking communication with server</pre>
<h3>CAUSE:</h3>
<p>This behavior could be caused by using non-resolvable host name (<code>foo.mydomain.com</code> in our example) along with <code>/etc/hosts</code> file having incorrect permissions.</p>
<pre>[root@foo ~]# ls -la /etc/hosts
-rw-r-----  1 root root 1514 May  4 18:04 /etc/hosts</pre>
<h3>SOLUTION:</h3>
<p>To resolve this issue <code>/etc/hosts</code> has to have <code>0644</code> access permission:</p>
<pre>
[root@foo ~]# chmod 0644 /etc/hosts
[root@foo ~]# ls -la /etc/hosts
-rw-r--r--  1 root root 1514 May  4 18:04 /etc/hosts
</pre>
<p>On distributions with BlueQuartz (<a href="http://www.osoffice.co.uk">Strongbolt</a>, <a href="http://www.blueonyx.it">BlueOnyx</a>, etc) it could be caused by <code>/usr/sausalito/handlers/nuonce/fixhosts/fixhosts</code> script (see <a class="target-blank" href="http://www.nuonce.net/support/viewthread.php?fid=44&amp;tid=1087">this post</a>). To prevent this script from resetting permissions again, add the following line at the end of the script:</p>
<pre>/bin/chmod 0644 /etc/hosts</pre>
]]></content:encoded>
			<wfw:commentRss>http://www.ponticstar.com/blog/2009/05/14/coldfusion8-on-centos4/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
	</channel>
</rss>

