Just thought I'd let you guys know, that ColdFusion 10 public beta is working fine in SL6.2 64-bit, at least that's how it looks initially - didn't test much yet, but writeoutput(1+1); equals 2!
As with CentOS CF9 installation, you need to do a few tricks. With CF10, you need to install unzip as well.
Install Apache first.
Before installing ColdFusion:
yum install libstdc++.so.5
yum install httpd-devel
yum install unzip
yum install compat-libstdc++-33.x86_64
Run the ColdFusion installer, and choose to configure Apache.
After installing ColdFusion, before running it:
edit /opt/coldfusion10/cfusion/bin/connectors/apache_connector.sh with a text editor, and change the -dir, -bin and -script parameter values to something which match your config. (This must not be a bug, since it hasn't been fixed in CF8 nor CF9 either )
Typically to: -dir /etc/httpd/conf , -bin /usr/sbin/httpd, and -script /etc/rc.d/init.d/httpd
Start ColdFusion and restart Apache if necessary. Worked for me!
If you get a NullpointerException when running the CFIDE/administrator/index.cfm , you've probably just set up a new machine which isn't found by the DNS yet, or the domain name hasn't been configured at all.
Edit your /etc/hosts file, and add the machine's name to the localhost entries. For example, if your machine bottom-level name is mymachine, append "127.0.0.1 localhost localhost.localdomain" so it reads "127.0.0.1 localhost localhost.localdomain mymachine".
Do the same for the ipv6 line if/when necessary.
did you encounter errors as mentioned on this thread (on CentOS 5.x) ?
[Mon May 21 22:02:54 2012] [3461:47024938890000] [error] jk_open_socket::jk_conn
ect.c (448): socket() failed (errno=22)
[Mon May 21 22:02:54 2012] [3461:47024938890000] [info] ajp_connect_to_endpoint:
:jk_ajp_common.c (1027): Failed opening socket to (127.0.0.1:8012) (errno=22)
[Mon May 21 22:02:54 2012] [3461:47024938890000] [error] ajp_send_request::jk_aj
p_common.c (1649): (cfusion) connecting to backend failed. Tomcat is probably no
t started or is listening on the wrong port (errno=22)
appreciate if you can share the fix
I haven't tried CentOS 5, only 6.2.
Did you remember to edit the apache_connectors.sh file? Its folder variables are pointing to wrong places, as ColdFusion 8, 9 and 10 installers don't seem to recognize CentOS as an RHEL variant.
-ws apache \
-dir /etc/httpd/conf \
-bin /usr/sbin/httpd \
-script /etc/rc.d/init.d/httpd \
P.S. Actually not CentOS, but SL. But they should really be exactly the same, considering the context.