Exit
  • Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
  • 한국 커뮤니티
0

Apache connector

New Here ,
Sep 30, 2008 Sep 30, 2008
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
TOPICS
Getting started
1.3K
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines

correct answers 1 Correct answer

Advocate , Sep 30, 2008 Sep 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 ...
Translate
LEGEND ,
Sep 30, 2008 Sep 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)
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Advocate ,
Sep 30, 2008 Sep 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...
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
New Here ,
Oct 02, 2008 Oct 02, 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
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
New Here ,
Oct 02, 2008 Oct 02, 2008
Does anyone know that is redhat 5.2 supported for coldfusion 8?
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Advocate ,
Oct 02, 2008 Oct 02, 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?
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
New Here ,
Oct 02, 2008 Oct 02, 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.

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
New Here ,
Oct 02, 2008 Oct 02, 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.

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
New Here ,
Jun 29, 2009 Jun 29, 2009
LATEST

HI,

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

Regards

-Paulwintech

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Resources