In the past I have had to modify this file to get apache to talk to cf:
/opt/coldfusionmx7/runtime/servers/coldfusion/SERVER-INF/jrun.xml
Make sure this is set to false in the below settings.
<attribute name="deactivated">false</attribute>
At the very bottom of the file is this:
<!--
========================================================================
= -->
<!-- This service is for communicating with a native (IIS, Apache,
Netscape) -->
<!-- web
server.
-->
<!-- To run this service in a secure mode via SSL, set the
keyStore, -->
<!-- keyStorePassWord, trustStore and socketFactoryName
attributes. -->
<!--
========================================================================
= -->
<service class="jrun.servlet.jrpp.JRunProxyService"
name="ProxyService">
<attribute name="activeHandlerThreads">8</attribute>
<attribute name="minHandlerThreads">1</attribute>
<attribute name="maxHandlerThreads">1000</attribute>
<attribute name="mapCheck">0</attribute>
<attribute name="threadWaitTimeout">300</attribute>
<attribute name="backlog">500</attribute>
<attribute name="deactivated">false</attribute>
<attribute name="interface">*</attribute>
<attribute name="port">51011</attribute>
<attribute name="timeout">300</attribute>
<!-- set this to false for multi-hosted sites -->
<attribute name="cacheRealPath">false</attribute>
<!--
<attribute name="keyStore">{jrun.rootdir}/lib/keystore</attribute>
<attribute name="keyStorePassword">changeit</attribute>
<attribute name="trustStore">{jrun.rootdir}/lib/trustStore</attribute>
<attribute
name="socketFactoryName">jrun.servlet.jrpp.JRunProxySSLServerSocketFacto
ry</attribute>
-->
</service>
Hope that helps.
Dave
On Jan 26, 2006, at 12:28 PM, Martin Olson wrote:
> Hey all,
>
> I'm having some trouble getting the apache connector script
> working properly on a new machine I've just installed CFMX7 on.
> Before I go any further, the specs:
>
> Redhat Enterprise Linux 4ES / apache 2.0.52 / CFMX7
>
> Installation of CF itself seems to have gone smoothly. I installed
> just using the builtin server and everything comes up fine at
> http://[themachine]:8500/CFIDE/administrator/ . The only odd part
> is that CF is taking a rather long time to start up. According to
> the cfserver.log, 398 seconds.
>
> According to the logs CF seems to have started up just fine and
> again, I can get to the admin just fine. I edited the relevant
> information in apache_connector.sh so that's all set, but when I
> run it, it sits there for a few minutes and then gives me
>
> Could not connect to any JRun/ColdFusion servers on host localhost.
> Possible causes:
> o Server not running
> -Start Macromedia JRun4 or ColdFusion MX 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
>
> Since I can connect to the coldfusion adminstrator, I'm guessing
> the first part's not the problem. in the cfserver log it mentions
> that "01/26 11:43:24 info JRun Naming Service listening on *:2920".
>
> Running netstat I see
>
> tcp 0 0 0.0.0.0:2920
> 0.0.0.0:* LISTEN 23074/cfmx7 off
> (0.00/0/0)
>
> although I have to admit I'm not an expert on netstat. Does that
> mean the port's available? Theoretically since it's just contacting
> localhost, any outside firewalls shouldn't be an issue, correct?
>
> At any rate, I'm well and truly stuck at this point so any help to
> diagnose this problem or work around it would be greatly appreciated.
>
> thanks in advance,
> Martin
>
>
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Message: http://www.houseoffusion.com/lists.cfm/link=i:14:4113
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/14
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:14
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.14
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54