azh Posted June 24, 2011 Share Posted June 24, 2011 I need to use a DB2 JDBC connection using iReport, the driver suggested is "IBM DB2 (COM.ibm.db2.jdbc.app.DB2Driver)"Ireport is not packaged with db2 jdbc driver , so I've done the followng steps with out succès.1. Menu Tools->Options->Classpath Add JAR: db2java.zip, db2jcc.jar, db2jcc_license_cu.jar2. Create new report with Database JDBC connection option and typed the following parameters: Name: DB2 JDBC Test JDBC Driver: IBM DB2 (COM.ibm.db2.jdbc.app.DB2Driver) JDBC URL: jdbc:db2:localhost/SampleDB username: sample_user password: 1234567890 Save password: checked3. Click on Test Button to check the connection: SQL problems: [iBM][CLI Driver] CLI0124E Invalid argument value. SQLSTATE=HY009 jdbc:db2:localhost/SampleDB 4. The port number of DB2 is 50000, the database is OK since I'm using it in my application. The ultimate Guide documentation suggest another way using the iReport command menu Windows->Services. This faild with COM.ibm.db2.jdbc.app.DB2Driver After the driver added abd database configured with COM.ibm.db2.jdbc.jcc.DB2Driver The tables tree is displayed. again I tried to create a new report with this JDBC driver and I get the message even if I checked the password saving.IBM DB2 SampleDBGeneral problem: nullPlease check your username and password. The DBMS is running? Please help Post Edited by azh at 06/24/2011 10:33Post Edited by azh at 06/24/2011 10:52Post Edited by azh at 06/24/2011 12:37 Link to comment Share on other sites More sharing options...
tunisian_zou Posted August 25, 2012 Share Posted August 25, 2012 I have the same issue . can I have any idea about this problem.Thank you Link to comment Share on other sites More sharing options...
krishrocks.rocks Posted March 8, 2013 Share Posted March 8, 2013 I have the same issue . can I have any idea about this problem.Thank you Link to comment Share on other sites More sharing options...
imran.syed15 Posted April 1, 2013 Share Posted April 1, 2013 Same problem with msg: General problem: nullPlease check your username and password. The DBMS is running?! "please help" Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now