Lucee Admin Panel like CFadmin

New with Lucee,
is there a way to access an admin panel for Lucee
like the CF admin
To set up datasource for example ?

What adress to use to access Lucee admin ?

Thanks for answer.
Pierre.

for server-wide settings:
http://yoursite/lucee/admin/server.cfm

for web settings of a specific site that is configured as “yoursite”:
http://yoursite/lucee/admin/web.cfm

Igal Sapir
Lucee Core Developer
Lucee.org http://lucee.org/On 1/18/2016 2:21 PM, Pierre Larde wrote:

New with Lucee,
is there a way to access an admin panel for Lucee
like the CF admin
To set up datasource for example ?

What adress to use to access Lucee admin ?

Thanks for answer.
Pierre.

Love Lucee? Become a supporter and be part of the Lucee project today!


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
mailto:lucee+unsubscribe@googlegroups.com.
To post to this group, send email to lucee@googlegroups.com
mailto:lucee@googlegroups.com.
To view this discussion on the web visit
https://groups.google.com/d/msgid/lucee/aac99d87-de9c-4c50-a5b7-8457ab635191%40googlegroups.com
https://groups.google.com/d/msgid/lucee/aac99d87-de9c-4c50-a5b7-8457ab635191%40googlegroups.com?utm_medium=email&utm_source=footer.
For more options, visit https://groups.google.com/d/optout.

the way it works is that each Host element (as described in the other
thread where I just replied to you) creates what’s called a Web Context,
which is essentially a web site (which can be more than a single web
application). then each web context can has its own settings, which
override the server settings.

so if you have one web context that is accessible at yoursite-one.com
and another that is accessible at yoursite-two.com, you will go to their
web admins like so (respectively):

yoursite-one.com web admin:
http://yoursite-one.com/lucee/admin/web.cfm
http://yoursite/lucee/admin/web.cfm

yoursite-two.com web admin:
http://yoursite-two.com/lucee/admin/web.cfm
http://yoursite/lucee/admin/web.cfm

so the host in the request determines the web context.

you don’t really need IIS in order to access those – you can access
them directly on Tomcat by specifying the Tomcat port number (assuming
that no firewall will block you), so if Tomcat is listening at port
8080, you would go to http://yoursite-one:8080/lucee/admin/web.cfm
http://yoursite/lucee/admin/web.cfm

Igal Sapir
Lucee Core Developer
Lucee.org http://lucee.org/On 1/19/2016 2:33 AM, Pierre Larde wrote:

Thanks a lot, that’s great.
But I do not see the difference between server-wide and specific site,
as in specific site, I do not understand on what site.
(I work on a local PC, for the moment, no real Internet sites declared)
Are the internet site declared in IIS(as with CF) ?
A bit confused, sorry.
Pierre.

Le lundi 18 janvier 2016 23:37:19 UTC+1, Igal a écrit :

for server-wide settings:
http://yoursite/lucee/admin/server.cfm
<http://yoursite/lucee/admin/server.cfm>

for web settings of a specific site that is configured as "yoursite":
http://yoursite/lucee/admin/web.cfm
<http://yoursite/lucee/admin/web.cfm>

Igal Sapir
Lucee Core Developer
Lucee.org <http://lucee.org/>

On 1/18/2016 2:21 PM, Pierre Larde wrote:
New with Lucee,
is there a way to access an admin panel for Lucee
like the CF admin
To set up datasource for example ?

What adress to use to access Lucee admin ?

Thanks for answer.
Pierre.
-- 
Love Lucee? Become a supporter and be part of the Lucee project
today! - http://lucee.org/supporters/become-a-supporter.html
<http://lucee.org/supporters/become-a-supporter.html>
---
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 <javascript:>.
To post to this group, send email to lu...@googlegroups.com
<javascript:>.
To view this discussion on the web visit
https://groups.google.com/d/msgid/lucee/aac99d87-de9c-4c50-a5b7-8457ab635191%40googlegroups.com
<https://groups.google.com/d/msgid/lucee/aac99d87-de9c-4c50-a5b7-8457ab635191%40googlegroups.com>.
For more options, visit https://groups.google.com/d/optout
<https://groups.google.com/d/optout>.


Love Lucee? Become a supporter and be part of the Lucee project today!


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
mailto:lucee+unsubscribe@googlegroups.com.
To post to this group, send email to lucee@googlegroups.com
mailto:lucee@googlegroups.com.
To view this discussion on the web visit
https://groups.google.com/d/msgid/lucee/5b8c8045-0f48-4bb0-a282-65d43a11a15a%40googlegroups.com
https://groups.google.com/d/msgid/lucee/5b8c8045-0f48-4bb0-a282-65d43a11a15a%40googlegroups.com?utm_medium=email&utm_source=footer.
For more options, visit https://groups.google.com/d/optout.

OK, I see, I will need to check/test this when I will be live, with many
sites .
Thanks.Le mardi 19 janvier 2016 18:01:04 UTC+1, Igal a écrit :

the way it works is that each Host element (as described in the other
thread where I just replied to you) creates what’s called a Web Context,
which is essentially a web site (which can be more than a single web
application). then each web context can has its own settings, which
override the server settings.

so if you have one web context that is accessible at yoursite-one.com and
another that is accessible at yoursite-two.com, you will go to their web
admins like so (respectively):

yoursite-one.com web admin:
http://yoursite-one.com/lucee/admin/web.cfm
http://yoursite/lucee/admin/web.cfm

yoursite-two.com web admin:
http://yoursite-two.com/lucee/admin/web.cfm
http://yoursite/lucee/admin/web.cfm

so the host in the request determines the web context.

you don’t really need IIS in order to access those – you can access them
directly on Tomcat by specifying the Tomcat port number (assuming that no
firewall will block you), so if Tomcat is listening at port 8080, you would
go to http://yoursite-one:8080/lucee/admin/web.cfm
http://yoursite/lucee/admin/web.cfm

Igal Sapir
Lucee Core Developer
Lucee.org http://lucee.org/
On 1/19/2016 2:33 AM, Pierre Larde wrote:

Thanks a lot, that’s great.
But I do not see the difference between server-wide and specific site,
as in specific site, I do not understand on what site.
(I work on a local PC, for the moment, no real Internet sites declared)
Are the internet site declared in IIS(as with CF) ?
A bit confused, sorry.
Pierre.

Le lundi 18 janvier 2016 23:37:19 UTC+1, Igal a écrit :

for server-wide settings:
http://yoursite/lucee/admin/server.cfm

for web settings of a specific site that is configured as “yoursite”:
http://yoursite/lucee/admin/web.cfm

Igal Sapir
Lucee Core Developer
Lucee.org http://lucee.org/
On 1/18/2016 2:21 PM, Pierre Larde wrote:

New with Lucee,
is there a way to access an admin panel for Lucee
like the CF admin
To set up datasource for example ?

What adress to use to access Lucee admin ?

Thanks for answer.
Pierre.

Love Lucee? Become a supporter and be part of the Lucee project today! -
http://lucee.org/supporters/become-a-supporter.html

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/aac99d87-de9c-4c50-a5b7-8457ab635191%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Love Lucee? Become a supporter and be part of the Lucee project today! -
http://lucee.org/supporters/become-a-supporter.html


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 <javascript:>.
To post to this group, send email to lu...@googlegroups.com <javascript:>.
To view this discussion on the web visit
https://groups.google.com/d/msgid/lucee/5b8c8045-0f48-4bb0-a282-65d43a11a15a%40googlegroups.com
.
For more options, visit https://groups.google.com/d/optout.

Thanks a lot, that’s great.
But I do not see the difference between server-wide and specific site,
as in specific site, I do not understand on what site.
(I work on a local PC, for the moment, no real Internet sites declared)
Are the internet site declared in IIS(as with CF) ?
A bit confused, sorry.
Pierre.Le lundi 18 janvier 2016 23:37:19 UTC+1, Igal a écrit :

for server-wide settings:
http://yoursite/lucee/admin/server.cfm

for web settings of a specific site that is configured as “yoursite”:
http://yoursite/lucee/admin/web.cfm

Igal Sapir
Lucee Core Developer
Lucee.org http://lucee.org/
On 1/18/2016 2:21 PM, Pierre Larde wrote:

New with Lucee,
is there a way to access an admin panel for Lucee
like the CF admin
To set up datasource for example ?

What adress to use to access Lucee admin ?

Thanks for answer.
Pierre.

Love Lucee? Become a supporter and be part of the Lucee project today! -
http://lucee.org/supporters/become-a-supporter.html

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 <javascript:>.
To post to this group, send email to lu...@googlegroups.com <javascript:>.
To view this discussion on the web visit
https://groups.google.com/d/msgid/lucee/aac99d87-de9c-4c50-a5b7-8457ab635191%40googlegroups.com
.
For more options, visit https://groups.google.com/d/optout.

I have openned a new thread about setting an access (mdb file) as a Lucee datasource.

Thanks, Pierre.De : lucee@googlegroups.com [mailto:lucee@googlegroups.com] De la part de Igal @ Lucee.org
Envoyé : mardi 19 janvier 2016 18:01
À : lucee@googlegroups.com
Objet : Re: [Lucee] Lucee Admin Panel like CFadmin

the way it works is that each Host element (as described in the other thread where I just replied to you) creates what’s called a Web Context, which is essentially a web site (which can be more than a single web application). then each web context can has its own settings, which override the server settings.

so if you have one web context that is accessible at yoursite-one.com and another that is accessible at yoursite-two.com, you will go to their web admins like so (respectively):

yoursite-one.com web admin:
http://yoursite-one.com/lucee/admin/web.cfm http://yoursite/lucee/admin/web.cfm

yoursite-two.com web admin:
http://yoursite-two.com/lucee/admin/web.cfm http://yoursite/lucee/admin/web.cfm

so the host in the request determines the web context.

you don’t really need IIS in order to access those – you can access them directly on Tomcat by specifying the Tomcat port number (assuming that no firewall will block you), so if Tomcat is listening at port 8080, you would go to http://yoursite-one:8080/lucee/admin/web.cfm http://yoursite/lucee/admin/web.cfm

Igal Sapir
Lucee Core Developer
Lucee.org http://lucee.org/

On 1/19/2016 2:33 AM, Pierre Larde wrote:

Thanks a lot, that’s great.

But I do not see the difference between server-wide and specific site,

as in specific site, I do not understand on what site.

(I work on a local PC, for the moment, no real Internet sites declared)

