Running a ColdBox App from Web Root - FAILS

In coldbox 2.6.4 I was able to run the TransferSample samples
application successfully as http://127.0.0.1/transfersample. I
installed ColdBox 3.0 and now running it crashes: Could not find the
ColdFusion component or interface
coldbox.system.services.ExceptionService. This application was
extracted directly from the C:\inetpub\wwwroot\coldbox\samples
\applications\transfersample folder without change. This works too
after copying the transfersample folder under the cold box folder:
http://127.0.0.1/coldbox/samples/applications/TransferSample/index.cfm.
But, http://127.0.0.1/transfersample/index.cfm DOES NOT WORK, instead
resulting in the error: Could not find the ColdFusion component or
interface coldbox.system.services.ExceptionService. Is this just a
mapping problem? I am using CF 9 w/CFBuilder 1.0. PLEASE HELP.

Do you still have coldbox 2.6 in you webroot or set via a mapping? Also worth clearing component cache in cfide.

– sent by a little green robot

The problem here with going from 2.6 over to 3.0 is that some of the core of
ColdBox has changed locations, you will need to traverse the new locations
and make these changes.

Regards,
Andrew Scott
http://www.andyscott.id.au/

From: coldbox@googlegroups.com [mailto:coldbox@googlegroups.com] On
Behalf Of larry2008
Sent: Sunday, 17 April 2011 4:22 AM
To: ColdBox Platform
Subject: [coldbox:9553] Running a ColdBox App from Web Root - FAILS

In coldbox 2.6.4 I was able to run the TransferSample samples application
successfully as http://127.0.0.1/transfersample. I installed ColdBox 3.0

and

now running it crashes: Could not find the ColdFusion component or
interface coldbox.system.services.ExceptionService. This application was
extracted directly from the C:\inetpub\wwwroot\coldbox\samples
\applications\transfersample folder without change. This works too after
copying the transfersample folder under the cold box folder:
http://127.0.0.1/coldbox/samples/applications/TransferSample/index.cfm.
But, http://127.0.0.1/transfersample/index.cfm DOES NOT WORK, instead
resulting in the error: Could not find the ColdFusion component or

interface

coldbox.system.services.ExceptionService. Is this just a mapping problem?

I

Btw the new location for this

interface coldbox.system.services.ExceptionService

is now

interface coldbox.system.web.services.ExceptionService

You may get more of these type of errors as well, and they all will be
because of the location change.

Regards,
Andrew Scott
http://www.andyscott.id.au/

From: coldbox@googlegroups.com [mailto:coldbox@googlegroups.com] On
Behalf Of larry2008
Sent: Sunday, 17 April 2011 4:22 AM
To: ColdBox Platform
Subject: [coldbox:9553] Running a ColdBox App from Web Root - FAILS

In coldbox 2.6.4 I was able to run the TransferSample samples application
successfully as http://127.0.0.1/transfersample. I installed ColdBox 3.0

and

now running it crashes: Could not find the ColdFusion component or
interface coldbox.system.services.ExceptionService. This application was
extracted directly from the C:\inetpub\wwwroot\coldbox\samples
\applications\transfersample folder without change. This works too after
copying the transfersample folder under the cold box folder:
http://127.0.0.1/coldbox/samples/applications/TransferSample/index.cfm.
But, http://127.0.0.1/transfersample/index.cfm DOES NOT WORK, instead
resulting in the error: Could not find the ColdFusion component or

interface

coldbox.system.services.ExceptionService. Is this just a mapping problem?

I

There’s also a compatabilty guide if you haven’t already seen it:

http://wiki.coldbox.org/wiki/Compatibility:3.0.0.cfm

And it should be noted this is not listed there, so maybe it should.

Regards,

Andrew Scott

http://www.andyscott.id.au/

Thank you Andrew, but I still don't get it. I removed ColdBox 2.6.4
entirely by deleting the entire Coldbox directory, i.e., c:\inetpub
\wwwroot\coldbox. I downloaded the coldbox 3.0 zip file package and
extracted it to c:\inetpub\wwwroot\coldbox. Everything, including the
dashboard (2.3.0) which confirms I am running 318-GENESIS-14:14
version 3.0.0. All sample application will run successfully if below
the coldbox folder. It's only when I move an application from the
provided samples, e.g. transfersample to my webroot at the same level
as coldbox that I get the errors. I don't understand why I have to
change locations when this is a fresh install. I am not upgrading the
sample application from 2.6.4... I am executing, or trying to execute
the exact same application that is locate in c:\coldbox\samples
\applications\transfersample?

And you reinited the application?

Regards,
Andrew Scott
http://www.andyscott.id.au/

Holy S__T, http://127.0.0.1/transfersample/index.cfm?reinit=1
WORKED ... you are a genius. But why? Simple answer please. Was it
because I was previously running CB 2.6.4? And, just replacing the
folder was not enough? Thanks.

That is correct; the application is based on the premise that all the
framework (well good majority) is stored in the Application scope. So until
that gets changed it will think it is still running the old framework.

Regards,
Andrew Scott
http://www.andyscott.id.au/