Configuration problem with latest CB on Windows 2003 CF9 machine

Configuration problem with latest CB on Windows 2003 CF9 machine

Hi guys, I’ve just copied my projects I’ve created in last few days with DevBox and ColdBox to our dev server which is Windows Server 2003, running CF9 on IIS and I get this error.

Could not find the ColdFusion component or interface coldbox.system.plugins.messageBox.

Coldbox is in webroot dir named coldbox and my test projects are in coldbox test directory (image attached).

Can you please help?

Thanks

Screen Shot 2013-07-23 at 9.06.44 AM.png

Stack trace please. Also, did you confirm that file exists in that location?

Thanks!

~Brad

ColdBox Platform Evangelist
Ortus Solutions, Corp

E-mail: brad@coldbox.org
ColdBox Platform: http://www.coldbox.org
Blog: http://www.codersrevolution.com

Hi Brad, yes file exists at the plugin location
here is the Stack Trace

Stack Trace:



<br>coldfusion.runtime.CfJspPage$NoSuchTemplateException: Could not find the ColdFusion component or interface coldbox.system.plugins.messageBox.<br> at coldfusion.runtime.TemplateProxyFactory.getResolvedFile(TemplateProxyFactory.java:1315)<br> at coldfusion.runtime.TemplateProxyFactory.getTemplateFileHelper(TemplateProxyFactory.java:1530)<br> at coldfusion.runtime.MetadataUtils.getComponentMetadata(MetadataUtils.java:112)<br> at coldfusion.runtime.CfJspPage.GetComponentMetaData(CfJspPage.java:2667)<br> at cfUtil2ecfc1988720129$funcGETINHERITEDMETADATA.runFunction(/content/nowtoronto/htdocs/coldbox/system/core/util/Util.cfc:305)<br> at coldfusion.runtime.UDFMethod.invoke(UDFMethod.java:472)<br> at coldfusion.filter.SilentFilter.invoke(SilentFilter.java:47)<br> at coldfusion.runtime.UDFMethod$ArgumentCollectionFilter.invoke(UDFMethod.java:368)<br> at coldfusion.filter.FunctionAccessFilter.invoke(FunctionAccessFilter.java:55)<br> at coldfusion.runtime.UDFMethod.runFilterChain(UDFMethod.java:321)<br> at coldfusion.runtime.UDFMethod.invoke(UDFMethod.java:220)<br> at coldfusion.runtime.TemplateProxy.invoke(TemplateProxy.java:491)<br> at coldfusion.runtime.TemplateProxy.invoke(TemplateProxy.java:337)<br> at coldfusion.runtime.CfJspPage._invoke(CfJspPage.java:2360)<br> at cfMapping2ecfc225772597$funcPROCESS.runFunction(/content/nowtoronto/htdocs/coldbox/system/ioc/config/Mapping.cfc:578)<br> at coldfusion.runtime.UDFMethod.invoke(UDFMethod.java:472)<br> at coldfusion.filter.SilentFilter.invoke(SilentFilter.java:47)<br> at coldfusion.runtime.UDFMethod$ReturnTypeFilter.invoke(UDFMethod.java:405)<br> at coldfusion.runtime.UDFMethod$ArgumentCollectionFilter.invoke(UDFMethod.java:368)<br> at coldfusion.filter.FunctionAccessFilter.invoke(FunctionAccessFilter.java:55)<br> at coldfusion.runtime.UDFMethod.runFilterChain(UDFMethod.java:321)<br> at coldfusion.runtime.UDFMethod.invoke(UDFMethod.java:517)<br> at coldfusion.runtime.TemplateProxy.invoke(TemplateProxy.java:496)<br> at coldfusion.runtime.TemplateProxy.invoke(TemplateProxy.java:355)<br> at coldfusion.runtime.CfJspPage._invoke(CfJspPage.java:2301)<br> at cfInjector2ecfc990177478$funcGETINSTANCE.runFunction(/content/nowtoronto/htdocs/coldbox/system/ioc/Injector.cfc:249)<br> at coldfusion.runtime.UDFMethod.invoke(UDFMethod.java:472)<br> at coldfusion.filter.SilentFilter.invoke(SilentFilter.java:47)<br> at coldfusion.runtime.UDFMethod$ReturnTypeFilter.invoke(UDFMethod.java:405)<br> at coldfusion.runtime.UDFMethod$ArgumentCollectionFilter.invoke(UDFMethod.java:368)<br> at coldfusion.filter.FunctionAccessFilter.invoke(FunctionAccessFilter.java:55)<br> at coldfusion.runtime.UDFMethod.runFilterChain(UDFMethod.java:321)<br> at coldfusion.runtime.UDFMethod.invoke(UDFMethod.java:220)<br> at coldfusion.runtime.TemplateProxy.invoke(TemplateProxy.java:491)<br> at coldfusion.runtime.TemplateProxy.invoke(TemplateProxy.java:337)<br> at coldfusion.runtime.CfJspPage._invoke(CfJspPage.java:2360)<br> at cfPluginService2ecfc1192024684$funcNEW.runFunction(/content/nowtoronto/htdocs/coldbox/system/web/services/PluginService.cfc:137)<br> at coldfusion.runtime.UDFMethod.invoke(UDFMethod.java:472)<br> at coldfusion.filter.SilentFilter.invoke(SilentFilter.java:47)<br> at coldfusion.runtime.UDFMethod$ReturnTypeFilter.invoke(UDFMethod.java:405)<br> at coldfusion.runtime.UDFMethod$ArgumentCollectionFilter.invoke(UDFMethod.java:368)<br> at coldfusion.filter.FunctionAccessFilter.invoke(FunctionAccessFilter.java:55)<br> at coldfusion.runtime.UDFMethod.runFilterChain(UDFMethod.java:321)<br> at coldfusion.runtime.UDFMethod.invoke(UDFMethod.java:517)<br> at coldfusion.runtime.CfJspPage._invokeUDF(CfJspPage.java:2547)<br> at cfPluginService2ecfc1192024684$funcGET.runFunction(/content/nowtoronto/htdocs/coldbox/system/web/services/PluginService.cfc:153)<br> at coldfusion.runtime.UDFMethod.invoke(UDFMethod.java:472)<br> at coldfusion.filter.SilentFilter.invoke(SilentFilter.java:47)<br> at coldfusion.runtime.UDFMethod$ReturnTypeFilter.invoke(UDFMethod.java:405)<br> at coldfusion.runtime.UDFMethod$ArgumentCollectionFilter.invoke(UDFMethod.java:368)<br> at coldfusion.filter.FunctionAccessFilter.invoke(FunctionAccessFilter.java:55)<br> at coldfusion.runtime.UDFMethod.runFilterChain(UDFMethod.java:321)<br> at coldfusion.runtime.UDFMethod.invoke(UDFMethod.java:220)<br> at coldfusion.runtime.TemplateProxy.invoke(TemplateProxy.java:491)<br> at coldfusion.runtime.TemplateProxy.invoke(TemplateProxy.java:337)<br> at coldfusion.runtime.CfJspPage._invoke(CfJspPage.java:2360)<br> at cfController2ecfc1448105177$funcGETPLUGIN.runFunction(/content/nowtoronto/htdocs/coldbox/system/web/Controller.cfc:371)<br> at coldfusion.runtime.UDFMethod.invoke(UDFMethod.java:472)<br> at coldfusion.filter.SilentFilter.invoke(SilentFilter.java:47)<br> at coldfusion.runtime.UDFMethod$ReturnTypeFilter.invoke(UDFMethod.java:405)<br> at coldfusion.runtime.UDFMethod$ArgumentCollectionFilter.invoke(UDFMethod.java:368)<br> at coldfusion.filter.FunctionAccessFilter.invoke(FunctionAccessFilter.java:55)<br> at coldfusion.runtime.UDFMethod.runFilterChain(UDFMethod.java:321)<br> at coldfusion.runtime.UDFMethod.invoke(UDFMethod.java:517)<br> at coldfusion.runtime.TemplateProxy.invoke(TemplateProxy.java:496)<br> at coldfusion.runtime.TemplateProxy.invoke(TemplateProxy.java:355)<br> at coldfusion.runtime.CfJspPage._invoke(CfJspPage.java:2301)<br> at cfFrameworkSupertype2ecfc2002900217$funcGETPLUGIN.runFunction(/content/nowtoronto/htdocs/coldbox/system/FrameworkSupertype.cfc:207)<br> at coldfusion.runtime.UDFMethod.invoke(UDFMethod.java:472)<br> at coldfusion.filter.SilentFilter.invoke(SilentFilter.java:47)<br> at coldfusion.runtime.UDFMethod$ReturnTypeFilter.invoke(UDFMethod.java:405)<br> at coldfusion.runtime.UDFMethod$ArgumentCollectionFilter.invoke(UDFMethod.java:368)<br> at coldfusion.filter.FunctionAccessFilter.invoke(FunctionAccessFilter.java:55)<br> at coldfusion.runtime.UDFMethod.runFilterChain(UDFMethod.java:321)<br> at coldfusion.runtime.UDFMethod.invoke(UDFMethod.java:220)<br> at coldfusion.runtime.CfJspPage._invokeUDF(CfJspPage.java:2582)<br> at cfindex2ecfm1682291370.runPage(/content/nowtoronto/htdocs/coldboxtest/dejan/views/contacts/index.cfm:14)<br> at coldfusion.runtime.CfJspPage.invoke(CfJspPage.java:231)<br> at coldfusion.tagext.lang.IncludeTag.doStartTag(IncludeTag.java:416)<br> at coldfusion.runtime.CfJspPage._emptyTcfTag(CfJspPage.java:2722)<br> at cfRenderer2ecfc1973265586$funcRENDERVIEWCOMPOSITE.runFunction(/content/nowtoronto/htdocs/coldbox/system/plugins/Renderer.cfc:338)<br> at coldfusion.runtime.UDFMethod.invoke(UDFMethod.java:472)<br> at coldfusion.filter.SilentFilter.invoke(SilentFilter.java:47)<br> at coldfusion.runtime.UDFMethod$ReturnTypeFilter.invoke(UDFMethod.java:405)<br> at coldfusion.runtime.UDFMethod$ArgumentCollectionFilter.invoke(UDFMethod.java:368)<br> at coldfusion.filter.FunctionAccessFilter.invoke(FunctionAccessFilter.java:55)<br> at coldfusion.runtime.UDFMethod.runFilterChain(UDFMethod.java:321)<br> at coldfusion.runtime.UDFMethod.invoke(UDFMethod.java:220)<br> at coldfusion.runtime.CfJspPage._invokeUDF(CfJspPage.java:2582)<br> at cfRenderer2ecfc1973265586$funcRENDERVIEW.runFunction(/content/nowtoronto/htdocs/coldbox/system/plugins/Renderer.cfc:183)<br> at coldfusion.runtime.UDFMethod.invoke(UDFMethod.java:472)<br> at coldfusion.filter.SilentFilter.invoke(SilentFilter.java:47)<br> at coldfusion.runtime.UDFMethod$ReturnTypeFilter.invoke(UDFMethod.java:405)<br> at coldfusion.runtime.UDFMethod$ArgumentCollectionFilter.invoke(UDFMethod.java:368)<br> at coldfusion.filter.FunctionAccessFilter.invoke(FunctionAccessFilter.java:55)<br> at coldfusion.runtime.UDFMethod.runFilterChain(UDFMethod.java:321)<br> at coldfusion.runtime.UDFMethod.invoke(UDFMethod.java:220)<br> at coldfusion.runtime.CfJspPage._invokeUDF(CfJspPage.java:2582)<br> at cfMain2ecfm1824232813.runPage(/content/nowtoronto/htdocs/coldboxtest/dejan/layouts/Main.cfm:75)<br> at coldfusion.runtime.CfJspPage.invoke(CfJspPage.java:231)<br> at coldfusion.tagext.lang.IncludeTag.doStartTag(IncludeTag.java:416)<br> at coldfusion.runtime.CfJspPage._emptyTcfTag(CfJspPage.java:2722)<br> at cfRenderer2ecfc1973265586$funcRENDERVIEWCOMPOSITE.runFunction(/content/nowtoronto/htdocs/coldbox/system/plugins/Renderer.cfc:338)<br> at coldfusion.runtime.UDFMethod.invoke(UDFMethod.java:472)<br> at coldfusion.filter.SilentFilter.invoke(SilentFilter.java:47)<br> at coldfusion.runtime.UDFMethod$ReturnTypeFilter.invoke(UDFMethod.java:405)<br> at coldfusion.runtime.UDFMethod$ArgumentCollectionFilter.invoke(UDFMethod.java:368)<br> at coldfusion.filter.FunctionAccessFilter.invoke(FunctionAccessFilter.java:55)<br> at coldfusion.runtime.UDFMethod.runFilterChain(UDFMethod.java:321)<br> at coldfusion.runtime.UDFMethod.invoke(UDFMethod.java:220)<br> at coldfusion.runtime.CfJspPage._invokeUDF(CfJspPage.java:2582)<br> at cfRenderer2ecfc1973265586$funcRENDERLAYOUT.runFunction(/content/nowtoronto/htdocs/coldbox/system/plugins/Renderer.cfc:475)<br> at coldfusion.runtime.UDFMethod.invoke(UDFMethod.java:472)<br> at coldfusion.filter.SilentFilter.invoke(SilentFilter.java:47)<br> at coldfusion.runtime.UDFMethod$ReturnTypeFilter.invoke(UDFMethod.java:405)<br> at coldfusion.runtime.UDFMethod$ArgumentCollectionFilter.invoke(UDFMethod.java:368)<br> at coldfusion.filter.FunctionAccessFilter.invoke(FunctionAccessFilter.java:55)<br> at coldfusion.runtime.UDFMethod.runFilterChain(UDFMethod.java:321)<br> at coldfusion.runtime.UDFMethod.invoke(UDFMethod.java:517)<br> at coldfusion.runtime.TemplateProxy.invoke(TemplateProxy.java:496)<br> at coldfusion.runtime.TemplateProxy.invoke(TemplateProxy.java:355)<br> at coldfusion.runtime.CfJspPage._invoke(CfJspPage.java:2301)<br> at cfColdbox2ecfc866593931$funcPROCESSCOLDBOXREQUEST.runFunction(/content/nowtoronto/htdocs/coldbox/system/Coldbox.cfc:256)<br> at coldfusion.runtime.UDFMethod.invoke(UDFMethod.java:472)<br> at coldfusion.runtime.UDFMethod$ReturnTypeFilter.invoke(UDFMethod.java:405)<br> at coldfusion.runtime.UDFMethod$ArgumentCollectionFilter.invoke(UDFMethod.java:368)<br> at coldfusion.filter.FunctionAccessFilter.invoke(FunctionAccessFilter.java:55)<br> at coldfusion.runtime.UDFMethod.runFilterChain(UDFMethod.java:321)<br> at coldfusion.runtime.UDFMethod.invoke(UDFMethod.java:220)<br> at coldfusion.runtime.CfJspPage._invokeUDF(CfJspPage.java:2582)<br> at cfColdbox2ecfc866593931$funcONREQUESTSTART.runFunction(/content/nowtoronto/htdocs/coldbox/system/Coldbox.cfc:382)<br> at coldfusion.runtime.UDFMethod.invoke(UDFMethod.java:472)<br> at coldfusion.runtime.UDFMethod$ReturnTypeFilter.invoke(UDFMethod.java:405)<br> at coldfusion.runtime.UDFMethod$ArgumentCollectionFilter.invoke(UDFMethod.java:368)<br> at coldfusion.filter.FunctionAccessFilter.invoke(FunctionAccessFilter.java:55)<br> at coldfusion.runtime.UDFMethod.runFilterChain(UDFMethod.java:321)<br> at coldfusion.runtime.UDFMethod.invoke(UDFMethod.java:220)<br> at coldfusion.runtime.TemplateProxy.invoke(TemplateProxy.java:491)<br> at coldfusion.runtime.TemplateProxy.invoke(TemplateProxy.java:337)<br> at coldfusion.runtime.CfJspPage._invoke(CfJspPage.java:2360)<br> at cfApplication2ecfc1657399380$funcONREQUESTSTART.runFunction(/content/nowtoronto/htdocs/coldboxtest/dejan/Application.cfc:80)<br> at coldfusion.runtime.UDFMethod.invoke(UDFMethod.java:472)<br> at coldfusion.runtime.UDFMethod$ReturnTypeFilter.invoke(UDFMethod.java:405)<br> at coldfusion.runtime.UDFMethod$ArgumentCollectionFilter.invoke(UDFMethod.java:368)<br> at coldfusion.filter.FunctionAccessFilter.invoke(FunctionAccessFilter.java:55)<br> at coldfusion.runtime.UDFMethod.runFilterChain(UDFMethod.java:321)<br> at coldfusion.runtime.UDFMethod.invoke(UDFMethod.java:220)<br> at coldfusion.runtime.TemplateProxy.invoke(TemplateProxy.java:491)<br> at coldfusion.runtime.TemplateProxy.invoke(TemplateProxy.java:337)<br> at coldfusion.runtime.AppEventInvoker.invoke(AppEventInvoker.java:88)<br> at coldfusion.runtime.AppEventInvoker.onRequestStart(AppEventInvoker.java:258)<br> at coldfusion.filter.ApplicationFilter.invoke(ApplicationFilter.java:349)<br> at coldfusion.filter.RequestMonitorFilter.invoke(RequestMonitorFilter.java:48)<br> at coldfusion.filter.MonitoringFilter.invoke(MonitoringFilter.java:40)<br> at coldfusion.filter.PathFilter.invoke(PathFilter.java:94)<br> at coldfusion.filter.ExceptionFilter.invoke(ExceptionFilter.java:70)<br> at coldfusion.filter.ClientScopePersistenceFilter.invoke(ClientScopePersistenceFilter.java:28)<br> at coldfusion.filter.BrowserFilter.invoke(BrowserFilter.java:38)<br> at coldfusion.filter.NoCacheFilter.invoke(NoCacheFilter.java:46)<br> at coldfusion.filter.GlobalsFilter.invoke(GlobalsFilter.java:38)<br> at coldfusion.filter.DatasourceFilter.invoke(DatasourceFilter.java:22)<br> at coldfusion.filter.CachingFilter.invoke(CachingFilter.java:62)<br> at coldfusion.CfmServlet.service(CfmServlet.java:200)<br> at coldfusion.bootstrap.BootstrapServlet.service(BootstrapServlet.java:89)<br> at jrun.servlet.FilterChain.doFilter(FilterChain.java:86)<br> at com.intergral.fusionreactor.filter.FusionReactorFilter.k(FusionReactorFilter.java:637)<br> at com.intergral.fusionreactor.filter.FusionReactorFilter.d(FusionReactorFilter.java:266)<br> at com.intergral.fusionreactor.filter.FusionReactorFilter.doFilter(FusionReactorFilter.java:171)<br> at jrun.servlet.FilterChain.doFilter(FilterChain.java:94)<br> at coldfusion.monitor.event.MonitoringServletFilter.doFilter(MonitoringServletFilter.java:42)<br> at coldfusion.bootstrap.BootstrapFilter.doFilter(BootstrapFilter.java:46)<br> at jrun.servlet.FilterChain.doFilter(FilterChain.java:94)<br> at jrun.servlet.FilterChain.service(FilterChain.java:101)<br> at jrun.servlet.ServletInvoker.invoke(ServletInvoker.java:106)<br> at jrun.servlet.JRunInvokerChain.invokeNext(JRunInvokerChain.java:42)<br> at jrun.servlet.JRunRequestDispatcher.invoke(JRunRequestDispatcher.java:286)<br> at jrun.servlet.ServletEngineService.dispatch(ServletEngineService.java:543)<br> at jrun.servlet.jrpp.JRunProxyService.invokeRunnable(JRunProxyService.java:203)<br> at jrunx.scheduler.ThreadPool$DownstreamMetrics.invokeRunnable(ThreadPool.java:320)<br> at jrunx.scheduler.ThreadPool$ThreadThrottle.invokeRunnable(ThreadPool.java:428)<br> at jrunx.scheduler.ThreadPool$UpstreamMetrics.invokeRunnable(ThreadPool.java:266)<br> at jrunx.scheduler.WorkerThread.run(WorkerThread.java:66)<br><br>