Are the internet site declared in IIS(as with CF) ?

A bit confused, sorry.

Pierre.

Le lundi 18 janvier 2016 23:37:19 UTC+1, Igal a écrit :

for server-wide settings:
http://yoursite/lucee/admin/server.cfm

for web settings of a specific site that is configured as “yoursite”:
http://yoursite/lucee/admin/web.cfm

Igal Sapir
Lucee Core Developer
Lucee.org http://lucee.org/

On 1/18/2016 2:21 PM, Pierre Larde wrote:

New with Lucee,

is there a way to access an admin panel for Lucee

like the CF admin

To set up datasource for example ?

What adress to use to access Lucee admin ?

Thanks for answer.

Pierre.


Love Lucee? Become a supporter and be part of the Lucee project today! - http://lucee.org/supporters/become-a-supporter.html

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 <javascript:> .
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/aac99d87-de9c-4c50-a5b7-8457ab635191%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Love Lucee? Become a supporter and be part of the Lucee project today! - http://lucee.org/supporters/become-a-supporter.html

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/5b8c8045-0f48-4bb0-a282-65d43a11a15a%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Love Lucee? Become a supporter and be part of the Lucee project today! - http://lucee.org/supporters/become-a-supporter.html

You received this message because you are subscribed to a topic in the Google Groups “Lucee” group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/lucee/oQsNq7GU9oU/unsubscribe.
To unsubscribe from this group and all its topics, 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/569E6BCC.1030602%40lucee.org https://groups.google.com/d/msgid/lucee/569E6BCC.1030602%40lucee.org?utm_medium=email&utm_source=footer .
For more options, visit https://groups.google.com/d/optout.


L’absence de virus dans ce courrier électronique a été vérifiée par le logiciel antivirus Avast.

OK, example :

If a datasource is declared in “red interface” : this will be valid for
all sites ?

Yes

If a datasource is declared in “blue interface” : it will be valid only
for the specific site ?

Yes

Is that true ?

But I do not understand how I can make the site choice ?

Referring back to Igal’s second response in this thread, fundamentally, a
web context is created for each Host declared in server.xml, which I
believe you can find at /tomcat/conf/server.xml. You
can edit server.xml directly to see how this works.

A host declaration looks like this:

www.yoursite.com

And then referring back to Igal’s first response, you would then access the
lucee web admin interface at

http://yoursite.com/lucee/admin/web.cfm

Is that with the password connection ?

The first time you login, you will be asked to set a password.

I edit server.xml directly. Depending on your web server, you may be able
to set things up so your web server configuration automatically alters
server.xml (or some similar voodoo I’m not clear about). Hopefully someone
will chime in and clear that up for you.

The advantage of a separate web admin is that you can isolate web contexts
from each other with different passwords, and then give admin
responsibilities away. If that’s not a concern you have, then it is fine to
set all datasources and mappings in the server context and not worry about
it.

One thing to note is that scheduled tasks only appear in web contexts, not
in the server context.

hth,

Nando

Pierre.On Mon, Jan 25, 2016 at 7:41 PM, Plarts <@Pierre_Larde> wrote:

De : lucee@googlegroups.com [mailto:lucee@googlegroups.com
lucee@googlegroups.com] De la part de David Eurenius
Envoyé : lundi 25 janvier 2016 14:36
À : Lucee
Objet : Re: [Lucee] Lucee Admin Panel like CFadmin

Hi

For me it works thinking like this:

Red interface (server) = server wide settings

Blue interface (web) = site specific settings

–David

On Tuesday, January 19, 2016 at 7:03:23 PM UTC+1, Pierre Larde wrote:

OK, I see, I will need to check/test this when I will be live, with many
sites .

Thanks.

Le mardi 19 janvier 2016 18:01:04 UTC+1, Igal a écrit :

the way it works is that each Host element (as described in the other
thread where I just replied to you) creates what’s called a Web Context,
which is essentially a web site (which can be more than a single web
application). then each web context can has its own settings, which
override the server settings.

so if you have one web context that is accessible at yoursite-one.com and
another that is accessible at yoursite-two.com, you will go to their web
admins like so (respectively):

yoursite-one.com web admin:
http://yoursite-one.com/lucee/admin/web.cfm
http://yoursite/lucee/admin/web.cfm

yoursite-two.com web admin:
http://yoursite-two.com/lucee/admin/web.cfm
http://yoursite/lucee/admin/web.cfm

so the host in the request determines the web context.

you don’t really need IIS in order to access those – you can access them
directly on Tomcat by specifying the Tomcat port number (assuming that no
firewall will block you), so if Tomcat is listening at port 8080, you would
go to http://yoursite-one:8080/lucee/admin/web.cfm
http://yoursite/lucee/admin/web.cfm

Igal Sapir
Lucee Core Developer
Lucee.org http://lucee.org/

On 1/19/2016 2:33 AM, Pierre Larde wrote:

Thanks a lot, that’s great.

But I do not see the difference between server-wide and specific site,

as in specific site, I do not understand on what site.

(I work on a local PC, for the moment, no real Internet sites declared)

Are the internet site declared in IIS(as with CF) ?

A bit confused, sorry.

Pierre.

Le lundi 18 janvier 2016 23:37:19 UTC+1, Igal a écrit :

for server-wide settings:
http://yoursite/lucee/admin/server.cfm

for web settings of a specific site that is configured as “yoursite”:
http://yoursite/lucee/admin/web.cfm

Igal Sapir
Lucee Core Developer
Lucee.org http://lucee.org/

On 1/18/2016 2:21 PM, Pierre Larde wrote:

New with Lucee,

is there a way to access an admin panel for Lucee

like the CF admin

To set up datasource for example ?

What adress to use to access Lucee admin ?

Thanks for answer.

Pierre.


Love Lucee? Become a supporter and be part of the Lucee project today! -
http://lucee.org/supporters/become-a-supporter.html

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/aac99d87-de9c-4c50-a5b7-8457ab635191%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Love Lucee? Become a supporter and be part of the Lucee project today! -
http://lucee.org/supporters/become-a-supporter.html

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/5b8c8045-0f48-4bb0-a282-65d43a11a15a%40googlegroups.com
.
For more options, visit https://groups.google.com/d/optout.


Love Lucee? Become a supporter and be part of the Lucee project today! -
http://lucee.org/supporters/become-a-supporter.html


You received this message because you are subscribed to a topic in the
Google Groups “Lucee” group.
To unsubscribe from this topic, visit
https://groups.google.com/d/topic/lucee/oQsNq7GU9oU/unsubscribe.
To unsubscribe from this group and all its topics, 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/d47abd99-408e-45f9-80b1-eab5a947dfc8%40googlegroups.com
https://groups.google.com/d/msgid/lucee/d47abd99-408e-45f9-80b1-eab5a947dfc8%40googlegroups.com?utm_medium=email&utm_source=footer
.
For more options, visit https://groups.google.com/d/optout.


[image: Avast logo] http://www.avast.com/

L’absence de virus dans ce courrier électronique a été vérifiée par le
logiciel antivirus Avast.
www.avast.com


Love Lucee? Become a supporter and be part of the Lucee project today! -
http://lucee.org/supporters/become-a-supporter.html

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/006301d157a0%2401912b90%2404b382b0%24%40com
https://groups.google.com/d/msgid/lucee/006301d157a0%2401912b90%2404b382b0%24%40com?utm_medium=email&utm_source=footer
.

For more options, visit https://groups.google.com/d/optout.

Hi

For me it works thinking like this:

Red interface (server) = server wide settings
Blue interface (web) = site specific settings

–DavidOn Tuesday, January 19, 2016 at 7:03:23 PM UTC+1, Pierre Larde wrote:

OK, I see, I will need to check/test this when I will be live, with many
sites .
Thanks.

Le mardi 19 janvier 2016 18:01:04 UTC+1, Igal a écrit :

the way it works is that each Host element (as described in the other
thread where I just replied to you) creates what’s called a Web Context,
which is essentially a web site (which can be more than a single web
application). then each web context can has its own settings, which
override the server settings.

so if you have one web context that is accessible at yoursite-one.com
and another that is accessible at yoursite-two.com, you will go to their
web admins like so (respectively):

yoursite-one.com web admin:
http://yoursite-one.com/lucee/admin/web.cfm
http://yoursite/lucee/admin/web.cfm

yoursite-two.com web admin:
http://yoursite-two.com/lucee/admin/web.cfm
http://yoursite/lucee/admin/web.cfm

so the host in the request determines the web context.

you don’t really need IIS in order to access those – you can access them
directly on Tomcat by specifying the Tomcat port number (assuming that no
firewall will block you), so if Tomcat is listening at port 8080, you would
go to http://yoursite-one:8080/lucee/admin/web.cfm
http://yoursite/lucee/admin/web.cfm

Igal Sapir
Lucee Core Developer
Lucee.org http://lucee.org/
On 1/19/2016 2:33 AM, Pierre Larde wrote:

Thanks a lot, that’s great.
But I do not see the difference between server-wide and specific site,
as in specific site, I do not understand on what site.
(I work on a local PC, for the moment, no real Internet sites declared)
Are the internet site declared in IIS(as with CF) ?
A bit confused, sorry.
Pierre.

Le lundi 18 janvier 2016 23:37:19 UTC+1, Igal a écrit :

for server-wide settings:
http://yoursite/lucee/admin/server.cfm

for web settings of a specific site that is configured as “yoursite”:
http://yoursite/lucee/admin/web.cfm

Igal Sapir
Lucee Core Developer
Lucee.org http://lucee.org/
On 1/18/2016 2:21 PM, Pierre Larde wrote:

New with Lucee,
is there a way to access an admin panel for Lucee
like the CF admin
To set up datasource for example ?

What adress to use to access Lucee admin ?

Thanks for answer.
Pierre.

Love Lucee? Become a supporter and be part of the Lucee project today! -
http://lucee.org/supporters/become-a-supporter.html

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/aac99d87-de9c-4c50-a5b7-8457ab635191%40googlegroups.com
https://groups.google.com/d/
msgid/lucee/aac99d87-de9c-4c50-a5b7-8457ab635191%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Love Lucee? Become a supporter and be part of the Lucee project today! -
http://lucee.org/supporters/become-a-supporter.html


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/5b8c8045-0f48-4bb0-a282-65d43a11a15a%40googlegroups.com?utm_medium=email&utm_source=footer
https://groups.google.com/d/msgid/lucee/5b8c8045-0f48-4bb0-a282-65d43a11a15a%40googlegroups.com
.
For more options, visit https://groups.google.com/d/optout.

