Can't find configuration template named 'coldFusion'

I’m trying to get a cfc working with lucee - I’m copying the code
from http://help.adobe.com/en_US/ColdFusion/9.0/Developing/WSc3ff6d0ea77859461172e0811cbec0ac4a-7fd9.html

  • Invoking component methods by using a form.

This is what I get…

Message Can’t find configuration template named ‘coldFusion’

Stacktrace The Error Occurred in
/Users/Tony/Desktop/Lucee5 -
Polymer/webapps/ROOT/coldfusion-ajax/components/corpQuery.cfc: line 10

8: FROM profile
9: WHERE Name = ‘#arguments.lastName#’
10:
11: Results filtered by #arguments.lastName#:

12:

Searching the web gives me a potential sandbox error but this is running
from Lucee 5 Stable Express…

I am not using any template called coldFusion. I’ve been using the server
with no problems but this is the first time with cfc…

Any thoughts?

You have to show more of your code. Also, invoking CFC’s like that feels
dirty to me.

Anyone else?

Mark Drew

develop • deploy • deliver
http://cmdhq.ioOn 21 July 2016 at 15:31:09, @tony (@tony) wrote:

I’m trying to get a cfc working with lucee - I’m copying the code from
http://help.adobe.com/en_US/ColdFusion/9.0/Developing/WSc3ff6d0ea77859461172e0811cbec0ac4a-7fd9.html

  • Invoking component methods by using a form.

This is what I get…

Message Can’t find configuration template named ‘coldFusion’

Stacktrace The Error Occurred in
/Users/Tony/Desktop/Lucee5 -
Polymer/webapps/ROOT/coldfusion-ajax/components/corpQuery.cfc: line 10

8: FROM profile
9: WHERE Name = ‘#arguments.lastName#’
10:
11: Results filtered by #arguments.lastName#:

12:

Searching the web gives me a potential sandbox error but this is running
from Lucee 5 Stable Express…

I am not using any template called coldFusion. I’ve been using the server
with no problems but this is the first time with cfc…

Any thoughts?

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

You received this message because you are subscribed to the Google Groups
“Lucee” group.
To unsubscribe from this group and stop receiving emails from it, send an
email to lucee+unsubscribe@googlegroups.com.
To post to this group, send email to lucee@googlegroups.com.
To view this discussion on the web visit
https://groups.google.com/d/msgid/lucee/df4a7309-c619-4979-8c75-e60b8d08e09c%40googlegroups.com
https://groups.google.com/d/msgid/lucee/df4a7309-c619-4979-8c75-e60b8d08e09c%40googlegroups.com?utm_medium=email&utm_source=footer
.
For more options, visit https://groups.google.com/d/optout.

I have investigated Taffy and got it working…

My colleague has been working on pub/sub and remote rpc over websockets -
He is using Crossbar / Autobahn as the server.

https://gareth.bult.co.uk/2016/06/30/rise-of-the-machines/

https://i.needacandidate.today

He uses Python and javascript out front.

My ideal at the moment would be Lucee with Polymer as the web component
front end. Do you know where Lucee is with regards to websockets?

I haven’t looked at it in a while but there was an extension by Andrea
Campalongi for Railo so it would need to be ported to Lucee 5

There is also this thread that might help?
https://groups.google.com/forum/#!topic/lucee/_9SmGV4e1qA

Basically it becomes an event gateway that calls stuff and that you can
push to.

Personally I like Meteor for the realtime stuff with React (which I am just
getting into Meteor )

HTH

Mark Drew

develop • deploy • deliver
http://cmdhq.ioOn 21 July 2016 at 16:27:20, @tony (@tony) wrote:

I have investigated Taffy and got it working…

My colleague has been working on pub/sub and remote rpc over websockets -
He is using Crossbar / Autobahn as the server.

https://gareth.bult.co.uk/2016/06/30/rise-of-the-machines/

https://i.needacandidate.today

He uses Python and javascript out front.

My ideal at the moment would be Lucee with Polymer as the web component
front end. Do you know where Lucee is with regards to websockets?

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

