Opened 7 years ago

Closed 7 years ago

#1664 closed defect (fixed)

SECORE I/O errors

Reported by: Dimitar Misev Owned by: Bang Pham Huu
Priority: critical Milestone: 9.5
Component: secore Version: development
Keywords: Cc: Peter Baumann
Complexity: Medium

Description

In the secore logs there are many exceptions like this (I have a 180MB catalina.out filled with just these exceptions):

java.io.IOException: Stream Closed
  java.io.RandomAccessFile.seek0(Native Method)
  java.io.RandomAccessFile.seek(RandomAccessFile.java:557)
  org.basex.io.random.TableDiskAccess.readBlock(TableDiskAccess.java:531)
  org.basex.io.random.TableDiskAccess.readPage(TableDiskAccess.java:514)
  org.basex.io.random.TableDiskAccess.cursor(TableDiskAccess.java:493)
  org.basex.io.random.TableDiskAccess.read1(TableDiskAccess.java:187)
  org.basex.data.Data.kind(Data.java:276)
  org.basex.query.value.node.DBNode$5.next(DBNode.java:373)
  org.basex.query.value.node.DBNode$5.next(DBNode.java:363)
  org.basex.query.path.IterStep$1.next(IterStep.java:45)
  org.basex.query.path.AxisPath.iter(AxisPath.java:316)
  org.basex.query.path.AxisPath.iter(AxisPath.java:285)
  org.basex.query.QueryContext.iter(QueryContext.java:292)
  org.basex.query.expr.IterPosFilter$1.next(IterPosFilter.java:55)
  org.basex.query.iter.Iter.value(Iter.java:64)
  org.basex.query.expr.ParseExpr.value(ParseExpr.java:72)
  org.basex.query.QueryContext.value(QueryContext.java:303)
  org.basex.query.flwor.Let$1.next(Let.java:85)
  org.basex.query.flwor.FLWR$1.next(FLWR.java:63)
  org.basex.core.cmd.AQuery.query(AQuery.java:97)
  org.basex.core.cmd.XQuery.run(XQuery.java:22)
  org.basex.core.Command.run(Command.java:363)
  org.basex.core.Command.exec(Command.java:342)
  org.basex.core.Command.execute(Command.java:78)
  org.basex.core.Command.execute(Command.java:90)
  org.rasdaman.secore.db.BaseX.query(BaseX.java:177)
  org.rasdaman.secore.db.BaseX.queryUser(BaseX.java:307)
  org.rasdaman.secore.util.SecoreUtil.existsDefInUserDB(SecoreUtil.java:313)
  org.rasdaman.secore.handler.GeneralHandler.resolveRequest(GeneralHandler.java:114)
  org.rasdaman.secore.handler.GeneralHandler.handle(GeneralHandler.java:85)
  org.rasdaman.secore.Resolver.resolve(Resolver.java:102)
  org.rasdaman.secore.controller.SecoreController.handle(SecoreController.java:98)
  sun.reflect.GeneratedMethodAccessor44.invoke(Unknown Source)
  sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
  java.lang.reflect.Method.invoke(Method.java:498)
  org.springframework.web.method.support.InvocableHandlerMethod.doInvoke(InvocableHandlerMethod.java:205)
  org.springframework.web.method.support.InvocableHandlerMethod.invokeForRequest(InvocableHandlerMethod.java:133)
  org.springframework.web.servlet.mvc.method.annotation.ServletInvocableHandlerMethod.invokeAndHandle(ServletInvocableHandlerMethod.java:97)
  org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter.invokeHandlerMethod(RequestMappingHandlerAdapter.java:827)
  org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter.handleInternal(RequestMappingHandlerAdapter.java:738)

Change History (1)

comment:1 by Bang Pham Huu, 7 years ago

Resolution: fixed
Status: newclosed
Note: See TracTickets for help on using tickets.