IBM Cognos DB2 configuration - db2

I'm trying to configure IBM Cognos 10.2.1 with IBM DB2 - 10.5.1 on AIX 7.1. The default installation (in cogstartup.xml) of Cognos comes with Derby database. Cognos with default configuration starts successfully. Dispatcher page comes up but with an error that indicates that Content Store (i.e. Derby) is not available.
However, if I replace the database with DB2, Cognos does not start properly i.e. dispatcher URL is inaccessible.
Can you please see what can be the issue?

Are you doing config for server end or framework manager client end? what i can tell you is once you passed config in FM and want to change it, you gotta remove two Pkey and comm folders before you trying to save your config

You might need to copy db2 jar files to cognos lib folder when you change the database from Derby to DB2, directly edit the cogstartup.xml with DB2 data configurations.

Related

connect Jasperreports community edition to another database server

Version - 6.0.1 (jasperreports-server-cp-6.0.1)
Is it possible to connect jasperreports community edition installed on a ubuntu server to another postgreSQL database server?. I have followed this
https://community.jaspersoft.com/wiki/connecting-jasperreports-server-yo....
When I try to create a data source (JDBC) , its showing nothing like in thedocument. It simply returns the blue menu (Library, view, manage)
Any help would be appreciated.
Assuming you want to report on a different database you have to create a new datasource. Select view->repository, right-click in the tree somewhere and create a new datasource. You have to have the correct driver available but it will already have the driver for postgres. Put in the connection details and save the data source.
When you upload a report to the server, you'll have to then associate the report with the datasource (edit the report properties). This is all covered in the documents you get with the install e.g. JasperReports-Server-User-Guide, JasperReports-Server-Admin-Guide

Integrated Authentication in Jboss Teiid

I want to use Integrated authentication using jdbc connector in Teiid. I have tried to create a connecton to Database using:
1. Create Teiid Model Project-> Source ->Import->JDBC Connection
2. I see a feature called integrated security checkbox in Specify a Driver and Connection profile.
When i am inserting values there , it is giving me an error. I want to understand if it is supported by Teiid or not
Yes, this is supported as general JBoss EAP feature, but there is no tooling support like in the Teiid Designer as you describe above.
When you create a data source configuration for Oracle in JBoss EAP, define "security-domain", and then configure a JAAS based security domain that based on Caller Idenity Login Module. See https://access.redhat.com/documentation/en-US/JBoss_Enterprise_Data_Services/5/html/Data_Services_Administration_Guide/chap-Login_Modules.html
Once you configure that, if Oracle source is being used as one of the sources under Teiid VDB, then the credentials used to log into Teiid will be used to issue queries on Oracle.

Integrating eclipse with db2

I was doing a project related to the IBM competition and need to create a web application. I have done a web application before by connecting netbeans and mysql. But, now am facing problem right from installation.
Is there any workbench(like something for mysql) for db2 . If so can anyone give a link. Also, I need to make jdbc connections. So, is there any other software I need to install.
Kindly explain to me in detail as I'm not pretty sure about this.
All you need is a DB2 JDBC JAR. Pick the appropriate one for your version and add it to your CLASSPATH.
You should use either a DB2 admin client to create tables and view data or something like SQL Squirrel.

Restoring Apache Derby Database

I use Netbeans to develop a project with JSF, JPA and Java database. I can make a back up online by right clicking the database connections under services and excuting CALL SYSCS_UTIL.SYSCS_BACKUP_DATABASE('c:/tem/2005-06-01') command. But how can I restore or create a database from that backup.
Several articles state that to use jdbc:derby:sample;restoreFrom=c:\mybackups\sample in the in the boot time connection URL. What is boot time connection? I tried to use it as the connection string in Netbeans new connection dialog, but that was not successful.
Please tell me how can I restore the backup.
There is a wealth of information about backing up and restoring Derby databases here: http://db.apache.org/derby/docs/10.9/adminguide/cadminhubbkup98797.html
If you're not comfortable using Derby outside of the Netbeans environment, start here: http://db.apache.org/derby/docs/10.9/getstart/

Birt Eclipse, connecting to a SQLite database through ODBC? Do I need a specific JDBC driver for Birt to use?

I have been working on this for a while now and, unfortunately have little previous exposure to Birt as well as JDBC / ODBC. I've been searching and searching but can't conclusively figure out what I need for Birt to be able to connect to an SQLite database through ODBC.
I have setup the SQLit db on my windows machine to use ODBC. From here, however, I can't figure out, in the Birt Report Designer-> New data source-> JDBC data source what I am supposed to put in in order to access the DB.
Do I need a specific driver for this that I need to install to use as the "Driver Class"
Is the path to my ODBC / SQLite db the "Driver URL" field?
I would greatly appreciate any advice on this.
There is a JDBC driver specifically for SQLite, so you don't have to use a bridge.
The URL should be:
jdbc:sqlite:/path/to/my.db
The class is org.sqlite.JDBC.
As the initial answer points out, you can download the SQLite JDBC driver. Once downloaded, you need to correctly deploy the JAR into BIRT so the driver will be available in the eclipse designer. Put the JAR in:
<BIRT Install>\eclipse\plugins\com.actuate.data.oda.jdbc.drivers_<BIRT VERSION>
Once the JAR is there, re-start Eclipse/BIRT and you should be able to create a SQLite data source pretty easily.
Good Luck!