I am trying to deploy my coldbox application to our test server. I am receiving the following error:
Error building: interceptor-SES → Error loading UDF library: includes/Helpers/applicationHelper.cfc The UDF library was not found.
The server is Adobe COLDFUSION 11 running on IIS.
Here is the site layout:
/
App1
App2
App3
Login
MyApp <*** this is the coldbox application ***>
ColdBox
I have tried setting COLDBOX_APP_MAPPING to “/App3/Login/MyApp” or “App3.Login.MyApp”. Both result in the same error.
I can get past this error if I change applicationHelper = “includes/Helpers/applicationHelper.cfc”, to applicationHelper = “”, but then I get an error that the “config/routes.cfm” cannot be found. If I hardcode the configFilePath var in SES.cfc, then I get an error that the Main.onAppInit event is not valid…
I’m not certain what to do at this point. All of the posts I’ve read about this haven’t really helped.
Thanks,
Paul J Grutzmacher III
It sounds like you tested your app in the web root, but now are trying to use it in a sub folder. you need to correct those paths to resolve to whatever the correct path is. I’d recommend an Application.cfc mapping called something like /root
that you can use to prefix paths that need to be relative to the application root to keep your config portable.
Thanks!
~Brad
ColdBox/CommandBox Developer Advocate
Ortus Solutions, Corp
E-mail: brad@coldbox.org
ColdBox Platform: http://www.coldbox.org
Blog: http://www.codersrevolution.com
Not certain what you mean there. The development environment is slightly different, but not in the webroot:
/
App1
App2
MyApp <*** This is the coldbox application ***>
ColdBox
I have COLDBOX_APPLICATION_MAPPING set as “/MyApp” in application.cfc. Everything works as expected. When moving over to the test environment, I modified that to “/App3/Login/MyApp” to match the new directory structure. Why would I need a mapping defined if I didn’t in the development environment?
Thanks,
-Paul