|
Mailing Lists
|
Home /
Groups /
ColdFusion Talk (CF-Talk)
cfdocument not working with ColdFusion 8 0 1 update
Hello:Brian Love 04/07/08 03:37 P > Hello:Dave Morris 04/08/08 02:12 A Dave:Brian Love 04/08/08 09:38 A Anyone find a solution on this? I'm having the same problem....Dave Phillips 04/10/08 10:03 A >Anyone find a solution on this? I'm having the same problem....Dave Morris 04/10/08 10:45 A >>Anyone find a solution on this? I'm having the same problem....Dave Phillips 04/10/08 11:34 A > >>Anyone find a solution on this? I'm having the same problem....Dave Morris 04/10/08 12:10 P >> >>Anyone find a solution on this? I'm having the same problem....Dave Phillips 04/11/08 12:06 P Hello Brian Love,Sankaram Tata 04/08/08 03:03 A Hi,Rupesh Kumar 04/08/08 11:01 A Rupesh,Brad Wood 04/08/08 12:03 P > Rupesh,Dave Watts 04/08/08 02:41 P Folks:Brian Love 04/08/08 04:31 P Hello: I am attempting to create a PDF document on a server that was recently updated to CF 8.0.1, and cannot create a basic pdf. Code: <cfdocument format="PDF" filename="test.pdf" overwrite="true">test</cfdocument> Error: An exception occurred when performing document processing. The cause of this exception was that: java.lang.AbstractMethodError: coldfusion.document.DocumentExporter.export([Lice/storm/Viewport;Lcoldfusion/document/spi/DocumentProperties;Lcoldfusion/document/spi/HeaderFooterContentProvider;Lcoldfusion/document/spi/HeaderFooterContentProvider;Lcoldfusion/document/spi/PageNoCallbackHandler;Ljava/net/URL;)V. (I can provide stack trace if that helps) Environment: Server Product ColdFusion Version 8,0,1,195765 Edition Standard Operating System UNIX OS Version 2.6.9-67.0.1.ELsmp (CentOs) Unfortunately, I have never attempting using <cfdocument> before on this server, so I cannot confirm/deny that this error is due to CF 8.0.1 updater. I have checked permissions, and everything looks good. Any help would be appreciated! Brian > Hello: ----- Excess quoted text cut - see Original Post for more ----- export([Lice/storm/Viewport;Lcoldfusion/document/spi/DocumentProperties;Lcoldfusion/document/spi/HeaderFooterContentProvider;Lcoldfusion/document/spi/HeaderFooterContentPr> ovider;Lcoldfusion/document/spi/PageNoCallbackHandler;Ljava/net/URL;)V. ----- Excess quoted text cut - see Original Post for more ----- Brian Post the stack trace. ~D Dave: Here is the stack trace, thanks! java.lang.AbstractMethodError: coldfusion.document.DocumentExporter.export([Lice/storm/Viewport;Lcoldfusion/document/spi/DocumentProperties;Lcoldfusion/document/spi/HeaderFooterContentProvider;Lcoldfusion/document/spi/HeaderFooterContentProvider;Lcoldfusion/document/spi/PageNoCallbackHandler;Ljava/net/URL;)V at coldfusion.document.DocumentFrame.exportContent(DocumentFrame.java:162) at coldfusion.document.DocumentProcessor.processContent(DocumentProcessor.java:276) at coldfusion.document.DocumentProcessor.processContent(DocumentProcessor.java:163) at coldfusion.tagext.lang.DocumentTag.processContent(DocumentTag.java:1479) at coldfusion.tagext.lang.DocumentTag._processContent(DocumentTag.java:1382) at coldfusion.tagext.lang.DocumentTag.doAfterBody(DocumentTag.java:1340) at cftoc2ecfm1498671522.runPage(/home/brian/domains/brianflove.com/public_html/public/cfpdf/toc.cfm:8) at coldfusion.runtime.CfJspPage.invoke(CfJspPage.java:196) at coldfusion.tagext.lang.IncludeTag.doStartTag(IncludeTag.java:370) 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:286) 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) Brian > > Hello: ----- Excess quoted text cut - see Original Post for more ----- export([Lice/storm/Viewport;Lcoldfusion/document/spi/DocumentProperties;Lcoldfusion/document/spi/Heade> rFooterContentProvider;Lcoldfusion/document/spi/HeaderFooterContentPr> ----- Excess quoted text cut - see Original Post for more ----- Anyone find a solution on this? I'm having the same problem.... >Anyone find a solution on this? I'm having the same problem.... Can you please go through the entire thread? You will have the solution. ~D >>Anyone find a solution on this? I'm having the same problem.... > >Can you please go through the entire thread? You will have the solution. > >~D I did read the entire thread. This doesn't solve my problem though. I'm not on CF 8.0.1 and I tried removing the CF hotfix 3 and I still have the same problem. A simple PDF cannot be created with just this code: <cfdocument format="PDF" filename="#expandPath('tempfiles/')#mytest.pdf"> This my test PDF. </cfdocument> I know it's not a permissions issue. I'm trying to get a solution here, so can someone please help? Thanks, Dave ----- Excess quoted text cut - see Original Post for more ----- Post the stack trace. ~D >> >>Anyone find a solution on this? I'm having the same problem.... > >Post the stack trace. > >~D "Error","WebContainer : 0","04/10/08","12:39:14",,"" coldfusion.document.DocumentProcessor$TimeOutException at coldfusion.document.DocumentProcessor.processContent(DocumentProcessor.java:251) at coldfusion.document.DocumentProcessor.processContent(DocumentProcessor.java:155) at coldfusion.tagext.lang.DocumentTag.processContent(DocumentTag.java:1476) at coldfusion.tagext.lang.DocumentTag._processContent(DocumentTag.java:1396) at coldfusion.tagext.lang.DocumentTag.doAfterBody(DocumentTag.java:1354) at cftest2ecfm625691459.runPage(/was_d68i/WebSphere/AppServer/profiles/was_d68i/installedApps/tfl0663bNode04Cell/Adobe_ColdFusion_8.ear/cfusion.war/Support/AcctTeamRpt/test.cfm:4) 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:279) 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.BrowserDebugFilter.invoke(BrowserDebugFilter.java:74) 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 com.ibm.ws.webcontainer.servlet.ServletWrapper.service(ServletWrapper.java:1068) at com.ibm.ws.webcontainer.servlet.ServletWrapper.service(ServletWrapper.java:1009) at com.ibm.ws.webcontainer.filter.WebAppFilterChain.doFilter(WebAppFilterChain.java:145) at coldfusion.monitor.event.MonitoringServletFilter.doFilter(MonitoringServletFilter.java:42) at coldfusion.bootstrap.BootstrapFilter.doFilter(BootstrapFilter.java:46) at com.ibm.ws.webcontainer.filter.FilterInstanceWrapper.doFilter(FilterInstanceWrapper.java:190) at com.ibm.ws.webcontainer.filter.WebAppFilterChain.doFilter(WebAppFilterChain.java:130) at com.ibm.ws.webcontainer.filter.WebAppFilterChain._doFilter(WebAppFilterChain.java:87) at com.ibm.ws.webcontainer.filter.WebAppFilterManager.doFilter(WebAppFilterManager.java:771) at com.ibm.ws.webcontainer.filter.WebAppFilterManager.doFilter(WebAppFilterManager.java:679) at com.ibm.ws.webcontainer.servlet.ServletWrapper.handleRequest(ServletWrapper.java:539) at com.ibm.ws.wswebcontainer.servlet.ServletWrapper.handleRequest(ServletWrapper.java:478) at com.ibm.ws.webcontainer.servlet.CacheServletWrapper.handleRequest(CacheServletWrapper.java:90) at com.ibm.ws.webcontainer.WebContainer.handleRequest(WebContainer.java:744) at com.ibm.ws.wswebcontainer.WebContainer.handleRequest(WebContainer.java:1455) at com.ibm.ws.webcontainer.channel.WCChannelLink.ready(WCChannelLink.java:115) at com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.handleDiscrimination(HttpInboundLink.java:454) at com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.handleNewInformation(HttpInboundLink.java:383) at com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.ready(HttpInboundLink.java:263) at com.ibm.ws.tcp.channel.impl.NewConnectionInitialReadCallback.sendToDiscriminators(NewConnectionInitialReadCallback.java:214) at com.ibm.ws.tcp.channel.impl.NewConnectionInitialReadCallback.complete(NewConnectionInitialReadCallback.java:113) at com.ibm.ws.tcp.channel.impl.AioReadCompletionListener.futureCompleted(AioReadCompletionListener.java:165) at com.ibm.io.async.AbstractAsyncFuture.invokeCallback(AbstractAsyncFuture.java:217) at com.ibm.io.async.AsyncChannelFuture$1.run(AsyncChannelFuture.java:205) at com.ibm.ws.util.ThreadPool$Worker.run(ThreadPool.java:1473) Hello Brian Love, I have tested cfdocument with CF8.0.1 update on RedHat Linux environment and it created pdf fine. Could you send me the stack trace and cf server logs. my id --> sankaram@adobe.com (Though CF is not supported on cent OS , I don't see any reason which cfdoc doesn't work) Thnx Sankaram. Hi, AbstractMethodError can come only when there is incompatibility between two classes which in this case means, that you have a hotfix applied which is no longer compatible. Since you have upgraded to 801, you can remove the hotfix and you should be good to go. Please let me know if that works for you. Thanks & Regards, Rupesh Adobe ColdFusion Team. Rupesh, To confirm, you not saying he should un-install the 8.01 updater, but instead another ColdFusion Hotfix he had manually applied before the updater was released. Is that correct? Thanks. ~Brad Hi, AbstractMethodError can come only when there is incompatibility between two classes which in this case means, that you have a hotfix applied which is no longer compatible. Since you have upgraded to 801, you can remove the hotfix and you should be good to go. Please let me know if that works for you. Thanks & Regards, Rupesh Adobe ColdFusion Team. > Rupesh, > To confirm, you not saying he should un-install the 8.01 > updater, but instead another ColdFusion Hotfix he had > manually applied before the updater was released. Is that correct? I'm not Rupesh, but yes, that's what he's saying. You simply have to delete the JAR file containing the hotfix from the /lib directory. Dave Watts, CTO, Fig Leaf Software http://www.figleaf.com/ Fig Leaf Training: Adobe/Google/Paperthin Certified Partners http://training.figleaf.com/ WebManiacs 2008: the ultimate conference for CF/Flex/AIR developers! http://www.webmaniacsconference.com/ Folks: Just to confirm this for anyone else interested on the list. Yes, this did resolve the issues I was having with cfdocument. After removing the hotfix lib, everything worked great. Thanks for all the help, I would have never even thought about this.... Thanks, Brian ----- Excess quoted text cut - see Original Post for more -----
|
May 24, 2012
|
Latest Fusion Authority Articles
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||