Side-by-Side with ACF

141 views
Skip to first unread message

Franc Amour

unread,
Jun 13, 2016, 6:32:22 PM6/13/16
to Lucee
Currently have a Windows 2012 server with IIS and ACF 10.  Am planning on migrating all sites to Lucee for windows (and eventually, to linux).  Several sites involved.   Would like to be able to run Lucee side-by-side with IIS on this server, so that one by one we can switch the sites over and test.  Is this possible with Lucee?  Is a separate item needed, like this one that was available at one point for Railo?

http://cfsimplicity.com/82/installing-railo-on-iis-alongside-coldfusion-9


Julian Halliwell

unread,
Jun 14, 2016, 3:56:58 AM6/14/16
to lu...@googlegroups.com
Hi, I wrote those instructions for Railo but we continued using the
same set up after switching to Lucee not long after. Worked very well
as a way of gradually getting off ACF without the cost/hassle of
setting up separate production environments.

Even having got rid of ACF, we continue to connect up each of our
Lucee sites manually using this method.

http://cfsimplicity.com/105/manually-connecting-lucee-to-an-iis-website

The only possible issue with running both though is that we were on
ACF version 9 which used JRun. ACF10 uses Tomcat so you might need to
be more careful to avoid port conflicts.

Cheers
Julian.
> --
> Win a ticket to dev.objective from Lucee via Twitter, see
> http://bit.ly/1UbTMWj for details, good luck and see you there...
> ---
> You received this message because you are subscribed to the Google Groups
> "Lucee" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to lucee+un...@googlegroups.com.
> To post to this group, send email to lu...@googlegroups.com.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/lucee/0f28864b-5c8c-488b-92e2-f6f747b07a42%40googlegroups.com.
> For more options, visit https://groups.google.com/d/optout.

AJ Mercer

unread,
Jun 14, 2016, 6:30:54 AM6/14/16
to lu...@googlegroups.com
not sure how useful this will be; can IIS be put in front of CommandBox?


On 14 June 2016 at 01:12, Franc Amour <advan...@gmail.com> wrote:
Currently have a Windows 2012 server with IIS and ACF 10.  Am planning on migrating all sites to Lucee for windows (and eventually, to linux).  Several sites involved.   Would like to be able to run Lucee side-by-side with IIS on this server, so that one by one we can switch the sites over and test.  Is this possible with Lucee?  Is a separate item needed, like this one that was available at one point for Railo?

http://cfsimplicity.com/82/installing-railo-on-iis-alongside-coldfusion-9


--
Win a ticket to dev.objective from Lucee via Twitter, see http://bit.ly/1UbTMWj for details, good luck and see you there...
---
You received this message because you are subscribed to the Google Groups "Lucee" group.
To unsubscribe from this group and stop receiving emails from it, send an email to lucee+un...@googlegroups.com.
To post to this group, send email to lu...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/lucee/0f28864b-5c8c-488b-92e2-f6f747b07a42%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Franc Amour

unread,
Jun 15, 2016, 8:40:46 AM6/15/16
to Lucee
Regarding port conflicts... is there a summary somewhere, or the best way to determine what ports are used by ACF right now, and what alternate ports i could configure for Lucee?

I apparently have three java runtimes on this Windows 2012 64bit server:

ColdFusion 10 has a Java JRE in C:\ColdFusion10\jre\bin
There is also a JRE in C:\Program Files (x86)\Java\jre1.8.0_91 (is this for browsers?)
And then there's the JDK in C:\Program Files\Java\jdk1.8.0_40

I assume this last one is the one to use with Lucee, and might allow parallel install of lucre and CF as a result?

Thanks SO MUCH for the manual Lucee instructions... looking forward to migrating all sites by year's end if not sooner!

Franc Amour

unread,
Jun 15, 2016, 9:53:28 AM6/15/16
to Lucee
disregard... used netstat to determine ACF 10 was not using the tomcat ports proposed by Lucee.  Your instructions were PERFECT!

Thanks.

Franc Amour

unread,
Jun 15, 2016, 11:06:15 AM6/15/16
to Lucee
Interesting problem has cropped up:

I removed the .cfm, .cfml, and .cfc handlers from the site i want to run under Lucee, and I can see the BonCode connectors in the list.  My index.cfm file simply contains a CFDUMP of the server scope.

If I load the site with no file specified, http://www.example.com, I get the server scope for the Lucee instance. If I specify the file, http://www.example.com/index.cfm, I get the ColdFusion 10 Enterprise instance.

What else do I need to remove in order to get ColdFusion 10 to completely ignore this particular site/application?

Julian Halliwell

unread,
Jun 15, 2016, 11:19:45 AM6/15/16
to lu...@googlegroups.com
Make sure that the <remove> elements in your Lucee site's web.config
use the exact names that ACF's handlers use. They may well be
something other than "cfmHandler" etc. Look in the root Handler
Mappings section of your IIS admin to see what names ACF is using
globally.

Julian.

Franc Amour

unread,
Jun 15, 2016, 1:20:17 PM6/15/16
to Lucee
The ACF web connector was set for "all" meaning that in IIS, every website would be configured by default to use ACF, with no way to remove the ISAPI filter from individual sites.  To fix this, i took the time to independently add the ACF web connector to the sites manually, then remove the "all" entry and restart IIS.  I can now independently configure each host for either ACF or Lucee, and I'm apparently on my way. (There may have been an easier way to fix this, but i didn't have that many hosts to change so it worked out fine.  Wouldn't want to repeat that process on a server with a large number of hosts though!)

Julian Halliwell

unread,
Jun 15, 2016, 3:11:11 PM6/15/16
to lu...@googlegroups.com
We had ACF 9 configured with global handlers (for all sites) too, but
were were able to override them using <remove> elements in each Lucee
site's web.config as described in the blog post.

Sounds as if ACF10 does things differently.

Glad you got it working though, and hope your migration to Lucee goes well.

Franc Amour

unread,
Jun 15, 2016, 8:20:19 PM6/15/16
to Lucee
I had <remove> elements for the ACF handlers (they were inserted into web.config when i used the UI on the server to remove them), but it didn't seem to work... however there may be something else that could be added to web.config to keep ACF from paying attention.  I'd research more, but with all these sites to migrate.... LOL
Reply all
Reply to author
Forward
0 new messages