Great infos, many thanks.De : lucee@googlegroups.com [mailto:lucee@googlegroups.com] De la part de Nando Breiter
Envoyé : lundi 25 janvier 2016 21:18
À : lucee@googlegroups.com
Objet : Re: [Lucee] Lucee Admin Panel like CFadmin

On Mon, Jan 25, 2016 at 7:41 PM, Plarts <@Pierre_Larde> wrote:

OK, example :

If a datasource is declared in “red interface” : this will be valid for all sites ?

Yes

If a datasource is declared in “blue interface” : it will be valid only for the specific site ?

Yes

Is that true ?

But I do not understand how I can make the site choice ?

Referring back to Igal’s second response in this thread, fundamentally, a web context is created for each Host declared in server.xml, which I believe you can find at /tomcat/conf/server.xml. You can edit server.xml directly to see how this works.

A host declaration looks like this:

www.yoursite.com

And then referring back to Igal’s first response, you would then access the lucee web admin interface at

http://yoursite.com/lucee/admin/web.cfm

Is that with the password connection ?

The first time you login, you will be asked to set a password.

I edit server.xml directly. Depending on your web server, you may be able to set things up so your web server configuration automatically alters server.xml (or some similar voodoo I’m not clear about). Hopefully someone will chime in and clear that up for you.

The advantage of a separate web admin is that you can isolate web contexts from each other with different passwords, and then give admin responsibilities away. If that’s not a concern you have, then it is fine to set all datasources and mappings in the server context and not worry about it.

One thing to note is that scheduled tasks only appear in web contexts, not in the server context.

hth,

Nando

Pierre.

De : lucee@googlegroups.com [mailto:lucee@googlegroups.com] De la part de David Eurenius
Envoyé : lundi 25 janvier 2016 14:36
À : Lucee
Objet : Re: [Lucee] Lucee Admin Panel like CFadmin

Hi

For me it works thinking like this:

Red interface (server) = server wide settings

Blue interface (web) = site specific settings

–David

On Tuesday, January 19, 2016 at 7:03:23 PM UTC+1, Pierre Larde wrote:

OK, I see, I will need to check/test this when I will be live, with many sites .

Thanks.

Le mardi 19 janvier 2016 18:01:04 UTC+1, Igal a écrit :

the way it works is that each Host element (as described in the other thread where I just replied to you) creates what’s called a Web Context, which is essentially a web site (which can be more than a single web application). then each web context can has its own settings, which override the server settings.

so if you have one web context that is accessible at http://yoursite-one.com yoursite-one.com and another that is accessible at http://yoursite-two.com yoursite-two.com, you will go to their web admins like so (respectively):

http://yoursite-one.com yoursite-one.com web admin:
http://yoursite/lucee/admin/web.cfm http://yoursite-one.com/lucee/admin/web.cfm

http://yoursite-two.com yoursite-two.com web admin:
http://yoursite/lucee/admin/web.cfm http://yoursite-two.com/lucee/admin/web.cfm

so the host in the request determines the web context.

you don’t really need IIS in order to access those – you can access them directly on Tomcat by specifying the Tomcat port number (assuming that no firewall will block you), so if Tomcat is listening at port 8080, you would go to http://yoursite/lucee/admin/web.cfm http://yoursite-one:8080/lucee/admin/web.cfm

Igal Sapir
Lucee Core Developer
http://lucee.org/ Lucee.org

On 1/19/2016 2:33 AM, Pierre Larde wrote:

Thanks a lot, that’s great.

But I do not see the difference between server-wide and specific site,

as in specific site, I do not understand on what site.

(I work on a local PC, for the moment, no real Internet sites declared)

Are the internet site declared in IIS(as with CF) ?

A bit confused, sorry.

Pierre.

Le lundi 18 janvier 2016 23:37:19 UTC+1, Igal a écrit :

for server-wide settings:
http://yoursite/lucee/admin/server.cfm http://yoursite/lucee/admin/server.cfm

for web settings of a specific site that is configured as “yoursite”:
http://yoursite/lucee/admin/web.cfm http://yoursite/lucee/admin/web.cfm

Igal Sapir
Lucee Core Developer
http://lucee.org/ Lucee.org

On 1/18/2016 2:21 PM, Pierre Larde wrote:

New with Lucee,

is there a way to access an admin panel for Lucee

like the CF admin

To set up datasource for example ?

What adress to use to access Lucee admin ?

Thanks for answer.

Pierre.


Love Lucee? Become a supporter and be part of the Lucee project today! - http://lucee.org/supporters/become-a-supporter.html http://lucee.org/supporters/become-a-supporter.html

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 mailto:lucee+un...@googlegroups.com lucee+un...@googlegroups.com.
To post to this group, send email to mailto:lu...@googlegroups.com lu...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/ https://groups.google.com/d/msgid/lucee/aac99d87-de9c-4c50-a5b7-8457ab635191%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout https://groups.google.com/d/optout.


Love Lucee? Become a supporter and be part of the Lucee project today! - http://lucee.org/supporters/become-a-supporter.html http://lucee.org/supporters/become-a-supporter.html

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 mailto:lucee+un...@googlegroups.com lucee+un...@googlegroups.com.
To post to this group, send email to mailto:lu...@googlegroups.com lu...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/lucee/5b8c8045-0f48-4bb0-a282-65d43a11a15a%40googlegroups.com https://groups.google.com/d/msgid/lucee/5b8c8045-0f48-4bb0-a282-65d43a11a15a%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout https://groups.google.com/d/optout.


Love Lucee? Become a supporter and be part of the Lucee project today! - http://lucee.org/supporters/become-a-supporter.html http://lucee.org/supporters/become-a-supporter.html


You received this message because you are subscribed to a topic in the Google Groups “Lucee” group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/lucee/oQsNq7GU9oU/unsubscribe https://groups.google.com/d/topic/lucee/oQsNq7GU9oU/unsubscribe.
To unsubscribe from this group and all its topics, send an email to mailto:lucee+unsubscribe@googlegroups.com lucee+unsubscribe@googlegroups.com.
To post to this group, send email to mailto:lucee@googlegroups.com lucee@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/lucee/d47abd99-408e-45f9-80b1-eab5a947dfc8%40googlegroups.com?utm_medium=email&utm_source=footer https://groups.google.com/d/msgid/lucee/d47abd99-408e-45f9-80b1-eab5a947dfc8%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout https://groups.google.com/d/optout.


http://www.avast.com/ Image supprimée par l’expéditeur. Avast logo

L’absence de virus dans ce courrier électronique a été vérifiée par le logiciel antivirus Avast.
www.avast.com http://www.avast.com/


Love Lucee? Become a supporter and be part of the Lucee project today! - http://lucee.org/supporters/become-a-supporter.html

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/006301d157a0%2401912b90%2404b382b0%24%40com https://groups.google.com/d/msgid/lucee/006301d157a0%2401912b90%2404b382b0%24%40com?utm_medium=email&utm_source=footer .

For more options, visit https://groups.google.com/d/optout.


Love Lucee? Become a supporter and be part of the Lucee project today! - http://lucee.org/supporters/become-a-supporter.html

You received this message because you are subscribed to a topic in the Google Groups “Lucee” group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/lucee/oQsNq7GU9oU/unsubscribe.
To unsubscribe from this group and all its topics, 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/CAGHrs%3D-HLHzfxZW%3DVcWaOG52nYhfMycz82M_%2BeuhLwPF%3D%2Bp%2BKw%40mail.gmail.com https://groups.google.com/d/msgid/lucee/CAGHrs%3D-HLHzfxZW%3DVcWaOG52nYhfMycz82M_%2BeuhLwPF%3D%2Bp%2BKw%40mail.gmail.com?utm_medium=email&utm_source=footer .
For more options, visit https://groups.google.com/d/optout.


L’absence de virus dans ce courrier électronique a été vérifiée par le logiciel antivirus Avast.

OK, example :

If a datasource is declared in “red interface” : this will be valid for all sites ?

If a datasource is declared in “blue interface” : it will be valid only for the specific site ?

Is that true ?

But I do not understand how I can make the site choice ?

Is that with the password connection ?

Pierre.De : lucee@googlegroups.com [mailto:lucee@googlegroups.com] De la part de David Eurenius
Envoyé : lundi 25 janvier 2016 14:36
À : Lucee
Objet : Re: [Lucee] Lucee Admin Panel like CFadmin

Hi

For me it works thinking like this:

Red interface (server) = server wide settings

Blue interface (web) = site specific settings

–David

On Tuesday, January 19, 2016 at 7:03:23 PM UTC+1, Pierre Larde wrote:

OK, I see, I will need to check/test this when I will be live, with many sites .

Thanks.

Le mardi 19 janvier 2016 18:01:04 UTC+1, Igal a écrit :

the way it works is that each Host element (as described in the other thread where I just replied to you) creates what’s called a Web Context, which is essentially a web site (which can be more than a single web application). then each web context can has its own settings, which override the server settings.

so if you have one web context that is accessible at http://yoursite-one.com yoursite-one.com and another that is accessible at http://yoursite-two.com yoursite-two.com, you will go to their web admins like so (respectively):

http://yoursite-one.com yoursite-one.com web admin:
http://yoursite/lucee/admin/web.cfm http://yoursite-one.com/lucee/admin/web.cfm

http://yoursite-two.com yoursite-two.com web admin:
http://yoursite/lucee/admin/web.cfm http://yoursite-two.com/lucee/admin/web.cfm

so the host in the request determines the web context.

you don’t really need IIS in order to access those – you can access them directly on Tomcat by specifying the Tomcat port number (assuming that no firewall will block you), so if Tomcat is listening at port 8080, you would go to http://yoursite/lucee/admin/web.cfm http://yoursite-one:8080/lucee/admin/web.cfm

Igal Sapir
Lucee Core Developer
http://lucee.org/ Lucee.org

On 1/19/2016 2:33 AM, Pierre Larde wrote:

Thanks a lot, that’s great.

But I do not see the difference between server-wide and specific site,

as in specific site, I do not understand on what site.

(I work on a local PC, for the moment, no real Internet sites declared)

Are the internet site declared in IIS(as with CF) ?

A bit confused, sorry.

Pierre.

Le lundi 18 janvier 2016 23:37:19 UTC+1, Igal a écrit :

