From: ryan <ry...@os...> - 2014-10-07 13:49:46
|
Hi All, I'm trying to add a feature to my project that will allow a user to disconnect from a locally-connected BigData (1.3.1) engine, start up the network server, and reconnect to the now-networked repository. The problem is that every time I I try to close my local connection, I get an IllegalMonitorStateException that appears to be preventing the network server from working correctly. The pertinent stack trace is: java.lang.IllegalMonitorStateException at java.util.concurrent.locks.ReentrantReadWriteLock$Sync.tryRelease(ReentrantReadWriteLock.java:374) at java.util.concurrent.locks.AbstractQueuedSynchronizer.release(AbstractQueuedSynchronizer.java:1260) at java.util.concurrent.locks.ReentrantReadWriteLock$WriteLock.unlock(ReentrantReadWriteLock.java:1131) at com.bigdata.rdf.sail.BigdataSail$BigdataSailConnection.close(BigdataSail.java:3349) at org.openrdf.repository.sail.SailRepositoryConnection.close(SailRepositoryConnection.java:109) With the default OpenRDF backing store, the system will wait a little bit, and then close connections for you if you don't close them first. I've tried both ways (closing the connection first, then the repository, and just closing the repository) with no difference. I'm running on java 1.7, bigdata 1.3.1, on a linux host. I'm at a loss for troubleshooting. I'd be grateful for any advice you might have. Thanks, ry -- ...you can't have five wolves and one sheep voting on what to have for supper. --Larry Flint |