Accéder au contenu principal

Articles

Affichage des articles associés au libellé apache

Using REST Apis in WebCenter : Setup for Linux

REST Apis are available with Oracle WebCenter R1 PS1 (Nov 2009). This post gives informations for installing samples on an existing WebCenter plateform. REST Samples which are provided on otn site can be installed either with Apache, or with WebLogic Server directly. Setup For Apache To avoid cross site scripting errors, you should proxy URL access to the REST service:   http://<hostname>:<WLSport>/rest/api/resourceIndex On Apache or Oracle HTTP Server Depending the current configuration of apache2.conf, it will be needed to setup the Proxy mod by updating the httpd.conf file, and by adding directives for proxying the target url dedicated to REST. In the lines below, replace the port 7001 by the port used by WLS. Modify httpd.conf by adding the following lines: LoadModule proxy_module /usr/lib/apache2/modules/mod_proxy.so LoadModule proxy_ajp_module /usr/lib/apache2/modules/mod_proxy_ajp.so LoadModule proxy_balancer_module /usr/lib/apache2/modules/mod_proxy_bala...

BI Publisher and PCL output format with FOP

I've made tests with Oracle BI Publisher and Apache FOP 0.93 in order to adress a specific need (PCL output) My first tests where not sucessful, BUT, with minor modifications in the FO object generated by BI Publisher, it's possible to use FOP. The main technical stopper is : region-body must be declared BEFORE region-before and region-after in the simple-master-page container. After a manual switch, i tried the Apache FOP program with the -R parameter (relaxed validation wich ignores xdfo extensions) and a PCL or TXT output format. The result is OK, despite some minors display problem. Template rtf: Utilisation du renderer FOP d'Apache L'idée est d'utiliser BI PUblisher jusqu'à la production de ce que l'on appelle un objet FO (description du rapport avant sa restitution sur une imprimante ou pdf, ou autre). Le moteur FOP de BI Publisher n'envoie pas directement le résultat sur une imprimante laser PCL ou un fichier auu format TXT.