170 words

java.io.IOException: Illegal seek

#1
2012-01-31 02:08

The Exception throws between whiles, is a bug? (ObjectDB 2.3.4_05)

[09:44:46.992] Caused by: com.objectdb.o.UserException: Failed to read from file '/home/app/resin/webapps/WEB-INF/objectdb/data.odb'
[09:44:46.992]  at com.objectdb.o.MSG.d(MSG.java:74)
[09:44:46.992]  at com.objectdb.o.LFL.T(LFL.java:1059)
[09:44:46.992]  at com.objectdb.o.PAG.am(PAG.java:818)
[09:44:46.992]  at com.objectdb.o.PGC.w(PGC.java:237)
[09:44:46.992]  at com.objectdb.o.SNP.B(SNP.java:366)
[09:44:46.992]  at com.objectdb.o.OBI.v(OBI.java:430)
[09:44:46.992]  at com.objectdb.o.OBI.s(OBI.java:339)
[09:44:46.992]  at com.objectdb.o.OBI.r(OBI.java:266)
[09:44:46.992]  at com.objectdb.o.PBI.q(PBI.java:94)
[09:44:46.992]  at com.objectdb.o.OBI.Vi(OBI.java:236)
[09:44:46.992]  at com.objectdb.o.BQI.Vr(BQI.java:144)
[09:44:46.992]  at com.objectdb.o.PRG.ag(PRG.java:734)
[09:44:46.992]  at com.objectdb.o.PRG.ae(PRG.java:663)
[09:44:46.992]  at com.objectdb.o.PRG.ad(PRG.java:539)
[09:44:46.992]  at com.objectdb.o.QRM.U4(QRM.java:259)
[09:44:46.992]  at com.objectdb.o.MST.U4(MST.java:947)
[09:44:46.992]  at com.objectdb.o.WRA.U4(WRA.java:290)
[09:44:46.992]  at com.objectdb.o.WSM.U4(WSM.java:113)
[09:44:46.992]  at com.objectdb.o.QRR.g(QRR.java:232)
[09:44:46.992]  at com.objectdb.o.QRR.b(QRR.java:151)
[09:44:46.992]  at com.objectdb.jpa.JpaQuery.getResultList(JpaQuery.java:666)
[09:44:46.992]  ... 19 more
[09:44:46.992] Caused by: java.io.IOException: Illegal seek
[09:44:46.992]  at java.io.RandomAccessFile.seek(Native Method)
[09:44:46.992]  at com.objectdb.o.LFL.W(LFL.java:1136)
[09:44:46.992]  at com.objectdb.o.LFL.T(LFL.java:1055)
[09:44:46.992]  ... 38 more
codefad
codefad's picture
Joined on 2011-04-25
User Post #3
#2
2012-01-31 02:56

It seems to be issue #119 that was fixed - please switch to build 2.3.6_14.

You may have to fix your database file by running the ObjectDB Doctor.

ObjectDB Support
ObjectDB - Fast Object Database for Java (JPA/JDO)
support
support's picture
Joined on 2010-05-03
User Post #890
#3
2012-02-03 01:59

The problem still exists after updating to ObjectDB 2.3.6_14 and checking the db file by Doctor.

codefad
codefad's picture
Joined on 2011-04-25
User Post #5
#4
2012-02-03 04:19

Maybe the Doctor cannot fix this specific issue.

Try to use 2.3.6_14 with a new clean database and see if the problem still happens.

ObjectDB Support
ObjectDB - Fast Object Database for Java (JPA/JDO)
support
support's picture
Joined on 2010-05-03
User Post #901

Post Reply

Please read carefully the posting instructions - before posting to the ObjectDB website.

  • You may have to disable pop up blocking in order to use the toolbar (e.g. in Chrome).
  • Use ctrl + right click to open the browser context menu in the editing area (e.g. for using a browser spell checker).
  • To insert formatted lines (e.g. Java code, stack trace) - select a style in the toolbar and then insert the text in the new created block.
  • Avoid overflow of published source code examples by breaking long lines.
  • You may mark in paragraph code words (e.g. class names) with the code style (can be applied by ctrl + D).
  • Long stack traces (> 50 lines) and complex source examples (> 100 lines) should be posted as attachments.
Attachments:
Maximum file size: 32 MB
Cancel