java.sql.SQLException: error in script file line: 39 unexpected token: TO

Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Solutions on the web

via hsqldb by matts28
, 1 year ago
error in script file line: 39 unexpected token: TO
via mendelson-e-c.com by Unknown author, 1 year ago
General error: database alias does not exist
via Stack Overflow by mgnyp
, 1 year ago
Database lock acquisition failure: lockFile: org.hsqldb.persist.LockFile@76e90d02[file =/rhel5pdi/home/mgnyp/workspace/src/Project/webapp/WEB-INF/lib/testDataBase.lck, exists=true, locked=false, valid=false, ] method: checkHeartbeat read: 2013-04-23 10:35:22 heartbeat - read: -8403 ms.
via Google Groups by Felipe Fontoura, 2 years ago
Database lock acquisition failure: lockFile: org.hsqldb.persist.LockFile@b721ad17[file =/home/felipefontoura/Dev/javaee/workspace/fluo/tmp/devdb.lck, exists=true, locked=false, valid=false, ] method: checkHeartbeat read: 2011-06-24 01:01:22 heartbeat - read: -2910 ms.
via java-forums.org by Unknown author, 1 year ago
Database lock acquisition failure: lockFile: org.hsqldb.persist.LockFile@a4d71f6d[file =C:\Users\Jansu\workspace\poker\db\db.lck, exists=true, locked=false, valid=false, ] method: checkHeartbeat read: 2010-12-22 14:57:53 heartbeat - read: -2700 ms.
via java-forums.org by Unknown author, 1 year ago
Database lock acquisition failure: lockFile: org.hsqldb.persist.LockFile@a4d71f6d[file =C:\Users\Jansu\workspace\poker\db\db.lck, exists=true, locked=false, valid=false, ] method: checkHeartbeat read: 2010-12-22 14:57:53 heartbeat - read: -2700 ms.
java.sql.SQLException: error in script file line: 39 unexpected token: TO
at org.hsqldb.error.Error.error(Unknown Source)
at org.hsqldb.scriptio.ScriptReaderText.readDDL(Unknown Source)
at org.hsqldb.scriptio.ScriptReaderBase.readAll(Unknown Source)
at org.hsqldb.persist.Log.processScript(Unknown Source)
at org.hsqldb.persist.Log.open(Unknown Source)
at org.hsqldb.persist.Logger.openPersistence(Unknown Source)
at org.hsqldb.Database.reopen(Unknown Source)
at org.hsqldb.Database.open(Unknown Source)
at org.hsqldb.DatabaseManager.getDatabase(Unknown Source)

Users with the same issue

Samebug visitor profile picture
Unknown user
Once, 2 years ago
Samebug visitor profile picture
Unknown user
Once, 1 year ago
Samebug visitor profile picture
Unknown user
Once, 2 years ago
4 times, 7 months ago
Samebug visitor profile picture
Unknown user
Once, 1 year ago
94 more bugmates

Know the solutions? Share your knowledge to help other developers to debug faster.