|
From: Bryan T. <br...@sy...> - 2011-07-13 11:57:03
|
Israel, If you are having difficulties getting a full stack trace, can you send a small program which exhibits the exception and I will look into it this morning. I've tracked down the code change that I was thinking of, which was to TimestampChooser, and it appears that the change there was applied to both the release and the development branch so this is something different. The BTree is the node-local mutable b+tree object. The IClientIndex is a remote view of a sharded B+Tree. I'm not sure where the class cast is coming from based on what is inline below, but if you have the rest of the stack trace or can provide a small example I will track this down. Thanks, bryan ________________________________________ From: Isr...@th... [Isr...@th...] Sent: Wednesday, July 13, 2011 6:42 AM To: big...@li... Subject: [Bigdata-developers] FW: using nanoSparqlServer with federation From: Klein, Israel Sent: Wednesday, July 13, 2011 1:39 PM To: 'big...@li...' Subject: using nanoSparqlServer with federation Hi, I have installed a federation on 9 machines using the bigdataCluster16.config example which seems to work fine (used the latest BIGDATA_RELEASE_1_0_0 branch). Then I have started a nanoSparqlServer.sh and I can access its /status and /counters URLs. However, when I try to POST a new URI I get the following exception: <html> <head> <meta http-equiv="Content-Type" content="text/html;charset=ISO-8859-1"/> <title>Error 500 java.lang.RuntimeException: java.lang.RuntimeException: java.lang.RuntimeException: java.util.concurrent.ExecutionException: java.util.concurrent.ExecutionException: java.lang.ClassCastException: com.bigdata.btree.BTree cannot be cast to com.bigdata.service.ndx.IClientIndex</title> </head> <body> <h2>HTTP ERROR: 500</h2> <p>Problem accessing /sparql. Reason: <pre> java.lang.RuntimeException: java.lang.RuntimeException: java.lang.RuntimeException: java.util.concurrent.ExecutionException: java.util.concurrent.ExecutionException: java.lang.ClassCastException: com.bigdata.btree.BTree cannot be cast to com.bigdata.service.ndx.IClientIndex</pre></p> <hr /><i><small>Powered by Jetty://</small></i> I use http://[host]:[port]/[namespace]/sparql?uri=[a<http://[host]:[port]/%5bnamespace%5d/sparql?uri=%5ba> url which returns an RDF in n3 format] which works fine when using it on a nanoSparalServer war on a separate Tomcat. Thanks, Israel This email was sent to you by Thomson Reuters, the global news and information company. Any views expressed in this message are those of the individual sender, except where the sender specifically states them to be the views of Thomson Reuters. |