Thanks!

Does this line of code error for you if you just paste it in somewhere:

<cfset getComponentMetaData(“coldbox.system.plugins.messageBox”)>

What if you change the “m” to be capital like so:

<cfset getComponentMetaData(“coldbox.system.plugins.MessageBox”)>

Thanks!

~Brad

ColdBox Platform Evangelist
Ortus Solutions, Corp

E-mail: brad@coldbox.org
ColdBox Platform: http://www.coldbox.org
Blog: http://www.codersrevolution.com

I wonder if there could be some path issues, such as mappings pointing to other locations or perhaps virtual directories defined in IIS or linked folders in the OS?

Hi guys, I’ve just found out that this server is actually Linux box with Apache web server. I’ve assumed that all our servers are on windows … sorry my bad.

I still get the error with Brad’s first option:

//getComponentMetaData(“coldbox.system.plugins.messageBox”);
is causing this error:
Error Messages: Could not find the ColdFusion component or interface coldbox.system.plugins.messageBox.

it looks like a case sensitivity problem.

Thanks.

Always use the right case my friends. Windows folks go the cheap route sometimes and don’t care about case. Baaad practice

Luis Majano
CEO
Ortus Solutions, Corp
Toll Free/Fax: 1-888-557-8057
Direct: 909-248-3408
www.ortussolutions.com
Twitter: @lmajano, @ortussolutions

