Hi Rocky, Is your script including a call to a DB that is not configured - or not setup to read the triples in your script? Can see more in your help menu - in the help menu search - understanding sparqlmotion. Please update if more info/help needed.
Thanks. On Tue, Dec 17, 2013 at 1:51 PM, R Wiethorn <[email protected]> wrote: > I'm working on the Exercise 4. > I cannot get the Script to run. I keep getting an error: > "Could Not Execut SPQRQLMotion Script" (Details Below) > Can someone help me debug. > I've very new to TBC, and not familiar with the Studio. > > Thanks, > Rocky > > > > Error > Tue Dec 17 13:45:08 EST 2013 > Could not execute SPARQLMotion script > java.lang.reflect.InvocationTargetException > at > org.topbraidcomposer.sparqlmotion.actions.AbstractExecuteSPARQLMotionAction$1.run(AbstractExecuteSPARQLMotionAction.java:153) > at org.topbraidcomposer.core.util.ThreadUtil$1$1.run(ThreadUtil.java:64) > at java.lang.Thread.run(Unknown Source) > Caused by: com.hp.hpl.jena.shared.JenaException: > java.net.ConnectException: Connection refused: connect > at com.hp.hpl.jena.rdf.arp.JenaReader.read(JenaReader.java:106) > at com.hp.hpl.jena.rdf.model.impl.ModelCom.read(ModelCom.java:241) > at > org.topbraid.spin.sparqlmotion.lib.internal.ImportRDFFromURLModule.createGraph(ImportRDFFromURLModule.java:35) > at > org.topbraid.spin.sparqlmotion.modules.AbstractSMModule.getRDFOutput(AbstractSMModule.java:865) > at > org.topbraid.spin.sparqlmotion.engine.impl.ExecutionEngineImpl.executeModule(ExecutionEngineImpl.java:178) > at > org.topbraid.spin.sparqlmotion.engine.impl.ExecutionEngineImpl.execute(ExecutionEngineImpl.java:120) > at > org.topbraidcomposer.sparqlmotion.views.console.SPARQLMotionConsole.execute(SPARQLMotionConsole.java:79) > at > org.topbraidcomposer.sparqlmotion.actions.AbstractExecuteSPARQLMotionAction$1.run(AbstractExecuteSPARQLMotionAction.java:142) > ... 2 more > Caused by: java.net.ConnectException: Connection refused: connect > at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) > at sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown Source) > at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown > Source) > at java.lang.reflect.Constructor.newInstance(Unknown Source) > at sun.net.www.protocol.http.HttpURLConnection$6.run(Unknown Source) > at java.security.AccessController.doPrivileged(Native Method) > at > sun.net.www.protocol.http.HttpURLConnection.getChainedException(Unknown > Source) > at sun.net.www.protocol.http.HttpURLConnection.getInputStream(Unknown > Source) > at com.hp.hpl.jena.rdf.arp.JenaReader.read(JenaReader.java:99) > ... 9 more > Caused by: java.net.ConnectException: Connection refused: connect > at java.net.PlainSocketImpl.socketConnect(Native Method) > at java.net.PlainSocketImpl.doConnect(Unknown Source) > at java.net.PlainSocketImpl.connectToAddress(Unknown Source) > at java.net.PlainSocketImpl.connect(Unknown Source) > at java.net.SocksSocketImpl.connect(Unknown Source) > at java.net.Socket.connect(Unknown Source) > at java.net.Socket.connect(Unknown Source) > at sun.net.NetworkClient.doConnect(Unknown Source) > at sun.net.www.http.HttpClient.openServer(Unknown Source) > at sun.net.www.http.HttpClient.openServer(Unknown Source) > at sun.net.www.http.HttpClient.<init>(Unknown Source) > at sun.net.www.http.HttpClient.New(Unknown Source) > at sun.net.www.http.HttpClient.New(Unknown Source) > at sun.net.www.protocol.http.HttpURLConnection.getNewHttpClient(Unknown > Source) > at sun.net.www.protocol.http.HttpURLConnection.plainConnect(Unknown > Source) > at sun.net.www.protocol.http.HttpURLConnection.connect(Unknown Source) > at sun.net.www.protocol.http.HttpURLConnection.getInputStream(Unknown > Source) > at sun.net.www.protocol.http.HttpURLConnection.getHeaderField(Unknown > Source) > at java.net.URLConnection.getContentEncoding(Unknown Source) > at com.hp.hpl.jena.rdf.arp.JenaReader.read(JenaReader.java:97) > ... 9 more > > eclipse.buildId=unknown > java.version=1.6.0_26 > java.vendor=Sun Microsystems Inc. > BootLoader constants: OS=win32, ARCH=x86_64, WS=win32, NL=en_US > Command-line arguments: -os win32 -ws win32 -arch x86_64 > > > -- > -- You received this message because you are subscribed to the Google > Group "TopBraid Suite Users", the topics of which include Enterprise > Vocabulary Network (EVN), TopBraid Composer, TopBraid Live, TopBraid > Insight, SPARQLMotion, SPARQL Web Pages and SPIN. > To post to this group, send email to > [email protected] > To unsubscribe from this group, send email to > [email protected] > For more options, visit this group at > http://groups.google.com/group/topbraid-users?hl=en > --- > You received this message because you are subscribed to the Google Groups > "TopBraid Suite Users" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > For more options, visit https://groups.google.com/groups/opt_out. > -- Thanks, Mark Mark Graham TopQuadrant Support *PRODUCT SUPPORT:* [email protected] http://www.topquadrant.com/products/support.html -- -- You received this message because you are subscribed to the Google Group "TopBraid Suite Users", the topics of which include Enterprise Vocabulary Network (EVN), TopBraid Composer, TopBraid Live, TopBraid Insight, SPARQLMotion, SPARQL Web Pages and SPIN. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/topbraid-users?hl=en --- You received this message because you are subscribed to the Google Groups "TopBraid Suite Users" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/groups/opt_out.
