Skip to main content
Participant
September 30, 2008
Answered

Apache connector

  • September 30, 2008
  • 6 replies
  • 1363 views
OS: Redhat 5.2
Coldfusion: 8
Apache: 2.2.3

Is anyone having the problem setting up the Apache connector in Coldfusion 8. The errors I got in the apache log file are listed below and the cfm pages show up with Internal Server Error. I been googling around and cannot find anything. Can someone please help.

[notice] jrApache[19638: 25604] 127.0.0.1:51011 connect failed[11]: 13 13 Permission denied
[notice] jrApache[19638: 25604] Couldn't initialize from remote server, JRun server(s) probably down.
[notice] jrApache[19638: 25604] JRun will not accept request. Check JRun web server configuration and JRun mappings on JRun server.

Thanks,
Simon
This topic has been closed for replies.
Correct answer Kronin555
I didn't have any problems configuring it. You have to install httpd-devel in order to compile the connector...

I installed it in Multiserver configuration under /www/bin

In order to get it working with SELinux enabled, I had to do the following:
cp /www/bin/jrun4/lib/wsconfig/1/mod_jrun22.so /etc/httpd/modules
chcon --reference=/etc/httpd/modules/mod_auth_basic.so /etc/httpd/modules/mod_jrun22.so
chcon -u system_u /etc/httpd/modules/mod_jrun22.so
setsebool -P httpd_can_network_connect=1
edit httpd.conf to point to moved mod_jrun22.so module and put jrunserver.store in /tmp/
chcon -R -h -t httpd_sys_content_t /www/docs

Here's the contents of ConnectorInstall0.txt after the install/setup completed...

6 replies

minshicomAuthor
Participant
October 2, 2008
Yes, I believe i missed out one of the steps in your instruction. Actually i got it working now. Thank you so much for the helps.

Participant
June 29, 2009

HI,

  Can you please let me know the steps you have followed.... Im facing the same issue......

Regards

-Paulwintech

minshicomAuthor
Participant
October 2, 2008
Yes, I believe i missed out one of the steps in your instruction. Actually i got it working now. Thank you so much for the helps.

minshicomAuthor
Participant
October 2, 2008
Does anyone know that is redhat 5.2 supported for coldfusion 8?
Participating Frequently
October 2, 2008
Yes, it's supported on RHEL 5.
And yes, it works with Apache 2.2.

Have you tried stopping iptables to see if your firewall ruleset is the problem? Are you sure the connector compiled successfully? Are you sure JRun is actually running?
minshicomAuthor
Participant
October 2, 2008
I tried everything but no luck with it. I might thinking of change my apache from 2.2 to 2.0, because apache 2.0 uses mod_jrun20.so. I really think there something wrong with the mod_jrun22.so.

Hope someone has this figure out and let us know.

Thanks,
Simon
Kronin555Correct answer
Participating Frequently
September 30, 2008
I didn't have any problems configuring it. You have to install httpd-devel in order to compile the connector...

I installed it in Multiserver configuration under /www/bin

In order to get it working with SELinux enabled, I had to do the following:
cp /www/bin/jrun4/lib/wsconfig/1/mod_jrun22.so /etc/httpd/modules
chcon --reference=/etc/httpd/modules/mod_auth_basic.so /etc/httpd/modules/mod_jrun22.so
chcon -u system_u /etc/httpd/modules/mod_jrun22.so
setsebool -P httpd_can_network_connect=1
edit httpd.conf to point to moved mod_jrun22.so module and put jrunserver.store in /tmp/
chcon -R -h -t httpd_sys_content_t /www/docs

Here's the contents of ConnectorInstall0.txt after the install/setup completed...
Inspiring
September 30, 2008
minshicom wrote:
> OS: Redhat 5.2
> Coldfusion: 8
> Apache: 2.2.3
>
> Is anyone having the problem setting up the Apache connector in Coldfusion 8.

Yes we are. And I would be most interested if you are luckily enough to
figure this out as I have yet had time to do anything about it. (We
just went with the cf built in server for the moment)