Status/Resolution/Reason: Closed/Won't Fix/Workaround
Reporter/Name(from Bugbase): Michael Nimer / Michael Nimer (Michael Nimer)
Created: 07/10/2012
Components: Language, Java Integration
Versions: 10.0
Failure Type: Non Functioning
Found In Build/Fixed In Build: Final /
Priority/Frequency: Major / Some users will encounter
Locale/System: English / Platforms All
Vote Count: 0
So I have a servlet invoking a cfc, which create a pdf and tries to output. Instead of returning the bytes and letting java write them to the output stream.
I think this is a problem for any output from a cfc? not just cfdocument. SHould cfc's run in an implicit cfsilent mode?
coldfusion.runtime.AbortException
at coldfusion.tagext.lang.DocumentTag.doEndTag(DocumentTag.java:1934)
at cfPdfHtmlExample2ecfc1368963017$funcHTMLTOPDF.runFunction(/Users/mnimer/Development/github/palladium/samples/cf10demos/cfcProxyDemos/target/cfcProxyDemos-maven/demos-inf/components/PdfHtmlExample.cfc:10)
at coldfusion.runtime.UDFMethod.invoke(UDFMethod.java:472)
at coldfusion.runtime.UDFMethod$ArgumentCollectionFilter.invoke(UDFMethod.java:368)
at coldfusion.filter.FunctionAccessFilter.invoke(FunctionAccessFilter.java:55)
at coldfusion.runtime.UDFMethod.runFilterChain(UDFMethod.java:321)
at coldfusion.runtime.UDFMethod.invoke(UDFMethod.java:220)
at coldfusion.runtime.TemplateProxy.invoke(TemplateProxy.java:655)
at coldfusion.runtime.TemplateProxy.invoke(TemplateProxy.java:601)
at coldfusion.cfc.CFCProxyFilter.invoke(CFCProxyFilter.java:56)
at coldfusion.filter.ApplicationFilter.invoke(ApplicationFilter.java:436)
at coldfusion.filter.ClientScopePersistenceFilter.invoke(ClientScopePersistenceFilter.java:28)
at coldfusion.filter.GlobalsFilter.invoke(GlobalsFilter.java:38)
at coldfusion.filter.DatasourceFilter.invoke(DatasourceFilter.java:22)
at coldfusion.cfc.CFCProxy.doInvoke(CFCProxy.java:325)
at coldfusion.cfc.CFCProxy.invoke(CFCProxy.java:241)
at demos.servlet.PdfHtmlExampleServlet.doPost(PdfHtmlExampleServlet.java:70)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:641)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:722)
at coldfusion.bootstrap.BootstrapServlet.service(BootstrapServlet.java:89)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:304)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:224)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:175)
at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:462)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:164)
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:100)
at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:851)
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:118)
at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:405)
at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:278)
at org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:515)
at org.apache.tomcat.util.net.JIoEndpoint$SocketProcessor.run(JIoEndpoint.java:302)
at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
at java.lang.Thread.run(Thread.java:680)
----------------------------- Additional Watson Details -----------------------------
Watson Bug ID: 3282982
External Customer Info:
External Company:
External Customer Name: mnimer
External Customer Email:
Attachments:
- July 10, 2012 00:00:00: 1_PdfHtmlExampleServlet.java
- July 10, 2012 00:00:00: 2_PdfHtmlExample.cfc
Comments: