Log in / create account
View source | Discuss page | Page history | Printable version   
Community Hurdle Assessment
ADVERTISEMENT
Accounting eLearning Courses
PDF Tools
Add page
Print collection (0 pages)
Collections help
Partnerships
SourceForge.net Logo
Openbravo ERP at SourceForge

SourceForge.net Logo
Openbravo POS at SourceForge

Open Solution Alliance Logo
Openbravo at Open Solutions Alliance

Openbravo ERP installation/fr

Rating :
N/A
(0 votes cast)
You have to be registered to be able to vote

Contents

Introduction

Cet article explique comment installer Openbravo ERP. Avant de commencer, Soyez sûr d'avoir bien installé l'environnement Openbravo, i.e., PostgreSQL database, Sun Java Development Kit (JDK), Apache Tomcat et Apache Ant.

Note Importante: si vous cherchez un moyen rapide de tester et évaluer les capacités d'Openbravo ERP, vous devriez envisager de lire ceci Demo online Openbravo ERP ou télécharger Applications virtuelle Openbravo ERP.

Openbravo ERP peut être installé de deux manières différentes:

License

Openbravo ERP is licensed under the Openbravo Public License Version 1.1:

The contents of this file are subject to the Openbravo Public License Version 1.1 (the "License"), being the Mozilla Public License version 1.1 with a permitted attribution clause; you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.openbravo.com/product/legal/license/.

Software distributed under the License is distributed on an "AS IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License for the specific language governing rights and limitations under the License.

The Original Code is Openbravo ERP. The Initial Developer of the Original Code is Openbravo SL. All portions are Copyright (C) 2001-2006 Openbravo SL. All Rights Reserved.

Installateur Bitrock

Télécharger le dernier Openbravo ERP Universal Installer.

chmod +x OpenbravoERP-2.35-MP1-linux-installer.bin
./OpenbravoERP-2.35-MP1-linux-installer.bin

Un assistant d'installation (wizard) apparaît:

Lisez et acceptez Openbravo Public License Version 1.1 avant de continuer le processus d'installation. En cliquant sur Next, vous acceptez les termes de la licence.

Indiquez le répertoire ou Openbravo ERP va être installé. Après avoir cliqué sur Next, selectionnez aussi le répertoire des attachements.

Puis chosissez le type d'installation:

Si vous avez choisi l'installation complète, deux options sont nécessaires :

Indiquez quelle base de données utiliser. Aujourd'hui, Oracle et PostgreSQL sont supportés.

Indiquez le répertoire d'installation du Java Development Kit (JDK) de Sun (si le JDK est proprement installé, le répertoire d'installation sera automatiquement inséré).

