<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	>
<channel>
	<title>Comments on: ColdFusion 8 and Plesk 8 on Red Hat ES 4</title>
	<atom:link href="http://www.usercore.com/2007/08/29/coldfusion-8-and-plesk-8-on-red-hat-es-4/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.usercore.com/2007/08/29/coldfusion-8-and-plesk-8-on-red-hat-es-4/</link>
	<description>Matt MacDougall - attempting to grok users, management, marketing, linux, subversion, coldfusion, os x and web geekery</description>
	<pubDate>Sun,  6 Jul 2008 02:53:26 +0000</pubDate>
	<generator>http://wordpress.org/?v=abc</generator>
		<item>
		<title>By: Digerati</title>
		<link>http://www.usercore.com/2007/08/29/coldfusion-8-and-plesk-8-on-red-hat-es-4/#comment-64</link>
		<dc:creator>Digerati</dc:creator>
		<pubDate>Sat, 22 Mar 2008 04:37:25 +0000</pubDate>
		<guid isPermaLink="false">http://www.usercore.com/2007/08/29/coldfusion-8-and-plesk-8-on-red-hat-es-4/#comment-64</guid>
		<description>This tutorial worked great.  Thanks!

One thing.. I couldn't get any client domains in plesk to run through CF&#62;  Every request no matter how I formatted the file name woudl throw a 404 error.  I checked permissions and they seemed fine.  

Answer: When installing Coldfusion, make sure it is set to run as the user apache (or psaserv) so CF will load the pages for domains other than the CF Administrator.

You can use nobody if you add it to the pasaserv group.

