Connect to DB2 using Rational Software Architect (RSA) 9.0 - db2

I want to know the steps for connecting to DB2 using RSA 9.0. I tried the below steps but I am not able to see any schema after connecting.
Opened Database development perspective
Right clicked on Database Connections and clicked on Add Repository
I have only 2 connection profile types listed -Derby and Generic JDBC (I am not sure whether this is the problem as I dont see DB2)
I selected Generic JDBC and clicked on Next
I clicked on new driver configuration add db2 jar (I have tried with db2jcc.jar as well as db2jcc4.jar) and provided the properties
For driver class, I clicked on Available classes from Jar list and used browse for class option. Here I selected com.ibm.db2.jcc.DB2Driver
I have given the connection url in the below format
jdbc:db2://DBServer:port/DBName
When I test the connection it shows ping succeeded. But when I try to open the schemas its blank
When I checked with my colleagues, they get DB2 connection profile in RSA. Let me know is there any option for me to add it.

I got the solution for this. In IBM installation manager, click on modify and select the language. Then in the list of available components select Data tools. Once installed, DB2 connection profile with IBM data server Driver will be available. Hope this helps.

Related

Reg using Jasper reports in PHP/MySQL web application installed using XAMPP

For our web application using PHP & MySQL DB we need to generate reports using jasper reports. We are using XAMPP
We have installed Jaspersoft iReport 5.6.0
To connect to DB - I tried the steps as in this ref link http://chathurangat.blogspot.in/2012/03/jasperreports-with-php.html
1) I selected MySQL (com.mysql.jdbc.Driver) - JDBC Driver (as in step No. 6)
2) Please suggest what I need to give JDBC url for this jdbc:mysql://localhost/DatabaseName
3) My DB is availabe in MySQL - this can be accessed using phpmyadmin interface
Please suggest how can we connect to our MySQL DB
Please suggest whether we need to install anything aditionally
Thank you
When you login into the jasper reports server, there is a root on you left hand side:
Root -> Data Sources.
Data sources -> right click. You will be given open options.
Choose Add Resource -> Data Source.
You will select MYSQL ODBC driver in the drop down box for JDBC Driver:
Input all the right fields and then test your connection.

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

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.

Unable to browse in Eclipse tables for any schema in Informix

EDIT: Although this question is still unanswered for 3.X versions of Eclipse, using 4.X versions (Juno) solves the problem.
I can't browse tables for a given schema in Informix using Eclipse Data Source Explorer. The only tables I can browse is the catalog, the sys* ones in the Informix schema.
I'm using Eclipse v3.6 (Helios) with Data Tools Project plugin v1.9.2 for accessing an Informix 11.70 database.
The driver (v10.0) and the connection configuration seem to be right as I can ping and query properly using the SQL scrap book, creating and selecting tables. In fact the applications work perfectly once deployed, but I'm unable to use Eclipse features such as JPS tools.
The user has the proper access and is able to browse and operate anything from Server Studio.
I've searched Google for a few days and found some cases expriencing something alike (for instance it can happen in MySQL if you're missing the database in the URL), but found no proper answer.
Thanks in advance
P.S.: I have the same question open in DTP forum http://www.eclipse.org/forums/index.php/m/874976/#msg_874976
P.S. II: I've created a test project that illustrates the problem. Notice the "Tables" node can't be expanded.
The issue will be 'How does Eclipse Helios with Data Tools Project' go looking for tables in an Informix database?
If it interrogates the Informix system catalog directly (systables, syscolumns, ...), there should not be an issue. The fact that you can browse the system catalog tables is curious. Maybe it is only showing you tables 'owned by informix' in the Informix jargon; that would be 'in the schema informix' in some other systems' jargon. Look at the plugin options to see if you can change the schema name somehow, or have it look at all schemas simultaneously.
If it is looking for standard SQL 'Information Schema' tables, those are AWOL in Informix. You might be able to run dbaccess yourdb $INFORMIXDIR/etc/xpg4_is.sql and get enough of an archaic version of the Information Schema tables (from the XPG4 – X/Open Portability Guide version 4 – definition of the Information Schema) to be usable, but I'd not want to bet on it being adequate.

Eclipse Data Source Explorer and MS-Access

I can't see any of my schemas when I try to use Eclipse data source explorer. It's not a problem with JDBC connection because I can connect and execute SQL statements. It's just that the tables don't appear. How do I make them to appear?
Very likely you cannot. Access has a very limited ODBC support (as I suppose you are using the JDBC-ODBC bridge driver). You don't have many options. You could purchase a JDBC driver with more functionality (expensive), and if your Access is 97 or 2000, the QuantumDB Eclipse plugin has a trick to get metadata information from these versions, by exploring the system tables. Perhaps you can find other plugins that manage that for more recent versions, but otherwise, you are stuck.