outrigger "I/O error reading from mux connection"
Lachlan O'Dea <[email protected]>
| Newsgroups | gmane.comp.java.sun.javaspaces |
|---|---|
| Message-ID | <[email protected]> |
Hi,
I've just started with Javaspaces and I've got a very simple hello
world running under outrigger. But I'm finding that sometimes when I
write an entry to the space, I get outrigger logging this:
Sep 14, 2005 6:39:03 PM OutriggerServerImpl write
FINER: ENTRY
Sep 14, 2005 6:39:03 PM OutriggerServerImpl enterTxn
FINER: ENTRY
Sep 14, 2005 6:39:03 PM com.sun.jini.outrigger.OutriggerServerImpl
addWrittenRep
FINEST: OutriggerServerImpl: addWrittenRep
Sep 14, 2005 6:39:03 PM com.sun.jini.outrigger.OutriggerServerImpl write
FINEST: writing EntryRep[com.ca.jini.space.hello.StdioHelloEntry]
(txn = null)
Sep 14, 2005 6:39:03 PM net.jini.jeri.BasicInvocationDispatcher dispatch
FAILED: com.sun.jini.outrigger.TransientOutriggerImpl@f0761a locally
throws
java.io.IOException: I/O error reading from mux connection:
java.io.EOFException
at com.sun.jini.jeri.internal.mux.Session
$MuxOutputStream.ensureOpen(Session.java:647)
at com.sun.jini.jeri.internal.mux.Session
$MuxOutputStream.write(Session.java:562)
at net.jini.jeri.BasicInvocationDispatcher.dispatch
(BasicInvocationDispatcher.java:635)
at com.sun.jini.jeri.internal.runtime.ObjectTable$6.run
(ObjectTable.java:593)
at net.jini.export.ServerContext.doWithServerContext
(ServerContext.java:103)
at com.sun.jini.jeri.internal.runtime.ObjectTable
$Target.dispatch0(ObjectTable.java:591)
at com.sun.jini.jeri.internal.runtime.ObjectTable
$Target.access$700(ObjectTable.java:212)
at com.sun.jini.jeri.internal.runtime.ObjectTable$5.run
(ObjectTable.java:566)
at com.sun.jini.start.AggregatePolicyProvider$6.run
(AggregatePolicyProvider.java:527)
at java.security.AccessController.doPrivileged(Native Method)
at com.sun.jini.jeri.internal.runtime.ObjectTable
$Target.dispatch(ObjectTable.java:563)
at com.sun.jini.jeri.internal.runtime.ObjectTable
$Target.dispatch(ObjectTable.java:540)
at com.sun.jini.jeri.internal.runtime.ObjectTable$RD.dispatch
(ObjectTable.java:774)
at net.jini.jeri.connection.ServerConnectionManager
$Dispatcher.dispatch(ServerConnectionManager.java:148)
at com.sun.jini.jeri.internal.mux.MuxServer$2.run
(MuxServer.java:237)
at com.sun.jini.start.AggregatePolicyProvider$5.run
(AggregatePolicyProvider.java:513)
at java.security.AccessController.doPrivileged(Native Method)
at com.sun.jini.jeri.internal.mux.MuxServer$1.run
(MuxServer.java:234)
at com.sun.jini.thread.ThreadPool$Worker.run(ThreadPool.java:
136)
at java.lang.Thread.run(Thread.java:613)
Caused by: java.io.EOFException
at com.sun.jini.jeri.internal.mux.StreamConnectionIO
$Reader.run(StreamConnectionIO.java:244)
... 2 more
When this happens, the entry does not appear in the space (there's a
take in progress, but it remains blocked), but no exception is thrown
to the client doing the write. So that's not good.
This only happens intermittently, most writes do not result in the
above exception in outrigger, and they work perfectly. As far as I
can tell, it only happens when the space is empty, and if I follow it
up immediately by more writes, they all work.
I'm using version 2.0.2 on Mac OS 10.4.2, Java 5 (I tried running
outrigger under 1.4, but it was the same). No transactions. Any ideas
as to what the problem might be? Some problem with JERI it appears,
but I don't have any clue about how that stuff works.
--
Lachlan O'Dea
Computer Associates
Senior Software Engineer
tel: +61 3 8416 5627
fax: +61 3 8416 5810
mobile: +61 412 390 650
[email protected]
Relax and enjoy your shoes!
===========================================================================
To unsubscribe, send email to [email protected] and include in the body
of the message "signoff JAVASPACES-USERS". For general help, send email to
[email protected] and include in the body of the message "help".
To view past JAVASPACES-USERS postings, please see:
http://archives.java.sun.com/archives/javaspaces-users.html
JDC members can download the JavaSpaces(tm) Technology from:
http://developer.java.sun.com/developer/products/jini/
PGP.sig
(application/pgp-signature, 478 B) - not displayed