Upgrading from Railo to Lucee on Windows

Hello all,

Excited to upgrade from Railo, so we did it on our test server with no
success.

I following the instructions detailed here:
https://bitbucket.org/lucee/lucee/wiki/Migrate_from_Railo

  • Upgraded from the latest version of Railo.
  • Dropped in the new Lucee jar files (completely deleted railo jars first)
  • Updated the tomcat web.xml
  • Updated the Boncode connector to latest version.
  • Changed the teh javaagent to : -javaagent:C:\Railo\lib\lucee-inst.jar
    (lucee wouldn’t start until I did this)
  • Rebooted Server.

I am able to access the lucee server/web administrator. However, when I
visit any of my IIS websites, they are all trying to go to the tomcat
default directory of C:\Railo\tomcat\webapps\ROOT\ instead of my IIS
directory that the website should point to.

I’m sure I just missed something. Any help is appreciated. I’m runing
Server 2012 with IIS 8

Thanks,
Jason

I encountered and resolved the same issue a few days ago while upgrading a
virtual 2012r2 server (IIS8.5) development instance.

I installed the Boncode connector before upgrading to Lucee, but did NOT
run the installer that came with it. These were the steps I took:

  1. Stopped the Railo and WWW Publishing services.
  2. Replaced these two DLL’s with the ones from the AJP13_v1020 download"

[path]\AJP13\BonCodeAJP13.dll’
[path]\AJP13\BonCodeIIS.dll’

  1. Started the WWW Publishing service and then the Railo service,
  2. Tested the existing web contexts

I then followed the remaining Lucee upgrade directions.

I discovered this solution/workaround after several failed upgrade attempts
that appeared very similar to your problem. The issue appears to be with
the Boncode installer.

AlexOn Thursday, February 19, 2015 at 10:14:35 AM UTC-8, Jason Tully wrote:

Hello all,

Excited to upgrade from Railo, so we did it on our test server with no
success.

I following the instructions detailed here:
https://bitbucket.org/lucee/lucee/wiki/Migrate_from_Railo

  • Upgraded from the latest version of Railo.
  • Dropped in the new Lucee jar files (completely deleted railo jars first)
  • Updated the tomcat web.xml
  • Updated the Boncode connector to latest version.
  • Changed the teh javaagent to : -javaagent:C:\Railo\lib\lucee-inst.jar
    (lucee wouldn’t start until I did this)
  • Rebooted Server.

I am able to access the lucee server/web administrator. However, when I
visit any of my IIS websites, they are all trying to go to the tomcat
default directory of C:\Railo\tomcat\webapps\ROOT\ instead of my IIS
directory that the website should point to.

I’m sure I just missed something. Any help is appreciated. I’m runing
Server 2012 with IIS 8

Thanks,
Jason

Jason,
you may be missing the mod_cfml component or not invoking it.
When you installed BonCode did you enable “Header Data Support”?
Otherwise find the BonCode setting file (normally in c:\windows) and add
the setting to it like so:
True

HTH,
BilalOn Thursday, February 19, 2015 at 1:14:35 PM UTC-5, Jason Tully wrote:

Hello all,

Excited to upgrade from Railo, so we did it on our test server with no
success.

I following the instructions detailed here:
https://bitbucket.org/lucee/lucee/wiki/Migrate_from_Railo

  • Upgraded from the latest version of Railo.
  • Dropped in the new Lucee jar files (completely deleted railo jars first)
  • Updated the tomcat web.xml
  • Updated the Boncode connector to latest version.
  • Changed the teh javaagent to : -javaagent:C:\Railo\lib\lucee-inst.jar
    (lucee wouldn’t start until I did this)
  • Rebooted Server.

I am able to access the lucee server/web administrator. However, when I
visit any of my IIS websites, they are all trying to go to the tomcat
default directory of C:\Railo\tomcat\webapps\ROOT\ instead of my IIS
directory that the website should point to.

I’m sure I just missed something. Any help is appreciated. I’m runing
Server 2012 with IIS 8

Thanks,
Jason

Thanks! Adding the True
did the trick. However, all of my settings in the railo/lucee web admin are
gone. I even restored the site’s WEB-INF from a backup thinking I did
something wrong. Does Lucee not migrate settings from the web admin for
each context?

ThanksOn Thursday, February 19, 2015 at 4:11:35 PM UTC-5, Bilal wrote:

Jason,
you may be missing the mod_cfml component or not invoking it.
When you installed BonCode did you enable “Header Data Support”?
Otherwise find the BonCode setting file (normally in c:\windows) and add
the setting to it like so:
True

HTH,
Bilal

On Thursday, February 19, 2015 at 1:14:35 PM UTC-5, Jason Tully wrote:

Hello all,

Excited to upgrade from Railo, so we did it on our test server with no
success.

I following the instructions detailed here:
https://bitbucket.org/lucee/lucee/wiki/Migrate_from_Railo

  • Upgraded from the latest version of Railo.
  • Dropped in the new Lucee jar files (completely deleted railo jars first)
  • Updated the tomcat web.xml
  • Updated the Boncode connector to latest version.
  • Changed the teh javaagent to : -javaagent:C:\Railo\lib\lucee-inst.jar
    (lucee wouldn’t start until I did this)
  • Rebooted Server.

I am able to access the lucee server/web administrator. However, when I
visit any of my IIS websites, they are all trying to go to the tomcat
default directory of C:\Railo\tomcat\webapps\ROOT\ instead of my IIS
directory that the website should point to.

I’m sure I just missed something. Any help is appreciated. I’m runing
Server 2012 with IIS 8

Thanks,
Jason

Alex,
replacing the dll files in the railo package distribution directory,
i.e. [path]\AJP13 does not install or make the dlls available for use.
You need to either run the connector_setup from that directory, which will
perform a railo specific, global install with HeaderDataSupport turned on,
or move into the IIS Application directories, e.g. BIN subfolders of your
site. Make sure you have “unblocked” the dlls in Windows before use though.

If you install the connector as separate download, then, during the install
process you need to select “Header Data Support” for use with Railo /
Lucee.
More information on manual, automated, and scripted deployments can be
found in documentation for the connector.
http://boncode.net/connector/webdocs/

HTH,
Bilal