Accéder au contenu principal

Articles

Affichage des articles associés au libellé oracle

Injecting Web Content with Oracle Ensemble

Oracle Ensemble is a product which allows to build composite application from existing content. It falls into the category of mashup softwares , ans it’s included in the Oracle WebCenter Suite package. In the following exemple, we use it for injecting some web content from a blog site (realized with Wordpress ) into a Content System home page (provided by Typolight ). The goal, in our exemple, is to catch the list of categories (surrounded by the red line) and inject this fragment in the target application which is a site dedicated to a music academy This is the page generated by the CMS for a sample site. We want to amend this page, without modifying the original code First, it’s important to understand that Oracle Ensemble acts as a reverse proxy , and we need to call the target application through the proxy. We defined a new resource in the Ensemble Console, by mapping the internal URL with a new external one. ie: internal URL: http://localhost/typo External URL: http://l...

Using OmniPortlet Parameters within Oracle WebCenter Spaces

Using parameters with OmniPortlet within WebCenter Spaces is quite simple. The documentation about this feature is well done but an exemple will be useful. Version used : Oracle WebCenter 11g R1 (11.1.1.2) Let’s suppose we want filter a report with a specific currency setup at the page level. This is the original report. All the currencies are mixed First, we add a new parameter at the page level. Let’s name it pdevise and give a default value: EUR. Then, we add a filter at the Omniportlet definition level. In the second tab, we enter a new condition and the name of formal parameter, inside : ##Param1## The report is empty because the parameter Param1 is not wired. This is the last step: Wiring Param1 with the previous Page parameter pdevise . We must edit the component properties for the omniportlet (the yellow pen close to the view action menu icon) Finally, the report is displayed with the currency given at page level.

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...

Adding SGBD environment script in WebCenter VM

This script is intended to those who use the Vmware WebCenter machine provided by Emiliano P. and need to use sqlplus or imp/exp modules. First, create a new file db.env in /home/wc directory, and add the following lines: #!/bin/bash # # description:  Environnement for SGBD # # change log: #       Pmonaco 09 Feb 2010 -  Creation # # Save LD_LIBRARY_PATH SAVE_LLP=$LD_LIBRARY_PATH ORACLE_HOME=/usr/lib/oracle/xe/app/oracle/product/10.2.0/server ORACLE_OWNER=oracle ORACLE_SID=XE LD_LIBRARY_PATH=$ORACLE_HOME/lib export ORACLE_HOME export LD_LIBRARY_PATH export ORACLE_SID export PATH=$ORACLE_HOME/bin:$PATH export NLS_LANG=American_America.AL32UTF8 Give execute permisions do db.env file: chmod +x db.env Then source the above file with the following command line : . ./db.env As from this point, it’s possible to use sqlplus or imp/exp executables.

Installation de Oracle Portal 11g sur Amazon EC2

J’avais comme projet d’installer le produit Oracle Portal 11g sur un OS 64 bits. Disposant de temps et de quelques dollars j’en ai profité pour tester la plate-forme EC2 d’Amazon. Ce post décrit donc l’installation du produit Oracle Portal 11G sur EC2. Les notes prises sont également applicables à une installation de type Forms/Report/Discoverer. Rappels sur Amazon EC2 EC2 ( Elastic Cloud Computing ) est une infrastructure (sous Xen) proposée par la société Amazon (celle qui vend des livres et autres articles). On peut y déclencher le démarrage d’une machine virtuelle (AMI)préconfigurée pour une durée indéterminée. On paie selon la durée et selon la puissance de la machine qui est démarrée. Cycle de vie d’une instance de machine Dés que la machine est arrêtée ("terminated"), tout ce qui a été bâti est volatilisé. Si on souhaite conserver une machine dans un état durable, il faut payer au préalable pour une réservation de machine, ou bien placer la machine dans un état d...

Gestion des Users avec Oracle Wiki

La toute dernière version de Oracle Wiki 10.1.3.4 est certifiée avec WebLogic Server. Par défaut, l'utilisateur administrateur du domaine ( weblogic , par exemple), sera utilisé pour la toute première connexion à Oracle Wiki. Dans le cas ou le référentiel du wiki est basé sur une database Oracle et si l'on souhaite enregistrer un nouvel utilisateur, il faut effectuer cette opération au niveau de la console de WebLogic Server, et non pas au niveau de la console du Wiki. Dès lors, Oracle Wiki procèdera au provisionnement du nouvel utilisateur après la toute première connexion. Dans le cas contraire, c'est-à-dire si l'utilisateur est enregistré directement dans la console du wiki, aucune connexion ne sera possible, même si ce même utilisateur est ensuite enregistré dans la console de WebLogic. Afin de contourner ce problème, il faut supprimer l'enregistrement dans la table USERS, puis tenter à nouveau une connexion dans la console du Wiki. Par ailleurs, si le lien vers...

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.