• Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
    Dedicated community for Japanese speakers
  • 한국 커뮤니티
    Dedicated community for Korean speakers
Exit
0

exception error

New Here ,
Mar 03, 2011 Mar 03, 2011

Copy link to clipboard

Copied

I am getting the following error when users try to access an application on our Intranet.

I am not a web developer and have no training for ColdFusion or Linux so I am kind of at a loss as to what to do.

We are using ColdFusion MX7 142150

Windows 2003 Server SP2

MySQL 4.4.1.2.

Detal:  An exception occurred when invoking an event handler method from Application.cfc.  The method name is:  onApplicationStart.

Message:  Event Handler Exception

Root Cause

Detail:  Please check that the given name is correct and that the component exists.

Message:  Could not find the ColdFusion Component componenets.ad_auth.

I have th reset of the message, just couldn't get it attached to this.

The component ad_auth is on another server which is a Ubuntu Linux 64-bit 8.0.4.03

Thank you

Becca Hixon

Views

1.6K

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Enthusiast ,
Mar 04, 2011 Mar 04, 2011

Copy link to clipboard

Copied

Looks like you have a typo in the word components in your onApplicationStart method, the error has components spelled "componenets".

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
New Here ,
Mar 04, 2011 Mar 04, 2011

Copy link to clipboard

Copied

That was my typo, not in the code.

here is the original message:

An error occurred: http://intranet/components/TimeCards/TimeCards.cfc?

Time: 3/4/11 9:34 AM

Error - struct

Detail

An exception occurred when invoking a event handler method from

Application.cfc The method name is: onApplicationStart.

Message

Event Handler Exception.

RootCause

Error - struct

Detail

Please check that the given name is correct and that the component exists.

Message

Could not find the ColdFusion Component components.ad_auth.

StackTrace

coldfusion.runtime.CfJspPage$NoSuchTemplateException: Could not find the

ColdFusion Component components.ad_auth. at

coldfusion.runtime.TemplateProxyFactory.getResolvedFile(TemplateProxyFactory.java:531)

at

coldfusion.runtime.TemplateProxyFactory.resolveName(TemplateProxyFactory.java:626)

at coldfusion.runtime.CFPage.createObject(CFPage.java:5708) at

coldfusion.runtime.CFPage.CreateObject(CFPage.java:5677) at

coldfusion.runtime.CFPage.CreateObject(CFPage.java:5642) at

cfAPPLICATION2eCFC561657617$funcONAPPLICATIONSTART.runFunction(D:\Inetpub\Intranet\components\APPLICATION.CFC:16)

at coldfusion.runtime.UDFMethod.invoke(UDFMethod.java:344) at

coldfusion.runtime.UDFMethod$ArgumentCollectionFilter.invoke(UDFMethod.java:254)

at

coldfusion.filter.FunctionAccessFilter.invoke(FunctionAccessFilter.java:56)

at coldfusion.runtime.UDFMethod.runFilterChain(UDFMethod.java:207) at

coldfusion.runtime.UDFMethod.invoke(UDFMethod.java:169) at

coldfusion.runtime.TemplateProxy.invoke(TemplateProxy.java:194) at

coldfusion.runtime.TemplateProxy.invoke(TemplateProxy.java:146) at

coldfusion.runtime.AppEventInvoker.invoke(AppEventInvoker.java:74) at

coldfusion.runtime.AppEventInvoker.onApplicationStart(AppEventInvoker.java:123)

at coldfusion.filter.ApplicationFilter.invoke(ApplicationFilter.java:152) at

coldfusion.filter.BrowserDebugFilter.invoke(BrowserDebugFilter.java:52) at

coldfusion.filter.PathFilter.invoke(PathFilter.java:86) at

coldfusion.filter.ExceptionFilter.invoke(ExceptionFilter.java:69) at

coldfusion.filter.ClientScopePersistenceFilter.invoke(ClientScopePersistenceFilter.java:28)

at coldfusion.filter.BrowserFilter.invoke(BrowserFilter.java:38) at

coldfusion.filter.GlobalsFilter.invoke(GlobalsFilter.java:38) at

coldfusion.filter.DatasourceFilter.invoke(DatasourceFilter.java:22) at

coldfusion.xml.rpc.CFCServlet.invoke(CFCServlet.java:107) at

coldfusion.xml.rpc.CFCServlet.doPost(CFCServlet.java:183) at

javax.servlet.http.HttpServlet.service(HttpServlet.java:760) at

org.apache.axis.transport.http.AxisServletBase.service(AxisServletBase.java:327)

at javax.servlet.http.HttpServlet.service(HttpServlet.java:853) at

coldfusion.bootstrap.BootstrapServlet.service(BootstrapServlet.java:78) at

