Kamalraj,
This, and the companion email, aren't enough to reproduce the situation.
The fact it is inside tomcat/jersey might be a factor.
Most likely is that there is active transaction. Read transactions end
when .commit(), .abort() or .end() is called; write transactions need
.commit(), .abort() (calling directly .end() will force an abort).
These need to be called even if the query has a exception or finishes
normally.
Andy
On 28/11/14 19:55, Kamalraj Jairam wrote:
Andy:
This is the first time i’m seeing this.
When i run a sprawl query, it seems to work just fine. When i reset is
when the issues comes up
Thanks
On 28 Nov 2014, at 8:30 pm, Andy Seaborne <[email protected]> wrote:
On 28/11/14 05:57, Kamalraj Jairam wrote:
Hello All,
I get this error when i try to reset TDB
com.hp.hpl.jena.tdb.transaction.TDBTransactionException: Can't expel: Active
transactions for location: location:/ts/data/
com.hp.hpl.jena.tdb.StoreConnection.expel(StoreConnection.java:198)
com.hp.hpl.jena.tdb.StoreConnection.release(StoreConnection.java:188)
com.hp.hpl.jena.tdb.sys.TDBMaker.releaseLocation(TDBMaker.java:62)
there are no active connections from the application
what am i doing wrong?
It not possible to tell from what you've said. There isn't a common reason why
this might happen.
Do you have a complete, minimal example?
Did anything happen earlier like an exception?
Does it happen always or occasionally?
What version of Jena is this?
What operation system are you running on?
What version of java? Which JDK?
andy
Thanks
Kamalraj