tracker issue : CF-4203413

select a category, or use search below
(searches all categories and all time range)
Title:

CFC must be specified as a full path

| View in Tracker

Status/Resolution/Reason: Closed/Deferred/Duplicate

Reporter/Name(from Bugbase): deepak deepak / ()

Created: 10/26/2018

Components: AJAX

Versions: 2016

Failure Type: Crash

Found In Build/Fixed In Build: ColdFusion 2016 Update 7 /

Priority/Frequency: Normal / All users will encounter

Locale/System: English / Win 2016

Vote Count: 0

Problem Description: Recently migrated from CF11 to CF 2016.
unable to find the CFC path when <cfajaxproxy tag used. It's giving below error. 

Error from Application.log file :-
"The specified CFC emailLookupService could not be found.The path to the CFC must be specified as a full path, or as a  relative path from the current template, without the use of mappings. The specific sequence of files included or processed is: C:\inetpub\wwwroot2\qabecs\briefing\Forward.cfm, line: 7 "

Error from exception.log file :-
"Error","ajp-nio-8016-exec-1","10/26/18","15:16:50","QABECS","The specified CFC emailLookupService could not be found.The path to the CFC must be specified as a full path, or as a  relative path from the current template, without the use of mappings. The specific sequence of files included or processed is: C:\inetpub\wwwroot2\qabecs\briefing\Forward.cfm, line: 7 "
coldfusion.tagext.html.ajax.AjaxProxyTag$InvalidCFCException: The specified CFC emailLookupService could not be found.
	at coldfusion.tagext.html.ajax.AjaxProxyTag.getCFCInvocationPath(AjaxProxyTag.java:489)
	at coldfusion.tagext.html.ajax.AjaxProxyTag.generateAjaxProxy(AjaxProxyTag.java:238)
	at coldfusion.tagext.html.ajax.AjaxProxyTag.doStartTag(AjaxProxyTag.java:133)
	at coldfusion.runtime.CfJspPage._emptyTcfTag(CfJspPage.java:3696)
	at cfForward2ecfm110833738._factor9(C:\inetpub\wwwroot2\qabecs\briefing\Forward.cfm:7)
	at cfForward2ecfm110833738.runPage(C:\inetpub\wwwroot2\qabecs\briefing\Forward.cfm:1)
	at coldfusion.runtime.CfJspPage.invoke(CfJspPage.java:253)
	at coldfusion.tagext.lang.IncludeTag.handlePageInvoke(IncludeTag.java:737)
	at coldfusion.tagext.lang.IncludeTag.doStartTag(IncludeTag.java:573)
	at coldfusion.filter.CfincludeFilter.invoke(CfincludeFilter.java:65)
	at coldfusion.filter.IpFilter.invoke(IpFilter.java:45)
	at coldfusion.filter.ApplicationFilter.invoke(ApplicationFilter.java:484)
	at coldfusion.filter.MonitoringFilter.invoke(MonitoringFilter.java:40)
	at coldfusion.filter.PathFilter.invoke(PathFilter.java:153)
	at coldfusion.filter.ExceptionFilter.invoke(ExceptionFilter.java:94)
	at coldfusion.filter.BrowserDebugFilter.invoke(BrowserDebugFilter.java:78)
	at coldfusion.filter.ClientScopePersistenceFilter.invoke(ClientScopePersistenceFilter.java:28)
	at coldfusion.filter.BrowserFilter.invoke(BrowserFilter.java:38)
	at coldfusion.filter.NoCacheFilter.invoke(NoCacheFilter.java:60)
	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.filter.RequestThrottleFilter.invoke(RequestThrottleFilter.java:151)
	at coldfusion.CfmServlet.service(CfmServlet.java:219)
	at coldfusion.bootstrap.BootstrapServlet.service(BootstrapServlet.java:89)
	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:231)
	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)
	at coldfusion.monitor.event.MonitoringServletFilter.doFilter(MonitoringServletFilter.java:42)
	at coldfusion.bootstrap.BootstrapFilter.doFilter(BootstrapFilter.java:46)
	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193)
	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)
	at org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:52)
	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193)
	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)
	at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:199)
	at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:96)
	at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:493)
	at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:140)
	at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:81)
	at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:87)
	at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:355)
	at org.apache.coyote.ajp.AjpProcessor.service(AjpProcessor.java:510)
	at org.apache.coyote.AbstractProcessorLight.process(AbstractProcessorLight.java:66)
	at org.apache.coyote.AbstractProtocol$ConnectionHandler.process(AbstractProtocol.java:800)
	at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1471)
	at org.apache.tomcat.util.net.SocketProcessorBase.run(SocketProcessorBase.java:49)
	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
	at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61)
	at java.lang.Thread.run(Thread.java:745)

Steps to Reproduce:
This the code:-
<cfajaxproxy cfc="emailLookupService" jsclassname="dataproxy">

Actual Result:

Expected Result:

Any Workarounds:

Attachments:

Comments:

This error was because of a deprecated attribute in <CFLDAP tag. Attribute referral = "yes" is not supported by CF 2016. This code was present in CFC, which I was referring. The error message was given a false impression of problem with cfc path.
Comment by deepak d.
29874 | October 29, 2018 04:03:33 PM GMT