for server-wide settings:
http://yoursite/lucee/admin/server.cfm http://yoursite/lucee/admin/server.cfm

for web settings of a specific site that is configured as “yoursite”:
http://yoursite/lucee/admin/web.cfm http://yoursite/lucee/admin/web.cfm

Igal Sapir
Lucee Core Developer
http://lucee.org/ Lucee.org

On 1/18/2016 2:21 PM, Pierre Larde wrote:

New with Lucee,

is there a way to access an admin panel for Lucee

like the CF admin

To set up datasource for example ?

What adress to use to access Lucee admin ?

Thanks for answer.

Pierre.


Love Lucee? Become a supporter and be part of the Lucee project today! - http://lucee.org/supporters/become-a-supporter.html http://lucee.org/supporters/become-a-supporter.html

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 mailto:lucee+un...@googlegroups.com lucee+un...@googlegroups.com.
To post to this group, send email to mailto:lu...@googlegroups.com lu...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/ https://groups.google.com/d/msgid/lucee/aac99d87-de9c-4c50-a5b7-8457ab635191%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout https://groups.google.com/d/optout.


Love Lucee? Become a supporter and be part of the Lucee project today! - http://lucee.org/supporters/become-a-supporter.html http://lucee.org/supporters/become-a-supporter.html

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 mailto:lucee+un...@googlegroups.com lucee+un...@googlegroups.com.
To post to this group, send email to mailto:lu...@googlegroups.com lu...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/lucee/5b8c8045-0f48-4bb0-a282-65d43a11a15a%40googlegroups.com https://groups.google.com/d/msgid/lucee/5b8c8045-0f48-4bb0-a282-65d43a11a15a%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout https://groups.google.com/d/optout.


Love Lucee? Become a supporter and be part of the Lucee project today! - http://lucee.org/supporters/become-a-supporter.html http://lucee.org/supporters/become-a-supporter.html

You received this message because you are subscribed to a topic in the Google Groups “Lucee” group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/lucee/oQsNq7GU9oU/unsubscribe https://groups.google.com/d/topic/lucee/oQsNq7GU9oU/unsubscribe.
To unsubscribe from this group and all its topics, send an email to mailto:lucee+unsubscribe@googlegroups.com lucee+unsubscribe@googlegroups.com.
To post to this group, send email to mailto:lucee@googlegroups.com lucee@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/lucee/d47abd99-408e-45f9-80b1-eab5a947dfc8%40googlegroups.com?utm_medium=email&utm_source=footer https://groups.google.com/d/msgid/lucee/d47abd99-408e-45f9-80b1-eab5a947dfc8%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout https://groups.google.com/d/optout.


L’absence de virus dans ce courrier électronique a été vérifiée par le logiciel antivirus Avast.

Hi Igal -
Forgive me if I’m wrong but that’s the current thread, correct? That link
just takes me to this thread…On Thursday, January 28, 2016 at 11:40:00 AM UTC-7, Igal wrote:

Please see this thread:
https://groups.google.com/d/msg/lucee/oQsNq7GU9oU/Qn6Oe6ujBwAJ

Igal Sapir
Lucee Core Developer
Lucee.org http://lucee.org/
On 1/28/2016 10:31 AM, John Egbert wrote:

Hi guys -
I’m also evaluating Lucee…I attempted to utilize it about a year ago,
but I had a bunch of conflicts with IIS where I could establish a binding
in IIS, and it worked fine…but the second I had to revise that binding,
Lucee would ignore the IIS binding and the bindings wouldn’t find the
correct site etc.

So based on what I’m reading here, is the objective to manage the incoming
bindings/sites via the lucee administrator when using IIS and have IIS
merely catch all incoming traffic to point to the root of Lucee?

For instance, if I have three different IIS sites with different domains
and subdomains, abcde.com pointing to C:\Sites\site1 ,
something.abcde.com pointing to C:\inetpub\wwwroot\Site2 and def.com
pointing to W:\ExternalSites\Site3 , what is the best practice for handling
this? Am I to continue to handle those mappings in IIS and, if so, how
does Lucee track those mapping and folder updates (as it didn’t the last
time I tried it and eventually gave up for the time being).

Thanks for the thoughts, and the featureset. Love CFML, dislike the CF11
pricepoint :slight_smile: (probably like everyone reading this right now). Have a
great day -
John

Love Lucee? Become a supporter and be part of the Lucee project today! -
http://lucee.org/supporters/become-a-supporter.html

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 <javascript:>.
To post to this group, send email to lu...@googlegroups.com <javascript:>.
To view this discussion on the web visit
https://groups.google.com/d/msgid/lucee/cf2878f7-f6fa-4e19-aa2e-fb8b40416444%40googlegroups.com
.
For more options, visit https://groups.google.com/d/optout.

John,

How to put this properly …

Use Nginx! Here’s my blog post on the topic:

Igal was the one that originally convinced me to move to Nginx.

Restaurants have both cooks and waiters for good reason. Asking the cook to
handle both the service and the preparation is less efficient. You web
server should do the waiters job, your application (cfml) server the cook’s
job. The cook doesn’t need to get involved with the static content, like
the drinks, the snacks, plates, napkins etc. The waiter takes the order and
only passes on to the cook the stuff that needs to be prepared.

Nginx is my favorite waiter.

Aria Media Sagl
+41 (0)76 303 4477 cell
skype: ariamediaOn Thu, Jan 28, 2016 at 10:24 PM, John Egbert <@John_Egbert wrote:

Fascinating Jordan, thanks for the insight. Quite helpful…although to
be honest, I’m very unfamiliar with anything outside of IIS. Actually, I
think the messages were split, Igal moved to a secondary topic as
well…but mentioned that you might want to use IIS or Apache to do the
static serving for sake of speed (I’m unfamiliar with metrics around
this…I’ve been using traditional CF since CF4…and frankly never
ventured from IIS and Adobe (or Macromedia etc) so I’m really unfamiliar
with the “web server world” outside of that…I’ve focused more on the
application side). He also mentioned forwarding the requests from IIS for
the dynamic content while serving the static content, but I don’t have the
slightest how something like that would be accomplished.

Ultimately, it sounds like it’s probably plausible to run Tomcat
exclusively to serve all port 80 and 443 traffic, almost all of the static
data not inline with coldfusion is served via s3 anyway. If this is the
case, with Lucee, would the best approach be to forego IIS and just handle
everything in Tomcat? Does Lucee’s admin portal (the multiple site or
contexts I guess) with the different settings for each align directly with
the server.xml file? Or is that linked up together?

I guess…utilizing Lucee for a production environment where multiple
domains etc have to be served on the same box (for reasons of great
complexity :slight_smile: ), is this the best way? Or do I need to keep IIS in the mix?

Thanks for the expertise Jordan. Like I said, definitely a mind shift for
me so I’m trying to wrap my brain around new concepts. Lucee is
definitely a fascinating project/solution!
John

John Egbert | @John_Egbert

-----Original Message-----
From: lucee@googlegroups.com [mailto:lucee@googlegroups.com] On Behalf Of
Jordan Michaels
Sent: Thursday, January 28, 2016 1:23 PM
To: lucee@googlegroups.com
Subject: Re: [Lucee] Lucee Admin Panel like CFadmin

Hi John,

Lucee in and of itself doesn’t track folders or mappings that you have in
IIS. Lucee runs on top of a J2EE servlet container and J2EE containers have
different mechanisms then web servers. For example, the most similar
concept of a “website” in IIS would be a J2EE ‘context’. J2EE contexts are
NOT identical to IIS websites, but they are similar. If you used the Lucee
installer, then the J2EE servelet container you used would have been Tomcat

  • which is the same J2EE container Adobe uses in CF10 and CF11.

Tomcat has several configuration options that you can use to track context
(website) root directories, but the most common is probably modifying the
Tomcat server.xml file, located by default (if you used the Lucee
installer) in C:\lucee\tomcat\conf\server.xml. So, your process for setting
up sites would be to configure IIS, then configure Tomcat using the
server.xml file to basically tell Tomcat the same thing you told IIS. Yes,
you’ll need to configure your sites twice. The reason you don’t have to
configure your site configurations twice in Adobe CF is because Adobe
breaks away from the J2EE specification a bit and customizes how their IIS
connector interfaces with Tomcat. Adobe uses a single J2EE context, and
handles directory mapping internally within that single J2EE context. Lucee
is a bit different in this regard, and attempts to stay within the J2EE
specification and keep each site config within its own J2EE context. This
is more in line with the Java world, rather than the IIS world.

Still, there are efforts that have made configuring your sites both in IIS
and Tomcat easier. For example, the mod_cfml project exists to help
automate the process of duplicating your IIS configs to your Tomcat context
configs. You can read more about that effort over at http://modcfml.org/.
The mod_cfml adapter can also be installed as an option if you use the
Lucee installer. Mod_cfml is not without it’s limitations, however. It
currently doesn’t support virtual directories. So you’ll have to duplicate
your IIS Virtual Directories using Lucee mappings. Still, it can help a lot
and save you time - especially if you manage a large number of sites.

Let us know if there’s more we can do to help.


Kind regards,
Jordan Michaels
Vivio Technologies

----- Original Message -----
From: “John Egbert” <@John_Egbert>
To: “Lucee” lucee@googlegroups.com
Sent: Thursday, January 28, 2016 10:31:08 AM
Subject: Re: [Lucee] Lucee Admin Panel like CFadmin

Hi guys -
I’m also evaluating Lucee…I attempted to utilize it about a year ago,
but I had a bunch of conflicts with IIS where I could establish a binding
in IIS, and it worked fine…but the second I had to revise that binding,
Lucee would ignore the IIS binding and the bindings wouldn’t find the
correct site etc.

So based on what I’m reading here, is the objective to manage the incoming
bindings/sites via the lucee administrator when using IIS and have IIS
merely catch all incoming traffic to point to the root of Lucee?

For instance, if I have three different IIS sites with different domains
and subdomains, abcde.com pointing to C:\Sites\site1 ,
something.abcde.com pointing to C:\inetpub\wwwroot\Site2 and def.com
pointing to
W:\ExternalSites\Site3 , what is the best practice for handling this? Am
I to continue to handle those mappings in IIS and, if so, how does Lucee
track those mapping and folder updates (as it didn’t the last time I tried
it and eventually gave up for the time being).

