I'm planning to try & maybe buy CF MX 7.
The destination server is a Sun Cobalt XTR (MYSQL DB).
There are problem issues installing it on this kind of server?
There are hardware/software pre-requisites needed in order to have a better
installation?
Thanks in advance.
Lou
No known problems, but it is not supported and we have never tried it.
--
Tom Jordahl
Macromedia
Instructions (step by step):
1. Install Coldfusion MX 6.1 (Redsky)
If you are installing Coldfusion MX 6.1, you will not need to modify your
install file to have it run sucessfully. If you are using Coldfusion MX 6.0,
you will need to modify your install file for you to run the installation file.
This thread will not cover installing Coldfusion MX 6.0 under RaQ 550.
2. Modify 'coldfusion' in /opt/coldfusionmx/bin
In order for you to run Coldfusion MX, you will need to make some changes in
the control script 'coldfusion'. Open up Coldfusion MX in the text editor of
your choice, and look for the following:
SUSEFLAG=`grep 'SuSE Linux 8.1' /etc/SuSE-release 2> /dev/null`
if [ ! "$SUSEFLAG" ]; then
LD_LIBRARY_PATH="$CF_DIR/lib:$CF_DIR/lib/_ilnx21/bin&am p;am p;qu ot;
export LD_LIBRARY_PATH
fi
Delete each line or add a '#' to the beginning of each line.
3. Configure Apache
$ /opt/coldfusionmx/runtime/jre/bin/java -jar
/opt/coldfusionmx/runtime/lib/wsconfig.jar -ws Apache -dir /etc/httpd/conf -map
.cfm,.cfc,.cfml -coldfusion -v
4. Compile Your Own mod_jrun.so
If you are using the embedded JRun server included with the Coldfusion
installation, you will need to compile your own JRun module. The version
included with Coldfusion MX is incompatiable with the Cobalt Apache server. It
does not disable EAPI among other things. (Typically, you will receive a
template not found error for every page you visit.)
$ cd /opt/coldfusionmx/runtime/connectors/src
$ mkdir mod_jrun
$ cd mod_jrun
$ unzip ../ApacheModule.zip
There are some linebreaks that gcc doesn't understand, so you will need to
open 'jrun_ssl.h', 'platform.h', 'jrun_proxy.c' and save it with pico.
$ pico -w jrun_ssl.h
save it again with control-o, then quit, with control-x.
$ pico -w platform.h
save it again with control-o, then quit, with control-x.
$ pico -w jrun_proxy.c
save it again with control-o, then quit, with control-x
Compile the module.
$ /usr/sbin/apxs -c -Wc,-w -DJRUN_SSL mod_jrun.c jrun_maptable_impl.c
jrun_property.c jrun_session.c platform.c jrun_mutex.c jrun_proxy.c jrun_ssl.c
5. Copy the module the Apache extensions directory.
$ cp mod_jrun.so /usr/lib/apache
6. Modify /etc/httpd/conf/httpd.conf to work with the correct module.
Inside your /etc/httpd/conf/httpd.conf, look for:
LoadModule jrun_module cf_root/runtime/lib/number/mod_jrun.so
Replace that with:
LoadModule jrun_module modules/mod_jrun.so
7. Include Coldfusion MX functionality.
Inside whatever /etc/httpd/conf/vhosts/sitenumber you wish to include
Coldfusion functionality add the following after DocumentRoot (assuming you are
using a default installation; replace italics with your stuff):
<IfModule mod_jrun.c>
JRunConfig Verbose false
JRunConfig Apialloc false
#JRunConfig Ssl false
JRunConfig Ignoresuffixmap false
JRunConfig Serverstore "cf_root/runtime/lib/wsconfig/number/jrunserver.store"
JRunConfig Bootstrap 127.0.0.1:5010
#JRunConfig Errorurl <optionally redirect to this URL on errors>
AddHandler jrun-handler .jsp .jws .cfm .cfml .cfc
</IfModule>
8. Restart apache.
$ /etc/rc.d/init.d/httpd restart
THNX for your complete "To Do List".
I'll plan to compare the compatibility of CF MX 7 install file with the
changes you have suggested for CF MX 6.1.
BTW: wath do you mean with "It should work fine except for a few small
exceptions"?
Bye!
Lou
What I mean by a "few small exceptions" is that you might have to tweak some
of the instructions to get it to work on your system. I know that these
instructions will probably work very differently for Coldfusion MX 7, so you'll
want to get as much help as you can.
I am still having installation problems with Coldfusion MX 7. The most common
error, like everyone has said, is the Merge Module procedure of the
installation script.
Originally posted by: jasonaz
What I mean by a "few small exceptions" is that you might have to tweak some
of the instructions to get it to work on your system. I know that these
instructions will probably work very differently for Coldfusion MX 7, so you'll
want to get as much help as you can.
Yes... I'll need a lot of help...
I am still having installation problems with Coldfusion MX 7. The most common
error, like everyone has said, is the Merge Module procedure of the
installation script.
I don't understand why Macromedia Engineers don't make tests and share
knowledge to solve these problems.
Bye!
Lou