ColdFusion 10 + CFBuilder 2.0.1 + RDS and a little Apache Issue

If you are running ColdFusion 10 + CFBuilder 2.01 + RDS and you’re using Apache locally (I’m on a mac) you get these strange errors reported when trying to establish an RDS connection:

RDS server message: could not initialize class com.adobe.rds.core.services.Messages

Adding this one line to your Virtual Host file setting fixes the problem, and it worked for my localhost setting:

JkMountFile “/Applications/ColdFusion10/config/wsconfig/1/uriworkermap.properties”

JkMountFile is a Tomcat directive.  To quote from Tomcat’s uriworkermap connectors:

“For Apache you can define individual uriworkermap files per virtual host. The directive JkMountFile can be used in the main server and in each virtual host. If a virtual host does not use JkMountfile, but JkMountCopy is set to ‘On’, then it inherits the JkMountFile from the main server. If you want all vhost to inherit mounts from the main server, you can set JkMountCopy to ‘All’ in the main server.”

Holy crap this has been annoying me.  A super big thank you to for this blog post:

http://www.giancarlogomez.com/2012/03/coldfusion-10-cfbuilder-201-rds-and.html

 

 

Leave a Reply