Thanks for the thoughts, and the featureset. Love CFML, dislike the CF11
pricepoint :slight_smile: (probably like everyone reading this right now). Have a
great day - John


Love Lucee? Become a supporter and be part of the Lucee project today! -
http://lucee.org/supporters/become-a-supporter.html

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/cf2878f7-f6fa-4e19-aa2e-fb8b40416444%40googlegroups.com
.
For more options, visit https://groups.google.com/d/optout.


Love Lucee? Become a supporter and be part of the Lucee project today! -
http://lucee.org/supporters/become-a-supporter.html

You received this message because you are subscribed to a topic in the
Google Groups “Lucee” group.
To unsubscribe from this topic, visit
https://groups.google.com/d/topic/lucee/oQsNq7GU9oU/unsubscribe.
To unsubscribe from this group and all its topics, 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/2007301118.47548.1454012578395.JavaMail.zimbra%40viviotech.net
.
For more options, visit https://groups.google.com/d/optout.


Love Lucee? Become a supporter and be part of the Lucee project today! -
http://lucee.org/supporters/become-a-supporter.html

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/CY1PR17MB0204E422BF9A1BB4F06D9D43EFDA0%40CY1PR17MB0204.namprd17.prod.outlook.com
.
For more options, visit https://groups.google.com/d/optout.

Fascinating Jordan, thanks for the insight. Quite helpful…although to be honest, I’m very unfamiliar with anything outside of IIS. Actually, I think the messages were split, Igal moved to a secondary topic as well…but mentioned that you might want to use IIS or Apache to do the static serving for sake of speed (I’m unfamiliar with metrics around this…I’ve been using traditional CF since CF4…and frankly never ventured from IIS and Adobe (or Macromedia etc) so I’m really unfamiliar with the “web server world” outside of that…I’ve focused more on the application side). He also mentioned forwarding the requests from IIS for the dynamic content while serving the static content, but I don’t have the slightest how something like that would be accomplished.

Ultimately, it sounds like it’s probably plausible to run Tomcat exclusively to serve all port 80 and 443 traffic, almost all of the static data not inline with coldfusion is served via s3 anyway. If this is the case, with Lucee, would the best approach be to forego IIS and just handle everything in Tomcat? Does Lucee’s admin portal (the multiple site or contexts I guess) with the different settings for each align directly with the server.xml file? Or is that linked up together?

I guess…utilizing Lucee for a production environment where multiple domains etc have to be served on the same box (for reasons of great complexity :slight_smile: ), is this the best way? Or do I need to keep IIS in the mix?

Thanks for the expertise Jordan. Like I said, definitely a mind shift for me so I’m trying to wrap my brain around new concepts. Lucee is definitely a fascinating project/solution!
John

John Egbert | @John_Egbert

-----Original Message-----
From: lucee@googlegroups.com [mailto:lucee@googlegroups.com] On Behalf Of Jordan Michaels
Sent: Thursday, January 28, 2016 1:23 PM
To: lucee@googlegroups.com
Subject: Re: [Lucee] Lucee Admin Panel like CFadmin

Hi John,

Lucee in and of itself doesn’t track folders or mappings that you have in IIS. Lucee runs on top of a J2EE servlet container and J2EE containers have different mechanisms then web servers. For example, the most similar concept of a “website” in IIS would be a J2EE ‘context’. J2EE contexts are NOT identical to IIS websites, but they are similar. If you used the Lucee installer, then the J2EE servelet container you used would have been Tomcat - which is the same J2EE container Adobe uses in CF10 and CF11.

Tomcat has several configuration options that you can use to track context (website) root directories, but the most common is probably modifying the Tomcat server.xml file, located by default (if you used the Lucee installer) in C:\lucee\tomcat\conf\server.xml. So, your process for setting up sites would be to configure IIS, then configure Tomcat using the server.xml file to basically tell Tomcat the same thing you told IIS. Yes, you’ll need to configure your sites twice. The reason you don’t have to configure your site configurations twice in Adobe CF is because Adobe breaks away from the J2EE specification a bit and customizes how their IIS connector interfaces with Tomcat. Adobe uses a single J2EE context, and handles directory mapping internally within that single J2EE context. Lucee is a bit different in this regard, and attempts to stay within the J2EE specification and keep each site config within its own J2EE context. This is more in line with the Java world, rather than the IIS world.

Still, there are efforts that have made configuring your sites both in IIS and Tomcat easier. For example, the mod_cfml project exists to help automate the process of duplicating your IIS configs to your Tomcat context configs. You can read more about that effort over at http://modcfml.org/. The mod_cfml adapter can also be installed as an option if you use the Lucee installer. Mod_cfml is not without it’s limitations, however. It currently doesn’t support virtual directories. So you’ll have to duplicate your IIS Virtual Directories using Lucee mappings. Still, it can help a lot and save you time - especially if you manage a large number of sites.

Let us know if there’s more we can do to help.


Kind regards,
Jordan Michaels
Vivio Technologies

----- Original Message -----
From: “John Egbert” <@John_Egbert>
To: “Lucee” lucee@googlegroups.com
Sent: Thursday, January 28, 2016 10:31:08 AM
Subject: Re: [Lucee] Lucee Admin Panel like CFadmin

Hi guys -
I’m also evaluating Lucee…I attempted to utilize it about a year ago, but I had a bunch of conflicts with IIS where I could establish a binding in IIS, and it worked fine…but the second I had to revise that binding, Lucee would ignore the IIS binding and the bindings wouldn’t find the correct site etc.

So based on what I’m reading here, is the objective to manage the incoming bindings/sites via the lucee administrator when using IIS and have IIS merely catch all incoming traffic to point to the root of Lucee?

For instance, if I have three different IIS sites with different domains and subdomains, abcde.com pointing to C:\Sites\site1 , something.abcde.com pointing to C:\inetpub\wwwroot\Site2 and def.com pointing to
W:\ExternalSites\Site3 , what is the best practice for handling this? Am I to continue to handle those mappings in IIS and, if so, how does Lucee track those mapping and folder updates (as it didn’t the last time I tried it and eventually gave up for the time being).

Thanks for the thoughts, and the featureset. Love CFML, dislike the CF11 pricepoint :slight_smile: (probably like everyone reading this right now). Have a great day - John


Love Lucee? Become a supporter and be part of the Lucee project today! - http://lucee.org/supporters/become-a-supporter.html

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/cf2878f7-f6fa-4e19-aa2e-fb8b40416444%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Love Lucee? Become a supporter and be part of the Lucee project today! - http://lucee.org/supporters/become-a-supporter.html

You received this message because you are subscribed to a topic in the Google Groups “Lucee” group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/lucee/oQsNq7GU9oU/unsubscribe.
To unsubscribe from this group and all its topics, 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/2007301118.47548.1454012578395.JavaMail.zimbra%40viviotech.net.
For more options, visit https://groups.google.com/d/optout.

Hi John,

Lucee in and of itself doesn’t track folders or mappings that you have in IIS. Lucee runs on top of a J2EE servlet container and J2EE containers have different mechanisms then web servers. For example, the most similar concept of a “website” in IIS would be a J2EE ‘context’. J2EE contexts are NOT identical to IIS websites, but they are similar. If you used the Lucee installer, then the J2EE servelet container you used would have been Tomcat - which is the same J2EE container Adobe uses in CF10 and CF11.

Tomcat has several configuration options that you can use to track context (website) root directories, but the most common is probably modifying the Tomcat server.xml file, located by default (if you used the Lucee installer) in C:\lucee\tomcat\conf\server.xml. So, your process for setting up sites would be to configure IIS, then configure Tomcat using the server.xml file to basically tell Tomcat the same thing you told IIS. Yes, you’ll need to configure your sites twice. The reason you don’t have to configure your site configurations twice in Adobe CF is because Adobe breaks away from the J2EE specification a bit and customizes how their IIS connector interfaces with Tomcat. Adobe uses a single J2EE context, and handles directory mapping internally within that single J2EE context. Lucee is a bit different in this regard, and attempts to stay within the J2EE specification and keep each site config within its own J2EE context. This is more in line with the Java world, rather than the IIS world.

Still, there are efforts that have made configuring your sites both in IIS and Tomcat easier. For example, the mod_cfml project exists to help automate the process of duplicating your IIS configs to your Tomcat context configs. You can read more about that effort over at http://modcfml.org/. The mod_cfml adapter can also be installed as an option if you use the Lucee installer. Mod_cfml is not without it’s limitations, however. It currently doesn’t support virtual directories. So you’ll have to duplicate your IIS Virtual Directories using Lucee mappings. Still, it can help a lot and save you time - especially if you manage a large number of sites.

Let us know if there’s more we can do to help.–
Kind regards,
Jordan Michaels
Vivio Technologies

----- Original Message -----
From: “John Egbert” <@John_Egbert>
To: “Lucee” lucee@googlegroups.com
Sent: Thursday, January 28, 2016 10:31:08 AM
Subject: Re: [Lucee] Lucee Admin Panel like CFadmin

Hi guys -
I’m also evaluating Lucee…I attempted to utilize it about a year ago,
but I had a bunch of conflicts with IIS where I could establish a binding
in IIS, and it worked fine…but the second I had to revise that binding,
Lucee would ignore the IIS binding and the bindings wouldn’t find the
correct site etc.

So based on what I’m reading here, is the objective to manage the incoming
bindings/sites via the lucee administrator when using IIS and have IIS
merely catch all incoming traffic to point to the root of Lucee?

For instance, if I have three different IIS sites with different domains
and subdomains, abcde.com pointing to C:\Sites\site1 , something.abcde.com
pointing to C:\inetpub\wwwroot\Site2 and def.com pointing to
W:\ExternalSites\Site3 , what is the best practice for handling this? Am I
to continue to handle those mappings in IIS and, if so, how does Lucee
track those mapping and folder updates (as it didn’t the last time I tried
it and eventually gave up for the time being).

Thanks for the thoughts, and the featureset. Love CFML, dislike the CF11
pricepoint :slight_smile: (probably like everyone reading this right now). Have a
great day -
John


Love Lucee? Become a supporter and be part of the Lucee project today! - http://lucee.org/supporters/become-a-supporter.html

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/cf2878f7-f6fa-4e19-aa2e-fb8b40416444%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

I’m sorry. you’re right. (not enough sleep ;))

I only read the beginning of your message and thought that it’s a
separate question on the same subject. anyway, I’m not sure I
understand your question completely, but let me try to explain and then
you can ask follow up questions. I will also modify the subject line
since this is not about Admin URL anymore. So anyway –

