[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
multi-user access problem
I am having a problem with ozone when I try to access the
same object from 2 different connections. Both connections
to ozone are by the same user but each has its own
RemoteDatabase() instance. What are the rules for
multi-user access with ozone? I get the following errors,
one from each seperate ozone connection in different
threads:
DE.softwarebuero.ozone.UnexpectedError:
java.io.StreamCorruptedException: Type code out of range, is
0
at gIndexImpl_Proxy.getRace(Compiled Code)
at Server.getRace(Compiled Code)
at Server.getRace(Compiled Code)
at objConnection.login(Compiled Code)
at objConnection.run(Compiled Code)
<this one ^^^^ is from one connection. note the call to
getRace()
DE.softwarebuero.ozone.UnexpectedError:
java.io.StreamCorruptedException: Type code out of range, is
0
at raceImpl_Proxy.loginGovernor(Compiled Code)
at Connection.getRaceFromDB(Compiled Code)
at Connection.loginPrompt(Compiled Code)
at Connection.run(Compiled Code)
<this one ^^^^^ is from the other connection / thread. Both
are executing simultaneously. They are trying to access the
same raceImpl OzoneObject.
Deleteing
objects:server.getCommands()::java.io.StreamCorruptedException:
Type code out of range, is -26
server.deleteCommands()::java.io.StreamCorruptedException:
Unknown code in readObject -26
<These ^^^ I think are just because the others happened.
If I can get the rules (there must be some) for
multi-threaded access to ozone I might be able to figure
this out.
NOTE: Either thread will work fine if I turn one or the
other off. In other words they run OK by themselves.
Thanks,
Tim
--
Tim Brown
URL: http://www.incenter.org