Browsing locally works, public does not


Contentbox successfully installed. It is using the ColdFusion handler mappings in IIS. During setup it set up lucee server as well. It set up all rewrite handler mappings in the IIS rewrite module, config file has them in there as well. Browsing locally works, and i assume that is using Lucee. Browsing publicly i get the following error. I have been reviewing the lucee documentation and do not see specifically how to update the handler mappings in IIS to use Lucee instead of CF. Currently they hanlder mappings are set to: C:\ColdFusion\runtime\lib\wsconfig\jrun_iis6.dll

I see that coldbox sets up lucee in users.administrator.commandbox/server....

Does command box run a separate lucee server for each site? What do i set the handler mappings to in IIS to get it to run through lucee? Or, does it make sense to install Lucee at the server level and go through their standard setup process and use BonCode connector files?

function keyword is missing in FUNCTION declaration.
The CFML compiler was processing:

A script statement beginning with setting on line 83, column 17.
A script statement beginning with public on line 81, column 9.

The error occurred in C:\websites\CommandBox\water2\Application.cfc: line 83
81 : public boolean function onApplicationStart(){
82 : // Set a high timeout for any orm updates
83 : setting requestTimeout="300";
84 : application.cbBootstrap = new coldbox.system.Bootstrap( COLDBOX_CONFIG_FILE, COLDBOX_APP_ROOT_PATH, COLDBOX_APP_KEY, COLDBOX_APP_MAPPING );
85 : application.cbBootstrap.loadColdbox();


Luis Majano
December 4, 2020, 4:58 PM

Hi yes, we can assist you under our support programs: You can use the XS package and we can assign or somebody else on the team to assist. Just email and we will get you squared away.

Michael Edwards
December 4, 2020, 5:14 PM

Purchased. The sooner the better. And i have been watching Brad’s video on boncode… still no luck.

Luis Majano
December 8, 2020, 3:46 PM

just wanted to followup the support department is taking care of you:?

Michael Edwards
December 8, 2020, 3:57 PM

yes, they are scheduling for this afternoon. Thank you.

Michael Edwards
December 8, 2020, 10:17 PM

a lot of good info came out of today’s call. I removed the CFM and CFC handler mappings from IIS, but the * entry was still causing it to route through ColdFusion instead of Lucee. All is working now, “except” the create new user does not send the email with the password link to the new user. I know the mail server is configured correctly and ran a 1 line cfmail tag and i got the email. So, no way for new users to login.





Michael Edwards