Setup for PDF printing using Embedded PL/SQL Gateway, 11G DB and APEX 3.1
I've setup APEX on 11G using the Embedded PL/SQL Gateway. Its all working well.
I've enabled Network Services and can see a couple of printers I've defined after running
select * from DBA_NETWORK_ACLS;
and also can see the FLOWS_030100 and FLOWS_030000 users when I run
select * from DBA_NETWORK_ACL_PRIVILEGES;
I have been through http://www.oracle.com/technology/products/database/application_express/html/configure_printing.html and can see that I have a few choices ...
* Oracle BI Publisher,
* Apache FOP or
* some other XSL-FO Processing Engine.
I am not able to use Oracle BI Publisher ... license required:-( ... so that leaves the other two choices .. as I'm using the Embedded PL/SQL Gateway the Apache FOP is not an option ..
that leaves other XSL-FO Processing Engine .. has anyone had any experience in this area .. and can give me a few pointers ...
I'm kinda surprised I have little choice .. am I missing something?
Regards
Adam
Adam,
>> as I'm using the Embedded PL/SQL Gateway the Apache FOP is not an option
Not a true statement. Using Oracle Containers for J2EE (10.1.3.2), as listed in that document you reference, is all you need to use Apache FOP. You don't know the full-blown Apache.
Joel
Similar Messages
-
Where is HTTP access and error log when using Embedded PL/SQL Gateway?
Hello,
I am using Embedded PL/SQL Gateway to run stored procedures.
I can't find access log and error log (something like Oracle HTTP Server has).
In listener.log are only simple data and there are no usernames and procedure names...
Thanks.
MarianYou might be better off asking this on the Apex forum: Oracle Application Express (APEX)
-
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:00Steve,
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 -
Issues with using Embedded PL SQL Gateway with Apex 4.2
Hi,
I have installed Oracle 11g R2 and want to develop an application using Apex 4.2 (needs upgrade from 3.2 version which has come bundled).
For the server, I would like to use the Oracle HTTP server, but it seems to require a separate license as against the same in Oracle10g.
I would like to know what are the performance related issues b/w using the embedded PL/SQL Gateway (Oracle XML DB HTTP Server) that comes with Oracle 11g R2 as against the HTTP Server found as a part of the fusion middleware bundle. Is it wise to procure the license for HTTP Server?
Details:
DB OS: Windows 7 (64 bit) (DB and Apex are on the same machine)
Number Of Users of application: 10-20
Application is mainly used more for keeping track of details as against heavy processing or the like
ThanksFor the server, I would like to use the Oracle HTTP server, but it seems to require a separate license as against the same in Oracle10g.What gives you this impression? The licensing position remains the same: OHS is covered by the DB license if OHS is run on the same server. See Joel's post and the document he links to: +{message:id=9256804}+.
-
Enable SSL/https on ApEx Embedded PL/SQL Gateway/11g?
Hi,
I'm a newbie to ApEx. And I notice that most of ApEx applications are run on "http" instead of "https". Aren't you concerned about its security? What's your take on SSL/https with ApEx?
I understand that it takes several steps to set it up on Oracle HTTP Apache server (ie: set up Oracle Wallet Manager, go to a certificate authority to get obtain a certificate, configure Oracle HTTP Server...etc). But does it work on Embedded PL/SQL Gateway (ie: runs XML DB HTTP instead of a separet Apache web server)?
Any experience/suggestions/ideas?
Thanks much,
HelenHere is the Oracle documentation:
[http://download-uk.oracle.com/docs/cd/B19306_01/appdev.102/b14259/xdb22pro.htm#CHDCAHDH]
Here is a little more friendly post:
[http://wiki.shellprompt.net/bin/view/Apex/SSLandAPEXxdbHttp?TWIKISID=6fa6f4a0bbb698921c333d6d0c859970]
Friendly post originally from:
Can the embedded PL/SQL gateway handle SSL?
-Richard -
Using a Domain name with embedded PL/SQL Gateway
Hello all
I wish to link domain name to an application
e.g. www.mydomain.com goes to application 100
or www.ano.mydomain.com goes to application 135
I have successfully done this in the past using HTTP server.
My new installation does not used HTTP server ... I have only configuration Embedded PL/SQL gateway
Can I route using embedded PL/SQL gateway a URL to an application?
Thanks
PetePS ... I am using APEX 3.1 with 11g
-
I get two-sided option for normal printing, but
I can't get duplex print option for pdf files using Adobe ReaderXI 11.0.04, Mac 10.8.5 with HP Officejet Pro 8600. HP says it's an Adobe problem. I'm stuck.
Thanks in advance.
VOIt depends where the pdf is located. If in the Finder or in an attachment to
an email in Entourage, the message is ³You can¹t open the application
³Acrobat Reader 5.0² because PowerPC applications are no longer supported².
If an attachment in an email that has come via Safari, the message is
³Safari can¹t open the file because no available applications can open it².
In each case the menu bar is Finder or Entourage or Safari as the case may
be. -
We want to move from SAPLPD to SAPSPRINT shortly.
At the moment some aspects are not working and I need your input.
We have a printer that used to print PDF documents fine with SAPLPD however its failing with SAPSPRINT. Does this mean that with SAPSPRINT, we are mandated to use SAPPDFSPRINT or would it still work with other PCL based printers.
The printer in question is a HPLJ5SI printer using access method U on a print server with SAPSPRINT. I reviewed SAP notes and found that we need to have a supported XDC file in order for PDF printing to work. I couldn't find one for HPLJ5SI within the list of XDC files supplied so I added the device type HPLJ5SI and gave default XDC name as hppcl5e.xdc however it doesn't work as it still says unknown device type.
I tried tweaking other things to make it to work but no luck. Also once I add the missing device type to an existing PCL XDC in the XDC assignment, do i need to re-create the PDF form from scratch or would it be okay if I were to re-print a PDF spool thats already there. Just wanted to get test case right here.
The error seem to indicate problem at the core so my question is do we need to switch to SAPPDFSPRINT and if this is our only option given that we will be migrating from SAPLPD to SAPSPRINT.Any pointers here are appreciated.
Regards
KalyanHello Kalyan,
Please see note 1444342.
"You want to print forms that were generated by ADS on printers that are not
defined with a device type in accordance with Note 685571 (that is, they are not
assigned to an XDC file). This was not previously possible. Due to the new
component SAPPDFPRINT, interactive forms can be printed on any Windows printer
just like all of the other spool requests with the SAPWIN device types."
By using SAPPDFPRINT, you do not need to assign XDC file to device type. So it is a easy way to
print PDF on any printer.
If you want to use XDC file and device type other than PDF1 or PDFUC, please read note 685571.
685571 - Printing SAP Interactive Forms by Adobe
Regards,
Yiming -
WAD defaults for PDF printing?
Hi There,
First of all I'm sorry if this is not the correct section but please correct me is that's the case.
Is there any way to change default margin values for PDF printing? I can change them on template but from where comes those default values and can I change those?
Thanks in advance,
JariHi,
Yes but if I don't set them in "EXPORT" I'll get for example default margins "25" from somewhere. Is there any way to set those defaults to something else? -
Hi,
I need to config the file to direct the standard ApEx URL (ie: http://xxx.x.x.x:8080/apex/f?p=108:1) to a nicer URL (ie: http://xxx.x.x.x:8080/apex/test.html, for example) to the end users. I believe the file should be located in something like $ORCLE_HOME/Apache/Apache/conf in the Oracle HTTP Server Apache web server version. However, it's NOT in the Embedded PL/SQL Gateway version.
Any idea?
Thanks much,
HelenI don't think that you could do this using the native embedded gateway. Since it is not actually running Apache. It is actually running through the XML DB connectors.
2 options:
1) Use a front end server as a proxy, or as the mod_plsql gateway
2) Pretty up your URL's using the application/page aliases: http://xxx.x.x.x:8080/apex/f?p=app:page where app and page have been assigned as application and page aliases resp.
-Richard -
Virtual Directory Change from Oracle HTTP Server to Embedded PL/SQL Gateway
We finally upgraded from htmldb 1.6 to ApEx 3.1.2 late last year. This was in conjunction with setting up a new server and installing Oracle 11g DB, while our production DB is still 10g. During this install, I opted for the Embedded PL/SQL Gateway, whereas our htmldb is running with the Oracle HTTP Server.
During the conversion of one of our applications I learned that Virtual Directory references to #IMAGE_PREFIX# are no longer valid for custom CSS so I had to change an entry in the page templates that I'm using to use #WORKSPACE_IMAGES#. Now I am importing another application from our htmldb 1.6 environment to our ApEx 3.1.2 environment, and I have a new problem that I think is related.
In this application we have been uploading report files for outside users to be able to download at their convenience. I think the upload is working OK, but when I try to download the report file I get the following:
Not found
The requested URL /apex/IMR.ofile was not found on this server.
The download is accomplished with a link on an SQL Report region. The Column Link info is:
Link Text = <img src="#IMAGE_PREFIX#edit_big.gif" border="0" alt="Icon 1">
Target = URL
URL = #OWNER#.ofile?p_file=#VIEW_REPORT#&v_auth=&APP_USER.
When I change the Link Text to <img src="#WORKSPACE_IMAGES#edit_big.gif" border="0" alt="Icon 1"> I lose the Edit Icon image. However, what I'm really concerned about is the URL not found error
Now, maybe I'm barking up the wrong tree, so if the problem isn't related to virtual directories, which tree should I be barking up?
Any suggestion?
Thanks,
GregoryIs the IMR.ofile a custom package for downloading files? If so, you might need to add it to the wwv_flow_epg_include_mod_local function.
I am not certain how this function also plays into the embedded pl/sql gateway, but do know it would affect this running through Oracle HTTP server when configured with the before proc.
With the embedded gateway it may very well be that you need to add this package into the ACL for outside availability. -
Is Embedded PL/SQL gateway installed
Hi,
I am trying to find out if my oracle "10gR2 standard edition" meets the requirements to install Apex 3.2.1.
Is there a view to query if "Embedded pl/Sql gateway" is installed or "Oracle http server and mod_plsql" is installed.
Can we query such requirements from dba_registry view?
thanks in advance,Hi,
dba_registry will give info on Oracle components for which catalog ha been created in the database. But there could be some components installed on the binary but not used in the database. To check what components has been installed, you can use Oracle installer and then choose installed components from the first o 2nd screen.
Regards -
How to deploy in the "embedded PL/SQL gateway" architecture
Hello,
I thought I could use an url like "http://my_server_ip:8080/apex" in order to reach my application from another machine in the same subnet, but I get "failed to connect" error!
Is there any configuration I must do prior for this to work?
My architecture is The embedded PL/SQL gateway
Please help
Mujos<ol><li>What version of the database are you using (11.1, 10.2, XE)?
</li>
<li>What version of APEX?
</li>
<li>Did you install APEX yourself or are you using APEX pre-installed in XE or 11g?
</li>
<li>What steps of the installation guide did you complete?
</li>
<li>Did any of them fail?
</li>
<li>If so, what errors?</li>
</ol>
Tyler -
Can you run Embedded PL/SQL Gateway and Oracle HTTP Server at the same time
Hi,
I know this will sound a bit odd but their is a business case for asking this. Can you run APEX via the Embedded PL/SQL Gateway and the Oracle HTTP Server at the same time? Would their be any security/stability/etc issues I'd need to worry about? I know that I'll need to run them on different ports.
Thank you,
Martin Giffy D'Souza
[http://apex-smb.blogspot.com/]I think I've done this in the past. Theres no technical reason why you can't do this as far as I know.
I can't remember if I used different ports or same port. -
How can I enable embedded pl/sql gateway to run on port 80
I have a new 11G install on OEL 4.0, database created. I would like to be
able to access the instance using the pl/sql gateway. Works fine with
port 8080, the default. How to I enable it to run on port 80?
I found this statement in the following docuementation:
http://download.oracle.com/docs/cd/B19306_01/appdev.102/b14259/xdb22pro.htm#ADXDB2500
Using HTTP(S) on Nonstandard Ports
By default, HTTP listens on a nonstandard, unprotected port: 8080. To use HTTP(S) on
the standard port, such as 80, your DBA must chown the TNS listener to setuid ROOT
rather than setuid ORACLE, and configure the port number in the Oracle XML DB
configuration file /xdbconfig.xml.I have root priviledges on the box.
I've tried setting the listener file permissions:
chown root:dba /u01/app/oracle/product/11.1.0/db_1/bin/tnslsnr
chmod 6775 /u01/app/oracle/product/11.1.0/db_1/bin/tnslsnr
Also put root in the dba group.
The permissions turn out like this:
-rwsr-sr-x 1 root dba 830854 Jun 17 21:04 /u01/app/oracle/product/11.1.0/db_1/bin/tnslsnr
I stopped the listener, bounced the database, and started the listener again.
But it still shows the process being owned by oracle:
oracle 29682 1 0 21:08 ? 00:00:00 /u01/app/oracle/product/11.1.0/db_1/bin/tnslsnr LISTENER -inherit
Changing the port is easy:
Connected to:
Oracle Database 11g Enterprise Edition Release 11.1.0.6.0 - Production
With the Partitioning, OLAP, Data Mining and Real Application Testing options
SYS>select dbms_xdb.gethttpport as "HTTP-Port" , dbms_xdb.getftpport as "FTP-Port" from dual;
HTTP-Port FTP-Port
8080 2100
At this point, I can access the apex home page with the following url:
http://hostname:8080/apex/f?p=4550:10:1454849288245548
I can than change it to port 80:
SYS>begin
dbms_xdb.sethttpport('80');
dbms_xdb.setftpport('2100');
end;
2 3 4 5
PL/SQL procedure successfully completed.
SYS>SYS>select dbms_xdb.gethttpport as "HTTP-Port" , dbms_xdb.getftpport as "FTP-Port" from dual;
HTTP-Port FTP-Port
80 2100
When I try to access apex with the following url:
http://rmdcopslnx1.us.oracle.com/apex/f?p=4550:10:1454849288245548
I get the following:
Failed to Connect
Firefox can't establish a connection to the server at hostname.com.
Though the site seems valid, the browser was unable to establish a connection.
* Could the site be temporarily unavailable? Try again later.
* Are you unable to browse other sites? Check the computer's network connection.
* Is your computer or network protected by a firewall or proxy? Incorrect settings
* can interfere with Web browsing.I can set the port. Just can't talk to it.
This is the entry from the listener log:
<msg time='2008-07-03T15:40:09.741-06:00' org_id='oracle' comp_id='tnslsnr'
type='UNKNOWN' level='16' host_id='hostname'
host_addr='xxx.xxx.xxx.xxx'>
<txt>TNS-12546: TNS:permission denied
TNS-12560: TNS:protocol adapter error
TNS-00516: Permission denied
Linux Error: 13: Permission denied
</txt>
</msg>
So this looks like an permissions problem. But where? I posted
this on the apex forum here:
Re: How can I enable embedded pl/sql gateway to run on port 80
They suggested asking here.No, that thread did not provide the information that I need. Some more data:
I have the port set to 8080:
Connected to:
Oracle Database 11g Enterprise Edition Release 11.1.0.6.0 - Production
With the Partitioning, OLAP, Data Mining and Real Application Testing options
SYS>select dbms_xdb.gethttpport as "HTTP-Port" , dbms_xdb.getftpport as "FTP-Port" from dual;
HTTP-Port FTP-Port
8080 2100
At this point, I can access the apex home page with the following url:
http://hostname:8080/apex/f?p=4550:10:1454849288245548
I can than change it to port 80:
SYS>begin
dbms_xdb.sethttpport('80');
dbms_xdb.setftpport('2100');
end;
2 3 4 5
PL/SQL procedure successfully completed.
SYS>SYS>select dbms_xdb.gethttpport as "HTTP-Port" , dbms_xdb.getftpport as "FTP-Port" from dual;
HTTP-Port FTP-Port
80 2100
When I try to access apex with the following url:
http://rmdcopslnx1.us.oracle.com/apex/f?p=4550:10:1454849288245548
I get the following:
Failed to Connect
Firefox can't establish a connection to the server at hostname.com.
Though the site seems valid, the browser was unable to establish a connection.
* Could the site be temporarily unavailable? Try again later.
* Are you unable to browse other sites? Check the computer's network connection.
* Is your computer or network protected by a firewall or proxy? Incorrect settings can interfere with Web browsing.
I can set the port. Just can't talk to it.
Maybe you are looking for
-
Authorizations for Hierarchies in BW-BEx
Hello, Experts! I am having some problems in order to give specific access for specific nodes on the hierarchy on the profiles creation. For example, we need to give permission to the profile "Profile_one" (that can be viewed on the PFCG transaction)
-
Quick Print not working after upgrading to Reader XI on Citrix
Hi, I've upgraded from Reader 9.2 to 11.0 on our Citrix farm. After the upgrade the Quick Print function in Outlook 2010 is not working anymore for PDF files. (other files are working fine) Also, the RightClick --> Print on PDF files in Windows Explo
-
I have my main file with 3 links. One of these links is a photo gallery. When the link is clicked, I have a strip of thumbnails that opens from the bottom of the main page. Then I want to click the thumbnail that loads another swf file. At the moment
-
Capture excise: Stock Transfer
Dear Experts !!! In one of the stock transfer scenario, we are transferring one material from one plant, where the material is used as input material i.e. J!ID maintained in sending plant is "Raw Material' Whereas at the receiving plant for the same
-
Differences between the same model but different box
Hi everyone, I would like know if there are any diference between this product: and this one: 4 Is the same? maybe a revision of the product? Thank you very much