When I try to run a script that uses H2 version 2.0.206 and executes a 
SELECT statement, I get the following error. There is a Java server running 
the database. The operating system is Red Hat Enterprise Linux 7.9.

Exception in thread "main" org.h2.message.DbException: IO Exception: 
"java.io.IOException: Illegal seek" [90028-206]

at org.h2.message.DbException.get(DbException.java:216)

at org.h2.message.DbException.convertIOException(DbException.java:459)

at org.h2.util.ScriptReader.readStatement(ScriptReader.java:101)

at org.h2.tools.RunScript.process(RunScript.java:205)

at org.h2.tools.RunScript.process(RunScript.java:194)

at org.h2.tools.RunScript.process(RunScript.java:321)

at org.h2.tools.RunScript.runTool(RunScript.java:144)

at org.h2.tools.RunScript.main(RunScript.java:71)

Caused by: org.h2.jdbc.JdbcSQLNonTransientException: IO Exception: 
"java.io.IOException: Illegal seek" [90028-206]

at org.h2.message.DbException.getJdbcSQLException(DbException.java:573)

at org.h2.message.DbException.getJdbcSQLException(DbException.java:496)

... 8 more

Caused by: java.io.IOException: Illegal seek

at sun.nio.ch.FileDispatcherImpl.seek0(Native Method)

at sun.nio.ch.FileDispatcherImpl.seek(FileDispatcherImpl.java:76)

at sun.nio.ch.FileChannelImpl.position(FileChannelImpl.java:264)

at sun.nio.ch.ChannelInputStream.available(ChannelInputStream.java:116)

at java.io.BufferedInputStream.read(BufferedInputStream.java:353)

at sun.nio.cs.StreamDecoder.readBytes(StreamDecoder.java:284)

at sun.nio.cs.StreamDecoder.implRead(StreamDecoder.java:326)

at sun.nio.cs.StreamDecoder.read(StreamDecoder.java:178)

at java.io.InputStreamReader.read(InputStreamReader.java:184)

at org.h2.util.ScriptReader.readBuffer(ScriptReader.java:293)

at org.h2.util.ScriptReader.read(ScriptReader.java:266)

at org.h2.util.ScriptReader.readStatementLoop(ScriptReader.java:107)

at org.h2.util.ScriptReader.readStatement(ScriptReader.java:99)

... 5 more

-- 
You received this message because you are subscribed to the Google Groups "H2 
Database" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/h2-database/52c37ce8-cc30-4efc-a34c-eab1525b048bn%40googlegroups.com.

Reply via email to