خرید بک لینک

Vote count: 0

I am having an issue with a new setup of Glassfish 4.1 (Payara) on a fresh centos box. Basically I have set all the settings to the same as on my Windows dev machine. But when I deploy the WAR file and JPA tries to create to tables in MySQL I get the following error for every create statement:

com.mysql.jdbc.exceptions.MySQLSyntaxErrorException: You have an error in 
your SQL syntax; check the manual that corresponds to your MySQL server 
version for the right syntax to use near 'OPTION SQL_SELECT_LIMIT=DEFAULT' 
at line 1 PER01000: 

I have no idea what is causing this but I suspect it is having the knock on effect of preventing JASS from working correctly as well as that appears to be behaving incorrectly but that is for another question.

Every setting in the persistence.xml file is the same as on the dev machine bar the JTA data source and I am using

oracle.toplink.essentials.PersistenceProviderSNIP

I have setup glassfish in the usual way, put the mysql coector into the lib folder and can ping the database without issue from the admin console. I can also view the home static page of my webapp that doesn't require database access.

I am completely stumped with this as it all worked perfectly on my Windows box and all the settings are the same. Any help would be greatly appreciated.

asked 30 secs ago

برچسب: نویسنده: استخدام کار تاريخ: دوشنبه 21 فروردين 1396 ساعت: 6:41

صفحه بندی