Error updagading to 3.5

Hi

I am trying to upgrade to 3.5 from 3.0 and gettign the error message Error loading module routes as the module requested ‘forgebox’ is not loaded… What that message could be and How I can resolve this

Tahnk you

Is this ColdFusion? Also when you upgrade you will need to restart the ColdFusion Application, did you do this?

Yes I am using coldfusion 9 . Originally I had Autowire eanbled and it was throwing this error:# The DSL Definition {JAVACAST={null},NAME={setupVariables},ARGNAME={},DSL={Model},REQUIRED={false},SCOPE={variables},VALUE={null},REF={null}} did not produce any resulting dependency
interceptors = [
//Autowire
{class=“coldbox.system.interceptors.Autowire”,
properties={}
}}

Then I made a changed . I commented out Autowire interseptor, and enable SES
//SES
{class=“coldbox.system.interceptors.SES”,
properties={}
},

After that I start getting the followinf message

Error importing routes configuration file: Error loading module routes as the module requested ‘forgebox’ is not loaded. The loaded modules are:#

yes I did restart the CF server

After that I start getting this message

Yeah interceptors can be empty or if you require SES then

interceptors = [
//SES
{class=“coldbox.system.interceptors.SES”}
];

Is sufficient…

I am guessing that after you made this change you do not reinit the framework, also what is in your wirebox.cfc?

Can I leave Autowire enable instead of SES?

wirebox = {
enabled = true,
singletonReload = false
//binder = “config.WireBox”
};

If I put Autowire I am getting this

The DSL Definition {JAVACAST={null},NAME={setupVariables},ARGNAME={},DSL={Model},REQUIRED={false},SCOPE={variables},VALUE={null},REF={null}} did not produce any resulting dependency

The target requesting the dependency is: ‘interceptor-AppVars’

{class="shared.interceptors. AppVars ",
properties={}
},

AppVars is my another interseptor#

autowire is no longer in Coldbox 3.1+

is that wirebox.cfc?

Look in your routes.cfm and remove any addModuleRoutes() methods that could be left over there.

Luis Majano
CEO
Ortus Solutions, Corp
www.ortussolutions.com

ColdBox Platform: http://www.coldbox.org
Linked In: http://www.linkedin.com/pub/3/731/483
Social: twitter.com/ortussolutions | twitter.com/coldbox | twitter.com/lmajano

Check your routes file for addModuleRoutes()

Curt

Never mind, Luis beat me to it.

Yes this is wirebox.cfc

it still complains about DSL# The DSL Definition {JAVACAST={null},NAME={setupVariables},ARGNAME={},DSL={Model},REQUIRED={false},SCOPE={variables},VALUE={null},REF={null}} did not produce any resulting dependency#

Do i need to declare DSL somewhere in configuration file

What’s the stack trace tell you?

here is the stack trace

at cfUtil2ecfc1445796338$funcTHROWIT.runFunction(C:\ColdFusion9\wwwroot\demo\coldbox\system\core\util\Util.cfc:164) at cfBuilder2ecfc660707058$funcBUILDDSLDEPENDENCY.runFunction(C:\ColdFusion9\wwwroot\demo\coldbox\system\ioc\Builder.cfc:361) at cfInjector2ecfc215913753$funcPROCESSINJECTION.runFunction(C:\ColdFusion9\wwwroot\demo\coldbox\system\ioc\Injector.cfc:575) at cfInjector2ecfc215913753$funcAUTOWIRE.runFunction(C:\ColdFusion9\wwwroot\demo\coldbox\system\ioc\Injector.cfc:462) at cfSingleton2ecfc829370048$funcGETFROMSCOPE.runFunction(C:\ColdFusion9\wwwroot\demo\coldbox\system\ioc\scopes\Singleton.cfc:48) at cfInjector2ecfc215913753$funcGETINSTANCE.runFunction(C:\ColdFusion9\wwwroot\demo\coldbox\system\ioc\Injector.cfc:262) at cfInterceptorService2ecfc1465114391$funcCREATEINTERCEPTOR.runFunction(C:\ColdFusion9\wwwroot\demo\coldbox\system\web\services\InterceptorService.cfc:233) at cfInterceptorService2ecfc1465114391$funcREGISTERINTERCEPTOR.runFunction(C:\ColdFusion9\wwwroot\demo\coldbox\system\web\services\InterceptorService.cfc:184) at cfInterceptorService2ecfc1465114391$funcREGISTERINTERCEPTORS.runFunction(C:\ColdFusion9\wwwroot\demo\coldbox\system\web\services\InterceptorService.cfc:100) at cfInterceptorService2ecfc1465114391$funcONCONFIGURATIONLOAD.runFunction(C:\ColdFusion9\wwwroot\demo\coldbox\system\web\services\InterceptorService.cfc:71) at cfLoaderService2ecfc802810750$funcLOADAPPLICATION.runFunction(C:\ColdFusion9\wwwroot\demo\coldbox\system\web\services\LoaderService.cfc:77) at cfColdbox2ecfc178485846$funcLOADCOLDBOX.runFunction(C:\ColdFusion9\wwwroot\demo\coldbox\system\Coldbox.cfc:71) at cfApplication2ecfc750003693$funcONAPPLICATIONSTART.runFunction(C:\ColdFusion9\wwwroot\demo\Application.cfc:57)

coldfusion.runtime.CustomException: The DSL Definition {JAVACAST={null},NAME={setupVariables},ARGNAME={},DSL={Model},REQUIRED={false},SCOPE={variables},VALUE={null},REF={null}} did not produce any resulting dependency
	at coldfusion.tagext.lang.ThrowTag.doStartTag(ThrowTag.java:142)
	at coldfusion.runtime.CfJspPage._emptyTcfTag(CfJspPage.java:2722)
	at cfUtil2ecfc1445796338$funcTHROWIT.runFunction(C:\ColdFusion9\wwwroot\demo\coldbox\system\core\util\Util.cfc:164)
	at coldfusion.runtime.UDFMethod.invoke(UDFMethod.java:472)
	at coldfusion.filter.SilentFilter.invoke(SilentFilter.java:47)
	at coldfusion.runtime.UDFMethod$ArgumentCollectionFilter.invoke(UDFMethod.java:368)
	at coldfusion.filter.FunctionAccessFilter.invoke(FunctionAccessFilter.java:55)
	at coldfusion.runtime.UDFMethod.runFilterChain(UDFMethod.java:321)
	at coldfusion.runtime.UDFMethod.invoke(UDFMethod.java:517)
	at coldfusion.runtime.TemplateProxy.invoke(TemplateProxy.java:496)
	at coldfusion.runtime.TemplateProxy.invoke(TemplateProxy.java:355)
	at coldfusion.runtime.CfJspPage._invoke(CfJspPage.java:2301)
	at cfBuilder2ecfc660707058$funcBUILDDSLDEPENDENCY.runFunction(C:\ColdFusion9\wwwroot\demo\coldbox\system\ioc\Builder.cfc:361)
	at coldfusion.runtime.UDFMethod.invoke(UDFMethod.java:472)
	at coldfusion.filter.SilentFilter.invoke(SilentFilter.java:47)
	at coldfusion.runtime.UDFMethod$ReturnTypeFilter.invoke(UDFMethod.java:405)
	at coldfusion.runtime.UDFMethod$ArgumentCollectionFilter.invoke(UDFMethod.java:368)
	at coldfusion.filter.FunctionAccessFilter.invoke(FunctionAccessFilter.java:55)
	at coldfusion.runtime.UDFMethod.runFilterChain(UDFMethod.java:321)
	at coldfusion.runtime.UDFMethod.invoke(UDFMethod.java:220)
	at coldfusion.runtime.TemplateProxy.invoke(TemplateProxy.java:491)
	at coldfusion.runtime.TemplateProxy.invoke(TemplateProxy.java:337)
	at coldfusion.runtime.CfJspPage._invoke(CfJspPage.java:2360)
	at cfInjector2ecfc215913753$funcPROCESSINJECTION.runFunction(C:\ColdFusion9\wwwroot\demo\coldbox\system\ioc\Injector.cfc:575)
	at coldfusion.runtime.UDFMethod.invoke(UDFMethod.java:472)
	at coldfusion.filter.SilentFilter.invoke(SilentFilter.java:47)
	at coldfusion.runtime.UDFMethod$ReturnTypeFilter.invoke(UDFMethod.java:405)
	at coldfusion.runtime.UDFMethod$ArgumentCollectionFilter.invoke(UDFMethod.java:368)
	at coldfusion.filter.FunctionAccessFilter.invoke(FunctionAccessFilter.java:55)
	at coldfusion.runtime.UDFMethod.runFilterChain(UDFMethod.java:321)
	at coldfusion.runtime.UDFMethod.invoke(UDFMethod.java:220)
	at coldfusion.runtime.CfJspPage._invokeUDF(CfJspPage.java:2582)
	at cfInjector2ecfc215913753$funcAUTOWIRE.runFunction(C:\ColdFusion9\wwwroot\demo\coldbox\system\ioc\Injector.cfc:462)
	at coldfusion.runtime.UDFMethod.invoke(UDFMethod.java:472)
	at coldfusion.filter.SilentFilter.invoke(SilentFilter.java:47)
	at coldfusion.runtime.UDFMethod$ReturnTypeFilter.invoke(UDFMethod.java:405)
	at coldfusion.runtime.UDFMethod$ArgumentCollectionFilter.invoke(UDFMethod.java:368)
	at coldfusion.filter.FunctionAccessFilter.invoke(FunctionAccessFilter.java:55)
	at coldfusion.runtime.UDFMethod.runFilterChain(UDFMethod.java:321)
	at coldfusion.runtime.UDFMethod.invoke(UDFMethod.java:517)
	at coldfusion.runtime.TemplateProxy.invoke(TemplateProxy.java:496)
	at coldfusion.runtime.TemplateProxy.invoke(TemplateProxy.java:355)
	at coldfusion.runtime.CfJspPage._invoke(CfJspPage.java:2301)
	at cfSingleton2ecfc829370048$funcGETFROMSCOPE.runFunction(C:\ColdFusion9\wwwroot\demo\coldbox\system\ioc\scopes\Singleton.cfc:48)
	at coldfusion.runtime.UDFMethod.invoke(UDFMethod.java:472)
	at coldfusion.filter.SilentFilter.invoke(SilentFilter.java:47)
	at coldfusion.runtime.UDFMethod$ReturnTypeFilter.invoke(UDFMethod.java:405)
	at coldfusion.runtime.UDFMethod$ArgumentCollectionFilter.invoke(UDFMethod.java:368)
	at coldfusion.filter.FunctionAccessFilter.invoke(FunctionAccessFilter.java:55)
	at coldfusion.runtime.UDFMethod.runFilterChain(UDFMethod.java:321)
	at coldfusion.runtime.UDFMethod.invoke(UDFMethod.java:220)
	at coldfusion.runtime.TemplateProxy.invoke(TemplateProxy.java:491)
	at coldfusion.runtime.TemplateProxy.invoke(TemplateProxy.java:337)
	at coldfusion.runtime.CfJspPage._invoke(CfJspPage.java:2360)
	at cfInjector2ecfc215913753$funcGETINSTANCE.runFunction(C:\ColdFusion9\wwwroot\demo\coldbox\system\ioc\Injector.cfc:262)
	at coldfusion.runtime.UDFMethod.invoke(UDFMethod.java:472)
	at coldfusion.filter.SilentFilter.invoke(SilentFilter.java:47)
	at coldfusion.runtime.UDFMethod$ReturnTypeFilter.invoke(UDFMethod.java:405)
	at coldfusion.runtime.UDFMethod$ArgumentCollectionFilter.invoke(UDFMethod.java:368)
	at coldfusion.filter.FunctionAccessFilter.invoke(FunctionAccessFilter.java:55)
	at coldfusion.runtime.UDFMethod.runFilterChain(UDFMethod.java:321)
	at coldfusion.runtime.UDFMethod.invoke(UDFMethod.java:220)
	at coldfusion.runtime.TemplateProxy.invoke(TemplateProxy.java:491)
	at coldfusion.runtime.TemplateProxy.invoke(TemplateProxy.java:337)
	at coldfusion.runtime.CfJspPage._invoke(CfJspPage.java:2360)
	at cfInterceptorService2ecfc1465114391$funcCREATEINTERCEPTOR.runFunction(C:\ColdFusion9\wwwroot\demo\coldbox\system\web\services\InterceptorService.cfc:233)
	at coldfusion.runtime.UDFMethod.invoke(UDFMethod.java:472)
	at coldfusion.filter.SilentFilter.invoke(SilentFilter.java:47)
	at coldfusion.runtime.UDFMethod$ReturnTypeFilter.invoke(UDFMethod.java:405)
	at coldfusion.runtime.UDFMethod$ArgumentCollectionFilter.invoke(UDFMethod.java:368)
	at coldfusion.filter.FunctionAccessFilter.invoke(FunctionAccessFilter.java:55)
	at coldfusion.runtime.UDFMethod.runFilterChain(UDFMethod.java:321)
	at coldfusion.runtime.UDFMethod.invoke(UDFMethod.java:220)
	at coldfusion.runtime.CfJspPage._invokeUDF(CfJspPage.java:2582)
	at cfInterceptorService2ecfc1465114391$funcREGISTERINTERCEPTOR.runFunction(C:\ColdFusion9\wwwroot\demo\coldbox\system\web\services\InterceptorService.cfc:184)
	at coldfusion.runtime.UDFMethod.invoke(UDFMethod.java:472)
	at coldfusion.filter.SilentFilter.invoke(SilentFilter.java:47)
	at coldfusion.runtime.UDFMethod$ReturnTypeFilter.invoke(UDFMethod.java:405)
	at coldfusion.runtime.UDFMethod$ArgumentCollectionFilter.invoke(UDFMethod.java:368)
	at coldfusion.filter.FunctionAccessFilter.invoke(FunctionAccessFilter.java:55)
	at coldfusion.runtime.UDFMethod.runFilterChain(UDFMethod.java:321)
	at coldfusion.runtime.UDFMethod.invoke(UDFMethod.java:517)
	at coldfusion.runtime.CfJspPage._invokeUDF(CfJspPage.java:2547)
	at cfInterceptorService2ecfc1465114391$funcREGISTERINTERCEPTORS.runFunction(C:\ColdFusion9\wwwroot\demo\coldbox\system\web\services\InterceptorService.cfc:100)
	at coldfusion.runtime.UDFMethod.invoke(UDFMethod.java:472)
	at coldfusion.filter.SilentFilter.invoke(SilentFilter.java:47)
	at coldfusion.runtime.UDFMethod$ReturnTypeFilter.invoke(UDFMethod.java:405)
	at coldfusion.runtime.UDFMethod$ArgumentCollectionFilter.invoke(UDFMethod.java:368)
	at coldfusion.filter.FunctionAccessFilter.invoke(FunctionAccessFilter.java:55)
	at coldfusion.runtime.UDFMethod.runFilterChain(UDFMethod.java:321)
	at coldfusion.runtime.UDFMethod.invoke(UDFMethod.java:220)
	at coldfusion.runtime.CfJspPage._invokeUDF(CfJspPage.java:2582)
	at cfInterceptorService2ecfc1465114391$funcONCONFIGURATIONLOAD.runFunction(C:\ColdFusion9\wwwroot\demo\coldbox\system\web\services\InterceptorService.cfc:71)
	at coldfusion.runtime.UDFMethod.invoke(UDFMethod.java:472)
	at coldfusion.filter.SilentFilter.invoke(SilentFilter.java:47)
	at coldfusion.runtime.UDFMethod$ReturnTypeFilter.invoke(UDFMethod.java:405)
	at coldfusion.runtime.UDFMethod$ArgumentCollectionFilter.invoke(UDFMethod.java:368)
	at coldfusion.filter.FunctionAccessFilter.invoke(FunctionAccessFilter.java:55)
	at coldfusion.runtime.UDFMethod.runFilterChain(UDFMethod.java:321)
	at coldfusion.runtime.UDFMethod.invoke(UDFMethod.java:220)
	at coldfusion.runtime.TemplateProxy.invoke(TemplateProxy.java:491)
	at coldfusion.runtime.TemplateProxy.invoke(TemplateProxy.java:337)
	at coldfusion.runtime.CfJspPage._invoke(CfJspPage.java:2360)
	at cfLoaderService2ecfc802810750$funcLOADAPPLICATION.runFunction(C:\ColdFusion9\wwwroot\demo\coldbox\system\web\services\LoaderService.cfc:77)
	at coldfusion.runtime.UDFMethod.invoke(UDFMethod.java:472)
	at coldfusion.filter.SilentFilter.invoke(SilentFilter.java:47)
	at coldfusion.runtime.UDFMethod$ReturnTypeFilter.invoke(UDFMethod.java:405)
	at coldfusion.runtime.UDFMethod$ArgumentCollectionFilter.invoke(UDFMethod.java:368)
	at coldfusion.filter.FunctionAccessFilter.invoke(FunctionAccessFilter.java:55)
	at coldfusion.runtime.UDFMethod.runFilterChain(UDFMethod.java:321)
	at coldfusion.runtime.UDFMethod.invoke(UDFMethod.java:220)
	at coldfusion.runtime.TemplateProxy.invoke(TemplateProxy.java:491)
	at coldfusion.runtime.TemplateProxy.invoke(TemplateProxy.java:337)
	at coldfusion.runtime.CfJspPage._invoke(CfJspPage.java:2360)
	at cfColdbox2ecfc178485846$funcLOADCOLDBOX.runFunction(C:\ColdFusion9\wwwroot\demo\coldbox\system\Coldbox.cfc:71)
	at coldfusion.runtime.UDFMethod.invoke(UDFMethod.java:472)
	at coldfusion.filter.SilentFilter.invoke(SilentFilter.java:47)
	at coldfusion.runtime.UDFMethod$ReturnTypeFilter.invoke(UDFMethod.java:405)
	at coldfusion.runtime.UDFMethod$ArgumentCollectionFilter.invoke(UDFMethod.java:368)
	at coldfusion.filter.FunctionAccessFilter.invoke(FunctionAccessFilter.java:55)
	at coldfusion.runtime.UDFMethod.runFilterChain(UDFMethod.java:321)
	at coldfusion.runtime.UDFMethod.invoke(UDFMethod.java:220)
	at coldfusion.runtime.TemplateProxy.invoke(TemplateProxy.java:491)
	at coldfusion.runtime.TemplateProxy.invoke(TemplateProxy.java:337)
	at coldfusion.runtime.CfJspPage._invoke(CfJspPage.java:2360)
	at cfApplication2ecfc750003693$funcONAPPLICATIONSTART.runFunction(C:\ColdFusion9\wwwroot\demo\Application.cfc:57)
	at coldfusion.runtime.UDFMethod.invoke(UDFMethod.java:472)
	at coldfusion.filter.SilentFilter.invoke(SilentFilter.java:47)
	at coldfusion.runtime.UDFMethod$ReturnTypeFilter.invoke(UDFMethod.java:405)
	at coldfusion.runtime.UDFMethod$ArgumentCollectionFilter.invoke(UDFMethod.java:368)
	at coldfusion.filter.FunctionAccessFilter.invoke(FunctionAccessFilter.java:55)
	at coldfusion.runtime.UDFMethod.runFilterChain(UDFMethod.java:321)
	at coldfusion.runtime.UDFMethod.invoke(UDFMethod.java:220)
	at coldfusion.runtime.TemplateProxy.invoke(TemplateProxy.java:491)
	at coldfusion.runtime.TemplateProxy.invoke(TemplateProxy.java:337)
	at coldfusion.runtime.AppEventInvoker.invoke(AppEventInvoker.java:88)
	at coldfusion.runtime.AppEventInvoker.onApplicationStart(AppEventInvoker.java:211)
	at coldfusion.filter.ApplicationFilter.invoke(ApplicationFilter.java:242)
	at coldfusion.filter.RequestMonitorFilter.invoke(RequestMonitorFilter.java:48)
	at coldfusion.filter.MonitoringFilter.invoke(MonitoringFilter.java:40)
	at coldfusion.filter.PathFilter.invoke(PathFilter.java:94)
	at coldfusion.filter.LicenseFilter.invoke(LicenseFilter.java:27)
	at coldfusion.filter.ExceptionFilter.invoke(ExceptionFilter.java:70)
	at coldfusion.filter.BrowserDebugFilter.invoke(BrowserDebugFilter.java:79)
	at coldfusion.filter.ClientScopePersistenceFilter.invoke(ClientScopePersistenceFilter.java:28)
	at coldfusion.filter.BrowserFilter.invoke(BrowserFilter.java:38)
	at coldfusion.filter.NoCacheFilter.invoke(NoCacheFilter.java:46)
	at coldfusion.filter.GlobalsFilter.invoke(GlobalsFilter.java:38)
	at coldfusion.filter.DatasourceFilter.invoke(DatasourceFilter.java:22)
	at coldfusion.filter.CachingFilter.invoke(CachingFilter.java:62)
	at coldfusion.CfmServlet.service(CfmServlet.java:200)
	at coldfusion.bootstrap.BootstrapServlet.service(BootstrapServlet.java:89)
	at jrun.servlet.FilterChain.doFilter(FilterChain.java:86)
	at coldfusion.monitor.event.MonitoringServletFilter.doFilter(MonitoringServletFilter.java:42)
	at coldfusion.bootstrap.BootstrapFilter.doFilter(BootstrapFilter.java:46)
	at jrun.servlet.FilterChain.doFilter(FilterChain.java:94)
	at jrun.servlet.FilterChain.service(FilterChain.java:101)
	at jrun.servlet.ServletInvoker.invoke(ServletInvoker.java:106)
	at jrun.servlet.JRunInvokerChain.invokeNext(JRunInvokerChain.java:42)
	at jrun.servlet.JRunRequestDispatcher.invoke(JRunRequestDispatcher.java:286)
	at jrun.servlet.ServletEngineService.dispatch(ServletEngineService.java:543)
	at jrun.servlet.http.WebService.invokeRunnable(WebService.java:172)
	at jrunx.scheduler.ThreadPool$DownstreamMetrics.invokeRunnable(ThreadPool.java:320)
	at jrunx.scheduler.ThreadPool$ThreadThrottle.invokeRunnable(ThreadPool.java:428)
	at jrunx.scheduler.ThreadPool$UpstreamMetrics.invokeRunnable(ThreadPool.java:266)
	at jrunx.scheduler.WorkerThread.run(WorkerThread.java:66)

