APEX 3.1.2 / HTTP-Server 10g PDF-Printing included

Hello together
I have APEX running on the Oracle HTTP-Server 10.1.3. Apex is working. Now i want to integrate PDF-printing. I found a lot of HowTos to realize that with a separate OC4J-Installation in an new $ORACLE_HOME.
Has anybody an Installation running with OC4J intergrated into the HTTP-Server (startable,stopable wirh opmnctl) ? Or an idea how to get that running ? Or a better Idea to print PDFs from APEX ?
Regards from Switzerland

Hello,
Carl Backstrom blogged about using Cocoon and Tomcat to integrate PDF-printing: http://carlback.blogspot.com/2007/03/apex-cocoon-pdf-and-more.html
Cocoon should be installable on an OC4J instance.
Another alternative is using PL/PDF: http://www.plpdf.com/
Hope this helps,
Dirk

Similar Messages

  • Error starting http server 10g

    After installing http server 10G it started fine. I then followed the instructions in apex install guide to create a marvel.conf file and edit the httpd.conf file. Now when I go to start the server i receive the following error in the log file:
    /u01/app/oracle/product/10202com/Apache/Apache/bin/apachectl start: execing httpd
    Syntax error on line 7 of /u01/app/oracle/product/10202com/Apache/modplsql/conf/marvel.conf:
    Invalid command 'PlsqlDocumentPath', perhaps mis-spelled or defined by a module not included in the server configuration
    This is the marvel.conf file
    Alias /i/ "/u01/app/oracle/product/10202com/Apache/Apache/images/"
    AddType text/xml xbl
    AddType text/x-component htc
    <Location /pls/apex>
    Order deny,allow
    PlsqlDocumentPath docs
    AllowOverride None
    PlsqlDocumentProcedure wwv_flow_file_manager.process_download
    PlsqlDatabaseConnectString venus.csuadmin.csuohio.edu:1521:appex ServiceNameFormat
    PlsqlNLSLanguage AMERICAN_AMERICA.AL32UTF8
    PlsqlAuthenticationMode Basic
    SetHandler pls_handler
    PlsqlDocumentTablename wwv_flow_file_objects$
    PlsqlDatabaseUsername APEX_PUBLIC_USER
    PlsqlDefaultPage apex
    PlsqlDatabasePassword password
    Allow from all
    </Location>
    this is the line I added to httpd.conf file
    include "/u01/app/oracle/product/10202com/Apache/modplsql/conf/marvel.conf"
    Anybody have any id?
    Thanks - Mike

    I just resolved this.
    I moved the line I added to httpd.conf to be the last line in the file, after all the other includes.
    include "/u01/app/oracle/product/10202com/Apache/modplsql/conf/marvel.conf"

  • Apex with XE10g/Tomcat 6.0.13 PDF Print with Apex  FOP.WAR

    Apex with XE10g/Tomcat 6.0.13 PDF Print with Apex fop.war/apex_fop.jsp
    Hello,
    Excuse me bad english.
    I have a problem with Oracle XE and Printing from Reports over Tomcat 6.0.13.
    I have update Oracle XE with Apex 3.1 and it works fine.
    Now i have tried to Print a report to PDF. So i have deployed the FOP.WAR from Apex Utilities under Tomcat.
    I see in Tomcat Manager http://localhost:8888/manager/html/list that the FOO
    has been deployed and is running.
    If i try to print then i get this Message down to this page.
    Can anybody give me a hint to solve this problem???
    Hint
    To resolve the problem i have installed Oracle OC4J with same Port and deployed
    the same foo.war file.
    Then works and all printing from Oracle Apex work fine and okay.
    So i thing the Apex and Oracle work correct.
    But we have a small Application so i would prefer to work with Tomcat a application Server.
    Becaus of previous Errors have copied some *.jar files to C:\tomcat6.0.13\lib
    but i thing this is not the Problem.
    18.03.2007 18:12 546.765 xml.jar
    18.03.2007 18:07 634.772 xmlmesg.jar
    18.03.2007 18:14 1.238.899 xmlparserv2.jar
    10.06.2007 22:59 674.005 xquery.jar
    18.03.2007 18:11 3.059 xsqlserializers.jar
    18.03.2007 18:14 194.691 xsu12.jar
    10.11.2005 13:13 7.043.169 tools.jar
    .... and preinstalled files
    type Exception report
    message
    description The server encountered an internal error () that prevented it from fulfilling this request.
    exception
    org.apache.jasper.JasperException: java.lang.IllegalStateException: getOutputStream() has already been called for this response
    org.apache.jasper.servlet.JspServletWrapper.handleJspException(JspServletWrapper.java:541)
    org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:429)
    org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:320)
    org.apache.jasper.servlet.JspServlet.service(JspServlet.java:266)
    javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
    root cause
    java.lang.IllegalStateException: getOutputStream() has already been called for this response
    org.apache.catalina.connector.Response.getWriter(Response.java:604)
    org.apache.catalina.connector.ResponseFacade.getWriter(ResponseFacade.java:198)
    org.apache.jasper.runtime.JspWriterImpl.initOut(JspWriterImpl.java:125)
    org.apache.jasper.runtime.JspWriterImpl.flushBuffer(JspWriterImpl.java:118)
    org.apache.jasper.runtime.PageContextImpl.release(PageContextImpl.java:186)
    org.apache.jasper.runtime.JspFactoryImpl.internalReleasePageContext(JspFactoryImpl.java:118)
    org.apache.jasper.runtime.JspFactoryImpl.releasePageContext(JspFactoryImpl.java:77)
    org.apache.jsp.apex_005ffop_jsp._jspService(apex_005ffop_jsp.java:120)
    org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70)
    javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
    org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:393)
    org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:320)
    org.apache.jasper.servlet.JspServlet.service(JspServlet.java:266)
    javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
    ------------------------------------------------------------------------

    at the end of the apex_fop.jsp put the follow code just before the driver.run(); line:
    out.clear();
    out = pageContext.pushBody();
    and explanation of why this works is here:
    http://forums.sun.com/thread.jspa?threadID=5307942

  • Installation Problem about ORACLE HTTP SERVER 10g

    I tried to install oracle http server on windows xp sp2. Everthing was all right until
    it made some recommend tasks while installing. It could'nt start the http server at there. I completed the installation. After then when i connect to the internet and try to start http server it starts. But when i do not connect to the internet it gives an error like apache.exe couldn't start on executing ApacheModuleonsinst.dll. I want to learn what causes to this problem.

    pparkko wrote:
    With this type of behaviour, you always need to find out the real error.
    Try opening a command prompt (cmd) and running the command from the command line.
    Then you can see what is going wrong.I have a question, I just upgraded our test 11i database (9i) to 10g (10.2), as a part of that upgraded forms, reports, graphics to patchset 18. Now planning to install 10giAS on appsTier on which forms, Apache and discoverer running. If I install 10giAS in differnet home, how can I get that in to appsTier?, does it mean adapcctl script no longer be used to start webservices?. I haven’t done this before, if my question is stupid, please ignore :).

  • Internal Server Error - after installing apex using http server

    hi,
    i just installed apex 3.2 using http server. after finished, i try to to open apex admin (http://faiz:7777/pls/apex/apex_admin) but i got this error:
    Internal Server Error
    The server encountered an internal error or misconfiguration and was unable to complete your request.
    this is my log file:
    [Thu Dec 31 11:55:56 2009] [error] [client 10.10.10.10] [ecid: 1262231756:10.10.10.10:396:2036:1,0] mod_plsql: DAD '/pls/apex' is disabled because of misconfiguration. Please refer to the log entries during server startup for more information.
    10.10.10.10 - - [31/Dec/2009:11:55:56 +0800] "GET /pls/apex/ HTTP/1.1" 500 645
    this is my dads.conf :
    Alias /i/ "E:/oracle/product/10.2.0/db/Apache/images/"
    AddType text/xml xbl
    AddType text/x-component htc
    <Location /pls/apex>
    Order deny,allow
    PlsqlDocumentPath docs
    AllowOverride None
    PlsqlDocumentProcedure wwv_flow_file_mgr.process_download
    PlsqlDatabaseConnectString faiz:1521:orcl ServiceNameFormat
    PlsqlNLSLanguage AMERICAN_AMERICA.AL32UTF8
    PlsqlAuthenticationMode Basic
    SetHandler pls_handler
    PlsqlDocumentTablename wwv_flow_file_objects$
    PlsqlDatabaseUsername APEX_PUBLIC_USER
    PlsqlDefaultPage apex
    PlsqlDatabasePassword orcl
    PlsqlRequestValidationFunction wwv_flow_epg_include_modules.authorize
    Allow from all
    </Location>
    and ii got blank page when i try accessing this page http://faiz:1521/pls/apex/apex_admin
    thanks,
    -akulala
    Edited by: akulala on Dec 30, 2009 7:57 PM

    In your middle tier (where your dads.conf file is located), do you have a file called marvel.conf (this was used in very early versions of APEX if memory servers)? If so you will either need to put your /pls/apex entry into your marvel.conf file of configure the App Server to user the dads.conf file. (I think all of this is done in the http.conf file but I am not 100%)
    Also, this sounds like a stupid question but can you ensure that you only have entry in you dads.conf or marvel.conf file that relates to /pls/apex
    If you are still having issues, try updating the line: PlsqlDatabaseConnectString faiz:1521:orcl ServiceNameFormat
    to: PlsqlDatabaseConnectString TNS_ENTRY TNSFormat
    where TNS_ENTRY is replaced by a valid TNS Identifier in the same Mid Tier home: ORACLE_HOME/network/admin/tnsnames.ora
    Finally, in earlier versions you had to use a forward slash character as the last value in the Alias line i.e. Alias /i/ "E:/oracle/product/10.2.0/db/Apache/images\". I always configure this line in this way and never seem to have an issues. Not sure if this is required anymore but may be one more thing that is mis configured.
    I hope all of that helps.
    Let me know how you get on.
    Regards
    Duncs
    http://djmein.blogspot.com
    As a courtesy, please remember to mark helpful or correct answers accordingly :)

  • 10GXE built-in http server and serving non-APEX pages

    Hello!
    I'm still looking around for more information on the http server software that was included with the 10gxe installation. I haven't been able to find anything about this. References have been to a separately installed web server product and associated folders||directories that don't seem to be relevant to the 10gXE installation.
    Can someone tell me whether the http server that came with the 10gXE serve non-application express pages, such as jsp pages that support oracle's custom jsp tags?
    If it can, can you give me a little more background, please. E.g., what is the name of the http server software's exe, where does the server software and supporting config file reside, and what is the equivalent web-inf directory for deploying a web app? A link to documentation about the built-in would be desirable.
    Thank you.
    Albert

    Okay, I did these steps this morning on my own computer, it took about 30 mintues and worked fine:
    A. Turn off your firewall, or be prepared to allow passage from TNSLSTNR.exe and oracle.exe several times.
    B. MS Loopback adapter should be installed
    C. Be sure you have a good backup
    D. Looks like it uses NT services, wouldn't suggest install on XP Home
    The steps are:
    1. Run the install program downloaded from Oracle
    2. When requested, enter your choice of password to use for SYS and SYSTEM (I'll use "QQ" as a sample later on in this list)
    3. About 7 minutes later, install completes, offers to go to the DB home page, do it
    4. Sign on as SYSTEM using the password you entered on #2
    5. Click "Administration"
    6. Click "Database Users"
    7. Click "Create User" (this user will be your development schema)
    8. Enter username ZZ, password ZZ, re-enter password ZZ, check all privilege boxes (substitute your selections for username and password)
    9. Click "Create"
    10. Click "Logout"
    11. Click Start | Programs | Oracle DB 10g XE | Run SQL Command Line
    12. Enter: conn sys/QQ as sysdba (remember, QQ is just my sample passwd)
    13. Enter: begin <press enter>
    14. Enter: dbms_epg.create_dad(dad_name=>'ox',path=>'/ox/*'); <press enter>
    15. Enter: dbms_epg.set_dad_attribute(dad_name=>'ox',attr_name=>'database-username',attr_value=>'ZZ'); <press enter>
    16. Enter: dbms_epg.authorize_dad(dad_name=>'ox',user=>'ZZ'); <press enter>
    17. Enter: end; <press enter> / <press enter>
    (should give a message about procedure successfully executed)
    18. This code will serve as a test for your DAD: Enter:
    create or replace procedure test1 as
    begin
    htp.p('<html><head><title>test page</title></head>');
    htp.p('<body><p align=center>welcome to '||
    to_char(sysdate,'Day, Month dd, yyyy hh:mi:ss am')||
    '</p></body>');
    end;
    (should give a message about procedure successfully executed)
    19. Using any browser on the machine, enter the URL:
    http://localhost:8080/ox/test1
    (should bring up a centered message with date and time in it)
    that's all there is too the basic setup. Let me know if you have a problem, I'll answer as far as I'm able.

  • Installing HTTP Server After APEX2.2

    Hiii
    i have installed the APEX 2.2 and after i have finished i remembered that i have to install the HTTP Server os installed it ....
    but i dont know if it will Succeed or NOT ...
    now i am in the POST INSTALLATION TASKS ON
    " Configuring Oracle HTTP Server 10g or Oracle Application Server 10g in a New
    Installation"
    WHAT DO YOU THINK .........???

    James,
    The key parts in that output are -
    2006-10-30 16:20:52 Thread-4136076976 ERROR http: snmehl_allocateListenerPort: f
    ailed to bind socket: Address already in use (errno=98)
    2006-10-30 16:20:52 Thread-4136076976 ERROR http: nmehl_startHttpListener: faile
    d to listen to HTTP port for http://localhost:3938/emd/mainThey are telling you that it could not bind to that particular port number (port 3938) because something else is already bound to it.
    Try (as root) -
    /usr/bin/lsof -i TCP:3938which should show you information about the process(es) that are currently listening on that port.
    As for -
    /app/oracle/product/10.2.0/companion/Apache/Apache/bin/httpd: error while loadin
    g shared libraries: libdb.so.2: cannot open shared object file: No such file or
    directorylibdb is a prerequisite of installing the Apache server, I believe you can get the library as part of the Berkeley DB installation/rpm's/packages (it should be listed in the installation document).
    Hope this helps.

  • Missing HTTP Server on 11g Installation

    Hi,
    Just successfully installed 11g Enterprise. Which, as I understand it, comes bundled nowadays with APEX and the Oracle HTTP server.
    But in my efforts to set up APEX and the HTTP server, I'm noticing a distinct lack of HTTP server! None of the files or folders that are supposed to present are there, but APEX is.
    I've followed the documentation to the letter and its all gone well up to the part where I have to edit the dads.conf file, whereupon I've noticed that file doesnt exist, and neither does the entire directory structure leading to it:
    "ORACLE_BASE\ORACLE_HTTPSERVER_HOME\ohs\modplsql\conf\dads.conf"
    I cant see any obvious directory in the oracle base that could be the http server home directory.
    Am I being dumb or blind, or am I genuinely missing the HTTP server and relevant directories and files?
    Help much appreciated!

    Use the EPG. In database 10g, the HTTP server was on the companion CD. In database 11g, HTTP server is not included(however you can download it if you really want to from the middleware stack or I guess from Apache). In database 11g, the deployment of APEX with HTTP server powered by Apache is deprecated in favour of the Embdded PLSQL Gateway (the modplsql bit from a HTTP server insde the database). The install guide includes both methods to give you a choice. Just because HTTP server is no longer included as part of the database media does not mean that you can not use it.

  • Integrate OC4J 10.0.x in Oracle Application Server 10g

    Ok, i have a Oracle Application Server 10g Enterprise Instance including Infrastructure on a Linux-Server. Its OC4J is a 9.0.4 OC4J following the J2EE 1.3 standard.
    So now Oracles offers a newer 10.0.x Developer Betarelease of OC4J wich will be in Production soon and happily enough this release implements J2EE 1.4 with real JAX-RPC Web Service Support (I need Web Services with Attachments!).
    My question: How to integrate a 10.0.x-Version of OC4J in an Oracle Application Server 10g Enterprise (v 9.0.x) Installation ??? Whitepapers? Documentations? Internetlinks would help alot !
    Thanks and keep the good work alive, oracle rules!!!
    bye from germany, marc

    Marc,
    I don't have an answer for you (sorry), but actually, OC4J stand-alone is a complete application server -- unless Oracle have hacked it so much as to intentionally turn it into a not complete application server (it wouldn't surprise me ;-) Perhaps OC4J stand-alone will be sufficient for your requirements?
    In case you are unaware, OC4J is derived from the "OrionServer". Unfortunately, their Web site is down temporarily, but these other sites may be enlightening:
    http://www.orionsupport.com
    http://kb.atlassian.com
    Good Luck,
    Avi.

  • Mod_oc4j Oracle HTTP Server 10.1.2.0.2

    Hi!!
    In this moment i made a installation in HA environment of Oracle AS 10gr2, but now i need plug a cluster the oc4j 10gr3 to this environment.
    The question is: if i have a cluster in the web layer with Oracle HTTP Server 10g r2, can i use the Mod_oc4j to redirect request to the oc4j 10gr3 cluster? or i need install the Oracle HTTP Server 10gr3 for do it?
    Any doc
    Thanks in advance!!!

    Hmm interesting question. Theoretically, I don't see why not, but the question is that 10.1.3 is a loose cluster managed by opmn and dcm so I don't know if the "cluster" option will still work. Why not give it a try "cluster:clustername" check the HA guide/clustering guide on mod_oc4j syntax. Also try indvidual 10.1.3 names.
    Please let me know how things work out for you...I would like to follow up on this...
    Thanks,
    Deepak

  • Need Oracle HTTP Server for mod_plsql and link to download software

    Hi all,
    I want to use mod_plsql to publish HTML from the database.
    Therefore, I need an Oracle HTTP Server with mod_plsql.
    I have installed the "Oracle HTTP Server with Apache 2.0 10.1.3.1", but there is no mod_plsql included! The welcome page refers to a "Oracle HTTP Server Standalone Administrator's Guide Based On Apache 2.0" which is not installed and can' t be found on OTN.
    Can someone give me a link to Oracle HTTP Server installation software which includes mod_plsql?
    Any hints are welcome!
    Thanks, Markus

    Based on the version of the database, you could use the listener from that - the same XML DB uses. That would not require an application server install at all.
    Alternative: the mod_plsql replacement cartridge off Tom Kyte's site: asktom.oracle.com. Source only - compile against your preferred Apache

  • SGD 4.6 - PDF Printing on Windows Clients not working

    Dear all
    Installed SGD 4.6 with Win2008 Terminal Server.
    PDF printing works from Mac clients, but not from Windows XP.
    Is this a known issue?
    kind regards
    Werner

    Please be aware of the following:
    http://download.oracle.com/docs/cd/E19351-01/E23103-01/cjbchfdj.html#z40000061595090
    New Default PDF Printer Driver for Windows Applications
    The default printer driver used for Portable Document Format (PDF) printing from Windows application servers is now HP Color LaserJet 2800 Series PS. This change was made to provide support for Windows 7 and Windows Server 2008 application servers.
    In previous releases, the default PDF printer driver was HP Color LaserJet 8500 PS. If you are upgrading from an installation that uses this printer driver, SGD is reconfigured automatically to use the new default printer driver. If you are upgrading from an installation where you have configured SGD to use a different printer driver, your existing configuration is preserved on upgrade. If you are using using Windows Server 2003, Windows Vista, or Windows XP application servers, the new default printer driver results in the PDF printer not being mapped.
    Regards,
    Arno Staal
    Divider B.V.

  • PDF Printing asking for user id and password

    Hi all,
    We are using SAP Integrated ITS 640 . We have configured the PDF printing device as mentioned in the SAP Note #  771683 . We have configured SSO in portal  for r/3 system and SSO works fine in portal for Internet services configured in backend but  when i give print by selecting PDF printer as output device, ITS is prompting for r/3 user id and password at that time to view the PDF. Once i give r/3 user id and password ,i am able to view the PDF.
    I found out that when PDF popup window opens it opens the HTTP url and not with the HTTPS url configured in the System configuration in portal. I feel this is the reason why i have been asked to enter user id and password. So could any one please let me know how to configure in R/3 backend to use the https url for PDF printing.
    Thanks,
    Vasu

    Hi Klaus,
    I checked the OSS note you have referred. We already are into SAP_BASIS patch level 18 and kernel patch level is 156 . Also i checked the RFC
    RSPO_FRONT_DISPLAY_JOB
    mentioned in the note . In that RFC i already have  BASE_URL parameter included in import parameter with note # OSS 957292 in short text. Pls let me know how to proceed further.
    Thanks / Regards
    Vasu

  • How do I install a PDF printer on Macbook air?

    I want to be aple when ever I "print" to have a choice of my regular printer or PDF   I don't know how to install this on my dropdown..   

    Hi Donallenava,
    Mac OS X has PDF printing included right on the system. As you can see in this picture:
    So you shouldn't need to install anything at all.
    Hope it helps
    Chris

  • Vista and 10g Http server +apex 3.0.1 Please help

    previous unanswered post about not being able to find correct installation method.
    I've setup 10gR2+Http server, installed apex 3.0.1 then copied images but from this point on cannot start http server with error 13 in app. log file.
    10gEX + apex 3.0.1 works perfectly but my client will need more than 4GB of storage so wanted to upsize.
    I've modified dads.conf and all other files as per guide but now http server is giving a '404' error. Should it be marvel.conf?
    Can still access EM for 10g
    Have checked alllocations for log files but none are being generated.
    Have I broken HTTP server?
    Please help or give some guidance as I have done this 9 times now without success!
    Thanks
    Marotuff

    Hi.
    Oracle HTTP Server is part of a separate download, the Application Server 10g Realease 3:
    http://www.oracle.com/technology/software/products/ias/index.html
    In the 'For Deployment" section, download the proper Zip File for Windows (It took an hour on my machine) and unzip to a writable folder on your server.
    Then you must use the Universal Installer to install.
    Choose 'Advanced Install" and choose the HTTP Server option.
    Make sure to read the Installation Guide. Good Luck.

Maybe you are looking for