Indiquez le répertoire d'installation d'Apache Ant (si Apache Ant est correctement installé, le répertoire d'installation sera automatiquement inséré).

Indiquez le répertoire d'installation d'Apache Tomcat (si Apache Tomcat est correctement installé, le répertoire d'installation sera automatiquement inséré).

Indiquez les paramètres de connexion à Apache Tomcat. Apache Tomcat doit être en service car le port est testé. Trois paramètres sont requis :

Indiquez le réperoire ou la base est installée.

Indiquez les paramètres de base de données permettant à l'installateur de se connecter. Votre base de données doit tourner carle port est testé. Les paramètres suvants sont requis :

Cliquez sur Next, si vous utilisez Oracle, SID (Oracle System Identifier) et TNS (Transparent Network Substrate) seront requis.

Dans la fenêtre suivante, si vous utilisez postgres, tapez deux fois le mot de passe administrateur de la base. Si cest Oracle tapez deux fois le mot de passe de l'utilisateur system .En fait, Openbravo ERP a besoin des privilèges administrateur pour créer une base de données.

Tapez le nom et mot de passe de l'utilisateur qui va gérer les objets de la base Openbravo. Attention de ne pas réutiliser un utilisateur déjà créé.

Cliquez sur Next deux fois pour finaliser l'installation d'Openbravo ERP. Ce process peut prendre plus d'une heure suivant votre machine.

Subversion source code

Pour vérifier les sources Openbravo ERP depuis Openbravo Subversion repository, vous devez installer le client Subversion (SVN).

Une fois installé, allez dans le répertoire ou vous voulez vérifier le code source et tapez en ligne de commande :

svn co https://dev.openbravo.com/svn/openbravo/tags/r2.35mp1/ openbravo-235mp1

Allez dans le répertoire openbravo-235mp1 et configurez les fichiers build.xml, Openbravo.properties, XmlPool.xml et dbCon5.xml en utilisant l'assistant (wizard) en tapant en ligne de commande :

ant -f build.xml.template setup

Avant de commmencer la compilation, vérifiez que build.xml (répertoire racine) et Openbravo.properties, XmlPool.xml et dbCon5.xml (dans le répertoire config) ont été bien configurés. Sinon, éditez les manuellement (avec JCreator LE par exemple).

Créez la base depuis les fichiers *.xml et installez Openbravo ERP en une fois en tapant :

ant install.source

Finallement, déployez le fichier openbravo.war dans le répertoire contexte d'Apache Tomcat (en général webapps) en tapant en ligne de commande :

ant deploy

Démarrer Openbravo ERP

Dans les 2 cas (installatin en ligne de commande ou avec Bitrock), stoppez et redémarrez le service Tomcat pour terminer l'intallation.

Normalemen, vous devez trouver dans le répertoire Apache Tomcat webapps :

Sinon :

Accédez à Openbravo ERP depuis votre navigateur Internet en tapant l'exacte URL de contexte (par exemple http://localhost:8080/openbravo/).

Notes importantes :
  • L'erreur HTTP Status 404 - File not found à la place de la page d'accueil est un problème de nom de contexte.
  • Si les images ne s'affichent pas correctement dans la page d'identification c'est que l'adresse IP n'est pas la bonne.

Dans les 2 cas, assurez vous d'avoir tapé correctement l'URL contexte. Elle est inscrite dans le fichier build.xml du répertoire d'application.

Tapez Openbravo pour Username et openbravo pour Password puis cliquez sur le bouton Login.

Félicitations! L'installation d'Openbravo ERP est terminée :-)

Note importante: please notice that first log in is done with System Administrator role so you will not be able to see business options (message AccessTableNoView will display instead) but only administration tasks. In order to access business partners, products, sales and procurement orders and so on, change your role to Openbravo Admin by clicking on Openbravo link (left up) image:ChangeRole1.png and selecting it in Role infomation pop-up window. You can also set this role as default by checking Set as default check box.

Configurations after installation

After Openbravo ERP is properly installed and running, there are a few parameters that you can customize to adapt better Openbravo ERP to your country or region.

Configuring the default date and time formats

To change the default Openbravo ERP date format edit the Openbravo.properties file and adjust the Time formats variables.

If you are using Oracle, edit the XmlPool.xml file and assign the dbSessionConfig variable to:

ALTER SESSION SET NLS_LANGUAGE='SPANISH' NLS_DATE_FORMAT='DD-MM-YYYY' NLS_NUMERIC_CHARACTERS='.'

Where the NLS_LANGUAGE and NLS_DATE_FORMAT parameters are assigned to the language and date format that you want to use.

If you are using PostgreSQL, modify the 'dateFormat' database function in /database/model/prescript-PostgreSql.sql with the date format that you want to use, and apply that change to the database by performing:

ant update.database

In both cases, once all the changes are done, recompile and deploy Openbravo ERP:

ant compile.complete
ant war
ant deploy

Configuring the default numbering format

You can modify the default numbering format by editing the Format.xml file inside config folder. You should have decimal="." grouping="," for every category. Once this is done you will have to restart Tomcat and the reports will show as you wish.

Known issues

Here is a list of common issues with Openbravo ERP installation.

Tomcat hot-deployment problem on Windows

There is a known issue with Tomcat working under Windows. Openbravo ERP does a hot-deploy a of openbravo.war file to Tomcat but on Windows it often encounters file locking issues. Windows will not let Tomcat undeploy the old application because files are locked by the Operating System. Tomcat has mechanisms to allow avoiding locking. In Tomcat 5.5 and 6.0, this mechanism is disabled by default. To enable it edit %CATALINA_BASE%\conf\context.xml. Find the root <context> and add these two attributes:

<context antiJARLocking="true" antiResourceLocking="true">

Jasper Reports Issue

When compiling the source code, the application server needs an internet connection in order to compile successfully the *.jrxml files. If not, the Jasper reports will not work on the application.

In Windows, firewalls could also impede Jasper reports compilation so turn them off temporarily.

The header of these .jrxml files is like

<?xml version="1.0" encoding="UTF-8"  ?>
<!DOCTYPE jasperReport PUBLIC "//JasperReports//DTD Report Design//EN" "http://jasperreports.sourceforge.net/dtds/jasperreport.dtd">

If the application server does not have internet connection, you will have some errors while compiling the sources even if the build is successful. When you call one of these reports in the application, you will get something similar to this:

org.xml.sax.SAXParseException: Premature end of file.

If you edit all the jrxml files (a total of 58) and delete the line where it calls the internet connection,

<!DOCTYPE jasperReport PUBLIC "//JasperReports//DTD Report Design//EN" "http://jasperreports.sourceforge.net/dtds/jasperreport.dtd">

the compilation will report no errors, but the translation will be done badly, and when calling one of these reports in the application, you will get an error window:

Language "null" not supported by this report compiler. Expecting "java" instead.

So, the final solution for this issue is to replace the line

<!DOCTYPE jasperReport PUBLIC "//JasperReports//DTD Report Design//EN" "http://jasperreports.sourceforge.net/dtds/jasperreport.dtd">

by this one

<!DOCTYPE jasperReport PUBLIC "//JasperReports//DTD Report Design//EN" "/tmp/jasperreport.dtd">

in all 58 .jrxml files in order to avoid the contact with the previous url, and so the compilation and the application reports will work well.

Unsatisfied Link Error executing a Jasper Report

In some Linux distributions there is a problem using Java SDK 1.5.0_13 and Tomcat running as a daemon [jsvc]. When a Jasper Report is launched an error appears indicating that it cannot find a library. The easiest way of fixing it is editing /etc/init.d/tomcat script and export the variable LD_LIBRARY_PATH to the path where the library (libawt.so) is located. For example:

LD_LIBRARY_PATH=/usr/lib/jvm/java-1.5.0-sun-1.5.0.13/jre/lib/i386/
export LD_LIBRARY_PATH

Internet Explorer 6

The main problem is that IE6 does not support PNG with alpha channel. IE7 and Mozilla Firefox do.

First solution: replace PNG images with GIFs

Second solution: avoid using transparencies

Third solution: filters

We have tried several filter solutions but it can not be applied without a big change of css and html files.

So the only factible solution would be build a new skin with gif images, loosing interface quality. You can find info about how to build a new skin here http://wiki.openbravo.com/wiki/index.php/Skins

You always also have the choice of install Mozilla Firefox or update to IE7 (if you are a Windows XP user).

Openbravo FAQ

Openbravo's Frequently Asked Questions (FAQ).

Summary

Openbravo ERP installation should not present any other special problem if Openbravo environment was properly installed before.

Support

For any question or doubt regarding Openbravo ERP installation, post them in Openbravo Help forum or join #openbravo IRC channel in Freenode.

Retrieved from "http://wiki.openbravo.com/wiki/Openbravo_ERP_installation/fr"

This page has been accessed 4,133 times. This page was last modified 09:37, 16 June 2008. Content is available under Creative Commons Attribution-ShareAlike 2.5 Spain License.


Category: Installation