0

I have created a database within the netbeans client named Hotel with a username of username and password of password:

enter image description here

When I try creating a Connnection Pool in the Glassfish Domain Admin Console, I enter the username and password and name of the database, but when I go to ping it it says the username or password is invalid:

enter image description here enter image description here

And I can't figure out why, Google hasn't helped much either

Community
  • 1
  • 1
Shadow
  • 3,926
  • 5
  • 20
  • 41
  • Try change "User" and "Password" to lowercase? – Tran Vinh Quang Nov 19 '15 at 01:50
  • @QuangTV I tried changing it to Username and that didn't help. I also tried putting it into lowercase but got the same result. – Shadow Nov 19 '15 at 01:53
  • Would you be able to try to connect to the database with ij and see if credentials work. Also check out this post and the last comment maybe it will make sense to you. http://stackoverflow.com/questions/29423661/derby-authentication-error-from-glassfish-console-but-same-credentials-work-from – Yan Nov 19 '15 at 02:00

1 Answers1

0

I was able to resolve the issue by removing the following Additional properties for the Connection Pool:

TraceFileAppend
SecurityMechanism
Ssl
RetrieveMessageText
LoginTimeout
Shadow
  • 3,926
  • 5
  • 20
  • 41