Re: java.io.IOException: read past EOF

2006-10-16 Thread John Gilbert
turns out i needed a seek method. i ended up modeling it after the RAM Directory. i turned the RAMFile into an @Entity. the directory accesses the EntityManager. and i am using JBossCache. preliminary testing shows comparable response times.

java.io.IOException: read past EOF

2006-10-15 Thread John Gilbert
I am trying to write an Ejb3Directory. It seems to work for index writing but not for searching. I get the EOF exception. I assume this means that either my OutputStream or InputStream is doing something wrong. It fails because the CSInputStream has a length of zero when it reads the .fnm sectio

java.io.IOException: read past EOF

2006-10-14 Thread John Gilbert
I am trying to write an Ejb3Directory. It seems to work for index writing but not for searching. I get the EOF exception. I assume this means that either my OutputStream or InputStream is doing something wrong. It fails because the CSInputStream has a length of zero when it reads the .fnm sectio