You received this message because you are subscribed to the Google Groups
“Lucee” group.
To unsubscribe from this group and stop receiving emails from it, send an
email to lucee+unsubscribe@googlegroups.com.
To post to this group, send email to lucee@googlegroups.com.
To view this discussion on the web visit
https://groups.google.com/d/msgid/lucee/ea2cc6c1-f491-4cc1-9a08-453b707d540b%40googlegroups.com
https://groups.google.com/d/msgid/lucee/ea2cc6c1-f491-4cc1-9a08-453b707d540b%40googlegroups.com?utm_medium=email&utm_source=footer
.
For more options, visit https://groups.google.com/d/optout.

I think frameworks are on their way out - Why bother when you can use the
native DOM as the framework?

I think we will go via websockets but in the meantime it would be nice to
hook up our Lucee code with a proper web front end.

Its possible to block calls using

In the meantime this should work though, shouldn’t it?

Oh dear. :slight_smile: Glad you solved it.

Mark Drew

develop • deploy • deliver
http://cmdhq.ioOn 21 July 2016 at 16:04:54, @tony (@tony) wrote:

I think I have found the error - The server was being killed by my app.

I tested it using another app.

Thanks for your help…

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

You received this message because you are subscribed to the Google Groups
“Lucee” group.
To unsubscribe from this group and stop receiving emails from it, send an
email to lucee+unsubscribe@googlegroups.com.
To post to this group, send email to lucee@googlegroups.com.
To view this discussion on the web visit
https://groups.google.com/d/msgid/lucee/d2d82523-4366-4f24-bbe9-be1c79ffa942%40googlegroups.com
https://groups.google.com/d/msgid/lucee/d2d82523-4366-4f24-bbe9-be1c79ffa942%40googlegroups.com?utm_medium=email&utm_source=footer
.
For more options, visit https://groups.google.com/d/optout.

Hi Mark

There are only two files - everything else is standard. I tried both in the
ROOT directory and in my sub directory

cfc…

SELECT * FROM profile WHERE Name = '#arguments.lastName#' Results filtered by #arguments.lastName#:

cfm

Title

Find People

Enter Company Name:


I’m connecting web components to Lucee and this seems the best way to do it… Would you suggest another way?On Thursday, 21 July 2016 16:39:44 UTC+2, Mark Drew wrote:

You have to show more of your code. Also, invoking CFC’s like that feels
dirty to me.

Anyone else?

Mark Drew

develop • deploy • deliver
http://cmdhq.io

On 21 July 2016 at 15:31:09, to…@3lll.asia <javascript:> ( to…@3lll.asia <javascript:>) wrote:

I’m trying to get a cfc working with lucee - I’m copying the code from
http://help.adobe.com/en_US/ColdFusion/9.0/Developing/WSc3ff6d0ea77859461172e0811cbec0ac4a-7fd9.html

  • Invoking component methods by using a form.

This is what I get…

Message Can’t find configuration template named ‘coldFusion’

Stacktrace The Error Occurred in
/Users/Tony/Desktop/Lucee5 -
Polymer/webapps/ROOT/coldfusion-ajax/components/corpQuery.cfc: line 10

8: FROM profile
9: WHERE Name = ‘#arguments.lastName#’
10:
11: Results filtered by #arguments.lastName#:

12:

Searching the web gives me a potential sandbox error but this is running
from Lucee 5 Stable Express…

I am not using any template called coldFusion. I’ve been using the server
with no problems but this is the first time with cfc…

Any thoughts?

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

You received this message because you are subscribed to the Google Groups
“Lucee” group.
To unsubscribe from this group and stop receiving emails from it, send an
email to lucee+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/df4a7309-c619-4979-8c75-e60b8d08e09c%40googlegroups.com
https://groups.google.com/d/msgid/lucee/df4a7309-c619-4979-8c75-e60b8d08e09c%40googlegroups.com?utm_medium=email&utm_source=footer
.
For more options, visit https://groups.google.com/d/optout.

I think on the server side they are not. a framework is not for MVC only,
so for example Taffy is just for REST, so it’s a rest framework so you can
have clean endpoints and documentation rather than a bunch of CFCs

As your application gets more complex you will get code that relies on
other bits of code (on the server side), such as validating inputs and
other processes.

With regards to the security article, not sure, I don’t have time to read
it at the moment unfortunately :frowning:

WebSockets would totally be the way to go.

Again, Frameworks such as FW/1 and DW/1 are not only for making Lucee
display front end stuff.

eg:
http://framework-one.github.io/documentation/4.0/developing-applications.html#controllers-for-rest-apis

Regards

Mark Drew