The idea is that you front Lucee with a web server, in this case IIS,
but it can as well be Apache or nginx, and you use the web server to
handle the static requests (e.g. images, javascript files, css files,
etc.), and forward (or redirect) the dynamic (e.g. *.cfm) requests to
Lucee. That is usually done for security purposes, performance reasons,
load-balancing, url-rewriting, etc.

Lucee is a Java servlet (Jakarta Servlet - Wikipedia),
and it therefore runs in a servlet container (default is Tomcat, but may
as well be Jetty or WildFly). So the web server forwards the dynamic
requests to the Servlet container really, and that one utilizes Lucee to
do the actual processing of the request.

So you have:

Web Server listening on port 80 (IIS / Apache httpd / nginx)
→ Servlet Container listening on port 8080* (Tomcat / Jetty /
WildFly)
→ Lucee

  • port can be different, but 8080 is commonly used in this setup

Now each of those has its own configurations and mappings, so it really
depends on what kind of mapping you are referring to. For example,
cfml-type mapping for the purpose of cfinclude are defined in Lucee, but
virtual directories are usually defined in the web server.

Also, you might decide that for your purpose you do not need a web
server, and use the servlet container to serve static pages directly (as
well as listen on port 80), and nowadays the performance of servlet
containers is much better than the olden days where a web server would
provide a major performance boost, but if you’re running an enterprise
application then you probably want to front the servlet container with a
web server.

Questions?

Igal Sapir
Lucee Core Developer
Lucee.org http://lucee.org/On 1/28/2016 10:41 AM, John Egbert wrote:

Hi Igal -
Forgive me if I’m wrong but that’s the current thread, correct? That
link just takes me to this thread…

On Thursday, January 28, 2016 at 11:40:00 AM UTC-7, Igal wrote:

Please see this thread:
https://groups.google.com/d/msg/lucee/oQsNq7GU9oU/Qn6Oe6ujBwAJ
<https://groups.google.com/d/msg/lucee/oQsNq7GU9oU/Qn6Oe6ujBwAJ>

Igal Sapir
Lucee Core Developer
Lucee.org <http://lucee.org/>

On 1/28/2016 10:31 AM, John Egbert wrote:
Hi guys -
I'm also evaluating Lucee....I attempted to utilize it about a
year ago, but I had a bunch of conflicts with IIS where I could
establish a binding in IIS, and it worked fine...but the second I
had to revise that binding, Lucee would ignore the IIS binding
and the bindings wouldn't find the correct site etc.

So based on what I'm reading here, is the objective to manage the
incoming bindings/sites via the lucee administrator when using
IIS and have IIS merely catch all incoming traffic to point to
the root of Lucee?

For instance, if I have three different IIS sites with different
domains and subdomains, abcde.com <http://abcde.com> pointing to
C:\Sites\site1  , something.abcde.com
<http://something.abcde.com> pointing to
C:\inetpub\wwwroot\Site2  and def.com <http://def.com> pointing
to W:\ExternalSites\Site3 , what is the best practice for
handling this?  Am I to continue to handle those mappings in IIS
and, if so, how does Lucee track those mapping and folder updates
(as it didn't the last time I tried it and eventually gave up for
the time being).

Thanks for the thoughts, and the featureset.  Love CFML, dislike
the CF11 pricepoint :) (probably like everyone reading this right
now).  Have a great day -
John
-- 
Love Lucee? Become a supporter and be part of the Lucee project
today! - http://lucee.org/supporters/become-a-supporter.html
<http://lucee.org/supporters/become-a-supporter.html>
---
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 <javascript:>.
To post to this group, send email to lu...@googlegroups.com
<javascript:>.
To view this discussion on the web visit
https://groups.google.com/d/msgid/lucee/cf2878f7-f6fa-4e19-aa2e-fb8b40416444%40googlegroups.com
<https://groups.google.com/d/msgid/lucee/cf2878f7-f6fa-4e19-aa2e-fb8b40416444%40googlegroups.com>.
For more options, visit https://groups.google.com/d/optout
<https://groups.google.com/d/optout>.


Love Lucee? Become a supporter and be part of the Lucee project today!


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
mailto:lucee+unsubscribe@googlegroups.com.
To post to this group, send email to lucee@googlegroups.com
mailto:lucee@googlegroups.com.
To view this discussion on the web visit
https://groups.google.com/d/msgid/lucee/1fecbe33-efa6-43e5-98b1-6657efea1026%40googlegroups.com
https://groups.google.com/d/msgid/lucee/1fecbe33-efa6-43e5-98b1-6657efea1026%40googlegroups.com?utm_medium=email&utm_source=footer.
For more options, visit https://groups.google.com/d/optout.

Thank you for that additional info! Good insight and article…I think I also saw a docker for nginx? Is anyone currently running Lucee on AWS Elastic Beanstalk?

JohnFrom: lucee@googlegroups.com [mailto:lucee@googlegroups.com] On Behalf Of Nando Breiter
Sent: Thursday, January 28, 2016 3:06 PM
To: lucee@googlegroups.com
Subject: Re: [Lucee] Lucee Admin Panel like CFadmin

John,

How to put this properly …

Use Nginx! Here’s my blog post on the topic:

Igal was the one that originally convinced me to move to Nginx.

Restaurants have both cooks and waiters for good reason. Asking the cook to handle both the service and the preparation is less efficient. You web server should do the waiters job, your application (cfml) server the cook’s job. The cook doesn’t need to get involved with the static content, like the drinks, the snacks, plates, napkins etc. The waiter takes the order and only passes on to the cook the stuff that needs to be prepared.

Nginx is my favorite waiter.

Aria Media Sagl
+41 (0)76 303 4477 cell
skype: ariamedia

On Thu, Jan 28, 2016 at 10:24 PM, John Egbert <@John_Egbertmailto:John_Egbert> wrote:
Fascinating Jordan, thanks for the insight. Quite helpful…although to be honest, I’m very unfamiliar with anything outside of IIS. Actually, I think the messages were split, Igal moved to a secondary topic as well…but mentioned that you might want to use IIS or Apache to do the static serving for sake of speed (I’m unfamiliar with metrics around this…I’ve been using traditional CF since CF4…and frankly never ventured from IIS and Adobe (or Macromedia etc) so I’m really unfamiliar with the “web server world” outside of that…I’ve focused more on the application side). He also mentioned forwarding the requests from IIS for the dynamic content while serving the static content, but I don’t have the slightest how something like that would be accomplished.

Ultimately, it sounds like it’s probably plausible to run Tomcat exclusively to serve all port 80 and 443 traffic, almost all of the static data not inline with coldfusion is served via s3 anyway. If this is the case, with Lucee, would the best approach be to forego IIS and just handle everything in Tomcat? Does Lucee’s admin portal (the multiple site or contexts I guess) with the different settings for each align directly with the server.xml file? Or is that linked up together?

I guess…utilizing Lucee for a production environment where multiple domains etc have to be served on the same box (for reasons of great complexity :slight_smile: ), is this the best way? Or do I need to keep IIS in the mix?

Thanks for the expertise Jordan. Like I said, definitely a mind shift for me so I’m trying to wrap my brain around new concepts. Lucee is definitely a fascinating project/solution!
John

John Egbert | @John_Egbertmailto:John_Egbert

-----Original Message-----
From: lucee@googlegroups.commailto:lucee@googlegroups.com [mailto:lucee@googlegroups.commailto:lucee@googlegroups.com] On Behalf Of Jordan Michaels
Sent: Thursday, January 28, 2016 1:23 PM
To: lucee@googlegroups.commailto:lucee@googlegroups.com
Subject: Re: [Lucee] Lucee Admin Panel like CFadmin

Hi John,

Lucee in and of itself doesn’t track folders or mappings that you have in IIS. Lucee runs on top of a J2EE servlet container and J2EE containers have different mechanisms then web servers. For example, the most similar concept of a “website” in IIS would be a J2EE ‘context’. J2EE contexts are NOT identical to IIS websites, but they are similar. If you used the Lucee installer, then the J2EE servelet container you used would have been Tomcat - which is the same J2EE container Adobe uses in CF10 and CF11.

Tomcat has several configuration options that you can use to track context (website) root directories, but the most common is probably modifying the Tomcat server.xml file, located by default (if you used the Lucee installer) in C:\lucee\tomcat\conf\server.xml. So, your process for setting up sites would be to configure IIS, then configure Tomcat using the server.xml file to basically tell Tomcat the same thing you told IIS. Yes, you’ll need to configure your sites twice. The reason you don’t have to configure your site configurations twice in Adobe CF is because Adobe breaks away from the J2EE specification a bit and customizes how their IIS connector interfaces with Tomcat. Adobe uses a single J2EE context, and handles directory mapping internally within that single J2EE context. Lucee is a bit different in this regard, and attempts to stay within the J2EE specification and keep each site config within its own J2EE context. This is more in line with the Java world, rather than the IIS world.

Still, there are efforts that have made configuring your sites both in IIS and Tomcat easier. For example, the mod_cfml project exists to help automate the process of duplicating your IIS configs to your Tomcat context configs. You can read more about that effort over at http://modcfml.org/. The mod_cfml adapter can also be installed as an option if you use the Lucee installer. Mod_cfml is not without it’s limitations, however. It currently doesn’t support virtual directories. So you’ll have to duplicate your IIS Virtual Directories using Lucee mappings. Still, it can help a lot and save you time - especially if you manage a large number of sites.

Let us know if there’s more we can do to help.


Kind regards,
Jordan Michaels
Vivio Technologies

----- Original Message -----
From: “John Egbert” <@John_Egbertmailto:John_Egbert>
To: “Lucee” <lucee@googlegroups.commailto:lucee@googlegroups.com>
Sent: Thursday, January 28, 2016 10:31:08 AM
Subject: Re: [Lucee] Lucee Admin Panel like CFadmin

Hi guys -
I’m also evaluating Lucee…I attempted to utilize it about a year ago, but I had a bunch of conflicts with IIS where I could establish a binding in IIS, and it worked fine…but the second I had to revise that binding, Lucee would ignore the IIS binding and the bindings wouldn’t find the correct site etc.

So based on what I’m reading here, is the objective to manage the incoming bindings/sites via the lucee administrator when using IIS and have IIS merely catch all incoming traffic to point to the root of Lucee?

