Re: Connection with Glassfish Server
Posted by: Rositsa Zareva
Date: April 02, 2019 01:40AM

Thanks, and now the error is :

> Ping Connection Pool failed for MySQL801. Connection could not be allocated because: Cannot open file:C:\glassfish5\glassfish\domains\gf-raum/config/keystore.jks [Keystore was tampered with, or password was incorrect] Please check the server.log for more details.

And when I run a specific Class for connection to MySQL from "Eclipse" using "java.sql.DriverManager" I get :

> Exception in thread "main" java.sql.SQLException: The server time zone value 'Ôèíëàíäèÿ - ëÿòíî ÷àñîâî âðåì' is unrecognized or represents more than one time zone. You must configure either the server or JDBC driver (via the serverTimezone configuration property) to use a more specifc time zone value if you want to utilize time zone support.
at com.mysql.cj.jdbc.exceptions.SQLError.createSQLException(SQLError.java:129)
at com.mysql.cj.jdbc.exceptions.SQLError.createSQLException(SQLError.java:97)
at com.mysql.cj.jdbc.exceptions.SQLError.createSQLException(SQLError.java:89)

It seams like error with encoding ?

In "Eclipse" under [Project in ProjManager] > Properties > Resourses > Text File Encoding I changed the Option from "Inherited from the Container (Cp1251)" to Other > UTF-8. That did not change anything.

How to cope?

Options: ReplyQuote


Subject
Written By
Posted
Re: Connection with Glassfish Server
April 02, 2019 01:40AM


Sorry, you can't reply to this topic. It has been closed.

Content reproduced on this site is the property of the respective copyright holders. It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.