Académique Documents
Professionnel Documents
Culture Documents
Dossenheimerstr. 17
68519 Viernheim
RedmineReport
Manual Installation Guide
Stand:
09.05.2014
Der Inhalt dieses Dokuments darf ohne vorherige schriftliche Erlaubnis durch atori GmbH nicht (ganz oder teilweise) reproduziert,
benutzt oder verffentlicht werden. Das Copyright gilt fr alle Formen der Speicherung und Reproduktion, in denen die vorherigen
Informationen eingeflossen sind, einschlielich, und zwar ohne Begrenzung fr Magnetspeicher, Computerausdrcke und visuelle
Anzeigen
Table of Content
TABLE OF CONTENT
Manual Installation............................................................................................................... 3
2.1
Preamble ..................................................................................................................... 3
2.2
Limitations ................................................................................................................... 3
2.3
Requirements ............................................................................................................... 3
2.4
2.5
2.5.2
2.5.3
2.5.4
2.5.5
2.5.6
2.5.7
2.5.8
2.5.9
2.5.10
2.5.11
2.5.12
2.5.13
2.5.14
2.5.15
2.5.16
/
RedmineReport
Seite 2 von 11
Manual Installation
2
2.1
MANUAL INSTALLATION
Preamble
Although we highly recommend using the preconfigured setup for RedmineReport, there might
be reasons why one would like to not do so and setup a RedmineReport system from scratch.
This might be because the system should run on Linux or because an already running instance
of tomcat needs be used. Please understand, this is a free appliance of JASreport which can be
installed in various settings and environments with lots of different aspects and we are only able
to provide you a common procedure of how to install the system but without addressing the
system specific aspects that might occur.
In case you are installing into an existing tomcat or database server which is used for
other purposes as well, make sure you always perform a backup of your system
before proceeding with the installation. Also, although we do not expect any serious
problems, make sure that you can tolerate possible downtimes of your server in case
something goes wrong.
atori GmbH provides you with the software 'as-is' without any responsibility for its function,
usability, availability and accuracy. In no event will atori GmbH or its affiliates or suppliers be
liable to you for any loss, damages, claims or costs whatsoever including any consequential,
indirect or incidental damages, any lost profits or lost savings, any damages resulting from
business interruption, personal injury or failure to meet any duty of care, or claims by a third
party, even if an atori GmbH representative has been advised of the possibility of such loss,
damages, claims or costs. The foregoing limitations and exclusions apply to the extent
permitted by applicable law in your jurisdiction.
2.2
Limitations
This document describes the manual installation of a RedmineReport system, which runs on an
apache tomcat server and connects to different SQL databases. These servers are required
beforehand and neither the setup or configuration nor the maintenance of those servers is
addressed here.
2.3
Requirements
This manual requires a running installation of a tomcat 7 server, access to a SQL database
server of either MySQL, MSSQL, PostgreSQL, Oracle or Derby, 1GB of free memory and about
200 MB hard drive space.
/
RedmineReport
Seite 3 von 11
Manual Installation
2.4
Description
birt.war
Reporting engine
JASReport.war
JASreport application
jasreport.properties
Predefined properties
2.5
jasreport.license
License file
RedmineReport.pkg
RedmineReport package
ThemeRedmineReport.pkg
2.5.1
This is usually done by stopping the service with the service management application or in case
you run your tomcat as a console application by sending a CTRL-C to the console window.
2.5.2
To create the database resource you need to edit1 the server.xml file in your [TOMCAT]/conf
directory. RedmineReport needs two database connections to work. One is used to store all the
local configuration data like users, report definitions, dashboard and so on. The objects in this
database will be changed by RedmineReport and therefore the access must not only include
select permission but also update, delete, insert and all the ddl related permissions.
Use text editor of your choice but make sure the the xml file stays valid!
/
RedmineReport
Seite 4 von 11
Manual Installation
To
define
the
resource
find
the
section
<Resource
name="jdbc/jasreport"
type="javax.sql.DataSource"
maxActive="100"
section:
maxIdle="2"
username="jasreport"
password="jasreport"
maxWait="5000"
driverClassName="org.apache.derby.jdbc
.ClientDriver"
url="jdbc:derby://localhost:1527/jasre
port;create=true"
removeAbandoned="true"
logAbandoned="true"
removeAbandonedTimeout="60"
/>
<Resource
name="jdbc/redmine"
type="javax.sql.DataSource"
maxActive="100"
username="redmine"
maxIdle="2"
password="redminepw"
maxWait="5000"
driverClassName="com.mysql.jdbc.Driver
"
url="jdbc:mysql://10.1.5.251:3306/redm
ine"
removeAbandoned="true"
logAbandoned="true"
removeAbandonedTimeout="60"
/>
2.5.3
To publish the database resources edit the context.xml file in your [TOMCAT]/conf directory.
Locate the <Context> section and add the following statements:
2.5.4
Depending on your database choice, copy the jdbc database drivers to your [TOMCAT]/lib
directory. In our case here, this would be derbyclient.jar and mysql-connector-java-3.1.12-bin.jar
2.5.5
Make sure your tomcat server has enough memory available and check the size of the permgen
memory.
/
RedmineReport
Seite 5 von 11
Manual Installation
A good practice setting would be a maximum memory of 1GB and a permgen size of 256MB.
JAVA_OPTS="-server -Xms128M Xmx1024M -XX:MaxPermSize=256M
For more information about memory setting please refer to the tomcat documentation.
2.5.6
Similar to Step 1 this is done with the service management application or in our case by running
the startup.bat command in the [TOMCAT]/bin directory.
2.5.7
DEPLOY JASREPORT.WAR
file
to
the
[TOMCAT]/webapps
If you follow the output on the server console you will notice, that the server printed several error
messages and that the application has not been started or is uninitialized.
At this point this is OK, since important configuration has not been done yet.
/
RedmineReport
Seite 6 von 11
Manual Installation
2.5.8
STOP JASREPORT
To add the required configuration data, JASReport needs to be offline. So either stop JASReport
now by using the tomcat management website or just simply shutdown your tomcat server.
2.5.9
At this point you can ignore error messages, if any, as long as you can proceed with OK to the
next screen. If not, try to reload the page in your browser.
/
RedmineReport
Seite 7 von 11
Manual Installation
Enter the connection to your mail server and then press the marked button in the toolbar.
/
RedmineReport
Seite 8 von 11
Manual Installation
After a little while, you will be redirected to the main login screen.
/
RedmineReport
Seite 9 von 11
Manual Installation
Open the packages explorer by pressing the marked button in the toolbar:
/
RedmineReport
Seite 10 von 11
Manual Installation
Now select them one by one and install them by pressing the button marked in the following
picture
/
RedmineReport
Seite 11 von 11