Accéder au contenu principal

Articles

Affichage des articles du 2010

Jdeveloper - Contournement pour Illegal character in path sous Windows

Contournement pour la plateforme Windows Symptome avec Jdeveloper: Lors du run de l'application de demo FOD, ou bien toute autre application, le serveur WLS intégré retourne une erreur  MDSRuntimeException: Illegal character in path Contournement: avant de lancer jdeveloper.exe, fixer la valeur de la variable d'environnement JDEV_USER_HOME vers un repertoire dont le nom ne contient aucun espace. Par défaut, un repertoire est créé sous c:\Document and Settings\ ...

Radio privée sur Freebox avec VLC , IceCast et Freemi

Voici quelques notes pour réaliser une radio privée, de type webradio , destinée à être reçue par plusieurs récepteurs de type FreeBox ou autres. Le cas d’usage est celui on l’on désire passer d’une pièce à l’autre tout en écoutant le même morceau de musique à partir d’une FreeBox TV HD. Version de ce post: 1.1 Configuration matérielle nécessaire FreeBox 5 ADSL PC Windows XP SP3 ou + FreeBox TV Nro 1 FreeBox TV Nro 2 (optionnel) Un serveur contenant les fichiers MP3 à diffuser (cela peut être le PC mentionné plus haut ou bien un serveur NAS connecté sur le routeur de la Freebox) Principe Mettre en place un serveur de diffusion de type shoutcast qui s’appelle IceCast2 (similaire et gratuit) Générer un flux musical en streaming avec VLC vers le serveur de diffusion IceCast, à partir des fichiers MP3 situés sur un disque accessible en direct ou depuis un NAS Référencer le serveur IceCast au niveau du serveur UpnP Freemi Au niveau de la FreeBox, choisir la source radio

Oracle WebCenter Spaces Governance

  Oracle WebCenter Space allows creation of Collaboratives areas. As it’s very easy to create a WorkSpace, it’s common to observe a workspace proliferation. So, it can be useful to check  the activity inside each of Spacers, and decide if it has to be archived depending the audience. This post explains how to setup a very simple diagram which provides, inside WebCenter Space, an overall activity statistics for a given Workspace.The idea relies on the fact that activity is recorded in database Table. Prerequisites Oracle WebCenter Spaces is already installed The schema which contains Spaces metadata is : DEV_WEBCENTER (or an other name) and the password must be known. Steps Create the following objects in DEV_WEBCENTER schema, with sqlplus or a similar tool create type ext_array as table of number; create function   ext_gen_numbers(n in number default null)   return ext_array   PIPELINED   as   begin      for i in 1 .. nvl(n,999999999)      loop          pipe row(i);      e

Oracle Dynamic Converter

Oracle Dynamic Converter est un composant du produit Oracle Universal Content management (UCM) Ce composant permet de convertir à la volée un document depuis un format donné (MS Office ou autre) vers un format HTML. Cette transformation est conduite à partir d’un Template de conversion . Ce Post indique comment valoriser des documents Word existants sur une plateforme internet (commerce électronique, B2B). Exemple de scénario à traiter Un entreprise commercialise des voyages et souhaite mettre en ligne des fiches descriptives de destinations (Villes, régions, pays) à l’attention des voyageurs. Ces fiches sont rédigées par des rédacteurs indépendants à qui l’entreprise sous-traite ce travail, et qui possèdent une pratique suffisante du traitement de Texte MS Word. Le besoin du responsable de site consiste à afficher le contenu d’une fiche (au format Word) au sein d’une page HTML sur le site internet de la société, et selon un contexte donné. Par exemple:  Afficher la fiche de la v

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_balancer

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.