Cocoon 2.1.11 pdf dont display cirilic?
Hi all
I was installing cocoon with apex as describe at
http://carlback.blogspot.com/2007/03/apex-cocoon-pdf-and-more.html
but when I have cirilic theres #####
(so I m trying to set APEX_FOP/apache-tomcat-6.0.29/webapps/cocoon/WEB-INF/web.xml
from ISO-8859-1 to utf-8
<init-param>
<param-name>container-encoding</param-name>
<param-value>utf-8</param-value>
</init-param>
<init-param>
<param-name>form-encoding</param-name>
<param-value>utf-8</param-value>
</init-param>...)
but theres no change.
Is there any solutions?
Pdf cant displaz cirilic, but rtf(Word) can.
Gordan
Edited by: useruseruser on Nov 29, 2010 3:35 PM
Hi,
You should probably post this question in Application Express forum
Oracle Application Express (APEX)
Or try another fop_post
http://rste.blogspot.com/2008/07/excel-export-from-apex-cocoon.html
Regards,
Jari
Similar Messages
-
Upgraded to Firefox 4, using windows XP abd Adobe X reader. PDFs load but dont display, followed the instructions but did not help
Adobe Reader X can only save reader-enabled forms. Adobe Reader XI can save all forms.
-
Oracle 11g with cocoon.war and glassfish pdf problem?
Hi all,
I m install oracle 11g express on CentOS 5.6 OS, oracle apex listener 1.1.2.131.15
glassfish v2 and cocoon 2.1.11 and connect glasfish with oracle apex and working fine
Problem begin when I was build cocon xml and deploy cocoon.war on glassfish,
adding fop_post on cocoon/fop_post (as describe on http://carlback.blogspot.com/2007/03/apex-cocoon-pdf-and-more.html) but pdf dont work!
(I was setting all this steps on open suse 11.2-32 byte machine and ubuntu 8.04-32 byte and pdf work ok )
Is there any idea whats happen whith this pdf error?
Is problem with 64 byte some specific settings, with java jdk, cocoon, glassfish or something on oracle 11g apex ?
Gordan
Edited by: useruseruser on Jun 20, 2011 9:49 PMUdo wrote:
Hi Gordon,
what kind of error do you receive? And did you receive any error when building the cocoon.war with the 64bit Java? And which JDK are you using anyway?
-Udo
>Hi Gordon,
what kind of error do you receive? And did you receive any error when building the cocoon.war with the 64bit Java? And which JDK are you using anyway?
-Udo
Hi Udo
When I make export to pdf from report theres error Could not open file ///tmp/Report-1.pdf
I was installing on OpenSuse 11.3 oracle 11g 64 based OS and oracle
next I was download and unzip and build cocoon2.1.11 as bash build.sh war -- and in build folder theres make cocoon.war
next I was download apex listener and from command line I was type java -jar apex.war
next download and build glassfish v2 and this two war files I was deploy on server, and making username as describe
in apex listener conf documentations, so apex working good over glassfish only cocoon cant create pdf
giving me error Could not open file ///tmp/Report-1.pdf. and jdk is 1.6 26 64 byte
error messages from open suse 11.3 64 byte on cocoon/fop_post>
An error has occured
org.apache.cocoon.ProcessingException: Unknown request object encountered named template : null
Cocoon stacktrace[hide]
Exception in StreamGenerator.generate()
context://fop_post/sitemap.xmap - 17:32 <map:serialize type="xml">
context://fop_post/sitemap.xmap - 13:33 <map:generate type="stream">
Unable to get transformer handler for cocoon://fop_post/xsl
context://fop_post/sitemap.xmap - 38:37 <map:serialize type="fo2pdf">
context://fop_post/sitemap.xmap - 31:39 <map:transform>
context://fop_post/sitemap.xmap - 30:38 <map:generate>
context://sitemap.xmap - 1055:92 <map:mount>
Java stacktrace[show]
org.apache.cocoon.ProcessingException: Unknown request object encountered named template : null
at org.apache.cocoon.generation.StreamGenerator.generate(StreamGenerator.java:122)
at org.apache.cocoon.components.pipeline.AbstractProcessingPipeline.processXMLPipeline(AbstractProcessingPipeline.java:579)
at org.apache.cocoon.components.pipeline.impl.AbstractCachingProcessingPipeline.processXMLPipeline(AbstractCachingProcessingPipeline.java:280)
at org.apache.cocoon.components.pipeline.AbstractProcessingPipeline.process(AbstractProcessingPipeline.java:780)
at org.apache.cocoon.components.source.impl.SitemapSource.toSAX(SitemapSource.java:414)
at org.apache.cocoon.components.xslt.TraxProcessor.sourceToSAX(TraxProcessor.java:306)
at org.apache.cocoon.components.xslt.TraxProcessor.getTransformerHandlerAndValidity(TraxProcessor.java:241)
at org.apache.cocoon.transformation.TraxTransformer.setup(TraxTransformer.java:331)
at org.apache.cocoon.components.pipeline.AbstractProcessingPipeline.setupPipeline(AbstractProcessingPipeline.java:398)
at org.apache.cocoon.components.pipeline.impl.AbstractCachingProcessingPipeline.setupPipeline(AbstractCachingProcessingPipeline.java:718)
at org.apache.cocoon.components.pipeline.AbstractProcessingPipeline.preparePipeline(AbstractProcessingPipeline.java:501)
at org.apache.cocoon.components.pipeline.AbstractProcessingPipeline.process(AbstractProcessingPipeline.java:453)
at org.apache.cocoon.components.treeprocessor.sitemap.SerializeNode.invoke(SerializeNode.java:144)
at org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode.invokeNodes(AbstractParentProcessingNode.java:69)
at org.apache.cocoon.components.treeprocessor.sitemap.SwitchSelectNode.invoke(SwitchSelectNode.java:104)
at org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode.invokeNodes(AbstractParentProcessingNode.java:47)
at org.apache.cocoon.components.treeprocessor.sitemap.MatchNode.invoke(MatchNode.java:108)
at org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode.invokeNodes(AbstractParentProcessingNode.java:69)
at org.apache.cocoon.components.treeprocessor.sitemap.PipelineNode.invoke(PipelineNode.java:143)
at org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode.invokeNodes(AbstractParentProcessingNode.java:69)
at org.apache.cocoon.components.treeprocessor.sitemap.PipelinesNode.invoke(PipelinesNode.java:93)
at org.apache.cocoon.components.treeprocessor.ConcreteTreeProcessor.process(ConcreteTreeProcessor.java:235)
at org.apache.cocoon.components.treeprocessor.ConcreteTreeProcessor.process(ConcreteTreeProcessor.java:177)
at org.apache.cocoon.components.treeprocessor.TreeProcessor.process(TreeProcessor.java:254)
at org.apache.cocoon.components.treeprocessor.sitemap.MountNode.invoke(MountNode.java:118)
at org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode.invokeNodes(AbstractParentProcessingNode.java:47)
at org.apache.cocoon.components.treeprocessor.sitemap.MatchNode.invoke(MatchNode.java:108)
at org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode.invokeNodes(AbstractParentProcessingNode.java:69)
at org.apache.cocoon.components.treeprocessor.sitemap.PipelineNode.invoke(PipelineNode.java:143)
at org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode.invokeNodes(AbstractParentProcessingNode.java:69)
at org.apache.cocoon.components.treeprocessor.sitemap.PipelinesNode.invoke(PipelinesNode.java:93)
at org.apache.cocoon.components.treeprocessor.ConcreteTreeProcessor.process(ConcreteTreeProcessor.java:235)
at org.apache.cocoon.components.treeprocessor.ConcreteTreeProcessor.process(ConcreteTreeProcessor.java:177)
at org.apache.cocoon.components.treeprocessor.TreeProcessor.process(TreeProcessor.java:254)
at org.apache.cocoon.Cocoon.process(Cocoon.java:699)
at org.apache.cocoon.servlet.CocoonServlet.service(CocoonServlet.java:1154)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:847)
at org.apache.catalina.core.ApplicationFilterChain.servletService(ApplicationFilterChain.java:427)
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:315)
at org.apache.catalina.core.StandardContextValve.invokeInternal(StandardContextValve.java:287)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:218)
at org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:648)
at org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:593)
at com.sun.enterprise.web.WebPipeline.invoke(WebPipeline.java:94)
at com.sun.enterprise.web.PESessionLockingStandardPipeline.invoke(PESessionLockingStandardPipeline.java:98)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:222)
at org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:648)
at org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:593)
at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:587)
at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:1093)
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:166)
at org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:648)
at org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:593)
at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:587)
at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:1093)
at org.apache.coyote.tomcat5.CoyoteAdapter.service(CoyoteAdapter.java:291)
at com.sun.enterprise.web.connector.grizzly.DefaultProcessorTask.invokeAdapter(DefaultProcessorTask.java:666)
at com.sun.enterprise.web.connector.grizzly.DefaultProcessorTask.doProcess(DefaultProcessorTask.java:597)
at com.sun.enterprise.web.connector.grizzly.DefaultProcessorTask.process(DefaultProcessorTask.java:872)
at com.sun.enterprise.web.connector.grizzly.DefaultReadTask.executeProcessorTask(DefaultReadTask.java:341)
at com.sun.enterprise.web.connector.grizzly.DefaultReadTask.doTask(DefaultReadTask.java:263)
at com.sun.enterprise.web.connector.grizzly.DefaultReadTask.doTask(DefaultReadTask.java:214)
at com.sun.enterprise.web.connector.grizzly.TaskBase.run(TaskBase.java:264)
at com.sun.enterprise.web.connector.grizzly.ssl.SSLWorkerThread.run(SSLWorkerThread.java:106)
Java full stacktrace[show]
org.apache.cocoon.ProcessingException: Unable to get transformer handler for cocoon://fop_post/xsl
at <map:serialize type="fo2pdf"> - file:///home/nadrog/glassfish/domains/domain1/applications/j2ee-modules/cocoon/fop_post/sitemap.xmap:38:37
at <map:transform> - file:///home/nadrog/glassfish/domains/domain1/applications/j2ee-modules/cocoon/fop_post/sitemap.xmap:31:39
at <map:generate> - file:///home/nadrog/glassfish/domains/domain1/applications/j2ee-modules/cocoon/fop_post/sitemap.xmap:30:38
at <map:mount> - file:///home/nadrog/glassfish/domains/domain1/applications/j2ee-modules/cocoon/sitemap.xmap:1055:92
at org.apache.cocoon.transformation.TraxTransformer.setup(TraxTransformer.java:339)
at org.apache.cocoon.components.pipeline.AbstractProcessingPipeline.setupPipeline(AbstractProcessingPipeline.java:398)
at org.apache.cocoon.components.pipeline.impl.AbstractCachingProcessingPipeline.setupPipeline(AbstractCachingProcessingPipeline.java:718)
at org.apache.cocoon.components.pipeline.AbstractProcessingPipeline.preparePipeline(AbstractProcessingPipeline.java:501)
at org.apache.cocoon.components.pipeline.AbstractProcessingPipeline.process(AbstractProcessingPipeline.java:453)
at org.apache.cocoon.components.treeprocessor.sitemap.SerializeNode.invoke(SerializeNode.java:144)
at org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode.invokeNodes(AbstractParentProcessingNode.java:69)
at org.apache.cocoon.components.treeprocessor.sitemap.SwitchSelectNode.invoke(SwitchSelectNode.java:104)
at org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode.invokeNodes(AbstractParentProcessingNode.java:47)
at org.apache.cocoon.components.treeprocessor.sitemap.MatchNode.invoke(MatchNode.java:108)
at org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode.invokeNodes(AbstractParentProcessingNode.java:69)
at org.apache.cocoon.components.treeprocessor.sitemap.PipelineNode.invoke(PipelineNode.java:143)
at org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode.invokeNodes(AbstractParentProcessingNode.java:69)
at org.apache.cocoon.components.treeprocessor.sitemap.PipelinesNode.invoke(PipelinesNode.java:93)
at org.apache.cocoon.components.treeprocessor.ConcreteTreeProcessor.process(ConcreteTreeProcessor.java:235)
at org.apache.cocoon.components.treeprocessor.ConcreteTreeProcessor.process(ConcreteTreeProcessor.java:177)
at org.apache.cocoon.components.treeprocessor.TreeProcessor.process(TreeProcessor.java:254)
at org.apache.cocoon.components.treeprocessor.sitemap.MountNode.invoke(MountNode.java:118)
at org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode.invokeNodes(AbstractParentProcessingNode.java:47)
at org.apache.cocoon.components.treeprocessor.sitemap.MatchNode.invoke(MatchNode.java:108)
at org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode.invokeNodes(AbstractParentProcessingNode.java:69)
at org.apache.cocoon.components.treeprocessor.sitemap.PipelineNode.invoke(PipelineNode.java:143)
at org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode.invokeNodes(AbstractParentProcessingNode.java:69)
at org.apache.cocoon.components.treeprocessor.sitemap.PipelinesNode.invoke(PipelinesNode.java:93)
at org.apache.cocoon.components.treeprocessor.ConcreteTreeProcessor.process(ConcreteTreeProcessor.java:235)
at org.apache.cocoon.components.treeprocessor.ConcreteTreeProcessor.process(ConcreteTreeProcessor.java:177)
at org.apache.cocoon.components.treeprocessor.TreeProcessor.process(TreeProcessor.java:254)
at org.apache.cocoon.Cocoon.process(Cocoon.java:699)
at org.apache.cocoon.servlet.CocoonServlet.service(CocoonServlet.java:1154)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:847)
at org.apache.catalina.core.ApplicationFilterChain.servletService(ApplicationFilterChain.java:427)
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:315)
at org.apache.catalina.core.StandardContextValve.invokeInternal(StandardContextValve.java:287)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:218)
at org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:648)
at org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:593)
at com.sun.enterprise.web.WebPipeline.invoke(WebPipeline.java:94)
at com.sun.enterprise.web.PESessionLockingStandardPipeline.invoke(PESessionLockingStandardPipeline.java:98)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:222)
at org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:648)
at org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:593)
at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:587)
at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:1093)
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:166)
at org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:648)
at org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:593)
at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:587)
at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:1093)
at org.apache.coyote.tomcat5.CoyoteAdapter.service(CoyoteAdapter.java:291)
at com.sun.enterprise.web.connector.grizzly.DefaultProcessorTask.invokeAdapter(DefaultProcessorTask.java:666)
at com.sun.enterprise.web.connector.grizzly.DefaultProcessorTask.doProcess(DefaultProcessorTask.java:597)
at com.sun.enterprise.web.connector.grizzly.DefaultProcessorTask.process(DefaultProcessorTask.java:872)
at com.sun.enterprise.web.connector.grizzly.DefaultReadTask.executeProcessorTask(DefaultReadTask.java:341)
at com.sun.enterprise.web.connector.grizzly.DefaultReadTask.doTask(DefaultReadTask.java:263)
at com.sun.enterprise.web.connector.grizzly.DefaultReadTask.doTask(DefaultReadTask.java:214)
at com.sun.enterprise.web.connector.grizzly.TaskBase.run(TaskBase.java:264)
at com.sun.enterprise.web.connector.grizzly.ssl.SSLWorkerThread.run(SSLWorkerThread.java:106)
Caused by: org.apache.excalibur.xml.xslt.XSLTProcessorException: Exception when creating Transformer from cocoon://fop_post/xsl
at org.apache.cocoon.components.xslt.TraxProcessor.getTransformerHandlerAndValidity(TraxProcessor.java:300)
at org.apache.cocoon.transformation.TraxTransformer.setup(TraxTransformer.java:331)
... 56 more
Caused by: org.apache.cocoon.ProcessingException: Exception in StreamGenerator.generate()
at <map:serialize type="xml"> - file:///home/nadrog/glassfish/domains/domain1/applications/j2ee-modules/cocoon/fop_post/sitemap.xmap:17:32
at <map:generate type="stream"> - file:///home/nadrog/glassfish/domains/domain1/applications/j2ee-modules/cocoon/fop_post/sitemap.xmap:13:33
at org.apache.cocoon.components.source.impl.SitemapSource.toSAX(SitemapSource.java:424)
at org.apache.cocoon.components.xslt.TraxProcessor.sourceToSAX(TraxProcessor.java:306)
at org.apache.cocoon.components.xslt.TraxProcessor.getTransformerHandlerAndValidity(TraxProcessor.java:241)
... 57 more
Caused by: org.apache.cocoon.ProcessingException: Exception in StreamGenerator.generate()
at <map:serialize type="xml"> - file:///home/nadrog/glassfish/domains/domain1/applications/j2ee-modules/cocoon/fop_post/sitemap.xmap:17:32
at <map:generate type="stream"> - file:///home/nadrog/glassfish/domains/domain1/applications/j2ee-modules/cocoon/fop_post/sitemap.xmap:13:33
at org.apache.cocoon.generation.StreamGenerator.generate(StreamGenerator.java:163)
at org.apache.cocoon.components.pipeline.AbstractProcessingPipeline.processXMLPipeline(AbstractProcessingPipeline.java:579)
at org.apache.cocoon.components.pipeline.impl.AbstractCachingProcessingPipeline.processXMLPipeline(AbstractCachingProcessingPipeline.java:280)
at org.apache.cocoon.components.pipeline.AbstractProcessingPipeline.process(AbstractProcessingPipeline.java:780)
at org.apache.cocoon.components.source.impl.SitemapSource.toSAX(SitemapSource.java:414)
... 59 more
Caused by: org.apache.cocoon.ProcessingException: Unknown request object encountered named template : null
at org.apache.cocoon.generation.StreamGenerator.generate(StreamGenerator.java:122)
... 63 more
The Apache Cocoon Project
and other error from CentOS 64 byte same cocoon/fop_post >
Resource not found
org.apache.cocoon.ResourceNotFoundException: No pipeline matched request: fop_post/
<map:mount> - context://sitemap.xmap - 1055:92
Cocoon stacktrace[hide]
No pipeline matched request: fop_post/
context://sitemap.xmap - 1055:92 <map:mount>
Java stacktrace[show]
org.apache.cocoon.ResourceNotFoundException: No pipeline matched request: fop_post/
at <map:mount> - file:///home/nadrog/glassfish/domains/domain1/applications/j2ee-modules/cocoon/sitemap.xmap:1055:92
at org.apache.cocoon.components.treeprocessor.sitemap.PipelineNode.invoke(PipelineNode.java:149)
at org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode.invokeNodes(AbstractParentProcessingNode.java:69)
at org.apache.cocoon.components.treeprocessor.sitemap.PipelinesNode.invoke(PipelinesNode.java:93)
at org.apache.cocoon.components.treeprocessor.ConcreteTreeProcessor.process(ConcreteTreeProcessor.java:235)
at org.apache.cocoon.components.treeprocessor.ConcreteTreeProcessor.process(ConcreteTreeProcessor.java:177)
at org.apache.cocoon.components.treeprocessor.TreeProcessor.process(TreeProcessor.java:254)
at org.apache.cocoon.components.treeprocessor.sitemap.MountNode.invoke(MountNode.java:118)
at org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode.invokeNodes(AbstractParentProcessingNode.java:47)
at org.apache.cocoon.components.treeprocessor.sitemap.MatchNode.invoke(MatchNode.java:108)
at org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode.invokeNodes(AbstractParentProcessingNode.java:69)
at org.apache.cocoon.components.treeprocessor.sitemap.PipelineNode.invoke(PipelineNode.java:143)
at org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode.invokeNodes(AbstractParentProcessingNode.java:69)
at org.apache.cocoon.components.treeprocessor.sitemap.PipelinesNode.invoke(PipelinesNode.java:93)
at org.apache.cocoon.components.treeprocessor.ConcreteTreeProcessor.process(ConcreteTreeProcessor.java:235)
at org.apache.cocoon.components.treeprocessor.ConcreteTreeProcessor.process(ConcreteTreeProcessor.java:177)
at org.apache.cocoon.components.treeprocessor.TreeProcessor.process(TreeProcessor.java:254)
at org.apache.cocoon.Cocoon.process(Cocoon.java:699)
at org.apache.cocoon.servlet.CocoonServlet.service(CocoonServlet.java:1154)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:847)
at org.apache.catalina.core.ApplicationFilterChain.servletService(ApplicationFilterChain.java:427)
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:315)
at org.apache.catalina.core.StandardContextValve.invokeInternal(StandardContextValve.java:287)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:218)
at org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:648)
at org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:593)
at com.sun.enterprise.web.WebPipeline.invoke(WebPipeline.java:94)
at com.sun.enterprise.web.PESessionLockingStandardPipeline.invoke(PESessionLockingStandardPipeline.java:98)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:222)
at org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:648)
at org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:593)
at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:587)
at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:1093)
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:166)
at org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:648)
at org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:593)
at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:587)
at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:1093)
at org.apache.coyote.tomcat5.CoyoteAdapter.service(CoyoteAdapter.java:291)
at com.sun.enterprise.web.connector.grizzly.DefaultProcessorTask.invokeAdapter(DefaultProcessorTask.java:666)
at com.sun.enterprise.web.connector.grizzly.DefaultProcessorTask.doProcess(DefaultProcessorTask.java:597)
at com.sun.enterprise.web.connector.grizzly.DefaultProcessorTask.process(DefaultProcessorTask.java:872)
at com.sun.enterprise.web.connector.grizzly.DefaultReadTask.executeProcessorTask(DefaultReadTask.java:341)
at com.sun.enterprise.web.connector.grizzly.DefaultReadTask.doTask(DefaultReadTask.java:263)
at com.sun.enterprise.web.connector.grizzly.DefaultReadTask.doTask(DefaultReadTask.java:214)
at com.sun.enterprise.web.connector.grizzly.TaskBase.run(TaskBase.java:264)
at com.sun.enterprise.web.connector.grizzly.ssl.SSLWorkerThread.run(SSLWorkerThread.java:106)
The Apache Cocoon Project
All this steps above, I was making with open suse 32 byte, with oracle 32 byte 10g with
apex listener, cocoon and glassfish and apex and pdf export working good.
is there any idea, whats solution for 64 byte cocoon, apex listener oracle express pdf export?
regards
Gordan
Edited by: useruseruser on Jun 23, 2011 9:09 AM -
I can no longer read my bank statements. I believe they are using a PDF to display this information. If I go to chrome it will open the bank statements but Firefox no longer open these flies. Why??????
It's very unusual to get no results for PDF in the Application preferences list. It's possible that the file which stores those preferences might have become corrupted. Perhaps it would be best to rename or delete the file and let Firefox re-create it.
Here's how:
Open your current Firefox settings (AKA Firefox profile) folder using
Help > Troubleshooting Information > "Show Folder" button
Switch back to Firefox and Exit
Pause while Firefox finishes its cleanup, then rename '''mimeTypes.rdf''' to something like mimeTypes.old
Restart Firefox. After things setting down, check the Application preferences again to see whether PDF is listed and then set the drop-down on the right side to the desired action.
orange Firefox button or classic Tools menu > Options > Applications
Does that work any better? -
I want to run jasper Report as pdf to display arabic letter
i want to run jasper Report as pdf to display arabic letter butv when i use
byte[] bytes =JasperRunManager.runReportToPdf(report,parameters, conn); display ?????
i hope anybody to help me
thanks
Edited by: Amr Ahmed on May 2, 2011 2:08 AMDECLARE
vParamList PARAMLIST;
BEGIN
vParamList:=GET_PARAMETER_LIST('MyRep');
IF NOT ID_NULL(vParamList) THEN
DESTROY_PARAMETER_LIST(vParamList);
END IF;
vParamList:=CREATE_PARAMETER_LIST('MyRep');
SET_REPORT_OBJECT_PROPERTY('report_path\emp_rep_def',REPORT_DESFORMAT,'PDF');
RUN_PRODUCT(REPORTS,'report_path\emp_rep_def',ASYNCHRONOUS,RUNTIME,FILESYSTEM,vParamList,NULL);
END; -
Incorrect PDF being displayed periodically in the browser
I want to start by thanking anyone who could shed light on this problem.
We have a web application that dynamically generates PDF files per a user request in a web application. 98% of the time the proper PDF gets opened in the browser correctly, whether it be IE or Firefox. The other 2% of the time, no matter what url data was requested from, an incorrect PDF is displayed. This incorrect PDF that gets displayed is one that was requested and opened in a previous request and could still be open in a browser tab. Once this state is reached all PDFs that are requested do not line up with the requested PDF, meaning they are all incorrect. Once the browser is refreshed the problem stops happening for another stretch of time.
I have read posts that discuss placing a random number in the url to "trick" the browser plugin from thinking it already has the PDF. We have done that. In fact this issue appears to not be impacted at all by the url. For example, when this problem happens I can go to https://appname/one/pdf and get the PDF that was requested and sent back when I went to https://appname/two/pdf. These are two clearly different urls even without the random number that we placed on the end as a parameter and I still receive the PDF from the second URL.
We debugged the server side code and we are 100% sure that we are sending the correct PDF back to the client by streaming the PDF to a file on the server prior to sending it back to the client.
One thing I have noticed is that currently we are not specifying the Content-Disposition header when we return the PDF to the browser. This means that there is no filename being provided to the front end and the plugin. Is it possible that the Adobe Reader plugin eventually gets confused as to what file to display if there is no specific file name provided for the PDF from the server, with the keyword there being eventually as it is an intermittent problem?
We can easily set the Content-Disposition header to be attachment; filename="somename.pdf" but given the intermittent nature of this bug we would like to get some feedback as to if this fix is logical given this issue. If it is not logical we would appreciate any other information that may help us troubleshoot this issue. The alternative is to rewrite the document generation code to output HTML, and I really do not want to do that.
We are using the Adobe Acrobat 9.4.5.236 add-on to Firefox 10.0.3, Adobe Reader 9.4.0, and Internet Explorer 8.0.6001.18702. All of these versions are not able to be upgraded, meaning this is the baseline we have to support. We also operate, still, on Window XP Professional Service Pack 3.
One last comment, client side operations by the user are not valid solutions either. I have already suggested asking the user to uncheck the open in browser option in Adobe Reader but our customer does not find that to be a valid solution. To date we have not been able to recreate the issue when the PDF is opened in Adobe Reader proper and not the browser.
Thanks again for any help and information.In case someone, other than me, stumbles across this post. The solution I suggested in the opening post did not work. When a user opens a PDF using the Reader Plug-in in Firefox they still have the potential to see the previous PDF. The interesting thing is, as it appears right now, that this only occurs when a user closes a Firefox tab that contained the previous PDF and then triggers a different PDF to be opened in Firefox. What seems to be happening is that the Reader Plug-in ignores the file it is supposed to open and recycles the PDF that was in that tab before it was closed. Which is funny because the URL of that tab points to the new file that was downloaded into the temp directory but the contents of the tab is still the previous PDF. Not sure if the plug-in just doesn't clean out the previous contents or what but it clearly is an issue that resides in the Adobe Reader Plug-in for Firefox.
I am not sure what we are going to do at the moment but if we find a solution, other than don't open the PDF in Firefox, I will be sure to post it here. However, for right now there is nothing coming to mind. -
after updating to ios 8.0.2 .when i'm unlocking the mobile wallpaper dont display . its shows only network and battery status .
then i need to switch off and switch the iphone. per day i'm doing this for 3 times.
mean while if some one calls ,its not displaying who is calling.
need to rectify this ASPHi Tarun 49,
If you are having issues with your iPhone such as you describe, you may want to try some things to troubleshoot.
First, quit all running applications and test again -
iOS: Force an app to close
Next, I would try restarting the iPhone -
Turn your iOS device off and on (restart) and reset
If the issue is still present, you may want to restore the iPhone as a new device -
iOS: How to back up your data and set up your device as a new device
Thanks for using Apple Support Communities.
Best,
Brett L -
PDF not displayed in Firefox 2.0 because of a popup
Hello,
we use NetWeaver 2004s SP9 and WebDynpro for ABAP 2004s SP 9.
In case of using Browser Firefox 2.0, we detected a problem with popups and Adobe Interactive Forms Integration.
The problem - described in a simplified form - occurs as follows:
There are two screens: screen A and screen B. Screen A contains some input fields.
Screen B shows a PDF via the Adobe Interactive Forms Integration, which contains data of screen A.
The navigation is screen A --> screen B.
Basically, this scenario works fine in Firefox 2.0. The PDF is displayed correctly on View B.
But, if a popup is shown before navigation form screen A to screen B, the PDF
(and the Adobe Plugin as well) is not displayed on screen B.
In this case the navigation is screen A --> Popup (screen A in background) --> screen B.
This problem exists only in Firefox, not in Internet Explorer.
Do you have any ideas how to solve this problem?
Best regards
DanielHi Heidi,
thank you for your reply!
I have implemented note 1001411.
But the problem still exists...
Best regards
Daniel -
Use byte array of PDF to display PDF in IE browser
I get byte array of PDF as input argument. I need to use byte array to display PDF in IE browser. I am writing code in doGet method of Servlet to accomplish this. However, PDF never gets displayed. I see Acrobat starting, but original PDF never gets displayed in browser.
I am using code below in doGet of Servlet:
resp.setContentType("application/pdf");
resp.setHeader("Expires", "0");
resp.setHeader("Cache-Control","must-revalidate, post-check=0,
pre-check=0");
resp.setHeader("Pragma", "public");
resp.setHeader("Pragma", "no-cache"); //HTTP 1.0
resp.setDateHeader("Expires", 0); //prevents caching at the proxy
server
resp.setHeader("Cache-Control", "no-cache"); //HTTP 1.1
resp.setHeader("Cache-Control", "max-age=0");
resp.setHeader("Content-disposition", "inline; filename=stuff.pdf");
byte[] inBytes = getBytesOfPDF(...);
ByteArrayOutputStream outStream = new ByteArrayOutputStream();
if(inBytes !=null){
outStream.write(inBytes);
outStream.flush();
I added dummy name of PDF (stuff.pdf) for display, as I heard IE requires a file name with .pdf extension for display.
But I had no luck with the code above.
Any help with code will be appreciated.
[email protected]Hi
Am using the same code and i am able to get the PDF out.
/* Finally writing it into a PDF */
response.setContentType("application/pdf");
/* filename could be any thing */
response.setHeader("Content-Disposition",
"attachment; filename=Report.pdf");
response.setContentLength(content.length);
response.getOutputStream().write(content);
response.getOutputStream().flush();
But this also throws a error in the server :
java.lang.IllegalStateException: getOutputStream() has already been called for this response
at org.apache.catalina.connector.Response.getWriter(Response.java:606)
at org.apache.catalina.connector.ResponseFacade.getWriter(ResponseFacade.java:195)
at org.springframework.web.servlet.view.freemarker.FreeMarkerView.processTemplate(FreeMarkerView.java:344)
at org.springframework.web.servlet.view.freemarker.FreeMarkerView.doRender(FreeMarkerView.java:280)
at org.springframework.web.servlet.view.freemarker.FreeMarkerView.renderMergedTemplateModel(FreeMarkerView.java:225)
at org.springframework.web.servlet.view.AbstractTemplateView.renderMergedOutputModel(AbstractTemplateView.java:174)
at org.springframework.web.servlet.view.AbstractView.render(AbstractView.java:239)
at org.springframework.web.servlet.DispatcherServlet.render(DispatcherServlet.java:1142)
at org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:879)
at org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:792)
at org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:476)
at org.springframework.web.servlet.FrameworkServlet.doPost(FrameworkServlet.java:441)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:709)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:672)
at org.apache.catalina.core.ApplicationDispatcher.processRequest(ApplicationDispatcher.java:463)
at org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:398)
at org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:301)
at org.ca.ielts.presentationtier.servlet.AuthorisationAuthenticationFilter.doFilter(Unknown Source)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126)
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105)
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107)
at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148)
at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:868)
at org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:663)
at org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527)
at org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:80)
at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:684)
at java.lang.Thread.run(Thread.java:595)
Any Clues how this has to be fixed.???? -
Convert ABAP Spool to PDF and display in BSP
Hello SDNers,
I have a requirement to display an R/3 report in Portal as PDF. I have chosen the route of creating a BSP which will show the report as PDF.
I will then create a BSP iView in Portal pointing to this application.
I am following the weblog /people/sap.user72/blog/2004/11/10/bsphowto-generate-pdf-output-from-a-bsp
and few SDN forums:
Display result of standard report RPTEDT00 within BSP
Re: PDF Output
I am new to BSP development and I am not able to put all the pieces of code together.
I would really appreciate if you can help me put the pieces together and help me out with this.
More details:
This custom report displays the summary of Benefits Cost Accounting (by PERNR and current year).
Once the report is run, I would like to get hold of the spool and convert the spool to PDF.
In my BSP I would like to get the spool (or the binary of the PDF) and display the report as PDF in the BSP application.
I have created the BSP application using the code given in the above weblog.
I am not sure how to proceed further with the requirement.
Looking forward for your suggestions and help.
Thanks,
KalyanHi kalyan,
go thru this wiki and you will have what you need all at one place. the piece you might want to look at is ABAP spool to PDF. It even contains complete code.
https://www.sdn.sap.com/irj/sdn/wiki?path=/display/bsp/pdf
hope this helps. -
Preview: In a group of PDF files in the same window, going to the next or a previous PDF file displays the bottom of PDF page by default, not the top of the PDF page. How do you change this? In Mac OS 10.9 and previous, going to the next or previous PDF file displays the top of the PDF by default. Is there a way to change this back? When I go to the next or previous PDF file, I want to first view the top of the page, not the bottom. This really doesn't make any sense. Any help? Thanks!
MacBook Air (13-inch, Mid 2012)
2 GHz Intel Core i7
8 GB 1600 MHz DDR3
500 GB Flash Storage
Preview Version 8.0 (859)
Mac OS 10.10.1That to me seems like a bug in Yosemite.
Apple Feedback http://www.apple.com/feedback/
Bug Reporter https://bugreport.apple.com/ -
Why some PDF docs displayed are garbled and others are not?
I've had this love hate relationship with adobe for the past few days. I'm so frustrated since I can't seem to figure why other pdf docs display information correctly while others are garbled. It looks as if the letters/text overlap. I 'm loosing sleep over this. I'm at my wits end. Can someone please help? I appreciate any assistance you can provide.
Thanks,
CHi Allegria11,
Don't lose sleep over Adobe! Let's see what we can figure out. But I have lots of questions to get us started:
Are you creating the PDFs yourself, or viewing PDFs from different sources?
What are you using to view the PDFs (Reader, Acrobat, and what versions)?
Do these PDFs all use the same fonts, or different ones?
Do you know whether the fonts are embedded/subsetted in the PDFs? (You can check by choosing File > Properties and clicking the Fonts tab.
Let's start there, and we will dig deeper if none of these shed any light on the problem.
Best,
Sara -
Bug - Safari 5.1.5 breaks the keyword search of PDF files displayed on Safari
Bug - Safari 5.1.5 breaks the keyword search of PDF files displayed on Safari.
After updating to Safari 5.1.5 with Adobe Acrobat Pro 10.1.3 on Mac OS X 10.6.8, it is not possible to search for keywords in PDF documents displayed on Safari.
I understand that it is a bug. Is there any way to fix it?
Thanks.Hi...
Try deleting a plugin...
Open the Finder. From the menu bar click Go > Go to Folder
Typs this: /Library/Internet Plug-Ins
Move the Adobe PDF Browser plugin (or PDF Browser plugin) to the Trash.
Quit then relaunch Safari to test.
If that doesn't help, back to the Finder menu.
Go > Go to Folder
Type this: ~/Library/Caches/com.apple.Safarfi/Cache.db
Move the Cache.db file to the Trash.
Quit then relaunch Safari to test. -
Photoshop: How to save as a pdf and display description?
The only other Photoshop I ever used was CS3, and when I clicked "print" it saved as a pdf first, and I could choose to make it display different metadata. That feature has been removed for all newer versions for some reason, and I have no idea how to do what I want to do.
I need to save it as a pdf, and display the description/subject metadata under the photo. I can't find anything online on how to do this.BlazeHeatnix,
Due to the current unavailability of clairvoyants and mind-readers in the forum, we respectfully request you supply sensible, complete details.
Please understand that "CS5" does not clear up the issue of what version of Photoshop you are using. "Photoshop CS5 12.0.1" would.
A screen capture would be very helpful.
Also, have you trued the Print command, then Save As PDF?
BOILERPLATE TEXT:
Note that this is boilerplate text.
If you give complete and detailed information about your setup and the issue at hand,
such as your platform (Mac or Win),
exact versions of your OS, of Photoshop (not just "CS6", but something like CS6v.13.0.6) and of Bridge,
your settings in Photoshop > Preference > Performance
the type of file you were working on,
machine specs, such as total installed RAM, scratch file HDs, total available HD space, video card specs, including total VRAM installed,
what troubleshooting steps you have taken so far,
what error message(s) you receive,
if having issues opening raw files also the exact camera make and model that generated them,
if you're having printing issues, indicate the exact make and model of your printer, paper size, image dimensions in pixels (so many pixels wide by so many pixels high). if going through a RIP, specify that too.
etc.,
someone may be able to help you (not necessarily this poster, who is not a Windows user).
a screen shot of your settings or of the image could be very helpful too.
Please read this FAQ for advice on how to ask your questions correctly for quicker and better answers:
http://forums.adobe.com/thread/419981?tstart=0
Thanks! -
How to merge multiple PDFs and display in a new window
Hi,
I'm trying to merge multiple PDFs into one PDF and display the output in a new window using PeopleCode. I have a button on a page, which when clicked should open a new window with the merged PDFs. I am able to succussfully merge the PDFs using the PDFmerger class (mergePDFs) but unable to display the result in a new window.
Please help.Thanks.
I also found this piece of code very helpful.
Local PSXP_RPTDEFNMANAGER:Utility &oUtil;
Local boolean &bRtn;
/* send the output to client */
/* &sFileName = the file path /file_name.extension */
&oUtil = create PSXP_RPTDEFNMANAGER:Utility();
&bRtn = &oUtil.zipAndViewAttachment(&sFileName);
Edited by: user8260115 on Sep 9, 2009 4:57 PM
Maybe you are looking for
-
How can I get Firefox to default to Unicode rather that Western ?
This is the same question as the unanswered, archived thread https://support.mozilla.org/en-US/questions/989012?fpa=1 Firefox 33.0 displays mojibake+English instead of Japanese+English. It shouldn't matter whether the web page is encoded in ShiftJIS,
-
How to unlink and ipad from an imac
What is the procedure to unlink an IPAD from an IMAC? Thanks, Joe Norton
-
We are testing the JAZN callInfo sample. I have OID version 3.0.1.0, and Oracle9iAS (9.0.3.0.0) Containers for J2EE. We setup the jazn to use LDAP. When starting oc4j we get the following: java -jar oc4j.jar Error instantiating application 'callerInf
-
Network Ports requirements in Enterprise Lync Infrastructure with DR
Hello, We are in process of Lync Server 2013 enterprise deployment where all the workloads will be used. We have two distinct datacenters representing two different sites. Below is the infrastructure information Single Forest ContoBill.Com Empty root
-
Playback feature in Itunes has stopped working
Howdy, For some reason the playback feature in Itunes has stopped working. I've uninstalled and reinstalled Itunes 7 multiple times and it just won't work. Basically its a pain in the *** to use Itunes as my music player because I now have to select