Report Printing: APEX 4.01 - APEX Listener - WebLogic 10.3.3

We have some report printing issues...
Our configuration is APEX 4.01 using the APEX Listener with WebLogic 10.3.3.
The first issue is that under "Print Attributes" the following is listed in red under "Printing":
"Report printing is currently not available, there is no print server configured."
The second one is that we need to print pdf format and I have not found a solution for doing this with the APEX Listener and WebLogic. I saw that the FOP solution for the APEX Listener didn't make it into the current release... Is there any way to do pdf type reports with the current APEX listener technology?
The third issue is that in the demo app when running a report there is a "Error loading file:" type error with "FLOW_FLASH_CHART" and apex_util.flash as part of the url.
Any help would be appreciated...
Thanks!
- Scott

I deployed in WebLogic the fop.war that came with APEX 4.0.1 and it got rid of the error message, but when I tried to download a report as pdf, I got an error saying it was corrupted or invalid. I downloaded the file it produced and opened it in a text editor. It was a small html type file with the following URL:
ORA-20001: The printing engine could not be reached because either the URL specified is incorrect or a proxy URL needs to be specified.
When I go to the URL that I think it should be going to based on what I put into Instance settings> Report Printing, I get:
Compilation of JSP File '/apex_fop.jsp' failed:
apex_fop.jsp:5:18: The import oracle.xml cannot be resolved
<%@ page import='oracle.xml.parser.v2.XMLDocument'%>
^------------------------------^
apex_fop.jsp:6:18: The import oracle.xml cannot be resolved
<%@ page import='oracle.xml.parser.v2.XSLProcessor'%>
^-------------------------------^
apex_fop.jsp:7:18: The import oracle.xml cannot be resolved
<%@ page import='oracle.xml.parser.v2.XSLStylesheet'%>
^--------------------------------^
apex_fop.jsp:8:18: The import oracle.xml cannot be resolved
<%@ page import='oracle.xml.parser.v2.DOMParser'%>
^----------------------------^
apex_fop.jsp:12:1: XMLDocument cannot be resolved to a type
XMLDocument v_doc;
^--------^
apex_fop.jsp:13:1: XSLStylesheet cannot be resolved to a type
XSLStylesheet v_xsl = null;
^----------^
apex_fop.jsp:15:1: DOMParser cannot be resolved to a type
DOMParser parser = new DOMParser();
^------^
apex_fop.jsp:15:28: DOMParser cannot be resolved to a type
DOMParser parser = new DOMParser();
^------^
apex_fop.jsp:16:1: XSLProcessor cannot be resolved to a type
XSLProcessor processor = new XSLProcessor();
^---------^
apex_fop.jsp:16:30: XSLProcessor cannot be resolved to a type
XSLProcessor processor = new XSLProcessor();
^---------^
apex_fop.jsp:21:13: XSLStylesheet cannot be resolved to a type
v_xsl = new XSLStylesheet(new java.io.StringReader(request.getParamet

Similar Messages

  • PDF report printing BI Publisher in APEX fails

    Hi,
    I have created page, in which, a BIP report will be generated on click of a text link.
    It was working fine earlier.
    APEX version is 4.1 which has BIP integrated.
    But today I am facing an issue when I click the link, to get the report.
    The report failed with below
    ORA-20001: The printing engine could not be reached because either the URL specified is incorrect or a proxy URL needs to be specified.
    Error processing request.
    ORA-20001: The printing engine could not be reached because either the URL specified is incorrect or a proxy URL needs to be specified.
    Technical Info (only visible for developers)
    is_internal_error: true
    apex_error_code: APEX.UNHANDLED_ERROR
    ora_sqlcode: -20001
    ora_sqlerrm: ORA-20001: The printing engine could not be reached because either the URL specified is incorrect or a proxy URL needs to be specified.
    error_backtrace:
    ORA-06512: at "APEX_040100.WWV_FLOW_PRINT_UTIL", line 117
    ORA-06512: at "APEX_040100.WWV_FLOW_RENDER_QUERY", line 1619
    ORA-06512: at "APEX_040100.WWV_FLOW_RENDER_QUERY", line 1681
    ORA-06512: at "APEX_040100.WWV_FLOW", line 7261
    I referred to the below link of FAQs
    http://www.oracle.com/technetwork/developer-tools/apex/freq-solved-faq-101785.html#10
    Please let me know if this is the cause of the issue, as in I dint make any changes in the application. Not sure, why it was working 2 days before, and not now.
    The suggestion is to enable the network services on 11g oracle express.
    Please let me know, how should I go with this.
    Else please me know if there are any alternatives for this.
    Thanks in advance.
    Regards
    Narsa

    Found it, it's possible.

  • Report Printing in Apex 4.x / Oracle Linux - Need Help

    Hi
    I am new to Oracle Application Express tool. I am trying to setup an Oracle Apex environment to start a new application development. So far, I have completed the following:
    1. Installed Oracle Linux 6.3
    2. Installed Oracle 11g Express (64 bit version). As you know, Oracle Apex is bundled in this.
    3. Completed the installation as per the documentation provided, and it works fine (I tried the following).
    - Able to connect to the DB via SQL*Net from other machines in the network.
    - Able to run Apex from other machines in the network.
    - Created new workspace and applications (pages etc) and they work fine.
    4. Downloaded the Apache FOP 1.1 binary and extracted the files under /usr (the extract created a directory fop-1.1 under /usr and all fop related files are there under this.
    5. Tested the fop by running "fop -fo <input_file> <output file>" from the $ prompt. It works fine.
    Now, I am stuck at setting up Report printing. Please note that, other that what is mentioned above, we have no other software installed on the server. Can someone guide me on how I can setup report printing with this software setup? Please help.
    Thanks

    Hi,
    With APEX you have two options for configuring a print server for PDF printing. BI Publisher and Apache FOP. The Apache FOP options actually refers to a J2EE app that we ship with APEX (see /utilities/fop/fop.war in your installation folder). This .war file needs to be installed on OC4J and then your APEX instance needs to be pointed to a specific URL in your print configuration, see more details here:
    http://www.oracle.com/technetwork/developer-tools/apex/application-express/configure-printing-093060.html
    When using the database 11g, you'll also have to enable networking services, which is also covered in the documented I mentioned above..
    Given what you outlined in your post, I'm assuming you're using the embedded gateway (built-in web server in the database). As an alternative, you might want to look at the APEX Listener, which actually has FOP built-in, so in your APEX Instance Administration you would only have to select the APEX Listener as the print options, and all the other config steps would not be needed
    More information on the APEX Listener can be found here:
    http://www.oracle.com/technetwork/developer-tools/apex-listener/overview/index.html
    Regards,
    Marc

  • Error with FOP for Report Printing in Apex 3.2.1

    We are trying to use FOP deployed onto GlassFish Community but after setting up as described in the applicaton express guide to allow report printing; we are getting the following error
    'package oracle.xml.parser.v2' does not exist
    We are running GlassFish on Debian 5.0 (Lenny)
    Any help appericated :)

    Here is what I did to get it to work.
    1. Copy xmlparserv2.jar from my ORACLE_HOME/oc4j/lib directory to my glassfish domains/domain1/applications/fop/WEB-INF/lib directory.
    2. Added the following two lines to the glassfish domains/domain1/fop/apex_fop.jsp before the driver.run() line
    out.clear();
    out = pageContext.pushBody();The second part of solution I found on another forum page.

  • Weblogic 10.3.4 as report printer for PDF printing using apex_fop.jsp

    Hello,
    Is it possible to use the apex_fop.jsp in combination with Oracle Weblogic 10.3.4 for PDF printing?
    We have managed to get our Apex application to print PDF documents using Apache FOP with Oracle Weblogic 10.3.3 or Apache Tomcat 6 as a report printer.
    But when we are trying the Oracle Weblogic 10.3.4 server as report printer, we will get the Error 500--Internal Server Error error in the pdf.
    One of application server log shows the error "Expected Node-set in Path Expression".
    Regards,
    Mathieu Meeuwissen
    Edited by: Meeuwtje on 17-jan-2012 17:00

    Steve,
    I am using JSF2.0 and getting javax.el.ExpressionFactory NoClassDefFound issues.
    OEPE Helios
    Weblogic 10.3.3
    I have an EAR containing one WAR.
    WEB-INF/lib
    el-api-2.2jar
    el-imp-2.2.jar
    jsf-api.jar (2.1.1)
    jsf.impl.jar (2.1.1)
    jstl.jar (1.1.0-D13)
    web.xml has
         <context-param>
              <param-name>com.sun.faces.expressionFactory</param-name>
              <param-value>com.sun.el.ExpressionFactoryImpl</param-value>
         </context-param>
    EAR has
    weblogic-application.xml with
    <wls:prefer-application-packages>
    <wls:package-name>org.eclipse.persistence.*</wls:package-name>
    <wls:package-name>javax.faces.*</wls:package-name>
    <wls:package-name>com.sun.faces.*</wls:package-name>
         <wls:package-name>com.sun.el.*</wls:package-name>
         <wls:package-name>javax.el.*</wls:package-name>
    </wls:prefer-application-packages>
    I see by your post that JSF2.0 support can be solved by either deploying a shared-library or using the weblogic.Deployer utility. Unfortunately, we don't have access to change the Weblogic instance in any way. I was hoping that using the prefer-application-packages would be sufficient to use alternative classes to Weblogic's but I have not been able to get it to work for the javax.el classes. I have tried not including javax.el and the app deploys but then accessing a page produces a javax.el.ELResolver no method found for invoke. Invoke being a newer method defined in el-api-2.2.jar. If I was able to convince them to add some shared libs, what are all the jars that would be required to make this work?
    Any suggestions would be greatly appreciated.
    Thanks
    John

  • Printer Server configuration for APEX 3.1.2 in 10g XE

    I have APEX3.1.2 installed in 10g XE and I am going thorough the OTN tutorial "[Oracle Application Express 3.0-- Building a Functional Application"|http://www.oracle.com/technology/obe/apex/obe30/apexdev30.htm#l7] in the section "Editing Application Objects".
    When I click "Print Attribute" of a page region, it displayed "{color:#ff0000}Report printing is currently not available, there is no print server configured{color}".
    Can you tell me what this means and how to resolve it. All I have is APEX3.1.2 installed in 10gXE.
    I have searched this forum and it seems that I have to install/configure a printer server?
    Thanks!
    Kevin

    Dan,
    I have the same problem as Kevin.
    Your answer to his question can be very helpful. But if I follow the link you provide, I cant find the step 5.2.
    Step 5.1 is clear. But what are the tasks of step 5.2?
    I hope that you can tell me this.
    Thank you.
    Carlos

  • Is it possible to print a form in APEX 2.1?

    Hi,
    Is it possible to print a form in APEX 2.1? I'm able to export a report in cvs, but not a form.
    Thanks.

    If you're just looking to export a single row via CSV, then yes, you can add that functionality to your Form page in any release of APEX.
    Have a look at a blog post I made quite some time ago:
    http://spendolini.blogspot.com/2006/04/custom-export-to-csv.html
    Using this, you could limit the query to only bring back the row that is displayed in the form.
    Thanks,
    - Scott -
    http://spendolini.blogspot.com
    http://www.sumneva.com

  • 32k Rowsize Limit (ORA-006502) for Report Query Shared Objects in Apex 4.1

    We're trying to move legacy reports off of PlanetPress into Apex. One of the report queries has over 20 tables and attempting to run with the "Test Report" button in the Edit Report Query screen gets the error message:
    Error ORA-06502: PL/SQL: numeric or value error: character string buffer too small
    This problem appears to have been characterized previously here:
    Listener Error - character string buffer too small (ORA-06502)
    If I comment out 13 lines/items in my SELECT clause, the Test Report runs okay. If I add back in an innocuous literal sellect of a 100-character string, it goes back to the 6502 error.
    I was trying to add more literal strings to force APEX to shift internally from a 32k-limit to a CLOB for the row, however, with a 32k literal string in my SQL statement, APEX crashes. I can't strip out columns from my SQL as all are needed for the report.
    I would very much appreciate a work-around or a patch to Apex 4.1 to address this limitation. Thank you.

    Try moving some of your select logic into a view, thus you can select from the views and reduce your code... (Move the joining between tables and such to the view..)
    Thank you,
    Tony Miller
    Webster, TX

  • "ORA-28267 Invalid NameSpace" with APEX 4.0.1 and WebLogic server

    Hi all,
    I have a page that has a simple query as Region Source. It all worked fine on Apex 3.2 with the iAS mod pl/sql gateway.
    Query goes like this:
    select servername, a.capture_name, a.status, a.source_database, a.captured_scn, a.applied_scn, b.state_changed_time, b.state
    from DBA_CAPTURE@DBLNK_STRM_PADATARP a, V$STREAMS_CAPTURE@DBLNK_STRM_PADATARP b
    where a.CAPTURE_NAME (+)= b.CAPTURE_NAME
    (it reads out Oracle Streams status over a database link)
    After migrating the page to Apex 4.0.1 and WebLogic (Oracle 11g SOA suite) frontend, the Apex page now gives the "ORA-28267 Invalid NameSpace" error for some strange reason.
    Apex will now not validate the query in the edit region source page.
    I think maybe the problem lies with the WebLogic setup, but exactly what it might be eludes me.
    Anyone able to shed any light on this?
    Regards,
    -Haakon-

    Must have to do with the java based Apex Listener in conjunction with WebLogic and the execution of queries over database links.
    Workaround was to create a materialized view in Apex database and select from that instead.

  • Using htp.p for print dynamic data in apex region make my page slow?

    Hi, everyone!!! My name is Rafael, and...
    I search in the web and in this forum but i can´t find a answer for my doubt.
    Using the procedure htp.p for print dynamic data in apex region through on demand process , this will leave my webpage slow to load when the user access?
    Example:
    For build a menu in my webpage, it´s read a function in the database that returns variable string, so by a demand process this string is obtain and print in a web page using htp.p.
    I notice that this practice causes slow to load the data on the page.
    This is it...
    If someone help me, thanks...
    bye and Happy new Year!!!
    Edited by: user9518141 on 26/12/2009 17:19

    Hi,
    Try commenting out the function call and print some sample text in the htp.p like htp.p('Hello world..');
    I think the function call is probably taking a lot of time .. not htp.p.
    I have used htp.p to print out values dynamically in a lot of situations and have not ever come across any performance issues.It could be a problem with the function you are calling.
    Thanks,
    Rajesh.

  • How to change report query dynamically in Oracle APEX?

    Hi,
    I want to dynamically change the where condition in APEX report query. Can anyone help me solve my this problem?
    (Just want to change the query which we change in Oracle Reports using lexical parameter to change &Where, &Order by etc. dynamically!!)
    Thanks, Praful

    Hi
    I've been using flexible queries in APEX for a few years now, and your question just added a whole new dimension to the flexible and powerful nature or writing reports in APEX.
    While APEX Interactive reporting has almost completely removed the need the equivalent of Lexicals in Oracle Reports, I thought it might be fun to try and use lexicals in an APEX report.
    Before we start I should summarise the powerful capability of APEX reporting to have oprtional parameters (lots and lots of them if this is needed).
    For each parameter, you simply add a page item which will hold the value of the parameter.
    The item/parameter can be populated by typing in the value, defining an LOV, using a date-picker etc.
    To make the parameter optional simply use an OR in the where clause.
    So for a apge item P200_PARAM1.....include
    WHERE (:P200_PARAM1 IS NULL
    OR COLUMN1 = :P200_PARAM1)
    This way you can either leave the page item null or type in / select a value from a LOV.
    There is a small quirk in APEX LOV's which sometimes returns a value of '%' or '%null%' - depending on the version - when no value is selected.
    See Patrick Wolf's solution for this at Re: Null value handling in LOVs
    I include this Application Process in all my APEX applications ;)
    Now let's look at using the equivalent of Oracle Reports Lexicals......
    First-off - this is based on the APEX SQL report - NOT Interactive Report.
    It relies on the fact that you can let the query be parsed only at runtime.
    1. Define an SQL report entering the 'core' of your query.
    With a query like SELECT ENAME, JOB FROM EMP
    Select 'Generic Columns' option in the 'Column Headings' section
    Finish the report creation
    2. Define a page item - say P200_LEXICAL - type text on the page
    3. Edit the report and update the SQL query to include your lexical page item
    SELECT ENAME, JOB FROM EMP &P200_LEXICAL. (REMEMBER THE '.' AT THE END)
    Ensure that the option "Use Generic Column Names (parse query at runtime only)" is selected at the bottom of the query
    4. Add a button to the page -using 'Create a button displayed among this region's items' the will submit the page.
    5. Run the page - you will see all the employee names and job desdriptions
    6. Enter a where clause into the 'Lexical' textbox - say "WHERE ENAME LIKE 'K%'" and click the 'Go' button
    Voila! your where clause is magically applied.
    Try any variant you like adding an ORDER BY clause etc...... this is FUN!
    7. Clear the value of the LEXICAL and click go.
    Edit the report and move the &P200_LEXICAL. into the selected columns (or add another one)
    SELECT ENAME, JOB &P200_LEXICAL. FROM EMP
    8. Run the page
    Enter ",SAL" in the textbox and "Go"
    We can add as many columns as we like (subject to the "Maximum number of generic report columns:" set below the SQL query in the report edit section)
    Now because we have all the flexibility in APEX of setting page items using SQL or PLSQL you can set the value of the lexical programatically, or just pre-set a few values in an LOV - the options are limitless.
    While I've never had the need to use lexicals - you can see that APEX provides the most Flexible Lexicals in town.
    Eat your heart out "Oracle Reports"!!!
    Have fun
    Mike

  • Report Printing - Excel error

    Hi all,
    I'm not sure what's causing this error.
    With a regular report (not Interactive) region, I have enabled the report printing. All file types open/save correctly except for Excel.
    When opening the file, Microsoft Excel actually pops up this error:
    File cannot be opened because:
    The server did not understand the request, or the request was invalid.
    Error processing resource 'http://www.w3.org/TR/xhmtl1/DTD/xhtml1-strict.dtd'.
    Line 3, Position 57.
        "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">If I save the file and try to open it, Excel pops up this error:
    This XML file cannot be opened because of an error. Check to make sure the file is a valid XML file, and that the XML syntax is correct.
    You can also try re-creating the file and closing other applications before you attempt to open it again.Excel version is Excel 2002 SP3 (v10.x).
    Some additional info that might be helpful:
    When Excel is opening, the status bar shows it is "Opening HTML.XLA", the shows "Opening {filename}.xls" but fails halfway through that.
    Any ideas?
    Chris

    Hi Chris,
    This is the output I get when I click on the Print link
    <?xml version="1.0" encoding="UTF-8"?>
    <DOCUMENT>
        <DATE>04-AUG-08</DATE>
        <USER_NAME>nobody</USER_NAME>
        <APP_ID>17977</APP_ID>
        <APP_NAME>Test Export</APP_NAME>
        <PAGE_ID>1</PAGE_ID>
        <TITLE>Page 1</TITLE>
        <P1_ROWS></P1_ROWS>
        <P1_GO></P1_GO>
        <P1_REPORT_SEARCH></P1_REPORT_SEARCH>
        <REGION ID="4149756408582108901">
            <ROWSET>
                <ROW>
                    <COL1>value1</COL1>
                    <COL2>value2</COL2>
                    <COL3>value3</COL3>
                </ROW>
                <ROW>
                    <COL1>value12</COL1>
                    <COL2>value22</COL2>
                    <COL3>value32</COL3>
                </ROW>
            </ROWSET>
        </REGION>
    </DOCUMENT>Regards,
    Dimitri
    -- http://dgielis.blogspot.com/
    -- http://www.apex-evangelists.com/
    -- http://www.apexblogs.info/

  • Report printing

    Hi All,
    I am working on Apex with Oracle XE universal...i just tried to acheive print pdf functionality throgh integration of Apex with Apache cocoon...
    Everything is working fine...my Apache server is working,cocoon is working but when i m clicking on print button ....it showed me the following errors:
    ORA-29273: HTTP request failed
    ORA-06512: at "SYS.UTL_HTTP", line 1186
    ORA-12570: TNS:packet reader failure
    I don,t know what problem is there in my application...or I need to do some settings....
    if anyone knows please help me....
    I did the following settings in my report page:
    In APEX, I logged in as ADMIN into apex/apex_admin and went to Instance Settings and did the following:
    - Print Serverr: Standard Support
    - Print Server Protocol: HTTP
    - Print Server Host Address: XYZ
    - Print Server Port: 8181
    - Print Server Script: /cocoon/fop_post
    In my APEX application, in the Regions section, I click on the Print link next to my report. I have the following settings:
    - Enable Report Printing: Yes
    - Link Label: Print
    - Response Header: Print Server
    - Output Format: PDF
    - Report Layout: Default Report Layout
    - Print URL: f?p=&APP_ID.:1:&SESSION.:FLOW_XMLP_OUTPUT_R1063230002781575
    Edited by: user9139675 on Mar 23, 2010 1:54 AM

    what was your solution?

  • Report printing failed with "Servlet error: An exception occurred. "

    Hi,
    I use Apex 3.1 in Oracle Express edition develop few applications. In one of the application, when I enable report printing in stardard reports and try to print to PDF/Excel, the servlet error occur.
    I had configured FOP in my server and I can download PDF in "interative report", but for stardard report, the report printing failed.
    I can successfully print the reports in my others applications. Anyone know what could be the reason which cause an application failed to print the report.
    Thanks
    Vincent

    Does your application name have special characters? I heard that the app name has to be just letters and numbers for this to work...actually testing right now.

  • Report print attributes - custom report layout

    Hi there,
    I've looked for this information in the web and in this forum without luck so far...
    We have here BI Publisher and I use the "Enable Report Printing" option in a traditional report in Apex 4.0.2. That works great.
    But instead of using the "Default Report Layout", I want to use a custom one based on a RTF file. However I have no idea what the data XML looks like in order to build a custom layout.
    To be clear: if you go to Shared Components > Report Queries, you have a Download XML Data option so you can build your report layout based on the XML structure. For instance, you can use <?for-each:ROWSET1_ROW?>, <?COLUMN_NAME?> etc
    Any ideas about what that XML structure is for a traditional report?
    Thanks
    Luis

    Found it: change temporarily the output format to XML and download the report. The XML structure is all there. Very helpful to know that all page items are included in the XML as well. It would be good to have this functionality detailed somewhere in the Apex documentation.
    What I still need to know is how to access the substitution strings below in my RTF (NOT XSL-FO) template:
    Select Default Report Layout to use the built-in generic report layout.
    To use a custom generic report layout, select it from the list.
    You can use the following substitution strings when building custom XSL-FO report layouts:
    #PAGE_HEADER#
    #PAGE_HEADERFONT_COLOR#
    #PAGE_HEADER_FONT_FAMILY#
    ...Any ideas?

Maybe you are looking for

  • "Papers" citation manager no longer works with the new version of pages '13. Is there a fix out there?

    "Papers" citation manager no longer works with the new version of pages '13. Is there a fix out there?

  • NOt able to start the listener..

    After Indtalling oracle 11g .. i am not able to start the listener dbstart $ORACLE_HOME lsnrctl start ORACLE_SID=orcl export ORACLE_SID lsnrctl start [oracle@test1 bin]$ lsnrctl start LSNRCTL for Linux: Version 11.1.0.6.0 - Production on 27-DEC-2012

  • Artist name not showing up in itunes

    I just imported an album and the artist names didn't appear in itunes. So, I selected all the songs and added the artist names in the Get Info window. They still don't show in the list on itunes, but they do now show in the info windows of individual

  • Is it a virus?

    Lately I've been getting redirected to this website called "The Search Engine That Does" (which isn't even proper English). I'd be looking at any website and suddenly it would redirect me. I could be on Wordpress or Facebook or well...you name it, bu

  • No .DS_Store created in my folder?

    Hi all, I have a folder who have one .DS_Store file and hold at least one folder who do not have one. I copy one image file in that folder, open the folder: no .DS_Store. I added one folder in that one, copy the image file, check and saw one .DS_Stor