jrun.servlet.ServletInvoker.invoke(ServletInvoker.java:91) at

jrun.servlet.JRunInvokerChain.invokeNext(JRunInvokerChain.java:42) at

jrun.servlet.JRunRequestDispatcher.invoke(JRunRequestDispatcher.java:257) at

jrun.servlet.ServletEngineService.dispatch(ServletEngineService.java:541) at

jrun.servlet.jrpp.JRunProxyService.invokeRunnable(JRunProxyService.java:204)

at

jrunx.scheduler.ThreadPool$DownstreamMetrics.invokeRunnable(ThreadPool.java:318)

at

jrunx.scheduler.ThreadPool$ThreadThrottle.invokeRunnable(ThreadPool.java:426)

at

jrunx.scheduler.ThreadPool$UpstreamMetrics.invokeRunnable(ThreadPool.java:264)

at jrunx.scheduler.WorkerThread.run(WorkerThread.java:66)

TagContext

*Error - array *

1

Error - struct

COLUMN

0

ID

CF_CFPAGE

LINE

16

RAW_TRACE

at

cfAPPLICATION2eCFC561657617$funcONAPPLICATIONSTART.runFunction(D:\Inetpub\Intranet\components\APPLICATION.CFC:16)

TEMPLATE

D:\Inetpub\Intranet\components\APPLICATION.CFC

TYPE

CFML

Type

Application

missingFileName

components.ad_auth

StackTrace

coldfusion.runtime.EventHandlerException: Event Handler Exception. at

coldfusion.runtime.AppEventInvoker.onApplicationStart(AppEventInvoker.java:127)

at coldfusion.filter.ApplicationFilter.invoke(ApplicationFilter.java:152) at

coldfusion.filter.BrowserDebugFilter.invoke(BrowserDebugFilter.java:52) at

coldfusion.filter.PathFilter.invoke(PathFilter.java:86) at

coldfusion.filter.ExceptionFilter.invoke(ExceptionFilter.java:69) at

coldfusion.filter.ClientScopePersistenceFilter.invoke(ClientScopePersistenceFilter.java:28)

at coldfusion.filter.BrowserFilter.invoke(BrowserFilter.java:38) at

coldfusion.filter.GlobalsFilter.invoke(GlobalsFilter.java:38) at

coldfusion.filter.DatasourceFilter.invoke(DatasourceFilter.java:22) at

coldfusion.xml.rpc.CFCServlet.invoke(CFCServlet.java:107) at

coldfusion.xml.rpc.CFCServlet.doPost(CFCServlet.java:183) at

javax.servlet.http.HttpServlet.service(HttpServlet.java:760) at

org.apache.axis.transport.http.AxisServletBase.service(AxisServletBase.java:327)

at javax.servlet.http.HttpServlet.service(HttpServlet.java:853) at

coldfusion.bootstrap.BootstrapServlet.service(BootstrapServlet.java:78) at

jrun.servlet.ServletInvoker.invoke(ServletInvoker.java:91) at

jrun.servlet.JRunInvokerChain.invokeNext(JRunInvokerChain.java:42) at

jrun.servlet.JRunRequestDispatcher.invoke(JRunRequestDispatcher.java:257) at

jrun.servlet.ServletEngineService.dispatch(ServletEngineService.java:541) at

jrun.servlet.jrpp.JRunProxyService.invokeRunnable(JRunProxyService.java:204)

at

jrunx.scheduler.ThreadPool$DownstreamMetrics.invokeRunnable(ThreadPool.java:318)

at

jrunx.scheduler.ThreadPool$ThreadThrottle.invokeRunnable(ThreadPool.java:426)

at

jrunx.scheduler.ThreadPool$UpstreamMetrics.invokeRunnable(ThreadPool.java:264)

at jrunx.scheduler.WorkerThread.run(WorkerThread.java:66)

TagContext

Error - array

Type

Application

name

onApplicationStart

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Mar 04, 2011 Mar 04, 2011

Copy link to clipboard

Copied

You can't just arbitrarily refer to components on another server. They have to be on some mapped drive that will be avalable to the CF process.

Dave Watts, CTO, Fig Leaf Software

http://www.figleaf.com/

http://training.figleaf.com/

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
New Here ,
Mar 04, 2011 Mar 04, 2011

Copy link to clipboard

Copied

The component that is says is missing is on the other server. I can't find

that component listed in any of the codes created for the application that

is giving the error.

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
New Here ,
Mar 04, 2011 Mar 04, 2011

Copy link to clipboard

Copied

LATEST

found the issue and corrected.

Outside source helped me with the issue.

It was not resolved with this post.

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Resources
Documentation