Accéder au contenu principal

Articles

Splendeurs et Périls des Metadonnées

Je pensais que les metadata c'était "bien" et que ne pas en mettre c'était "mal". Et puis j'ai lu ce papier instructif ( risques entrainés par les metadata) sur les brèches de sécurité ouvertes par la présence abusive de metadata et d'informations cachées dans un document. En conclusion de cette étude qui a été menée sur des sites internet publics du Fortune 100 ,  il s'avère qu'il vaut mieux nettoyer de leur métadonnées les documents destinés à être diffusé largement sur un site internet. Cela concerne principalement les documents produits avec MS Office. Le produit Clean Content , inclus dans la technologie Oracle Outside In, vise cet objectif. Au préalable, cet outil permet d'évaluer les risques potentiels associés à n'importe quel type de document et d'effectuer un metadata cleanup , si on le souhaite Testez-le sur un document MSOffice de votre compagnie ou organisation, et vous verrez combien un fichier .ppt ou .doc d...

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

Starting Oracle WebCenter Ensemble adminui

In some situations, a FQDN (Fully Qualified Domain Name) machine can lead to problems after a fresh install of Oracle Webcenter Ensemble, when accessing to Admin console http://mymachine:20070/ensembleadminui/run/ensemble.faces The problems occurs on Windows XP or 2003 machines. Version of ensemble wich is concerned: 10.3.0j.0 and above In this case, have a look to the log into: <HOME_DIR>\ensembleadminui\10.3.0\wrapper.log If you get an error as following …<1.0.0-SNAPSHOT-SNAPSHOT nonfatal store error> kodo.jdo.DataStoreException: Syntax error: Encountered ")" at line 1, column 176. {SELECT t0.DOMN, t0.REALMN, t0.NAME, t1.URI FROM BEASAML2_SPPARTNER t0, BEASAML2_SP_AUDIENCEURI t1 WHERE (t0.DOMN = ? AND t0.REALMN = ? AND t0.NAME = ?) AND t0.DOMN = t1.DOMN(+) AND t0.REALMN = t1.REALMN(+) AND t0.NAME = t1.PARTNER_NAME(+) ORDER BY t0.DOMN ASC, t0.REALMN ASC, t0.NAME ASC} [code=-1, state=42X01…. then replace the FQDN by localhost into: <HOME_DIR>\settings...

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.

Activating OmniPortlet with Oracle WebCenter

in a fresh install of Oracle WebCenter, the OmniPortlet is deployed but not registered as a portlet producer. As mentioned in the documentation, it’s needed to do some extra setup either with the Fusion Middleware Control or with a WLST script. This post explains how to use the first option. Let’s suppose that the administration port is : 7001. Use a web browser for connecting to the Fusion Middleware control (Remark: it’s not the WebLogic console !) http:<hostname>:7001/em Connect as weblogic (or an account with administrative privileges) Choose Register Producer option in the WebCenter menu In the URL endpoint field, enter: http://<hostname>:7001/portalTools/omniPortlet/providers/omniPortlet In most of case, it will be useful to restart all webCenter, in order to see the new portlet displayed in the catalog (under Portlets folder) In order to  see the already registered portlets, choose Service Configuration

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.