Cannot create a new transaction, one for this thread already exists

1 view
Skip to first unread message

harshal patni

unread,
Oct 9, 2015, 12:19:05 AM10/9/15
to Stardog
Hello Everyone,
             I am using stardog to load a massive graph. The graph writes Jena Model object for roughly 1M nodes (one jena model object per node) sequentially.
The process ran for 2 days and then started throwing the following error. Can you please help how to fix this issue -

com.complexible.stardog.StardogException: Cannot create a new transaction, one for this thread already exists
    at com.complexible.stardog.protocols.http.client.BaseHttpClient.checkResponseCode(BaseHttpClient.java:371)
    at com.complexible.stardog.protocols.http.client.BaseHttpClient.execute(BaseHttpClient.java:242)
    at com.complexible.stardog.protocols.http.client.HttpClientImpl.begin(HttpClientImpl.java:536)
    at com.complexible.stardog.protocols.http.client.HttpClientImpl.begin(HttpClientImpl.java:92)
    at com.complexible.stardog.api.impl.SPECConnection._begin(SPECConnection.java:224)
    at com.complexible.stardog.api.impl.AbstractConnection.begin(AbstractConnection.java:157)
    at com.complexible.stardog.jena.StardogDefaultTransactionHandler.begin(StardogDefaultTransactionHandler.java:46)
    at com.hp.hpl.jena.rdf.model.impl.ModelCom.begin(ModelCom.java:1093)
    at com.mmi.umls.conversion.util.JenaUtil.populateGraph(JenaUtil.java:27)
    at com.mmi.umls.conversion.DataConversionController.populateConceptObject(DataConversionController.java:40)
    at com.mmi.umls.conversion.DataConversionController.execute(DataConversionController.java:24)
    at com.mmi.umls.conversion.DataConversionController.main(DataConversionController.java:52)


Thanks in advance.

Regards,
Harshal

Michael Grove

unread,
Oct 9, 2015, 6:46:54 AM10/9/15
to stardog
It's difficult to say seeing only the client side stacktrace. Is there a corresponding exception in the stardog.log file?

Would it be possible to see the code performing the conversion?

Cheers,

Mike
 


Thanks in advance.

Regards,
Harshal

--
-- --
You received this message because you are subscribed to the C&P "Stardog" group.
To post to this group, send email to sta...@clarkparsia.com
To unsubscribe from this group, send email to
stardog+u...@clarkparsia.com
For more options, visit this group at
http://groups.google.com/a/clarkparsia.com/group/stardog?hl=en

Reply all
Reply to author
Forward
0 new messages