Where is this defined?

setupVariables

where is what defined?

What does the big bold letters say?

The DSL Definition {JAVACAST={null},NAME={setupVariables},ARGNAME={},DSL={Model},REQUIRED={false},SCOPE={variables},VALUE={null},REF={null}} did not produce any resulting dependencyThe target requesting the dependency is: ‘interceptor-loadApplicationVars’ The error occurred in C:\ColdFusion9\wwwroot\demo\coldbox\system\core\util\Util.cfc: line 164

Called from C:\ColdFusion9\wwwroot\demo\coldbox\system\ioc\Builder.cfc: line 361
Called from C:\ColdFusion9\wwwroot\demo\coldbox\system\ioc\Injector.cfc: line 575
Called from C:\ColdFusion9\wwwroot\demo\coldbox\system\ioc\Injector.cfc: line 462
Called from C:\ColdFusion9\wwwroot\demo\coldbox\system\ioc\scopes\Singleton.cfc: line 48
Called from C:\ColdFusion9\wwwroot\demo\coldbox\system\ioc\Injector.cfc: line 262
Called from C:\ColdFusion9\wwwroot\demo\coldbox\system\web\services\InterceptorService.cfc: line 233
Called from C:\ColdFusion9\wwwroot\demo\coldbox\system\web\services\InterceptorService.cfc: line 184
Called from C:\ColdFusion9\wwwroot\demo\coldbox\system\web\services\InterceptorService.cfc: line 100
Called from C:\ColdFusion9\wwwroot\demo\coldbox\system\web\services\InterceptorService.cfc: line 71
Called from C:\ColdFusion9\wwwroot\demo\coldbox\system\web\services\LoaderService.cfc: line 77
Called from C:\ColdFusion9\wwwroot\demo\coldbox\system\Coldbox.cfc: line 71
Called from C:\ColdFusion9\wwwroot\demo\Application.cfc: line 57

162 : 		<cfargument name="detail" 	required="false" default="">
163 : 		<cfargument name="type"  	required="false" default="Framework">
**164 : 		<cfthrow type="#arguments.type#" message="#arguments.message#"  detail="#arguments.detail#">**
165 : 	</cffunction>
166 : 	

No the big bold letters in my reply!!

Rather than go back and forth till you get it where is

setupVariables

defined in your code?