BIRT is the default report writer for IBM's Maximo asset maintenance software from version 7 onwards. The BIRT implementation in Maximo is somewhat different to stand alone BIRT and this two part article guides you through installation and configuration of the BIRT software specifically for use with Maximo.<br />
<br />
To download the full PDF version of this article with screen shots please visit <a class='bbc_url' href='
http://www.BIRTReporting.com'>BIRT Reporting Articles, News and Support</a> and sign up for your free membership. <br />
<br />
ARTICLE:<br />
<br />
<br />
INTRODUCTION<br />
<br />
This is part one of our two part guide to installing and configuring BIRT for Maximo. In this guide I look at how to install BIRT in the Maximo environment with easy to follow, step by step instructions, including screen shots.<br />
<br />
This guide has been taken from our 2 day, dedicated, BIRT for Maximo training course which can be delivered on your premises anywhere in the world, to have your team up and running with BIRT in a Maximo environment quickly, easily and at low cost.<br />
<br />
If you would like further information about our training courses please contact <a href='mailto:' title='E-mail Link' class='bbc_email'>Paul@BIRTReporting.com</a><br />
<br />
Join the mailing list at <a class='bbc_url' href='
http://www.BIRTReporting.com'>BIRT Reporting Articles, News and Support</a> to automatically receive the second part of this guide when it is published. <br />
<br />
INSTALLING BIRT FOR MAXIMO<br />
<br />
DOWNLOAD<br />
<br />
To create or customize BIRT reports, you must have both Eclipse and the BIRT Report Designer downloaded on your client machine. They are both installed from the all in one package available from <br />
<a class='bbc_url' href='
http://www-01.ibm.com/software/brandcatalog/opal/details?catalog.label=1TW10OT07'>IBM - BIRT Report Designer V2.3.2</a><br />
<br />
Extract the BIRTDesigner232.zip file to a local directory which does not include any spaces (for example: C:birt_232)<br />
<br />
INSTALL DESIGN FILES FOR BIRT 232<br />
<br />
Prerequisites:<br />
<br />
To perform the next steps, you will need a local copy of V7.1.1.5 or higher, with<br />
the report source.<br />
<br />
Either JDK 1.5 or 1.6 can be used with BIRT Designer 232. However, JDK 1.5 is recommended as it corresponds to the current version supported by Maximo.<br />
<br />
Locate the compiled classes used for the V7 Report Scripting from your local copy of V7.1.1.5 or higher as shown below.<br />
<br />
<V7115>reportsbirtscriptlibraryclasses<br />
<br />
Navigate to the EclipseBIRT location below (this is where you just installed BIRT to)<br />
<br />
<birt_232>eclipsepluginsorg.eclipse.birt.report.viewer_2.3.2.r232_20090212birtWEB-INF<br />
<br />
Create a classes folder<br />
<br />
Copy the entire V7 com folder from step Maximo classes folder to the new classes folder you just created<br />
<br />
<birt_232>eclipsepluginsorg.eclipse.birt.report.viewer_2.3.2.r232_20090212 birtWEB-INFclasses<br />
<br />
<br />
Copy and paste the mxreportdatasources.properties using the same source and destination folders from the previous steps.<br />
<br />
Open the copied mxdatasources.properties file, and edit if for your local configuration by:<br />
<br />
a) Setting the URL, driver, username, password, and schemaowner properties for your local environment.<br />
<br />
b) Change #<DataSourceName> to maximoDataSource.<br />
<br />
This file is shown below, including a sample update for a DB2 Database:<br />
<br />
#<DataSourceName>.<propertyName>=value<br />
# driver for ORACLE<br />
# oracle.jdbc.driver.OracleDriver<br />
# sample url for ORACLE<br />
# jdbc:oracle:thin:
@<HOST>:<PORT>:<SID><br />
# driver for SQLServer<br />
# com.inet.tds.TdsDriver<br />
# sample url for SQLServer<br />
# jdbc:inetdae7a:hostname:port?database=dbname&language=us_english&nowarnings=true<br />
# driver for DB2<br />
# com.ibm.db2.jcc.DB2Driver<br />
# sample url for DB2<br />
# jdbc:db2://localhost:50000/dbalias<br />
maximoDataSource.url=jdbc:db2://MX7DB2:50000/MX7DB2<br />
maximoDataSource.driver=com.ibm.db2.jcc.DB2Driver<br />
maximoDataSource.username=maximo<br />
maximoDataSource.password=maximo<br />
<br />
The values in red point to a sample local database. You can check yours and other available for you to choose from Start MenuProgramsIBM DB2Set-up ToolsConfiguration Assistant.<br />
The key name in green is the default set for all reports, you have to use exactly this text.<br />
<br />
Note:<br />
The mxdatasources.properties file is only used by a report developer when he is creating<br />
reports within the BIRT Report Designer. When V7 Reports are executed from within the V7<br />
Applications, their connection information will be passed dynamically from V7.<br />
Separate database username and passwords can be set up for each individual report developer<br />
to restrict their database access if required<br />
<br />
Copy the specific JDBC driver for your Database Type from<br />
<br />
<V7115>applicationsmaximolib<br />
<br />
to:<br />
<br />
eclipsepluginsorg.eclipse.birt.report.viewer_2.3.2.r232_20090212birtWEB-INFlib<br />
<br />
These drivers are only used by the designer.<br />
<br />
Note:<br />
For Oracle, copy/paste oraclethin.jar<br />
For SQL Server, copy/paste opta.jar<br />
For DB2, copy/paste db2jcc.jar and db2jcc_license_cu.jar<br />
<br />
Open the specific JDBC driver Jar with WinZip for your specific database type and extract the contents of the jar file to<br />
<br />
<eclipse>pluginsorg.eclipse.birt.report.viewer_2.3.2.r232_20090212birtWEB-INFclasses<br />
<br />
Note: If you see an exception error like ‘ClassNotFound’ in BIRT Designer<br />
after following these steps, double check that you have extracted the jar files<br />
properly. Not extracting the jar files will cause a ‘ClassNotFound’ Error.<br />
<br />
ACCESSING THE BIRT DESIGNER<br />
<br />
Create a shortcut to BIRT Designer 232 from eclipse.exe.<br />
<br />
Update the shortcut’s target to include your JDK 1.5 install. This is done by modifying the path highlighted in red below.<br />
<br />
C:eclipse_downloadBIRTeclipseeclipse.exe -vm “C:Program FilesIBMJava50jrebinjava.exe” –vmargs –Xmx512m<br />
<br />
Launch the BIRT Designer 232 from your new shortcut.<br />
<br />
Select an applicable workspace location for your environment. Check ‘Use this as default’ field and OK. Create a folder during or before this process.<br />
<br />
Eclipse SDK Opens.<br />
<br />
From the menu, select File – New – Project. <br />
<br />
Scroll down to the Business Intelligence and Reporting Tools Location, and select Report Project. Click Next.<br />
<br />
Type in a project name and click Finish.<br />
<br />
The BIRT Report designer within Eclipse SDK Displays.<br />
<br />
MORE INFORMATION<br />
<br />
BIRT FOR MAXIMO TRAINING<br />
<br />
If you are interested in further details of our 2 day dedicated BIRT for Maximo training course please drop me an email. Our course can be delivered anywhere in the world, on your premises or in dedicated training centres and is designed to have your team up and running with BIRT in a Maximo environment, quickly, easily and at low cost.<br />
<br />
I look forward to your feedback so please feel free to send me an email and let me know how you get on with BIRT, provide feedback on this guide, share your tips and tricks, or request help for specific problems. I can’t guarantee to personally solve everyone’s problems but there are some great BIRT related forums out there and you can find a growing list of links and resources on my site. <br />
<br />
HOW TO CONTACT THE AUTHOR<br />
<br />
Email: <a href='mailto:' title='E-mail Link' class='bbc_email'>Paul@BirtReporting.com</a><br />
Web Site: <a class='bbc_url' href='
http://www.BirtReporting.com'>BIRT Reporting Articles, News and Support</a><br />
<br />
<br />
Paul Bappoo is the author of BIRT for Beginners (which is available now in paperback from BIRTReporting.com) and has been an international technical software consultant and involved with computers for over 30 years. Paul runs the BIRT UK User Group and is a member of the Actuate BIRT-Exchange Advisory Council. He has an interest in BIRT reporting, enterprise application integration, automated software testing, computer based training and enterprise system implementation.