For details see this Plesk thread: http://forum.swsoft.com/showthread.php?threadid=16583</description>
		<content:encoded><![CDATA[<p>This tutorial worked great.  Thanks!</p>
<p>One thing.. I couldn&#8217;t get any client domains in plesk to run through CF&gt;  Every request no matter how I formatted the file name woudl throw a 404 error.  I checked permissions and they seemed fine.  </p>
<p>Answer: When installing Coldfusion, make sure it is set to run as the user apache (or psaserv) so CF will load the pages for domains other than the CF Administrator.</p>
<p>You can use nobody if you add it to the pasaserv group.</p>
<p>For details see this Plesk thread: <a href="http://forum.swsoft.com/showthread.php?threadid=16583" rel="nofollow">http://forum.swsoft.com/showthread.php?threadid=16583</a></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Matt</title>
		<link>http://www.usercore.com/2007/08/29/coldfusion-8-and-plesk-8-on-red-hat-es-4/#comment-46</link>
		<dc:creator>Matt</dc:creator>
		<pubDate>Fri, 30 Nov 2007 16:33:09 +0000</pubDate>
		<guid isPermaLink="false">http://www.usercore.com/2007/08/29/coldfusion-8-and-plesk-8-on-red-hat-es-4/#comment-46</guid>
		<description>Hi Patrick,

I don't have my RedHat 4 box online to check this anymore but it sounds like you're very close.  What's the specific error you get when trying to go to one of these sites?  Do you see anything in the error_log file for the site?  How about the cfserver log? tail -f /opt/coldfusion8/cfserver.log

Something to try, if the sites that don't work contain the JRun options in their httpd.include files and it's exactly the same stuff as you put in the global httpd.conf, try removing the matching jrun info in the global httpd.conf and make sure to click the coldfusion support box in plesk for all your new domains.

-Matt</description>
		<content:encoded><![CDATA[<p>Hi Patrick,</p>
<p>I don&#8217;t have my RedHat 4 box online to check this anymore but it sounds like you&#8217;re very close.  What&#8217;s the specific error you get when trying to go to one of these sites?  Do you see anything in the error_log file for the site?  How about the cfserver log? tail -f /opt/coldfusion8/cfserver.log</p>
<p>Something to try, if the sites that don&#8217;t work contain the JRun options in their httpd.include files and it&#8217;s exactly the same stuff as you put in the global httpd.conf, try removing the matching jrun info in the global httpd.conf and make sure to click the coldfusion support box in plesk for all your new domains.</p>
<p>-Matt</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Patrick</title>
		<link>http://www.usercore.com/2007/08/29/coldfusion-8-and-plesk-8-on-red-hat-es-4/#comment-45</link>
		<dc:creator>Patrick</dc:creator>
		<pubDate>Wed, 28 Nov 2007 15:19:02 +0000</pubDate>
		<guid isPermaLink="false">http://www.usercore.com/2007/08/29/coldfusion-8-and-plesk-8-on-red-hat-es-4/#comment-45</guid>
		<description>Hi Matt,
thanks for your tutorial. It works great.
But Domains/Subdomains which already existed before installing ColdFusion doesn't work. But new ones do.
But the old domains also have the 
JRunConfig Verbose false
JRunConfig Apialloc false
JRunConfig Ignoresuffixmap false
JRunConfig Serverstore /opt/coldfusion8/runtime/lib/wsconfig/psa/jrunserver.store
JRunConfig Bootstrap 127.0.0.1:51800
AddHandler jrun-handler .jsp .jws .cfm .cfml .cfc
entries.</description>
		<content:encoded><![CDATA[<p>Hi Matt,<br />
thanks for your tutorial. It works great.<br />
But Domains/Subdomains which already existed before installing ColdFusion doesn&#8217;t work. But new ones do.<br />
But the old domains also have the<br />
JRunConfig Verbose false<br />
JRunConfig Apialloc false<br />
JRunConfig Ignoresuffixmap false<br />
JRunConfig Serverstore /opt/coldfusion8/runtime/lib/wsconfig/psa/jrunserver.store<br />
JRunConfig Bootstrap 127.0.0.1:51800<br />
AddHandler jrun-handler .jsp .jws .cfm .cfml .cfc<br />
entries.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Matt</title>
		<link>http://www.usercore.com/2007/08/29/coldfusion-8-and-plesk-8-on-red-hat-es-4/#comment-44</link>
		<dc:creator>Matt</dc:creator>
		<pubDate>Mon, 26 Nov 2007 17:12:09 +0000</pubDate>
		<guid isPermaLink="false">http://www.usercore.com/2007/08/29/coldfusion-8-and-plesk-8-on-red-hat-es-4/#comment-44</guid>
		<description>&lt;p&gt;What version of apache are you running?  If it's 2.2.something mod_jrun20 won't work and you'll need mod_jrun22&lt;/p&gt;
&lt;p&gt;You can check it by running the following in the command line:&lt;/p&gt;
&lt;p&gt;httpd -v&lt;/p&gt;
&lt;p&gt;If you're running Apache 2.2.something, check out this post for hacking plesk to allow for mod_jrun22:&lt;/p&gt;
&lt;p&gt;http://www.usercore.com/2007/10/19/coldfusion-8-and-plesk-8-on-redhat-5-via-mod_jrun22/&lt;/p&gt;
&lt;p&gt;If you're running Apache 2.0.something, you're got the right version of mod_jrun so there's another issue.  The error log file for apache should offer more info.&lt;/p&gt;
&lt;p&gt;Try the following command when starting apache with the LoadModule line for mod_jrun in place.&lt;/p&gt;
&lt;p&gt;tail -100 /var/log/httpd/error_log&lt;/p&gt;
&lt;p&gt;That will show you the last 100 lines in the log.  Or if you have two shell windows open, one for restarting apache and one for looking at the log you can do the following to see new entries in the log in realtime:&lt;/p&gt;
&lt;p&gt;tail -f /var/log/httpd/error_log&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>What version of apache are you running?  If it&#8217;s 2.2.something mod_jrun20 won&#8217;t work and you&#8217;ll need mod_jrun22</p>
<p>You can check it by running the following in the command line:</p>
<p>httpd -v</p>
<p>If you&#8217;re running Apache 2.2.something, check out this post for hacking plesk to allow for mod_jrun22:</p>
<p><a href="http://www.usercore.com/2007/10/19/coldfusion-8-and-plesk-8-on-redhat-5-via-mod_jrun22/" rel="nofollow">http://www.usercore.com/2007/10/19/coldfusion-8-and-plesk-8-on-redhat-5-via-mod_jrun22/</a></p>
<p>If you&#8217;re running Apache 2.0.something, you&#8217;re got the right version of mod_jrun so there&#8217;s another issue.  The error log file for apache should offer more info.</p>
<p>Try the following command when starting apache with the LoadModule line for mod_jrun in place.</p>
<p>tail -100 /var/log/httpd/error_log</p>
<p>That will show you the last 100 lines in the log.  Or if you have two shell windows open, one for restarting apache and one for looking at the log you can do the following to see new entries in the log in realtime:</p>
<p>tail -f /var/log/httpd/error_log</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Hugh</title>
		<link>http://www.usercore.com/2007/08/29/coldfusion-8-and-plesk-8-on-red-hat-es-4/#comment-43</link>
		<dc:creator>Hugh</dc:creator>
		<pubDate>Sun, 25 Nov 2007 18:41:33 +0000</pubDate>
		<guid isPermaLink="false">http://www.usercore.com/2007/08/29/coldfusion-8-and-plesk-8-on-red-hat-es-4/#comment-43</guid>
		<description>Hey,

I am using Fedora Core 6 - 64bit. In my zz010_psa_httpd.conf If I include:

LoadModule jrun_module /opt/coldfusion8/runtime/lib/wsconfig/psa/mod_jrun20.so

The HTTPD does not start. If I remove the line then HTTPD start obviously I need this command line. Any Ideas? Thanks!

Hugh</description>
		<content:encoded><![CDATA[<p>Hey,</p>
<p>I am using Fedora Core 6 - 64bit. In my zz010_psa_httpd.conf If I include:</p>
<p>LoadModule jrun_module /opt/coldfusion8/runtime/lib/wsconfig/psa/mod_jrun20.so</p>
<p>The HTTPD does not start. If I remove the line then HTTPD start obviously I need this command line. Any Ideas? Thanks!</p>
<p>Hugh</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Matt</title>
		<link>http://www.usercore.com/2007/08/29/coldfusion-8-and-plesk-8-on-red-hat-es-4/#comment-33</link>
		<dc:creator>Matt</dc:creator>
		<pubDate>Fri, 19 Oct 2007 14:42:28 +0000</pubDate>
		<guid isPermaLink="false">http://www.usercore.com/2007/08/29/coldfusion-8-and-plesk-8-on-red-hat-es-4/#comment-33</guid>
		<description>Hi Giancario,

I have seen this error before.  This could very well be unrelated to plesk.  I believe a NullPointerException is thrown when ColdFusion looks for something that's undefined.  Like if you were trying to call a custom tag that didn't exist.  Or if you had some old CF code that called  function no longer available.  Or it could be due to a broken CF install.

Here's a couple things I'd check.  

I assume you've tried to load up the ColdFusion administrator.  If not, try to do that.  That loading properly or not would rule out any issues with your code.  Also, I think the first time you load the cfadmin, that does some additional install tasks.

Next look at the install log file for your cf install.  Mine's at /opt/oldfusion8/Adobe_ColdFusion_8_InstallLog.log  about a page down from the top I see:

Summary
-------

Installation: Successful.

3697 Successes
0 Warnings
0 NonFatalErrors
0 FatalErrors

If you see any warnings or errors, find them to get more info.

I did an install using RedHat 5 recently which didn't have apxs installs with apache by default ... that threw an error so I installed the http-devel package and reinstalled CF.  Maybe this is the issue with CentOS too?

If everything looks good there, check out your error logs to see if they offer anymore useful info that the NullPointer error.  Assuming you've installed in /opt/coldfusion8 you can do a:

tail -500 /opt/coldfusion8/cfserver.log

tail -500 /opt/coldfusion8/exception.log

Hopefully you see something a little more descriptive.

And if all that doesn't show anything new, you can try skipping plesk all together just to rule out if it's a plesk+cf issue or just a cf issue.  

Assuming your apache conf and conf.d directories are in the same place as mine look for an temporarily comment out any mentions of jrun (my output will look different than yours):

[root@server logs]# grep -ri jrun /etc/httpd/conf
/etc/httpd/conf/httpd.conf:# JRun Settings
/etc/httpd/conf/httpd.conf:#LoadModule jrun_module /opt/coldfusion8/runtime/lib/wsconfig/1/mod_jrun22.so
/etc/httpd/conf/httpd.conf:#&lt;IfModule mod_jrun22.c&gt;
/etc/httpd/conf/httpd.conf:    JRunConfig Verbose false
/etc/httpd/conf/httpd.conf:    JRunConfig Apialloc false
/etc/httpd/conf/httpd.conf:    JRunConfig Ignoresuffixmap false
/etc/httpd/conf/httpd.conf:    JRunConfig Serverstore /opt/coldfusion8/runtime/lib/wsconfig/1/jrunserver.store
/etc/httpd/conf/httpd.conf:    JRunConfig Bootstrap 127.0.0.1:51800
/etc/httpd/conf/httpd.conf:    #JRunConfig Errorurl url &lt;optionally redirect to this URL on errors&gt;
/etc/httpd/conf/httpd.conf:    #JRunConfig ProxyRetryInterval 600 &lt;number of seconds to wait before trying to reconnect to unreachable clustered server&gt;
/etc/httpd/conf/httpd.conf:    #JRunConfig ConnectTimeout 15 &lt;number of seconds to wait on a socket connect to a jrun server&gt;
/etc/httpd/conf/httpd.conf:    #JRunConfig RecvTimeout 300 &lt;number of seconds to wait on a socket receive to a jrun server&gt;
/etc/httpd/conf/httpd.conf:    #JRunConfig SendTimeout 15 &lt;number of seconds to wait on a socket send to a jrun server&gt;
/etc/httpd/conf/httpd.conf:    AddHandler jrun-handler .jsp .jws .cfm .cfml .cfc .cfr .cfswf


[root@bree logs]# grep -ri jrun /etc/httpd/conf.d
/etc/httpd/conf.d/zz010_psa_httpd.conf:LoadModule jrun_module /opt/coldfusion8/runtime/lib/wsconfig/psa/mod_jrun20.so

----

Now make sure you only have the following in you httpd.conf file and all other mentions of jrun stuff are commented out in any other conf or conf.d files:

LoadModule jrun_module /opt/coldfusion8/runtime/lib/wsconfig/1/mod_jrun22.so
    JRunConfig Verbose false
    JRunConfig Apialloc false
    JRunConfig Ignoresuffixmap false
    JRunConfig Serverstore /opt/coldfusion8/runtime/lib/wsconfig/1/jrunserver.store
    JRunConfig Bootstrap 127.0.0.1:51800
    AddHandler jrun-handler .jsp .jws .cfm .cfml .cfc .cfr .cfswf

---

Hopefully some new info will come out of this process.  Let me know how it goes.

-Matt</description>
		<content:encoded><![CDATA[<p>Hi Giancario,</p>
<p>I have seen this error before.  This could very well be unrelated to plesk.  I believe a NullPointerException is thrown when ColdFusion looks for something that&#8217;s undefined.  Like if you were trying to call a custom tag that didn&#8217;t exist.  Or if you had some old CF code that called  function no longer available.  Or it could be due to a broken CF install.</p>
<p>Here&#8217;s a couple things I&#8217;d check.  </p>
<p>I assume you&#8217;ve tried to load up the ColdFusion administrator.  If not, try to do that.  That loading properly or not would rule out any issues with your code.  Also, I think the first time you load the cfadmin, that does some additional install tasks.</p>
<p>Next look at the install log file for your cf install.  Mine&#8217;s at /opt/oldfusion8/Adobe_ColdFusion_8_InstallLog.log  about a page down from the top I see:</p>
<p>Summary<br />
&#8212;&#8212;-</p>
<p>Installation: Successful.</p>
<p>3697 Successes<br />
0 Warnings<br />
0 NonFatalErrors<br />
0 FatalErrors</p>
<p>If you see any warnings or errors, find them to get more info.</p>
<p>I did an install using RedHat 5 recently which didn&#8217;t have apxs installs with apache by default &#8230; that threw an error so I installed the http-devel package and reinstalled CF.  Maybe this is the issue with CentOS too?</p>
<p>If everything looks good there, check out your error logs to see if they offer anymore useful info that the NullPointer error.  Assuming you&#8217;ve installed in /opt/coldfusion8 you can do a:</p>
<p>tail -500 /opt/coldfusion8/cfserver.log</p>
<p>tail -500 /opt/coldfusion8/exception.log</p>
<p>Hopefully you see something a little more descriptive.</p>
<p>And if all that doesn&#8217;t show anything new, you can try skipping plesk all together just to rule out if it&#8217;s a plesk+cf issue or just a cf issue.  </p>
<p>Assuming your apache conf and conf.d directories are in the same place as mine look for an temporarily comment out any mentions of jrun (my output will look different than yours):</p>
<p>[root@server logs]# grep -ri jrun /etc/httpd/conf<br />
/etc/httpd/conf/httpd.conf:# JRun Settings<br />
/etc/httpd/conf/httpd.conf:#LoadModule jrun_module /opt/coldfusion8/runtime/lib/wsconfig/1/mod_jrun22.so<br />
/etc/httpd/conf/httpd.conf:#<ifmodule mod_jrun22.c><br />
/etc/httpd/conf/httpd.conf:    JRunConfig Verbose false<br />
/etc/httpd/conf/httpd.conf:    JRunConfig Apialloc false<br />
/etc/httpd/conf/httpd.conf:    JRunConfig Ignoresuffixmap false<br />
/etc/httpd/conf/httpd.conf:    JRunConfig Serverstore /opt/coldfusion8/runtime/lib/wsconfig/1/jrunserver.store<br />
/etc/httpd/conf/httpd.conf:    JRunConfig Bootstrap 127.0.0.1:51800<br />
/etc/httpd/conf/httpd.conf:    #JRunConfig Errorurl url <optionally redirect to this URL on errors><br />
/etc/httpd/conf/httpd.conf:    #JRunConfig ProxyRetryInterval 600 <number of seconds to wait before trying to reconnect to unreachable clustered server><br />
/etc/httpd/conf/httpd.conf:    #JRunConfig ConnectTimeout 15 </number><number of seconds to wait on a socket connect to a jrun server><br />
/etc/httpd/conf/httpd.conf:    #JRunConfig RecvTimeout 300 </number><number of seconds to wait on a socket receive to a jrun server><br />
/etc/httpd/conf/httpd.conf:    #JRunConfig SendTimeout 15 </number><number of seconds to wait on a socket send to a jrun server><br />
/etc/httpd/conf/httpd.conf:    AddHandler jrun-handler .jsp .jws .cfm .cfml .cfc .cfr .cfswf</p>
<p>[root@bree logs]# grep -ri jrun /etc/httpd/conf.d<br />
/etc/httpd/conf.d/zz010_psa_httpd.conf:LoadModule jrun_module /opt/coldfusion8/runtime/lib/wsconfig/psa/mod_jrun20.so</p>
<p>&#8212;-</p>
<p>Now make sure you only have the following in you httpd.conf file and all other mentions of jrun stuff are commented out in any other conf or conf.d files:</p>
<p>LoadModule jrun_module /opt/coldfusion8/runtime/lib/wsconfig/1/mod_jrun22.so<br />
    JRunConfig Verbose false<br />
    JRunConfig Apialloc false<br />
    JRunConfig Ignoresuffixmap false<br />
    JRunConfig Serverstore /opt/coldfusion8/runtime/lib/wsconfig/1/jrunserver.store<br />
    JRunConfig Bootstrap 127.0.0.1:51800<br />
    AddHandler jrun-handler .jsp .jws .cfm .cfml .cfc .cfr .cfswf</p>
<p>&#8212;</p>
<p>Hopefully some new info will come out of this process.  Let me know how it goes.</p>
<p>-Matt</number></optionally></ifmodule></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Giancarlo Salamanca</title>
		<link>http://www.usercore.com/2007/08/29/coldfusion-8-and-plesk-8-on-red-hat-es-4/#comment-32</link>
		<dc:creator>Giancarlo Salamanca</dc:creator>
		<pubDate>Fri, 19 Oct 2007 07:40:26 +0000</pubDate>
		<guid isPermaLink="false">http://www.usercore.com/2007/08/29/coldfusion-8-and-plesk-8-on-red-hat-es-4/#comment-32</guid>
		<description>Thanks for this information, Matt, it's really helped me along the path to getting CF8 working on my Plesk 8 server running CentOS :)

However, there seems to be one last thing to overcome - when I try to load any .cfm pages on a domain with Coldfusion enabled in Plesk, all I get is this JRun Servlet Error 500 with the following stack trace:

java.lang.NullPointerException
	at jrun.servlet.JRunRequestDispatcher.invoke(JRunRequestDispatcher.java:283)
	at jrun.servlet.ServletEngineService.dispatch(ServletEngineService.java:543)
	at jrun.servlet.jrpp.JRunProxyService.invokeRunnable(JRunProxyService.java:203)
	at jrunx.scheduler.ThreadPool$DownstreamMetrics.invokeRunnable(ThreadPool.java:320)
	at jrunx.scheduler.ThreadPool$ThreadThrottle.invokeRunnable(ThreadPool.java:428)
	at jrunx.scheduler.ThreadPool$UpstreamMetrics.invokeRunnable(ThreadPool.java:266)
	at jrunx.scheduler.WorkerThread.run(WorkerThread.java:66)

Any ideas what might be causing this? It's a fresh installation of Plesk and CF8.</description>
		<content:encoded><![CDATA[<p>Thanks for this information, Matt, it&#8217;s really helped me along the path to getting CF8 working on my Plesk 8 server running CentOS <img src='http://www.usercore.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p>However, there seems to be one last thing to overcome - when I try to load any .cfm pages on a domain with Coldfusion enabled in Plesk, all I get is this JRun Servlet Error 500 with the following stack trace:</p>
<p>java.lang.NullPointerException<br />
	at jrun.servlet.JRunRequestDispatcher.invoke(JRunRequestDispatcher.java:283)<br />
	at jrun.servlet.ServletEngineService.dispatch(ServletEngineService.java:543)<br />
	at jrun.servlet.jrpp.JRunProxyService.invokeRunnable(JRunProxyService.java:203)<br />
	at jrunx.scheduler.ThreadPool$DownstreamMetrics.invokeRunnable(ThreadPool.java:320)<br />
	at jrunx.scheduler.ThreadPool$ThreadThrottle.invokeRunnable(ThreadPool.java:428)<br />
	at jrunx.scheduler.ThreadPool$UpstreamMetrics.invokeRunnable(ThreadPool.java:266)<br />
	at jrunx.scheduler.WorkerThread.run(WorkerThread.java:66)</p>
<p>Any ideas what might be causing this? It&#8217;s a fresh installation of Plesk and CF8.</p>
]]></content:encoded>
	</item>
</channel>
</rss>