For instance, if I have three different IIS sites with different domains and subdomains, abcde.comhttp://abcde.com pointing to C:\Sites\site1 , something.abcde.comhttp://something.abcde.com pointing to C:\inetpub\wwwroot\Site2 and def.comhttp://def.com pointing to
W:\ExternalSites\Site3 , what is the best practice for handling this? Am I to continue to handle those mappings in IIS and, if so, how does Lucee track those mapping and folder updates (as it didn’t the last time I tried it and eventually gave up for the time being).

Thanks for the thoughts, and the featureset. Love CFML, dislike the CF11 pricepoint :slight_smile: (probably like everyone reading this right now). Have a great day - John


Love Lucee? Become a supporter and be part of the Lucee project today! - http://lucee.org/supporters/become-a-supporter.html

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.commailto:lucee%2Bunsubscribe@googlegroups.com.
To post to this group, send email to lucee@googlegroups.commailto:lucee@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/lucee/cf2878f7-f6fa-4e19-aa2e-fb8b40416444%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Love Lucee? Become a supporter and be part of the Lucee project today! - http://lucee.org/supporters/become-a-supporter.html

You received this message because you are subscribed to a topic in the Google Groups “Lucee” group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/lucee/oQsNq7GU9oU/unsubscribe.
To unsubscribe from this group and all its topics, send an email to lucee+unsubscribe@googlegroups.commailto:lucee%2Bunsubscribe@googlegroups.com.
To post to this group, send email to lucee@googlegroups.commailto:lucee@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/lucee/2007301118.47548.1454012578395.JavaMail.zimbra%40viviotech.net.
For more options, visit https://groups.google.com/d/optout.


Love Lucee? Become a supporter and be part of the Lucee project today! - http://lucee.org/supporters/become-a-supporter.html

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.commailto:lucee%2Bunsubscribe@googlegroups.com.
To post to this group, send email to lucee@googlegroups.commailto:lucee@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/lucee/CY1PR17MB0204E422BF9A1BB4F06D9D43EFDA0%40CY1PR17MB0204.namprd17.prod.outlook.com.
For more options, visit https://groups.google.com/d/optout.


Love Lucee? Become a supporter and be part of the Lucee project today! - http://lucee.org/supporters/become-a-supporter.html

You received this message because you are subscribed to a topic in the Google Groups “Lucee” group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/lucee/oQsNq7GU9oU/unsubscribe.
To unsubscribe from this group and all its topics, send an email to lucee+unsubscribe@googlegroups.commailto:lucee+unsubscribe@googlegroups.com.
To post to this group, send email to lucee@googlegroups.commailto:lucee@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/lucee/CAGHrs%3D-gJqYhGkLySAF4zFz%3DBjb5xFGoP_DkDs_SvqwDb%2Bp7zg%40mail.gmail.comhttps://groups.google.com/d/msgid/lucee/CAGHrs%3D-gJqYhGkLySAF4zFz%3DBjb5xFGoP_DkDs_SvqwDb%2Bp7zg%40mail.gmail.com?utm_medium=email&utm_source=footer.
For more options, visit https://groups.google.com/d/optout.

Thank you Igal…that does make more sense now. I’m not exactly sure how to best utilize this…I’m very much on the application side of things and know very little about web servers outside of IIS. I’m not exactly sure how I’d go about forwarding the the dynamic requests to Lucee to serve the CFML code but I’ll have someone here start to look at that as well. I probably need to get in and start playing with it again…I’m sure I’ll have more questions. Thanks for taking the time to walk me through that (and for continuing to grow the CFML community…Lucee looks like a great project).

Hope you get some rest :)From: lucee@googlegroups.com [mailto:lucee@googlegroups.com] On Behalf Of Igal @ Lucee.org
Sent: Thursday, January 28, 2016 12:02 PM
To: lucee@googlegroups.com
Subject: Web Servers and Lucee (was: [Lucee] Lucee Admin Panel like CFadmin)

I’m sorry. you’re right. (not enough sleep ;))

I only read the beginning of your message and thought that it’s a separate question on the same subject. anyway, I’m not sure I understand your question completely, but let me try to explain and then you can ask follow up questions. I will also modify the subject line since this is not about Admin URL anymore. So anyway –

The idea is that you front Lucee with a web server, in this case IIS, but it can as well be Apache or nginx, and you use the web server to handle the static requests (e.g. images, javascript files, css files, etc.), and forward (or redirect) the dynamic (e.g. *.cfm) requests to Lucee. That is usually done for security purposes, performance reasons, load-balancing, url-rewriting, etc.

Lucee is a Java servlet (Jakarta Servlet - Wikipedia), and it therefore runs in a servlet container (default is Tomcat, but may as well be Jetty or WildFly). So the web server forwards the dynamic requests to the Servlet container really, and that one utilizes Lucee to do the actual processing of the request.

So you have:

Web Server listening on port 80 (IIS / Apache httpd / nginx)
→ Servlet Container listening on port 8080* (Tomcat / Jetty / WildFly)
→ Lucee

  • port can be different, but 8080 is commonly used in this setup

Now each of those has its own configurations and mappings, so it really depends on what kind of mapping you are referring to. For example, cfml-type mapping for the purpose of cfinclude are defined in Lucee, but virtual directories are usually defined in the web server.

Also, you might decide that for your purpose you do not need a web server, and use the servlet container to serve static pages directly (as well as listen on port 80), and nowadays the performance of servlet containers is much better than the olden days where a web server would provide a major performance boost, but if you’re running an enterprise application then you probably want to front the servlet container with a web server.

Questions?

Igal Sapir
Lucee Core Developer
Lucee.orghttp://lucee.org/
On 1/28/2016 10:41 AM, John Egbert wrote:
Hi Igal -
Forgive me if I’m wrong but that’s the current thread, correct? That link just takes me to this thread…

On Thursday, January 28, 2016 at 11:40:00 AM UTC-7, Igal wrote:
Please see this thread:
https://groups.google.com/d/msg/lucee/oQsNq7GU9oU/Qn6Oe6ujBwAJ

Igal Sapir
Lucee Core Developer
Lucee.orghttp://lucee.org/
On 1/28/2016 10:31 AM, John Egbert wrote:
Hi guys -
I’m also evaluating Lucee…I attempted to utilize it about a year ago, but I had a bunch of conflicts with IIS where I could establish a binding in IIS, and it worked fine…but the second I had to revise that binding, Lucee would ignore the IIS binding and the bindings wouldn’t find the correct site etc.

So based on what I’m reading here, is the objective to manage the incoming bindings/sites via the lucee administrator when using IIS and have IIS merely catch all incoming traffic to point to the root of Lucee?

For instance, if I have three different IIS sites with different domains and subdomains, abcde.comhttp://abcde.com pointing to C:\Sites\site1 , something.abcde.comhttp://something.abcde.com pointing to C:\inetpub\wwwroot\Site2 and def.comhttp://def.com pointing to W:\ExternalSites\Site3 , what is the best practice for handling this? Am I to continue to handle those mappings in IIS and, if so, how does Lucee track those mapping and folder updates (as it didn’t the last time I tried it and eventually gave up for the time being).

Thanks for the thoughts, and the featureset. Love CFML, dislike the CF11 pricepoint :slight_smile: (probably like everyone reading this right now). Have a great day -
John

Love Lucee? Become a supporter and be part of the Lucee project today! - http://lucee.org/supporters/become-a-supporter.html

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<javascript:>.
To post to this group, send email to lu...@googlegroups.commailto:lu...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/lucee/cf2878f7-f6fa-4e19-aa2e-fb8b40416444%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Love Lucee? Become a supporter and be part of the Lucee project today! - http://lucee.org/supporters/become-a-supporter.html

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.commailto:lucee+unsubscribe@googlegroups.com.
To post to this group, send email to lucee@googlegroups.commailto:lucee@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/lucee/1fecbe33-efa6-43e5-98b1-6657efea1026%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Love Lucee? Become a supporter and be part of the Lucee project today! - http://lucee.org/supporters/become-a-supporter.html

You received this message because you are subscribed to a topic in the Google Groups “Lucee” group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/lucee/oQsNq7GU9oU/unsubscribe.
To unsubscribe from this group and all its topics, send an email to lucee+unsubscribe@googlegroups.commailto:lucee+unsubscribe@googlegroups.com.
To post to this group, send email to lucee@googlegroups.commailto:lucee@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/lucee/56AA659F.5080609%40lucee.orghttps://groups.google.com/d/msgid/lucee/56AA659F.5080609%40lucee.org?utm_medium=email&utm_source=footer.
For more options, visit https://groups.google.com/d/optout.

Hi guys -
I’m also evaluating Lucee…I attempted to utilize it about a year ago,
but I had a bunch of conflicts with IIS where I could establish a binding
in IIS, and it worked fine…but the second I had to revise that binding,
Lucee would ignore the IIS binding and the bindings wouldn’t find the
correct site etc.

So based on what I’m reading here, is the objective to manage the incoming
bindings/sites via the lucee administrator when using IIS and have IIS
merely catch all incoming traffic to point to the root of Lucee?

For instance, if I have three different IIS sites with different domains
and subdomains, abcde.com pointing to C:\Sites\site1 , something.abcde.com
pointing to C:\inetpub\wwwroot\Site2 and def.com pointing to
W:\ExternalSites\Site3 , what is the best practice for handling this? Am I
to continue to handle those mappings in IIS and, if so, how does Lucee
track those mapping and folder updates (as it didn’t the last time I tried
it and eventually gave up for the time being).

Thanks for the thoughts, and the featureset. Love CFML, dislike the CF11
pricepoint :slight_smile: (probably like everyone reading this right now). Have a
great day -
John

Please see this thread:
https://groups.google.com/d/msg/lucee/oQsNq7GU9oU/Qn6Oe6ujBwAJ

Igal Sapir
Lucee Core Developer
Lucee.org http://lucee.org/On 1/28/2016 10:31 AM, John Egbert wrote:

Hi guys -
I’m also evaluating Lucee…I attempted to utilize it about a year
ago, but I had a bunch of conflicts with IIS where I could establish a
binding in IIS, and it worked fine…but the second I had to revise
that binding, Lucee would ignore the IIS binding and the bindings
wouldn’t find the correct site etc.

So based on what I’m reading here, is the objective to manage the
incoming bindings/sites via the lucee administrator when using IIS and
have IIS merely catch all incoming traffic to point to the root of Lucee?

