pg.ddx.io  pgsql-jdbc@postgresql.org mailing list archive  
help / color / mirror / Atom feed
java.io.EOFException
2+ messages / 2 participants
[nested] [flat]

* java.io.EOFException
@ 2007-12-06 08:16 Luca Ferrari <fluca1978@infinito.it>
  2007-12-06 12:28 ` Re: java.io.EOFException Usama Dar <munir.usama@gmail.com>
  0 siblings, 1 reply; 2+ messages in thread

From: Luca Ferrari @ 2007-12-06 08:16 UTC (permalink / raw)
  To: pgsql-jdbc

Hi all,
from a couple of days my application is launching, not every time, an 
EOFException while querying the database. Since it never happened before, and 
the code that queries the database didn't change, is there something I should 
worry about with the server/driver configuration?

Thanks,
Luca


ERROR - Caught SQL exception in query execution 
org.postgresql.util.PSQLException: Si è verificato un errore di I/O nella 
spedizione di dati al server.
	at 
org.postgresql.core.v3.QueryExecutorImpl.execute(QueryExecutorImpl.java:217)
	at 
org.postgresql.jdbc2.AbstractJdbc2Statement.execute(AbstractJdbc2Statement.java:452)
	at 
org.postgresql.jdbc2.AbstractJdbc2Statement.executeWithFlags(AbstractJdbc2Statement.java:351)
	at 
org.postgresql.jdbc2.AbstractJdbc2Statement.executeQuery(AbstractJdbc2Statement.java:255)
	at g2.database.Database.query(Database.java:401)
	at g2.database.mapping.Person.refreshSkills(Person.java:463)
	at g2.database.mapping.Person.refresh(Person.java:339)
	at g2.database.mapping.Person.loadAll(Person.java:1906)
	at g2.gui.workers.PersonSwingWorker.doInBackground(PersonSwingWorker.java:90)
	at g2.gui.workers.TreeSwingWorker.doInBackground(TreeSwingWorker.java:1)
	at javax.swing.SwingWorker$1.call(SwingWorker.java:278)
	at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
	at java.util.concurrent.FutureTask.run(FutureTask.java:138)
	at javax.swing.SwingWorker.run(SwingWorker.java:317)
	at 
java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:885)
	at 
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:907)
	at java.lang.Thread.run(Thread.java:619)
Caused by: java.io.EOFException
	at org.postgresql.core.PGStream.ReceiveChar(PGStream.java:257)
	at 
org.postgresql.core.v3.QueryExecutorImpl.processResults(QueryExecutorImpl.java:1165)
	at 
org.postgresql.core.v3.QueryExecutorImpl.execute(QueryExecutorImpl.java:191)
	... 16 more
ERROR - Query SQL string: SELECT DISTINCT skillPK, skillID, skill_description 
FROM vw_j_role_skill WHERE rolePK IN (SELECT rolePK FROM j_person_role WHERE 
personPK=?)  AND skillPK NOT IN (SELECT skillPK FROM j_person_skill WHERE 
personPK=?)
ERROR - Exception caught while refreshing a person 
g2.database.DatabaseException: Si è verificato un errore di I/O nella 
spedizione di dati al server.
	at g2.database.Database.query(Database.java:409)
	at g2.database.mapping.Person.refreshSkills(Person.java:463)
	at g2.database.mapping.Person.refresh(Person.java:339)
	at g2.database.mapping.Person.loadAll(Person.java:1906)
	at g2.gui.workers.PersonSwingWorker.doInBackground(PersonSwingWorker.java:90)
	at g2.gui.workers.TreeSwingWorker.doInBackground(TreeSwingWorker.java:1)
	at javax.swing.SwingWorker$1.call(SwingWorker.java:278)
	at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
	at java.util.concurrent.FutureTask.run(FutureTask.java:138)
	at javax.swing.SwingWorker.run(SwingWorker.java:317)
	at 
java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:885)
	at 
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:907)
	at java.lang.Thread.run(Thread.java:619)



^ permalink  raw  reply  [nested|flat] 2+ messages in thread

* Re: java.io.EOFException
  2007-12-06 08:16 java.io.EOFException Luca Ferrari <fluca1978@infinito.it>
@ 2007-12-06 12:28 ` Usama Dar <munir.usama@gmail.com>
  0 siblings, 0 replies; 2+ messages in thread

From: Usama Dar @ 2007-12-06 12:28 UTC (permalink / raw)
  To: Luca Ferrari <fluca1978@infinito.it>; +Cc: pgsql-jdbc

ERROR - Caught SQL exception in query execution
> org.postgresql.util.PSQLException: Si è verificato un errore di I/O nella
> spedizione di dati al server.
>        at
>

What's the english translation for this?



-- 
Usama Munir Dar http://linkedin.com/in/usamadar
Consultant Architect
Cell:+92 321 5020666
Skype: usamadar

^ permalink  raw  reply  [nested|flat] 2+ messages in thread


end of thread, other threads:[~2007-12-06 12:28 UTC | newest]

Thread overview: 2+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2007-12-06 08:16 java.io.EOFException Luca Ferrari <fluca1978@infinito.it>
2007-12-06 12:28 ` Usama Dar <munir.usama@gmail.com>

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox