-->
These old forums are deprecated now and set to read-only. We are waiting for you on our new forums!
More modern, Discourse-based and with GitHub/Google/Twitter authentication built-in.

All times are UTC - 5 hours [ DST ]



Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 1 post ] 
Author Message
 Post subject: Netbeans + Hibernate + DB2 connection problem
PostPosted: Wed Sep 08, 2010 10:00 pm 
Newbie

Joined: Wed Sep 08, 2010 9:49 pm
Posts: 1
Hi, I'm currently using netbeans + Hibernate + DB2 on a projet, but I have not been able to connect to DB2 database on this configuration.

I'm trying to get the connection ready on the creation of the project, but got stuck on the step 4 of the wizzard. I added the Hibernate framework, selected new database connection, and got a new dialog window. There I picked the IBM DB2 Universal driver that is in C:\Program Files\IBM\SQLLIB\java, put the data of my database and when trying to connect I get this error:

Unable to add connection. Cannot establish a connection to jdbc:db2://localhost:50000/TOOLBAR using com.ibm.db2.jcc.DB2Driver ([jcc][t4][201][11237][4.9.78] Connection authorization failure occurred. Reason: Security mechanism not supported. ERRORCODE = -4214, SQLSTATE=28000).

The DB2 setup was done with the default settings.

Does anyone know how to solve this?

Thanks in advance.


Top
 Profile  
 
Display posts from previous:  Sort by  
Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 1 post ] 

All times are UTC - 5 hours [ DST ]


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
© Copyright 2014, Red Hat Inc. All rights reserved. JBoss and Hibernate are registered trademarks and servicemarks of Red Hat, Inc.