Hi,
I have the following returning "host is null" error, but the repository is
accessible over browser. When I do repo.isInitialized(), I get errors about
missing values. I also get the same error if I do connection.begin(). And if
I dont encode the repository url, I get the error it is not found. Is there
a good way to debug repository connection?   

String sesameServer = "http://test.starwave.com:7171/openrdf-sesame/";;
String repoId = "testRDFRepo";
Repository repo = new HTTPRepository( URLEncoder.encode(sesameServerOne,
"UTF-8"), repoId);   
repo.initialize(); 
RepositoryConnection con = repo.getConnection(); 
try{
   //con.begin();
   ...
   con.add(statement, context);
    
   
   con.commit();
}
   




--
View this message in context: 
http://camel.465427.n5.nabble.com/testing-HTTPRepositoryConnection-tp5768722.html
Sent from the Camel - Users mailing list archive at Nabble.com.

Reply via email to