Dunno about that-- sometimes I think Window got it right :slight_smile:

The English language doesn’t hinge meaning of words on capitalization and I think it’s pedantic that an operating system does when it should be designed for ease-of-use by humans.

Thanks!

~Brad

ColdBox Platform Evangelist
Ortus Solutions, Corp

E-mail: brad@coldbox.org
ColdBox Platform: http://www.coldbox.org
Blog: http://www.codersrevolution.com

“The English language doesn’t hinge meaning of words on capitalization.”

Really?

“I’m going to help my uncle jack off a horse”.

“I’m going to help my Uncle Jack off a horse”.

I think capitalization is quite important :wink:

“The English language doesn’t hinge meaning of words on capitalization.”

Really?

“I’m going to help my uncle jack off a horse”.

“I’m going to help my Uncle Jack off a horse”.

I think capitalization is quite important :wink:

I’m posting this reply for the ColdBox noobs like me :).

After Luis’s response I checked my code again and I was calling

#getPlugin(“messageBox”).renderit(true)#

instead of #getPlugin(“MessageBox”).renderit(true)# note capital M.

I am still not sure why was that a problem as CodFusion/CodlBox should be case insensitive or that’s a “different case” on Linux machines?

Thanks.

When you are on a case-sensitive operating system, certain operations such as file system access are case sensitive on ColdFusion. getComponentMetadata() reads the specified file off the file system to parse its metadata, so it is inherently case sensitive. ColdBox takes the name of the plugin directly from how you type it in to build the path of the plugin CFC.

Thanks!

~Brad

ColdBox Platform Evangelist
Ortus Solutions, Corp

E-mail: brad@coldbox.org
ColdBox Platform: http://www.coldbox.org
Blog: http://www.codersrevolution.com