For instance, if I have three different IIS sites with different
domains and subdomains, abcde.com pointing to C:\Sites\site1 ,
something.abcde.com pointing to C:\inetpub\wwwroot\Site2 and def.com
pointing to W:\ExternalSites\Site3 , what is the best practice for
handling this? Am I to continue to handle those mappings in IIS and,
if so, how does Lucee track those mapping and folder updates (as it
didn’t the last time I tried it and eventually gave up for the time
being).

Thanks for the thoughts, and the featureset. Love CFML, dislike the
CF11 pricepoint :slight_smile: (probably like everyone reading this right now).
Have a great day -
John

Love Lucee? Become a supporter and be part of the Lucee project today!


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
mailto:lucee+unsubscribe@googlegroups.com.
To post to this group, send email to lucee@googlegroups.com
mailto:lucee@googlegroups.com.
To view this discussion on the web visit
https://groups.google.com/d/msgid/lucee/cf2878f7-f6fa-4e19-aa2e-fb8b40416444%40googlegroups.com
https://groups.google.com/d/msgid/lucee/cf2878f7-f6fa-4e19-aa2e-fb8b40416444%40googlegroups.com?utm_medium=email&utm_source=footer.
For more options, visit https://groups.google.com/d/optout.

Hi John,

One of the things you’ll notice about open-source projects is that the extra freedom gives you the ability to implement all kinds of different solutions. Notice how Igal prefers to install everything manually, Nando prefers NGINX over other web servers, and there are many other professionals here with their own preferences. That’s the awesomeness of open source.

What I, personally, recommend to folks coming from a web-development background is to start with the Lucee Installer. The Lucee installer provides a complete stack in an easy-to-implement and standardized format. Using the installer you can get up and running quickly with a production-ready environment, while allowing yourself time to learn the various ‘gears’ of the Lucee ‘machine’. The Lucee installer implements the excellent BonCode Connector to connect IIS to Lucee in a very similar way that Adobe ColdFusion does. The Lucee Installer also installs and configures mod_cfml as part of it’s default stack, so with the exception of a few less-standard configs (like virtual directories), Tomcat contexts are configured automatically and you don’t have to worry about doing it yourself by editing the Tomcat server.xml file.

I don’t have the slightest how something like that would be accomplished.

Again, the Lucee installer is probably going to be the easiest way to get up and running right away. It will give you a working system on a platform you’re most familiar with. From there, you can experiment with that working system (by replacing IIS with NGINX, or whatever) and get comfortable changing out the ‘gears’ that make up the Lucee ‘machine’.

would the best approach be to forego IIS and just handle everything in Tomcat?

It is possible to run everything through Tomcat’s built-in web server (Coyote), but things like SSL will be quite different than what you’re used to and thus, take more time and increase the learning curve. Like most folks, I recommend using a standard web server for the front-end since it will lower the learning curve and offers good flexibility for future projects.

Does Lucee’s admin portal (the multiple site or contexts I guess) with the different settings for each align directly with the server.xml file?

Lucee’s admin areas and the Tomcat server.xml file are very different. The server.xml file can be used to define different contexts within Tomcat. There are other ways to define contexts as well, including directly in memory (what mod_cfml does) or in a context-specific config.

Once those contexts exist, THEN Lucee gets involved. Lucee can be installed as a WAR right into a specific context, but WAR deployments are mostly used in Enterprise J2EE containers like IBM Websphere or Glassfish or JBoss. Most of us “common folk” just use Tomcat or Jetty, which are smaller and more popular so they are easier to find documentation and help with.

The most common install method for Lucee is to install it as what’s called in the Tomcat world as a “Common Class”. Common Classes are Java files that are applied to all contexts within a specific instance of Tomcat. The Lucee installers use the “Common Class” method, and so each context that’s created within Tomcat has Lucee available to it. When a new context is introduced, Lucee sees the new context and configures a site-administrator specifically for that context. In this way, you can have Lucee configurations that are applied server-wide and configurations that only apply to a specific site (context).

is this the best way?

It’s the simplest way. Until you earn your stripes, I’d stick with that for now. :wink:

Or do I need to keep IIS in the mix?

Entirely up to you. Lots and lots of folks use IIS and Lucee together with great effect and have no need to learn anything more. Where you take your systems is entirely up to you. That’s the beauty and freedom of open source.

Let us know if there’s anything else we can do to help!–
Kind regards,
Jordan Michaels
Vivio Technologies

----- Original Message -----
From: “John Egbert” <@John_Egbert>
To: lucee@googlegroups.com
Sent: Thursday, January 28, 2016 1:24:05 PM
Subject: RE: [Lucee] Lucee Admin Panel like CFadmin

Fascinating Jordan, thanks for the insight. Quite helpful…although to be honest, I’m very unfamiliar with anything outside of IIS. Actually, I think the messages were split, Igal moved to a secondary topic as well…but mentioned that you might want to use IIS or Apache to do the static serving for sake of speed (I’m unfamiliar with metrics around this…I’ve been using traditional CF since CF4…and frankly never ventured from IIS and Adobe (or Macromedia etc) so I’m really unfamiliar with the “web server world” outside of that…I’ve focused more on the application side). He also mentioned forwarding the requests from IIS for the dynamic content while serving the static content, but I don’t have the slightest how something like that would be accomplished.

Ultimately, it sounds like it’s probably plausible to run Tomcat exclusively to serve all port 80 and 443 traffic, almost all of the static data not inline with coldfusion is served via s3 anyway. If this is the case, with Lucee, would the best approach be to forego IIS and just handle everything in Tomcat? Does Lucee’s admin portal (the multiple site or contexts I guess) with the different settings for each align directly with the server.xml file? Or is that linked up together?

I guess…utilizing Lucee for a production environment where multiple domains etc have to be served on the same box (for reasons of great complexity :slight_smile: ), is this the best way? Or do I need to keep IIS in the mix?

Thanks for the expertise Jordan. Like I said, definitely a mind shift for me so I’m trying to wrap my brain around new concepts. Lucee is definitely a fascinating project/solution!
John

John Egbert | @John_Egbert

-----Original Message-----
From: lucee@googlegroups.com [mailto:lucee@googlegroups.com] On Behalf Of Jordan Michaels
Sent: Thursday, January 28, 2016 1:23 PM
To: lucee@googlegroups.com
Subject: Re: [Lucee] Lucee Admin Panel like CFadmin

Hi John,

Lucee in and of itself doesn’t track folders or mappings that you have in IIS. Lucee runs on top of a J2EE servlet container and J2EE containers have different mechanisms then web servers. For example, the most similar concept of a “website” in IIS would be a J2EE ‘context’. J2EE contexts are NOT identical to IIS websites, but they are similar. If you used the Lucee installer, then the J2EE servelet container you used would have been Tomcat - which is the same J2EE container Adobe uses in CF10 and CF11.

Tomcat has several configuration options that you can use to track context (website) root directories, but the most common is probably modifying the Tomcat server.xml file, located by default (if you used the Lucee installer) in C:\lucee\tomcat\conf\server.xml. So, your process for setting up sites would be to configure IIS, then configure Tomcat using the server.xml file to basically tell Tomcat the same thing you told IIS. Yes, you’ll need to configure your sites twice. The reason you don’t have to configure your site configurations twice in Adobe CF is because Adobe breaks away from the J2EE specification a bit and customizes how their IIS connector interfaces with Tomcat. Adobe uses a single J2EE context, and handles directory mapping internally within that single J2EE context. Lucee is a bit different in this regard, and attempts to stay within the J2EE specification and keep each site config within its own J2EE context. This is more in line with the Java world, rather than the IIS world.

Still, there are efforts that have made configuring your sites both in IIS and Tomcat easier. For example, the mod_cfml project exists to help automate the process of duplicating your IIS configs to your Tomcat context configs. You can read more about that effort over at http://modcfml.org/. The mod_cfml adapter can also be installed as an option if you use the Lucee installer. Mod_cfml is not without it’s limitations, however. It currently doesn’t support virtual directories. So you’ll have to duplicate your IIS Virtual Directories using Lucee mappings. Still, it can help a lot and save you time - especially if you manage a large number of sites.

Let us know if there’s more we can do to help.


Kind regards,
Jordan Michaels
Vivio Technologies

----- Original Message -----
From: “John Egbert” <@John_Egbert>
To: “Lucee” lucee@googlegroups.com
Sent: Thursday, January 28, 2016 10:31:08 AM
Subject: Re: [Lucee] Lucee Admin Panel like CFadmin

Hi guys -
I’m also evaluating Lucee…I attempted to utilize it about a year ago, but I had a bunch of conflicts with IIS where I could establish a binding in IIS, and it worked fine…but the second I had to revise that binding, Lucee would ignore the IIS binding and the bindings wouldn’t find the correct site etc.

So based on what I’m reading here, is the objective to manage the incoming bindings/sites via the lucee administrator when using IIS and have IIS merely catch all incoming traffic to point to the root of Lucee?

For instance, if I have three different IIS sites with different domains and subdomains, abcde.com pointing to C:\Sites\site1 , something.abcde.com pointing to C:\inetpub\wwwroot\Site2 and def.com pointing to
W:\ExternalSites\Site3 , what is the best practice for handling this? Am I to continue to handle those mappings in IIS and, if so, how does Lucee track those mapping and folder updates (as it didn’t the last time I tried it and eventually gave up for the time being).

Thanks for the thoughts, and the featureset. Love CFML, dislike the CF11 pricepoint :slight_smile: (probably like everyone reading this right now). Have a great day - John


Love Lucee? Become a supporter and be part of the Lucee project today! - http://lucee.org/supporters/become-a-supporter.html

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/cf2878f7-f6fa-4e19-aa2e-fb8b40416444%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Love Lucee? Become a supporter and be part of the Lucee project today! - http://lucee.org/supporters/become-a-supporter.html

You received this message because you are subscribed to a topic in the Google Groups “Lucee” group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/lucee/oQsNq7GU9oU/unsubscribe.
To unsubscribe from this group and all its topics, 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/2007301118.47548.1454012578395.JavaMail.zimbra%40viviotech.net.
For more options, visit https://groups.google.com/d/optout.


Love Lucee? Become a supporter and be part of the Lucee project today! - http://lucee.org/supporters/become-a-supporter.html

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/CY1PR17MB0204E422BF9A1BB4F06D9D43EFDA0%40CY1PR17MB0204.namprd17.prod.outlook.com.
For more options, visit https://groups.google.com/d/optout.