Oracle Reports6 PDF Generation
When I generate a PDF from the Reports preview screen the parameters passed to the report are cleaned and nothing appears. I noticed that when there aren't parameters to the report the PDF is generated successfully.
I should call the report directly from the form, without the parameter screen.
Any ideas ?
This is bug 712350. You need Patch5a or above from Oracle Support...
Similar Messages
-
PDF generation , FOP and Oracle Express DB
Am I right in assuming that you can't use the FOP PDF generation utility with Oracle Express Edition Database? i.e. no oc4j directory etc..
regards
Paul PAm I right in assuming that you can't use the FOP PDF generation utility with Oracle Express Edition Database? i.e. no oc4j directory etc..
regards
Paul P -
Help: PDF Generation Problems in Reports 3.0
Hi Techies,
We are generating PDFs from Oracle Reports 3.0
The PDF generation is fine in some datbases.
But in some database,when the records are more, during PDF
generation, Dr.Watson error is encountered, saying access
violation.
Can any one please clarify whether the error is due to memory
constraints on the system or if it has something to do with
Oracle Reports setting, while generating PDFs.
Do note that the reports are running fine, when the report has
less number of records.
Any suggestion/tip is awaited at the earliest.
Thanks in advance,
Geoff
nullHi!
Remove cache from output dir from time time.
(i.e. from virtual dir where report server puts output)
let me know ...
later
Geoff (guest) wrote:
: Hi Techies,
: We are generating PDFs from Oracle Reports 3.0
: The PDF generation is fine in some datbases.
: But in some database,when the records are more, during PDF
: generation, Dr.Watson error is encountered, saying access
: violation.
: Can any one please clarify whether the error is due to memory
: constraints on the system or if it has something to do with
: Oracle Reports setting, while generating PDFs.
: Do note that the reports are running fine, when the report has
: less number of records.
: Any suggestion/tip is awaited at the earliest.
: Thanks in advance,
: Geoff
null -
PDF Generation problems in Reports 3.0
Hi,
I am generating PDFs from Oracle Reports 3.0
The PDF generation is fine in some datbases.
But in some database,when the records are more, during PDF
generation, Dr.Watson error is encountered, saying access
violation.
Can any one please clarify whether the error is due to memory
constraints on the system or if it has something to do with
Oracle Reports setting, while generating PDFs.
Do note that the reports are running fine, when the report has
less number of records.
Any help in this matter is appreciated.
Regards,
PRAKASH
nullHi!
Remove cache from output dir from time time.
(i.e. from virtual dir where report server puts output)
let me know ...
later
Geoff (guest) wrote:
: Hi Techies,
: We are generating PDFs from Oracle Reports 3.0
: The PDF generation is fine in some datbases.
: But in some database,when the records are more, during PDF
: generation, Dr.Watson error is encountered, saying access
: violation.
: Can any one please clarify whether the error is due to memory
: constraints on the system or if it has something to do with
: Oracle Reports setting, while generating PDFs.
: Do note that the reports are running fine, when the report has
: less number of records.
: Any suggestion/tip is awaited at the earliest.
: Thanks in advance,
: Geoff
null -
APEX 4.1 - APACHE FOP PDF generation problem.
Hi all,
I'm having problem with PDF generation using APACH FOP on OC4J.
When I test my print server as described here:
http://marcsewtz.blogspot.com/2008/06/heres-another-posting-on-pdf-printing.html
everything works without problem. But when I upload my Layout to APEX and try to generate PDF from apex I'm getting error:
oracle.xml.parser.v2.XMLParseException: Unexpected EOF.
at oracle.xml.parser.v2.XMLError.flushErrors1(XMLError.java:320)
at oracle.xml.parser.v2.XMLReader.popXMLReader(XMLReader.java:549)
at oracle.xml.parser.v2.NonValidatingParser.parseElement(NonValidatingParser.java:1375)
at oracle.xml.parser.v2.NonValidatingParser.parseRootElement(NonValidatingParser.java:362)
at oracle.xml.parser.v2.NonValidatingParser.parseDocument(NonValidatingParser.java:308)
at oracle.xml.parser.v2.XMLParser.parse(XMLParser.java:337)
at oracle.xml.xslt.XSLProcessor.newXSLStylesheet(XSLProcessor.java:714)
at oracle.xml.xslt.XSLStylesheet.<init>(XSLStylesheet.java:322)
at oracle.xml.parser.v2.XSLStylesheet.<init>(XSLStylesheet.java:114)
at apex_fop._jspService(_apex__fop.java:71)
[SRC:/apex_fop.jsp:21]
I could see similar post here:
Handling Special characters in call to apex_util.download_print_document
But it doesn't explain my case as it's crashing even when I generate empty pdf(no data so no special characters, only empty XML file with no data should be sent to print server)
Is there any way to see what xml is sent do print server for processing? That could eventually show where is a problem.
PaloMy mistake, there was really an "&" character in my template. now when I replaced it with %26 it works.
However I would be still interested if there is a way to see what data is APEX engine sending to print server cause it will help me to find this kind of errors.
Palo -
PDF generation with FOP throws NPE
Hi,
Stack trace
at oracle.xml.jaxp.JXTransformer.reportXSLException(JXTransformer.java:769)
at oracle.xml.jaxp.JXTransformer.transform(JXTransformer.java:342)
I'm using standard Java 1.4 API calls to create a PDF document from a DOM with Apache FOP 0.20.5.
The servlet is deployed to Oracle 10g Application Server 9.0.4.0.0. With Tomcat 4.1.30 the same code executes without exceptions
Because I have to port our web application to Oracle for a new customer it is important for me to get this fixed soon.
Thank you
EckardLight at the end of the tunnel: It seems to work when FO and PDF generation are separated. Until now the DOM was piped into FOP who internally created the FO from SAX events and then seems to parse it again to create PDF.
I separated the two steps: There is no problem in FO generation, but due to a namespace problem subsequent parsing fails
("org.apache.fop.apps.FOPException: null:2:10 Root element is missing the namespace declaration: http://www.w3.org/1999/XSL/Format")
Now the correct exception comes up. Whether FOP SAX event listener is buggy or XML parser's error handling has a problem, I don't know
Thank you anyway
Eckard -
PDF generation on APEX applications Reports
Hi all
PDF generation on APEX applications is Facilitated in Interactive Reports in the Down load Option,
When we Choose this pdf Down load Option,this is not Working.
why this is not Working?
But this Down load Facility in Interactive Reports is Working fine with Excel Format
Do we need to Install & configure FOP/Cocoon or BI Publisher to Enable PDF Format DOWNLOAD
OR
any Other Work around Availble for this
please Suggest
tahnks AlotTo generate PDF file from APEX reports, you either have to install & configure Bi Publisher or FOP/Cocoon..
http://www.oracle.com/technology/products/database/application_express/html/configure_printing.html
There are alternatives (jasper reports, pl/pdf), but they are also items you need to install and configure..
Thank you,
Tony Miller
Webster, TX -
Hello,
Currently in the process of migrating to Oracle 10g with HTML DB 1.6. Looking for possible solutions for batch generation of PDF invoices with line item detail, graphs and tabular data display. Batch sizes average around 10,000 invoices so speed and efficiency is important.
Any comments or suggestions regarding batch PDF generation with XML-XSLT-FOP, PL/PDF, or any other approaches is greatly appreciated.
Thanks,
GlennHello,
For PDF printing on this scale you would probably be much better off looking at using Oracle Reports.
The XML-XSLT-FOP solution we created is geared more to provding a PDF download to a user during an active HTML DB session.
Carl -
We are looking for a way to use the ootb pdf generation in Oracle BPM10.3 to create an attachment in a pdf file type from a business object.
Anybody have any insights to this?1) What happens when we don't want to create a templateFile. How do we create a PDF then?2) What happens when there are repeatable fields in a group inside the templateFile which are completed at runtime. For e.g. we have a field which calculates total cost by adding all added costs to the table. Now these added costs can be a total 5 different costs or even 10 different costs. How do we accept this and set it as form field in the PDF as an array of costs? Again, there is no OOTB solution and what I described is just one approach. Whenever possible, I'll use a template file. It's quick - the code's already written to support this. As you point out, it's not the answer for everything. You can build PDF files without a template (again using iText as the PDF API is just one approach that will work). This will mean some Java development on your end to write the code necessary to build them from scratch.
3) If we indeed are using this templateFile, where do we place it which deploying our code onto the server and what would be the access path to it? Will it be on Weblogic or physically located on the server or where4) Finally how do we get the contents in Binary format of this generated pdf file because the method Fuego.Lib.Attachment.create(contents : null, name : targetFile, description : "test"); accepts contents only in Binary format? xmpMetaData of the PDFStamper although in Binary format is ready only? So we cannot put it in the contents field of Fuego.Lib.Attachment.create(contents : null, name : targetFile, description : "test"); ?
So what should we put?
Even mailAttachments.extend(source : null, fileName : "test.pdf") requires source as Binary Contents. How we do this?? One approach is to put the binary for the PDF files in a database. If you have a content management system, use that to store the files.
Dan -
Generic oracle eway code generation error in Java caps 5.1.3
Hi,
I'm using an oracle eway for adding records to a table. I have a prepared statement in the otd. When I try to build the project I'm getting the following error. Could any one let me know how this problem can be fixed?
com.stc.codegen.framework.model.CodeGenException: Generic Oracle eway code generation error(ERROR_CODEGEN_GENERIC_CODELET_GENERAL)
at com.stc.oracle.codegen.OracleEWayCodeletFactory$OracleEWayCodelet.generateFiles(OracleEWayCodeletFactory.java:1860)
at com.stc.codegen.frameworkImpl.model.CodeGenFrameworkImpl.processCodelets(CodeGenFrameworkImpl.java:640)
at com.stc.codegen.frameworkImpl.model.CodeGenFrameworkImpl.process(CodeGenFrameworkImpl.java:1544)
at com.stc.codegen.frameworkImpl.model.DeploymentVisitorImpl.process(DeploymentVisitorImpl.java:405)
at com.stc.codegen.frameworkImpl.model.DeploymentVisitorImpl.process(DeploymentVisitorImpl.java:308)
at com.stc.codegen.frameworkImpl.model.DeploymentVisitorImpl.traverseDeployment(DeploymentVisitorImpl.java:268)
at com.stc.codegen.driver.module.DeploymentBuildAction.loadCodeGen(DeploymentBuildAction.java:923)
at com.stc.codegen.driver.module.DeploymentBuildAction.access$1000(DeploymentBuildAction.java:174)
at com.stc.codegen.driver.module.DeploymentBuildAction$1.run(DeploymentBuildAction.java:599)
at org.openide.util.Task.run(Task.java:136)
at org.openide.util.RequestProcessor$Processor.run(RequestProcessor.java:599)
Caused by: com.stc.codegen.framework.model.CodeGenException: Exception when generating OTD code ...Exception: javaClass: Oracle_std_otdOTD: Exception when invoke DB Codegen Task...Exception: Invalid parameter type: Class : [Std_insert_PreapredStat] Object: [Param1] Param Type : [DECIMAL].(ERROR_CODEGEN_DB)(ERROR_CREATE_OTD)
at com.stc.oracle.codegen.OracleEWayCodeletFactory$OracleEWayCodelet.generateOtdJarFile(OracleEWayCodeletFactory.java:2045)
at com.stc.oracle.codegen.OracleEWayCodeletFactory$OracleEWayCodelet.generateFiles(OracleEWayCodeletFactory.java:1756)
... 10 more
Regards,
Abdulhi...
i too getting same problem..how did u reslove this...
please help me out...
thanks in advance
KK -
Very slow PDF generation when conditional text is hidden in FM 9.0
I am working on 96-page chapter of a larger book. A 7-page section of the chapter needs to be hidden until the next release, so I hid it with conditional text. After doing this, the "Save as PDF" printing process goes from taking 6-7 seconds to taking several minutes. If I unhide the conditional text in the same session, printing is very quick again.
I have no problem generating very PDF files with the PDF printer in other applications (Word, PowerPoint). The issue is specific to FrameMaker and the use of conditional text. What might be causing this?
I am using FrameMaker 9.0p255 and Distiller 9.0.
- ChrisHi Jeff,
These were good suggestions to try. Saving the document first has no effect on PDF generation.
However, I did find that printing to the Adobe PDF printer remains fast when the conditional text is hidden. That's quite an interesting finding! I did also notice that these two methods of PDF generation aren't identical:
"Save as PDF" opens an Adobe Distiller window, while printing to the Adobe PDF printer opens a different "Creating Adobe PDF" progress box (looks like it's from the printer driver itself).
"Save as PDF" generates a 1188k PDF file, while printing to the Adobe PDF printer generates a 1049k PDF file.
"Save as PDF" defaults to placing the PDF in FrameMaker's working directory, while printing to the Adobe PDF printer defaults to saving to the last place to saved a printed PDF file (awkward when working with multiple directories, as I often do).
When I do a "Save as PDF", FrameMaker does still spool to the PDF printer. It is this spooling that takes a long time. Once spooling is complete, then the Distiller window opens and the PDF is created very quickly.
I would still like to get "Save as PDF" working since it knows where to place the PDF file. No solution to the runtime yet, but at least there is progress... -
Hi there,
Our company uses Colffusion to make PDFs for our client.
Recently, the PDF generation is incredible instable, causing
corrupt PDF files or performance issues.
I found out, that the problem lies within the including some
picture. This slows down almost everything or sometimes the
generation does not happen at all.
Is there a solution for this? Is there a hot fix for that?
Thanks for your replyTry <cfreport> instead of <cfdocument> which give
better results for these type of pdf conversion and image
issues... -
PDF generation : FileNotFoundException problem
Hi all,
I'm developing a dynamic PDF generation module in web application using iText framework. This module creates PDF on the server side then sends it to the client. Sometimes, Even though the PDF file is created on the hard disk, I got FileNotFoundException when calling the servlet that sends it.
My program is very simple (no thread used) :
1- The client calls enters some inputs,
2 - The iText based class generates the PDF,
3 - The PDF created is saved as an attribute in the client session (HttpSession).
4 - The request is redirected to servlet that sends the PDF.
What could be the problem ?
thx,In fact, I don't know what you mean by:
3 - The PDF created is saved as an attribute in the client session (HttpSession).What do you mean by this? Did you save the proprietry PDF object? Or the java.io.File object? If it is the PDF object, does its class implement java.io.Serializable?
Um ... Here are some suggestions ...
First of all, make sure that the file really exists there.
Secondly, try to write a Java SE program to read the file using the absolute path you provided.
Then, if the Java SE program works, I think the reason may be that you haven't closed the "OutputStream" which writes the PDF file, or the security settings of your JSPServer prevents you from getting the file.
Asuka Kenji (UserID = 289)
(Duke Dollar Hunting now ...) -
All,
I have some reports, whose PDF generation doesn't satisfy our requirements. A simple BO report page with a few sections.. ends up as a multiple page PDF. I had tried to also use the report/section properties as creatively as possible too.
I would like to get some information about if some-one has done PDF generation using SDK and if that provides more feature-rich formatting options?
Would appreciate your comments and advice.
RegardsLet's start with what version of CR / BO you are working with.
What SPs have you applied?
What version of .NET do you want to work with? What SDK do you want to work with (CR, RAS, BO)?
Are you doing these exports in the CR designer? - If so, have you consulted with the CR Design team on best way to design these reports? Typically, if you can not do something in the desinger, you more than likely can not do it from code either...
Ludek -
Hi everybody,
I need to develop a wizard-like application which ends generating a pdf non-interactive form (i.e. list of class students).
I would like to use as less coding as possible, so I'm using Visual Composer for the selection steps.
However the last step should provide the pdf generation and I actually don't know how to integrate these two technologies.
I know that WDP java provides Adobe Forms natively, but WDP integration with VC is somewhat hard and uncertain, as other sdn posts show, especially when flex is used.
Can anyone provide help, experiences or example with regard to pdf generation with Visual Composer?
Thanks
Point will be awarded
VincenzoHI
Used the Web Design API to export to PDF..
1 Double click on the Output Table
and choose Edit on the toolbar
2 Specify this button as Export to
PDF, System Action=Hyperlink,
and then click Formula.
3 Add the below code in the formula.
"pcd!3aportal_content!2fcom.sap.pct!2fplatform_a
dd_ons!2fcom.sap.ip.bi!2fiViews!2fcom.sap.ip.bi.b
ex?QUERY=" & STORE@REPTNAME &
"&BI_COMMAND_1-
BI_COMMAND_TYPE=EXPORT&BI_COMMAND
1-EXPORTFORMAT=PDF&BI_COMMAND_1-
SHOW_EXPORT_DIALOG=X&BI_COMMAND_1-
null="
NOTE: This URL is for the Web
Analyzer PCD Location if Visual
Composer is on the same server as
BI-JAVA. If it is not, see the section
on Mapping External BI locations.
NOTE: This will export the default
view of the data service to a PDF
File. It will not keep filters or
navigation states.
Hope I answer your query
Swapnil
Maybe you are looking for
-
I cannot get my iPad 2 (brand new) to work with my MacBook pro. It says I need iTunes 7.0, but when I go to update iTunes on my MAC, it says I have teh latest version 10.6.3. I have Mac OS 10.5.8 on my MacBook Pro. Any help would be appreciated.
-
Posting HR Text for Infotype 2004
Hello Friends, I am using RP-EXP-C1-TX to write text for Infotype 2004(Availability) and then updating it using below Routine: IF sy-subrc = 0. PERFORM prepare_update(sapfp50p) USING 'V'. COMMIT WORK and WAIT UP TO 3 SECONDS. ENDIF. My issue is that
-
IDVD won't open after trying to open a project that had missing links
I hope I can explain this correctly. I created a DVD using iDVD last week, it had many short movies on it in different menus plus some photos in the menu areas. After I created the DVD & burned it, I moved the videos (plus a ton of other clips from t
-
i´m very upset. got the latest software for the iphone 4, and inmediatlly got trouble with recovering the system back my computer crushed tons of times. lost all my pictures! i had an icloud back up, but it´ve changed as well ! what to do? thanks
-
Changing a clip in FCP imbedded seq for Motion??
So I've built my sequence in FCP. I've sent it to Motion. I get the Motion sequence almost done and discover I want to change a shot in the sequence. When I got back to FCP I've now got the imbedded FCP\Motion sequence. Is there any way to OPEN that