java - Oracle Toplink not working on Payara App Server -
i've took care of migration glassfish 2 glassfish payara application uses toplink.
while application running on glassfish 2 dependency toplink written in pom file this:
<dependency> <groupid>toplink.essentials</groupid> <artifactid>toplink-essentials</artifactid> <scope>provided</scope> </dependency>
now, can see toplink no longer available default in glassfish payara, i've changed dependency this:
<dependency> <groupid>toplink.essentials</groupid> <artifactid>toplink-essentials</artifactid> </dependency>
but, after doing keep receiving following error:
caused by: java.sql.sqlsyntaxerrorexception: syntax error: encountered "key" @ line 1, column 8. @ org.apache.derby.impl.jdbc.sqlexceptionfactory40.getsqlexception(unknown source) @ org.apache.derby.impl.jdbc.util.generatecssqlexception(unknown source) @ org.apache.derby.impl.jdbc.transactionresourceimpl.wrapinsqlexception(unknown source) @ org.apache.derby.impl.jdbc.transactionresourceimpl.handleexception(unknown source) @ org.apache.derby.impl.jdbc.embedconnection.handleexception(unknown source) @ org.apache.derby.impl.jdbc.connectionchild.handleexception(unknown source) @ org.apache.derby.impl.jdbc.embedpreparedstatement.<init>(unknown source) @ org.apache.derby.impl.jdbc.embedpreparedstatement20.<init>(unknown source) @ org.apache.derby.impl.jdbc.embedpreparedstatement30.<init>(unknown source) @ org.apache.derby.impl.jdbc.embedpreparedstatement40.<init>(unknown source) @ org.apache.derby.impl.jdbc.embedpreparedstatement42.<init>(unknown source) @ org.apache.derby.jdbc.driver42.newembedpreparedstatement(unknown source) @ org.apache.derby.impl.jdbc.embedconnection.preparestatement(unknown source) @ org.apache.derby.impl.jdbc.embedconnection.preparestatement(unknown source) @ org.apache.derby.iapi.jdbc.brokeredconnection.preparestatement(unknown source) @ com.sun.gjc.spi.base.connectionholder.preparestatement(connectionholder.java:586) @ com.sun.gjc.spi.jdbc40.connectionwrapper40.preparecachedstatement(connectionwrapper40.java:255) @ com.sun.gjc.spi.jdbc40.connectionwrapper40.preparecachedstatement(connectionwrapper40.java:52) @ com.sun.gjc.spi.managedconnectionimpl.preparecachedstatement(managedconnectionimpl.java:992) @ com.sun.gjc.spi.jdbc40.connectionwrapper40.preparestatement(connectionwrapper40.java:173) @ oracle.toplink.essentials.internal.databaseaccess.databaseaccessor.preparestatement(databaseaccessor.java:1162) @ oracle.toplink.essentials.internal.databaseaccess.databasecall.preparestatement(databasecall.java:612) @ oracle.toplink.essentials.internal.databaseaccess.databaseaccessor.basicexecutecall(databaseaccessor.java:485) ... 145 more
and looks somehow application tries connect derby database, though i've setup connection oracle database , database available , responds ping.
it has ever encountered similar problem , can me, grateful.
Comments
Post a Comment