Boncode working and not working

I have installed the Boncode,
using Lucee V4.5

When I declare a site in IIS7 , doing the liaison,
sometime it works well,
I can access the site running on Lucee, (nothing to do more, all is
automated)

and sometime, it does not work, I get the Lucee presentation page (instead
of the site page)

What could be the reason ?
Why this is not reliable ?

Then to make it work, I have to add these lines in the server.xml file :


www.atelierjfbois.fr

And stop/start the Lucee service on window.

Also, I cannot see the other declared sites on IIS7 in the server.xml file
Where is stored the declaration in Tomcat ?

Thanks to any information, on this,
Pierre.

Pierre,

More than likely you’re creating the context in Tomcat before you create the proper definition in IIS. This can happen if you try to visit a site before you’ve created it’s definition in IIS. Automatically generated contexts exist in-memory, so no changes are made to your config file directly. So, if this happens to you again, simply restart Tomcat (which clears out the in-memory contexts), and now that the proper definition exists in IIS, that’s what BonCode will pass to the mod_cfml valve, and your context will be created with the proper information this time.

Hope this helps.–
Kind regards,
Jordan Michaels
Vivio Technologies

----- Original Message -----
From: “Pierre Larde” <@Pierre_Larde>
To: “Lucee” lucee@googlegroups.com
Sent: Tuesday, October 4, 2016 4:21:28 AM
Subject: [Lucee] Boncode working and not working

I have installed the Boncode,
using Lucee V4.5

When I declare a site in IIS7 , doing the liaison,
sometime it works well,
I can access the site running on Lucee, (nothing to do more, all is
automated)

and sometime, it does not work, I get the Lucee presentation page (instead
of the site page)

What could be the reason ?
Why this is not reliable ?

Then to make it work, I have to add these lines in the server.xml file :


www.atelierjfbois.fr

And stop/start the Lucee service on window.

Also, I cannot see the other declared sites on IIS7 in the server.xml file
Where is stored the declaration in Tomcat ?

Thanks to any information, on this,
Pierre.


Get 10% off of the regular price for this years CFCamp in Munich, Germany (Oct. 20th & 21st) with the Lucee discount code Lucee@cfcamp. 189€ instead of 210€. Visit CFCamp 2016

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+unsubscribe@googlegroups.com.
To post to this group, send email to lucee@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/lucee/ebac2620-ee8e-4fdc-af04-2df0bc8e165e%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Excellent information,
I will be carefull at next declaration,
I am migrating sites from CF to Lucee, then Domain names are changing of
DNS (IP) ,
then they can start on the Lucee server.

So , I prepare the declaration on Lucee server (on IIS7) and wait until
new DNS is operationnal.

Thanks, Pierre.Le mardi 4 octobre 2016 13:21:28 UTC+2, Pierre Larde a écrit :

I have installed the Boncode,
using Lucee V4.5

When I declare a site in IIS7 , doing the liaison,
sometime it works well,
I can access the site running on Lucee, (nothing to do more, all is
automated)

and sometime, it does not work, I get the Lucee presentation page (instead
of the site page)

What could be the reason ?
Why this is not reliable ?

Then to make it work, I have to add these lines in the server.xml file :


www.atelierjfbois.fr

And stop/start the Lucee service on window.

Also, I cannot see the other declared sites on IIS7 in the server.xml file
Where is stored the declaration in Tomcat ?

Thanks to any information, on this,
Pierre.

OK, sounds good,
then, I have deleted the lines like :


www.atelierjfbois.fr

in the server.xml file, (Tomcat Config)
as far as sites are declared in IIS7,

All sites work after a restart of Tomcat/Lucee

Then, the process order is :
Make all liaisons Under IIS7 first,
nothing to do in the file server.xml,
and restart Tomcat/Lucee

Is there a way to avoid the restart of Tomcat/Lucee ??
(all sites are down at that time)

Thanks a lot for information and advise,
Pierre.Le mardi 4 octobre 2016 13:21:28 UTC+2, Pierre Larde a écrit :

I have installed the Boncode,
using Lucee V4.5

When I declare a site in IIS7 , doing the liaison,
sometime it works well,
I can access the site running on Lucee, (nothing to do more, all is
automated)

and sometime, it does not work, I get the Lucee presentation page (instead
of the site page)

What could be the reason ?
Why this is not reliable ?

Then to make it work, I have to add these lines in the server.xml file :


www.atelierjfbois.fr

And stop/start the Lucee service on window.

Also, I cannot see the other declared sites on IIS7 in the server.xml file
Where is stored the declaration in Tomcat ?

Thanks to any information, on this,
Pierre.