shawn gorrell
Wed, 20 Jan 2010 13:47:08 -0800
Sounds like you have a winner for what the problem is. Another option is that access to the servicefactory classes is restricted. I seem to recall there being a setting to do so on CF8...
________________________________
From: Rudi Shumpert <shump...@gmail.com>
To: "discussion@acfug.org" <discussion@acfug.org>
Sent: Wed, January 20, 2010 4:42:16 PM
Subject: Re: [ACFUG Discuss] Error with Java Object
No.
--------------------------------
Sent from my iPhone
On Jan 20, 2010, at 4:38 PM, shawn gorrell <chees...@yahoo.com> wrote:
Question. Is debugging enabled on your production server?
>
>
>
>
________________________________
From: Rudi Shumpert <shump...@gmail.com>
>To: discussion@acfug.org
>Sent: Wed, January 20, 2010 4:34:46 PM
>Subject: [ACFUG Discuss] Error with Java Object
>
>>Hey folks!
>
>I'm trying to use a java object to get some page load data to use in a
>reporting tool.
>
>On my local dev box it all works. In production it dies. I am running CF8 in
>both spots.
>
> <cfset codeFactory =
> CreateObject("java","coldfusion.server.ServiceFactory") />
>>
> <cfset getDebugDataSet = codeFactory.getDebuggingService()>
> <cfset getDebugData = getDebugDataSet.getDebugger().getData()>
>
>Again, this work on my local dev machine. (I hope John won't use this as the
>next example in how not to code ;) )
>
>Below is the error I get
>
>Thanks in advance! - Rudi
>
>
>
>Error - struct
>Detail Its possible that a method called on a Java object created by
>CreateObject
>returned null.
>ErrNumber 0
>Message Value must be initialized before use.
>StackTrace coldfusion.runtime.UninitializedValueException: Value must be
>initialized
>before use. at coldfusion.runtime.CfJspPage._invoke(CfJspPage.java:2249) at
>cfrudi2ecfm824653131.runPage(D:\ariba_2.0\rudi.cfm:7) at
>coldfusion.runtime.CfJspPage.invoke(CfJspPage.java:192) at
>coldfusion.tagext.lang.IncludeTag.doStartTag(IncludeTag.java:366) at
>coldfusion.filter.CfincludeFilter.invoke(CfincludeFilter.java:65) at
>coldfusion.filter.ApplicationFilter.invoke(ApplicationFilter.java:273) at
>coldfusion.filter.RequestMonitorFilter.invoke(RequestMonitorFilter.java:48) at
>coldfusion.filter.MonitoringFilter.invoke(MonitoringFilter.java:40) at
>coldfusion.filter.PathFilter.invoke(PathFilter.java:86) at
>coldfusion.filter.ExceptionFilter.invoke(ExceptionFilter.java:70) 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.CfmServlet.service(CfmServlet.java:175) 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:284) at
>jrun.servlet.ServletEngineService.dispatch(ServletEngineService.java:543) at
>jrun.servlet.jrpp.JRunProxyService.invokeRunnable(JRunProxyService.java:203)
>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)
>
>-------------------------------------------------------------
>
>To unsubscribe from this list, manage your profile @
>
>http://www.acfug.org?fa=login.edituserform
>
>For more info, see http://www.acfug.org/mailinglists
>Archive @ http://www.mail-archive.com/discussion%40acfug.org/
>List hosted by FusionLink
>-------------------------------------------------------------
>
>
-------------------------------------------------------------
To unsubscribe from this list, manage your profile @
http://www.acfug.org?fa=login.edituserform
For more info, see http://www.acfug.org/mailinglists
Archive @ http://www.mail-archive.com/discussion%40acfug.org/
List hosted by http://www.fusionlink.com
-------------------------------------------------------------