Ian Winter Ian Winter

Recompile Apache 1.3.x connector

If you're running Apache 1.3.x and Coldfusion 7 you might have had errors when starting apache about needing to compile it using DEAPI.

[warn] Loaded DSO /opt/coldfusionmx/runtime/lib/wsconfig/1/mod_jrun.so uses
plain Apache 1.3 API, this module might crash under EAPI!
(please recompile it with -DEAPI).

The original Adobe technote 18748 worked with CF6 as I've followed it before, but, with CF7 once compile and you try and start apache you get a crazy hex error, like this:

Cannot load /opt/coldfusionmx7/runtime/servers/lib/wsconfig/1/mod_jrun.so into
server: /opt/coldfusionmx7/runtime/servers/lib/wsconfig/1/mod_jrun.so: undefined symbol: hexstrtol

A quick google found this site with a script on how to do it. Now one note on the guide is he's building a mod_jrun20.so file for apache 2, quick vi to change them all to mod_jrun.so and you're all good.

So, big thanks to that guy for posting his script. Mine is included below for reference.

#!/bin/bash
export CFMX=/opt/coldfusionmx7
export APACHE_PATH=/usr/local/apache
export APACHE_BIN=$APACHE_PATH/bin

#CFMX connector path eg $CFMX/runtime/lib/wsconfig/1
export CFMX_CONNECTOR=$CFMX/lib/wsconfig/1

#stop apache
$APACHE_BIN/apachectl stop

${APACHE_BIN}/apxs -c -Wc,-w -n jrun -S LIBEXECDIR=${CFMX_CONNECTOR} mod_jrun.c \
jrun_maptable_impl.c jrun_property.c jrun_session.c platform.c \
jrun_utils.c jrun_mutex.c jrun_proxy.c jrun_ssl.c

${APACHE_BIN}/apxs -i -n jrun -S LIBEXECDIR=${CFMX_CONNECTOR} mod_jrun.la

strip $CFMX_CONNECTOR/mod_jrun.so

Mine did error saying:

apxs:Error: file mod_jrun.la is not a DSO

but it all works.

Dodgy Coldfusion 7 Download

Just a quick warning, got the latest Coldfusion trial download off the MM site for Linux (coldfusion-701-lin.bin) and it doesn't work. It installs fine, but, won't start.

Downloaded the old version coldfusion-70-lin.bin, installed it, patched it and it starts up fine. Not sure if this is all OS's but certainly the Linux one is dodgy.

Macromedia Labs

Can we be like Google please and have a labs sub-domain... :D

That being said, got some nice stuff on. Flex 2 really does look as though it could be really good. Watch that space.

Macromedia Labs - Homepage

Dreamweaver 8 Cool Feature

Just accidently found a really cool feature in Dreamweaver 8. If you select a block of code and hit "CTRL + T" you can type in a CF tag and surround the selected block of code, ideal for cfoutput, cfquery & cfif to name a few, ooo, and cftry.

Very handy. I think, and from the last version I didn't think I'd say it, but, I actually like DW8. The code editor works, it doesn't crash, it doesn't randomly delete code, code collapse is back (ohh the Studio 4.5 memories) and the "CTRL + T" functionality. Very cool. Nice job MM.

Flex 2 Product Line and Flash Player 8.5

I've had a bit of a play with Flex 1.5 and it's nice, very nice but I don't see how it's going to go mainstream with the ridiculous cost! It's going to be hard for any organisation to justify the cost.

Hopefully now Zorn is coming along and now that MM are part of the Eclipse foundation they'll bring costs down. Only thing on the side you have to wonder about is with a big organisation like MM joining Eclipse will that influence it to much, who knows, time will tell. We've the 'Macrodobe' thing to actually happen yet which seems to have gone quiet. Guess these things take time though.

Macromedia - Press Room

Want a say in the next version of CF?

If you do then point you mouse at the lovely link below and click. It's an online survey setup by the ColdFusion Server Team to gather feedback on what users want in the next version of CF.

It's worth doing because if you don't and something's not there, don't say they didn't ask!

http://www.surveymonkey.com/s.asp?u=299931348825

Flash Earth

As the battle for earth imaging continues a Flash entry. This combines both the ability to look at google earth and msn earth in a cool flash interface. Shows what flash can do quite well.

Neave Lab ? Flash Earth

MM Trial Download

Why am I posting about the CF trial download? Well, goto this link and you'll see why. Cheeky MM chaps (and ladies) working on Sunday's. Cheers to John B for picking this one up.

UK User Group Presentation

According to Forta's Blog Macromedia are planning a UK User Group Presentation on 15th February (tentative). There's no full details yet, but looks as though Blackstone will be shown off.

Blackstone Certification

Interesting post taken off the cf-talk mailing regarding Blackstone (CF7) certification.

From Macromedia: ---- You will need to recertify on the new Blackstone exam. We offer a 25% upgrade discount for currently certified professionals. Please circle back when the new ColdFusion exam launches.

So, if you haven't gotten certified yet and you don't have a pressing reason to do so before Blackstone, it seems that you'd be better waiting until then. I just figured I'd share the information that I received since it seemed to be a popular topic. ----

More Entries

Powered by BlogCFC, 5.9.002. Contact Me

All comments, view, rants, raves and opinions are mine and mine alone.

del.icio.us Digg Flickr Last.fm LinkedIn Pownce Twitter YouTube