Hi Jeff, SuSE 9.2 doesn't like CFMX7 until you do some tweaking! After some time behind the keyboard I was able to finally get it working. However, I never sucessfully ran the wsconfig program to setup a webserver connector in SuSE 9.2...I had to do it all manually. Although I used Apache 1.3.33...I'm sure you can get it to work with 2.0.50. Get ready for some fun!
First thing I noticed in your post (from the cfserver.log snippit)... > Macromedia JRun 4.0 (Build 91015) This is the default build for jrun4 in cfmx7. I would recommend that you first install updater 5 for jrun4...before we build the webservice connectors. Its pretty easy really. Ill assume you can be root. Please shutdown apache and coldfusion if they are running. First download Macromedia JRrun Updater 5 for linux... http://www.macromedia.com/support/jrun/updaters.html JRun Updater wont startup if it cant find a path to java on your computer. So if you haven't added java to your path then a simple way would be to soft link it with shell> ln -s /opt/coldfusionmx7/runtime/jre/bin/java /usr/bin/java Then you can start the JRun Updater... shell> cd /where/you/downloaded/the/updater shell> ./jrun4-unix-en-updater.bin When the installer asks for the "default jrun location (default /opt/jrun4)"...please use: /opt/coldfusionmx7/runtime When the installer completes, you can verify the new build numbers: shell> /opt/coldfusionmx7/runtime/bin/jrun -info shell> java -jar /opt/coldfusionmx7/runtime/bin/wsconfig.jar -info Both should yield build numbers 92909...additionally when you start up coldfusion you can check the cfserver.log for "Macromedia JRun 4.0 (Build 92909)" Check out Steven Erat's blog for more info on this... http://www.talkingtree.com/blog/index.cfm?mode=entry&entry=2291DBF8-45A6-2844-7A0F9E9DF3C213B6 ANYWAY...on to the webconnector for apache. I followed some advice from this macromedia technote... http://www.macromedia.com/cfusion/knowledgebase/index.cfm?id=tn_19575 To build the connector manually, Ill break it down quick as I can: Edit /cfroot/runtime/servers/coldfusion/SERVER-INF/jrun.xml Look for 'ProxyService'...then set the attribute 'deactivated' to 'false'. Save and get out. Now mkdir /cfroot/runtime/lib/wsconfig/1 (1...the number one not the letter 'l') This folder will hold the connector. It will contain 3 files when we are done: jrunserver.store mod_jrun.so wsconfig.properties Ok to start, we are going to get mod_jrun.so in place. I copied /cfroot/runtime/lib/wsconfig.jar to new empty directory : /some/place/wsconfigEXTRACTED Then cd'd to /some/place/wsconfigEXTRACTED and used shell> jar xf wsconfig.jar Now look into ./connectors/intel-linux/prebuilt/ for a file called "mod_jrun.so" Copy mod_jrun.so to /cfroot/runtime/lib/wsconfig/1 ....and make sure it has execute permissions. Now cd to /cfroot/runtime/lib/wsconfig/1/ and create these files, please... jrunserver.store --> this one line file should only contain the following text: proxyservers:127.0.0.1:51011 wsconfig.properties --> this file should contain the following (based on your configuration in your email, Jeff): 1=Apache,/home/http/conf,"",/home/http/bin/httpd,"" 1.srv=localhost,default 1.cfmx=true,<null> Anyway, with these files in place, you can now open up your apache httpd.conf and make the following edit. LoadModule jrun_module /opt/coldfusionmx7/runtime/lib/wsconfig/1/mod_jrun.so <IfModule mod_jrun.c> JRunConfig Verbose false JRunConfig Apialloc false JRunConfig Ssl false JRunConfig Ignoresuffixmap false JRunConfig Serverstore /opt/coldfusionmx7/runtime/lib/wsconfig/1/jrunserver.store JRunConfig Bootstrap 127.0.0.1:51011 #JRunConfig Errorurl <optionally redirect to this URL on errors> AddHandler jrun-handler .jsp .jws .cfm .cfml .cfc </IfModule> Save. Start apache, start coldfusion...you should be able to browse to http://yourhostname/CFIDE/administrator/index.cfm NB: Using the precomiled connector as we did here will cause Apache to complain (on startup) about not being compiled with -DEAPI and stuff... To recompile the connector (and get rid of the warning message), you will need the source files in /some/place/wsconfigEXTRACED/connectors/src/ Read the ApacheBuildInstructions.txt file in that directory for the latest instructions on how to recompile the conncetor with apache's apxs tool (you only need to use apxs's '-c' flag); or use the jrun/cfmx technote online for 'dated' instructions on this issue. http://www.macromedia.com/cfusion/knowledgebase/index.cfm?id=tn_18748 Here's a couple more tips for CFMX7... I should also mention that you might want to rename /cfroot/coldfusionmx7/bin/cfmx-connectors.sh to something like cfmx-connectors-1.sh The startup script /cfroot/bin/coldfusion looks for a file named cfmx-connectors.sh and if it is found then it executes it which in turn runs the wsconfig program. Renaming it disables it from being executed on coldfusion startup. Also in the script /cfroot/bin/coldfusion, I found that when I edited and commented out the lines... ## SUSEFLAG='grep 'SuSE Linux 8.1\...... ## if [ ! "$SUSEFLAG" ]; then ## LD_ASSUME_KERNEL=2.2.9 ## export LD_ASSUME_KERNEL ## ...my coldfusion seemed to finally work right. Found this helper tidbit on: http://oachs.it.gac.edu/wordpress/index.php?p=60 I wasn't seeing the same problem as Dan, but the fix worked nonetheless. After the server is started, I check the running process. shell> ps aux | grep cfusion and see this... cfmxuser 16039 ... /opt/coldfusionmx7/bin/cfmx7 -jar cfusion.jar -autorestart -start coldfusion cfmxuser 16041 ... /opt/coldfusionmx7/bin/cfmx7 -jar cfusion.jar -start coldfusion root 16351 ... grep cfusion Before the commenting out, coldfusion would start up somewhere between 50-80 instances of itself! Now it seems to be working right (just 2 instances are showing up)...at least on my computer. Hope this helps, Jeff. I have found that CFMX7 does work on SuSE9.2. Good luck! Cheers! Jonathan PS/NB: In reference to my above entry for the wsconfig.properties file.... Is the last line (1.cfmx=true,<null>) really needed? Im not sure myself. I copied the line it from an old CFMX6.1 connector's wsconfig.properties file and it seems to not have any ill effect on this CFMX7 connector. Can anyone else vouch for this or give some light to the subject? Is this (1.cfmx=true,<null>) needed in a CFMX7 wsconfig.properties file? Can anyone else post a sample CFMX7 wsconfig.properties file that was made from the wsconfig program, rather than by hand? Regards \J --- Jeff Schoby <[EMAIL PROTECTED]> wrote: > Has anyone gotten the cfmx-connector.sh script to > run properly on a > freshly complied Apache 2.0.50 install? > I have verified that there are coldfusion processes > running but I keep > getting this error: > > testwww:/opt/coldfusionmx7/bin # > /opt/coldfusionmx7/runtime/jre/bin/java > -Dtrace.ci=1 -jar /opt/coldfusionmx7 > /runtime/lib/wsconfig.jar -server > coldfusion -ws apache -dir /home/http/conf -bin > /home/http/bin/httpd > -script /home/http/bin/apachectl -coldfusion -v > > Macromedia JRun 4.0 (Build 91015) > os.name: Linux > os.version: 2.6.8-24.10-smp > os.arch: i386 > platform: intel-linux > Found port 2920 on host localhost > could not connect to port 2920 on host > 0:0:0:0:0:0:0:1 > Yahoo! Mail Stay connected, organized, and protected. Take the tour: http://tour.mail.yahoo.com/mailtour.html ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Find out how CFTicket can increase your company's customer support efficiency by 100% http://www.houseoffusion.com/banners/view.cfm?bannerid=49 Message: http://www.houseoffusion.com/lists.cfm/link=i:14:3923 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=11502.10531.14 Donations & Support: http://www.houseoffusion.com/tiny.cfm/54
