Skip to Main Content

Database Software

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

End of TNS Channel in Oracle-Jena adaptor

669888Dec 17 2008 — edited Dec 17 2008
Hi,

I'm using the Oracle-Jena adaptor 2.0 to create a sparql endpoint using Joseki. I am performing validation check and if the connection is dead I try to recreate it by calling:

Oracle oracle = new Oracle(uri, name, passwd);
GraphOracleSem g = new GraphOracleSem(oracle, modelName);
defaultModel = new ModelOracleSem(graph);

However when I try to query the model I get an exception stating "end of TNS Channel". The setup works fine initially. What is the correct way to re-establish a connection to Oracle using the Oracle-Jena adaptor?

Thanks
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Jan 14 2009
Added on Dec 17 2008
4 comments
2,465 views