[Topaz-dev] serializing Article from Session.get()
Pradeep Krishnan
pradeepk at soft-point.com
Tue Mar 11 18:47:11 PDT 2008
Hi Russ,
> here's what i did get:
>
> 2008-03-11 17:29:08,013 WARN RMIAsynchronousCacheReplicator()> Unable
> to send message to remote peer. Message was: error performing query:
> select $s $p $o\
> subquery (select $t from <local:///topazproject#filter:model=profiles>
> where $o <rdf:type> $t) from <local:///topazproject#filter:model=ri>
> where $s $p $o \
> and $s <mulgara:is>
> <info:doi/10.1371/journal.pone.0000581/bibliographicCitation>; select $s
> $p $o subquery (select $t from <local:///topazproject#filter:mo\
> del=ri> where $s <rdf:type> $t) from
> <local:///topazproject#filter:model=ri> where $s $p $o and $o
> <mulgara:is> <info:doi/10.1371/journal.pone.0000581/bibli\
> ographicCitation>; [Replication Thread
> net.sf.ehcache.distribution.RMIAsynchronousCacheReplicator]
[snip]
> net.sf.ehcache.distribution.RMIAsynchronousCacheReplicator$ReplicationTh
> read.run(RMIAsynchronousCacheReplicator.java:372)
> Caused by: javax.xml.soap.SOAPException: ItqlInterpreter error -
> java.lang.IllegalStateException: Attempt to resume unsuspended
> transaction
> Caused by: (IllegalStateException) Attempt to resume unsuspended
> transaction
Note also that the reason why you are getting this exception here is
because the Session is being accessed by a different thread
("Replication Thread" from ehcache) and is violating the single-thread
requirement about accessing the client-stub to mulgara. This is stemming
from the fact that the cache is containing objects with associations
that are yet to be loaded (as mentioned in the previous e-mail).
Cheers,
Pradeep
More information about the Topaz-Dev
mailing list