develop • deploy • deliver
http://cmdhq.ioOn 21 July 2016 at 15:59:49, @tony (@tony) wrote:

I think frameworks are on their way out - Why bother when you can use the
native DOM as the framework?

I think we will go via websockets but in the meantime it would be nice to
hook up our Lucee code with a proper web front end.

Its possible to block calls using -
http://www.adobe.com/devnet/coldfusion/articles/ajax_security.html

In the meantime this should work though, shouldn’t it?

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

You received this message because you are subscribed to the Google Groups
“Lucee” group.
To unsubscribe from this group and stop receiving emails from it, send an
email to lucee+unsubscribe@googlegroups.com.
To post to this group, send email to lucee@googlegroups.com.
To view this discussion on the web visit
https://groups.google.com/d/msgid/lucee/ef2b84bd-e4bb-4fdb-b7ad-77a5e0b974ee%40googlegroups.com
https://groups.google.com/d/msgid/lucee/ef2b84bd-e4bb-4fdb-b7ad-77a5e0b974ee%40googlegroups.com?utm_medium=email&utm_source=footer
.
For more options, visit https://groups.google.com/d/optout.

I think I have found the error - The server was being killed by my app.

I tested it using another app.

Thanks for your help…

Since my CFC’s contain so much functionality I usually use a framework and
block all calls to .cfc anyway (so they are not web accessible)

For example Taffy (for REST)

Anyway, that looks very odd, can do you a screen shot of the error. I think
this might be something unrelated, like the error template or something?

Mark Drew

develop • deploy • deliver

Hi Mark

There are only two files - everything else is standard. I tried both in the
ROOT directory and in my sub directory

cfc…

SELECT * FROM profile WHERE Name = '#arguments.lastName#' Results filtered by #arguments.lastName#:

cfm

Title

Find People

Enter Company Name:


I’m connecting web components to Lucee and this seems the best way to
do it… Would you suggest another way?On 21 July 2016 at 15:50:57, @tony (@tony) wrote:

On Thursday, 21 July 2016 16:39:44 UTC+2, Mark Drew wrote:

You have to show more of your code. Also, invoking CFC’s like that feels
dirty to me.

Anyone else?

Mark Drew

develop • deploy • deliver
http://cmdhq.io

On 21 July 2016 at 15:31:09, to…@3lll.asia <javascript:> ( to…@3lll.asia <javascript:>) wrote:

I’m trying to get a cfc working with lucee - I’m copying the code from
http://help.adobe.com/en_US/ColdFusion/9.0/Developing/WSc3ff6d0ea77859461172e0811cbec0ac4a-7fd9.html

  • Invoking component methods by using a form.

This is what I get…

Message Can’t find configuration template named ‘coldFusion’

Stacktrace The Error Occurred in
/Users/Tony/Desktop/Lucee5 -
Polymer/webapps/ROOT/coldfusion-ajax/components/corpQuery.cfc: line 10

8: FROM profile
9: WHERE Name = ‘#arguments.lastName#’
10:
11: Results filtered by #arguments.lastName#:

12:

Searching the web gives me a potential sandbox error but this is running
from Lucee 5 Stable Express…

I am not using any template called coldFusion. I’ve been using the server
with no problems but this is the first time with cfc…

Any thoughts?

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

You received this message because you are subscribed to the Google Groups
“Lucee” group.
To unsubscribe from this group and stop receiving emails from it, send an
email to lucee+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/df4a7309-c619-4979-8c75-e60b8d08e09c%40googlegroups.com
https://groups.google.com/d/msgid/lucee/df4a7309-c619-4979-8c75-e60b8d08e09c%40googlegroups.com?utm_medium=email&utm_source=footer
.
For more options, visit https://groups.google.com/d/optout.


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


You received this message because you are subscribed to the Google Groups
“Lucee” group.
To unsubscribe from this group and stop receiving emails from it, send an
email to lucee+unsubscribe@googlegroups.com.
To post to this group, send email to lucee@googlegroups.com.
To view this discussion on the web visit
https://groups.google.com/d/msgid/lucee/a4adf590-9c9e-413b-8a1c-d1c0c5290581%40googlegroups.com
https://groups.google.com/d/msgid/lucee/a4adf590-9c9e-413b-8a1c-d1c0c5290581%40googlegroups.com?utm_medium=email&utm_source=footer
.
For more options, visit https://groups.google.com/d/optout.