This week's book giveaway is in the NodeJS forum.
We're giving away four copies of Serverless Applications with Node.js and have Slobodan Stojanovic & Aleksandar Simovic on-line!
See this thread for details.
Win a copy of Serverless Applications with Node.js this week in the NodeJS forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other all forums
this forum made possible by our volunteer staff, including ...
  • Campbell Ritchie
  • Liutauras Vilda
  • Bear Bibeault
  • Jeanne Boyarsky
  • paul wheaton
  • Junilu Lacar
  • Paul Clapham
  • Knute Snortum
Saloon Keepers:
  • Stephan van Hulst
  • Ron McLeod
  • Tim Moores
  • salvin francis
  • Carey Brown
  • Tim Holloway
  • Frits Walraven
  • Vijitha Kumara

connection to mysql problem  RSS feed

Posts: 19
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator

I tried to make a ping from glassfish to mysql. here is the error :
Cannot open file:F:\glassfish-5.0\glassfish5\glassfish\domains\domain1/config/keystore.jks [Keystore was tampered with, or password was incorrect]

I changed master password,tried different resource type,set allow permission to all users but without result.Ive access to de same database from tomcat.
I dont create another domain in glassfish yet(using de defualt one,domain1)

I really searched every aspect of dis problem,still got an error >.<

my glassfish ver is 5.0
- Resource Type:javax.sql.DataSource
- Datasource Classname:com.mysql.cj.jdbc.MysqlDataSource

mysql ver is 8.0.13

I spend two days for dis ,where is my problem?


I dont have dis problem on mysql driver 5.1
so I think my problem is related to new packages came from in mysql driver 8.

porblem solved.
add useSSL property and set to false(default is true).

The only taste of success some people get is to take a bite out of you. Or this tiny ad:
global solutions you can do in your home or backyard
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!