BIRT 431: Java/JDBC for Oracle compatibility issue - oracle

BIRT 431; Oracle 12c
IBM Maximo Asset Management 7.6.1.2 — only supports BIRT 431
I want to preview my BIRT reports (by connecting from BIRT to the Maximo database).
BIRT 431 requires Java 7. However, the latest version of JDBC for Oracle requires Java 8 (older drivers won't connect to the database).
If that's correct, then how can I preview BIRT reports if BIRT 431 doesn't support any functioning JDBC drivers?

A colleague provided this solution. I haven't been able to test it yet.
Use the latest available version of the jdbc driver for Oracle designed for Java 7:
Oracle Database 12.1.0.1 JDBC Driver & UCP Downloads --> ojdbc7.jar
In order to get preview features working for Eclipse BIRT 4.3.1 the following steps need to be taken:
Be sure that the version of Java being used for Eclipse is version 7. If it isn’t change it to version 7 as the preview feature will not work with 8.
Review chapter 2 in the attached document.
Save the attached file (ojdbc7.jar.txt) to the folder eclipse\plugins\org.eclipse.birt.report.viewer_4.3.1.v201309171028\birt\WEB-INF\lib below your base eclipse installation folder. Rename the file removing the “.txt”.
Create a copy of the file and change the extension from “.jar” to “.zip”.
Extract the contents of the zip file to eclipse\plugins\org.eclipse.birt.report.viewer_4.3.1.v201309171028\birt\WEB-INF\classes
Confirm Eclipse configuration as per the documentation from point 2.
Test with a report to confirmation functionality.
If there is an issue with the built in tool for previewing report output you may need to configure Eclipse to use a web browser instead.
In Eclipse use Window -> Preferences -> Report Design -> Preview.
Check the option “Always use external browsers.”
Click on the Web Browser link.
Click on the “Use external web browser” radio button and check “Default system web browser” or the browser of your choice if it appears in the list.
Related:
Maximo76_Designer431_Report Development Guide_Rev8.pdf

Related

Difference between server library and registered library in NetBeans

When I do the following:
Right click project
Properties
On the opened window I click Frameworks > Add framework
I can select which framework I can add but I don't understand what is the difference between "Server library" and "Registered libraries".
So questions that are bugging me:
What is the difference between "Server library" and "Registered libraries"
Can I add a new server library beside the ones that are in the drop select element, if yes how
Can I add a new registered library beside the ones that are in the drop select element, if yes how
Is the registered library the same as a class library? Because there is already question about that (LINK)
My current understanding is that a server library is a library that comes bundled with the application server I am using (I am using Wildfly). So based on that logic I should not be able to add new server libraries, but I might be wrong, so please correct me.
EDIT 1 : I have both Netbeans 8 and Netbeans 12 installed on the same computer and I have noticed that on the Netbeans 8 it is offering me JSF 2.2 under server library, but on the Netbeans 12 it is offerming me JSF 2.3 under server library. I am pointing to the same server folder for both of them, so shouldn't the versions also match?
EDIT 2: Comments asked me how I created the project. I created a Maven Web Application through a wizard (New Projet > Java with Maven > Web Application > Entered the project name > Wildfly Application Server and Java EE 8 WEB)

xPages Extension Library v9 and JDBC installation issue

I just installed Notes Client 9.0.1FP5 SHF190 and Extension Library is a part of the product. But it doesn't contain com.ibm.xsp.extlibx.library. Well, I took it in latest "ExtensionLibraryOpenNTF-901v00_16.20160128-1014.zip" release and installed it through File->Application->Install with no errors. But JDBS is still not available as a data source:
<xe:jdbcRowSet... or <xe:jdbcQuery...
In xPage properties I still says the library is not installed. Please, advise.
The RDBMS support is no longer part of extlibx, since release 7 of the 901 extlib. You need to install the full extlib v16 designer update site to domino designer. From your screenshot it looks like you've only got the default 901 extlib (effectively v0). And also install the extlib 16 update site to your server.
You could check out this video made around the time of the work to move the RDBMS support from extlibx into the main extlib.
http://youtu.be/zoiOVCfeEB0
You need to install the extension library in BOTH designer AND the server. I'm guessing that it's not on the server.

Oracle Enterprise Manager 12c Plugin development

I am very new in developing a plugin for Oracle Enterprise manager. I have setup my work environment(installed Adobe Flex builder,Extensibility Development Kit(Edk) and all). I have also succesfully deployed a sample plugin to OEM grid control. Now I have a few queries which can be solved by someone who already done plugins in OEM(Hope SE contains some). I have posted in oracle's forum,but getting no response. Here are my queries:
1) Is it possible to add the Sample plugin created also to be listed when selecting the targets from Enterprise>Monitoring>Logs? If yes, how can I do that.
2) Also, in that case can I add a custom UI instead of showing logs in table.
Thanks in advance!!
For those who came across the same problem and get here through google,
please go to https://forums.oracle.com/forums/thread.jspa?threadID=2481432&tstart=15 for details.

iReport on linux, setting up JDBC Drivers

I am trying to get some JasperReports working. To build them I am using iReport.
I need to connect to an MS SQL Server db. In iReport the MS JDBC driver is listed. However when I go to test the connection I get a class not found error.
I have made sure that I have the driver in my class path
echo $CLASSPATH
/home/USER/dev/jtds/jtds-1.2.5.jar
Has any one run into these sorts of issues and found a way around?
The key idea is "In iReport the MS JDBC driver is listed." Somewhat surprisingly... this means nothing at all.
Well... it means that the iReport team thinks this is a common enough driver that they put it into the drop down list so that you would not have to type it. It does not mean that the driver is available.
As Dan has already alluded to in the comments, the solution is to add the relevant .jar file (jtds-1.2.5.jar) to iReport's classpath using the menu Tools → Options. (On OS X it's the menu iReport → Preferences).
go to the ireport there u will see one icon on top and click it it will show paths there u establish a connection to jdbc and add ojdbc 14 jar to it . that's it simple and add that jar to classpath.

What is the simplest way to set up a BIRT report viewer for a xulrunner application?

I recently began using BIRT and have developed a report to use with my xulrunner application. What I haven't yet figured out is how I should deploy the viewer. It seems like BIRT mostly targets Java applications, so there are instructions for deploying on J2EE, JBoss, and other technologies -- with which I am not familiar (but I'm not developing in Java anyway).
Reviewing this article on deploying BIRT and reviewing the deployment details on BIRT's web site, I'm not sure where to go. I wasn't expecting to have to add some large Java dependency for the xulrunner application --is there no way I can drop an executable in with my xulrunner app, call it from my app, and pass it a report document? (Or something else that would be simpler than learning and using J2EE, JBoss, tomcat?)
It appears that there is a genReport.bat file in the run-time somewhere that can generate reports from the command line. This appears to be what I need, and this article describes it.
(11/2014) I'm going to add:
download Birt runtime from: http://www.eclipse.org/downloads/download.php?file=/birt/downloads/drops/R-R1-4_3_0-201306131152/birt-runtime-4_3_0.zip
extract somewhere and set a new Environment variable BIRT_HOME=path_to_where_you_extracted
remember to add your database library into \ReportEngine\lib , (ex: jtds.jar)
Open a console inside ReportEngine dir and run:
genReport.bat -f PDF -o PATH/GENERATED_REPORTS/REPORT.pdf -F "PATH/TO/REPORT.rptdesign"
And that's all what I needed to do

Resources