CFMX on Tomcat (Buh bye jrun)

You may or may not know I've recently moved to a mac. I've had one for writing for a while now, but just a few weeks ago I got a MacBook Pro and do all my work on it.

Using Parallels I've got XP running in a nice little window on Monitor two :)

That said, (and this is as much for me as anyone) I've recently moved to Tomcat for my app server.

I've been a loyal Jrun user since ColdFusion went to java. Having seperate instances for client projects and internal me work, even an instance for a client with a special set up. Jrun afforded me great flexibility in having multiple CF setups. HOWEVER. jrun is a PITA to use!! It's been a thorn in my side since I started using it.

Every time I clicked "start" on a CF instance i cringed hoping it's result ing "Running" vs that huge green jrun alert box indicating that somethign had gone wrong...

Well two days ago was the last straw. I was in Starbucks working away when the MacBook Pro seized. I think it actually had a stroke. Well XP in it's little window was not happy. I finally had to do a repair from the XP CD. Everything was fine... except jrun. It was not happy. Wouldn't load. OK, I uninstalled, reinstalled. No love. uninstalled again, rebooted, deleted files, reinstalled the JRE. Still no jrun love.

Finally my pal Peter came to my rescue. Suggesting that while he could probably find the info on jrun, I might want to try TomCat. "OK" I said. BTW, he sent me this link to help.

Well that easy. below is the steps he walked me through. WAY EASY!

  1. install CF. Use these setting. J2EE/War setup. RDS or not, up to you, I do it.
  2. Rename cfusion.war to cfusion.war.zip and expand the file. so now cfusion.war is a folder.
  3. Install Tomcat. For me it's C:/tomcat_55
  4. Copy cfusion.war and rds.war (which you don't have to expand) to tomcat_55/webapps/
  5. rename rds.war to CFIDE.war (all caps)
  6. in your cfusion.war rename the following files. to .jar.bak or just .bak. We don't want these files being used. Their old. Don't want em.
    1. WEB-INF/cfform/jars/commons-logging.jar
    2. WEB-INF/cfusion/lib/commons-logging-1.0.2.jar
    3. WEB-INF/cfusion/lib/commons-logging-api-1.0.2.jar
  7. Start TomCat
Bam, you're up and running. There's tweaking you can do for directory browsing and such. in this file. C:\Tomcat_55\conf\web.xml

I haven't yet, but will be. There's also an admin you can DL from apache.org, I haven't tried it yet iether but will.

But at least I have Cf running.

What I haven't figured out, mostly because I haven't had the time (lots of projects, good/bad) is how to get FDS running. but should be easy enough.

Enjoy

6.

Comments
# Posted By Mike Collins | 11/22/06 12:00 AM
John Wilker's Gravatar Thanks for the link. Actually I was doing all this in Windows. On my Mac :)
# Posted By John Wilker | 11/22/06 12:00 AM
BlogCFC was created by Raymond Camden. This blog is running version 5.5.1.