Professional Documents
Culture Documents
Contents
1 Introduction
2 Requirements
3 License
4 Operating Environment installation
o 4.1 Database installation
4.1.1 Oracle database installation
4.1.2 PostgreSQL database installation
o 4.2 Sun Java 2 Software Development Kit installation
o 4.3 Apache Tomcat installation
o 4.4 Apache Ant installation
5 Openbravo installation
o 5.1 Running Openbravo
6 After install configuration
o 6.1 Configuring the default date and time formats
o 6.2 Configuring the default numbering format
7 Common issues
o 7.1 Internet Explorer 6
o 7.2 Jasper Reports Issue
o 7.3 Unsatisfied Link Error executing a Jasper Report
o 7.4 Tomcat hot-deployment problem on Windows
8 Performance and security tips
Introduction
Openbravo is a pure web-based, extended ERP for SMEs (Small and Midsize Enterprises). The
extended ERP solution includes basic CRM (Customer Relationship Management) and BI (Business
Intelligence) and a broad range of standard functions such as purchasing, warehousing, projects,
manufacturing and sales management, financial management and much more. Openbravo is being
used in companies spanning several industries, including distribution, services and manufacturing.
Requirements
Operating systems supported:
• Linux. It has been successfully tested in Red Hat, CentOS, Suse, Debian, Ubuntu and
Fedora distributions.
Additionally, a database engine is required. Currently the following engines are supported:
Browsers supported:
• Firefox 2.0
• SeaMonkey 1.1
• Internet Explorer 7.0
If you need guidance on how to install these different components in Linux check the Openbravo
ERP command line installation guide.
License
Openbravo is licensed under the Openbravo Public License Version 1.0:
The contents of this file are subject to the Openbravo Public License Version 1.0 (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/legal/license.html
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.
Database installation
• Register Oracle Technology Network (OTN) to have access to the Oracle's downloadable
editions and download Oracle 10g from Oracle's website.
Openbravo installation
Openbravo can be downloaded from Openbravo web site. Once the download is complete just
double click into the file to start the installation process.
This is the first screen shown when the installation wizard is launched.
In the license dialog box, read and accept the Openbravo license agreement before proceeding with
the installation process. By clicking on the “Next” button the terms and conditions of this license are
agreed.
In this dialog box, the user indicates the directory where Openbravo ERP is going to be installed.
In this dialog box, the user indicates the installation type:
• Binary installation. The database is created and the application is installed. This is the
quickest installation.
• Full installation. The database is created and the application is compiled and the generated
files installed. This is more slow.
In this dialog box, the user indicates which database wants to use. Currently, Oracle and
PostgreSQL are supported.
In this dialog box, the user provides the directory where Java is installed.
In this dialog box, the user provides the directory where Ant is installed.
In this dialog box the user provides the directory where Tomcat is installed.
In this dialog box the user provides the default connectivity parameters for Tomcat. Two
parameters are specified:
• Web Server domain. The IP address that the Tomcat service is running.
• HTTP Port. The IP port that Tomcat service is listening.
If the default Tomcat parameters have not been changed the default parameters given by the
Openbravo installation should work.
In this dialog box the user provides the directory where the database is installed.
In this dialog box the user provides the PostgreSQL parameters that allow the installer to connect
with the database. The parameters are:
• Database host. The IP address or hostname that where PostgreSQL service is running.
• Database port. The IP port that PostgreSQL service is listening.
• Database name. The name of the database that holds the Openbravo data model.
If you using Oracle database the dialog box requires the same parameters.
In this dialog box the user if using PostgreSQL provides the password for the postgres administrator
user or if using Oracle the password for the system user. This is the user with privileges to create
the database elements.
In this dialog box the user PostgreSQL username and password that is use to create the necessary
Openbravo elements in the database.
If you using Oracle database the dialog box requires the same parameters.
This dialog is shown when the installation process has been successfully completed.
Running Openbravo
After you have installed all of the software packages, point your browser to
http://localhost:8080/openbravo/.
To log into Openbravo with use the username Openbravo and the password openbravo. Please note
that usernames and passwords are case sensitive.
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.
Common issues
This a known list of common issues with Openbravo installation:
• In some configurations to make the JasperReports work, you need to add to environment
variable CATALINA_OPTS the parameter -Djava.awt.headless=true. The CATALINA_OPTS
should look something similar to CATALINA_OPTS ="-server -Xms384M -Xmx512M -
Djava.awt.headless=true".
• Oracle XE 10g sets by default maximum number of processes to 20. This may cause
Openbravo to throw an exception indicating that it has no connections available. To fix this
set the value of this parameter to 150 by executing 'alter system set processes=150
scope=spfile;' in oracle command line logged as sysdba and then restart the database.
We also maintain a Technical FAQ about Openbravo ERP with the most common questions on
Openbravo installation, configuration and setup.
Internet Explorer 6
The main problem is that IE6 doesn't support PNG with alpha channel. IE7 and Mozilla Firefox yes.
• It is not possible just to replace PNG images with GIFs, because PNG have for every pixel
an alpha channel, but GIF don't. GIF supports only a subset of 256 colors, but that's not the
biggest problem. With GIFs you just have the possibility to define a color as full transparent
or not. That means that a gradient from black to transparent is impossible.
• This implicates that overlaying images could not be used. For example an icon in the
toolbar, has an a rounded rectangle background on hover and on press. The usage is easy
now, because we can overlay these images with the icon. But without transparencies we
would need 3 different icons. Three times the same with different backgrounds. That
requires a lot of icons to be build.
• The problem in this case is not only that we have to rebuild all icons with every possible
backgrounds, the problem is also on the implementation side of reconstructing your
structure of HTML and CSS.
• Well, it is not completely impossible to display transparent PNGs with IE6, even IE5.5.
There is a filter mechanism handling this, which could be applied by JavaScript.
• http://www.twinhelix.com/css/iepngfix/demo/ and
http://redvip.homelinux.net/varios/explorer-png.html are few examples about this.
We have tried several filter solutions but it can not be applied without a big restructuration of css
and html.
So the only factible solution would be build a new skin with gif images, loosing interface quality. You
can fin 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)
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:
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
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.
For example:
LD_LIBRARY_PATH=/usr/lib/jvm/java-1.5.0-sun-1.5.0.13/jre/lib/i386/
export LD_LIBRARY_PATH
Category: Installation