From: jman...@hotmail.com
To: smo...@overdogg.com
Subject: RE: Question about Cypher
Date: Tue, 29 Apr 2008 09:42:56 -0400
I had to recreate the repositories with the '-' instead of a space. It did not like the space in the repository name.
Attached in the error output i am now receiving.
John
Date: Tue, 29 Apr 2008 08:14:00 -0500
From: smo...@overdogg.com
To: jman...@hotmail.com; cypher-d...@googlegroups.com
Subject: Re: Question about Cypher
John,
Good to hear, now find the properties similar to this at the top of the config.ini file:
rdf.repository.lexicon=org.openrdf.repository.http.HTTPRepository,http://localhost:8080/openrdf-sesame,lexicon
rdf.repository.output=org.openrdf.repository.http.HTTPRepository,http://localhost:8080/openrdf-sesame,semantic-output
rdf.repository.dictionary=org.openrdf.repository.http.HTTPRepository,http://localhost:8080/openrdf-sesame,framenet
rdf.repository.internal=org.openrdf.repository.http.HTTPRepository,http://localhost:8080/openrdf-sesame,internal
replace it with
rdf.repository.lexicon=org.openrdf.repository.http.HTTPRepository,http://localhost:8080/openrdf-sesame,mySesameLexicon
rdf.repository.output=org.openrdf.repository.http.HTTPRepository,http://localhost:8080/openrdf-sesame,semantic output
rdf.repository.dictionary=org.openrdf.repository.http.HTTPRepository,http://localhost:8080/openrdf-sesame,framenet
rdf.repository.internal=org.openrdf.repository.http.HTTPRepository,http://localhost:8080/openrdf-sesame,internal use
The documentation has not noted this changed in the install directions (but is updated in the startup properties description).
Let me know how it goes.
Thanks,
-sherman
On Tue, Apr 29, 2008 at 7:48 AM, J- MAN <jman...@hotmail.com> wrote:
Well, i'm getting a little further now.
Here are my sesame repositories:
+----------
> connect http://localhost:8080/openrdf-sesame
.
Already connected to http://localhost:8080/openrdf-sesame
> show repositories.
+----------
|SYSTEM ('System configuration repository')
|semantic ('semantic')
|internal use ('internal use')
|lexicon ('lexicon')
|framenet ('framenet')
|semantic output ('semantic output')
|mySesameLexicon ('Native store')
+----------
>
I've added this to the bottom of my config.ini file:
rdf.repository.url=http://localhost:8080/openrdf-sesame
rdf.repository.lexicon=mySesameLexicon
And this is the error i got.
2008-04-29 08:48:39,937: Starting Monrai Cypher (verson 1.2 beta)...
2008-04-29 08:48:39,937: Configuring logger...
2008-04-29 08:48:39,937: Done configuring.
2008-04-29 08:48:39,937: Connecting to RDF repositories...
2008-04-29 08:48:39,937: Done connecting.
java.lang.ClassNotFoundException: mySesameLexiconat com.monrai.cypher.start.Cypher.createRepository(Cypher.java:307)
at java.net.URLClassLoader$1.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at sun.misc.Launcher$AppClassLoader.loadClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at java.lang.ClassLoader.loadClassInternal(Unknown Source)
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Unknown Source)
at com.monrai.cypher.start.Cypher.main(Cypher.java:141)
2008-04-29 08:48:40,031: CYPHER_HOME set to 'C:\TestApps\cypher'
2008-04-29 08:48:40,062: Loading language manager...
2008-04-29 08:48:40,062: Done loading.
2008-04-29 08:48:40,062: Loading pattern index from file: C:\TestApps\cypher\data\language\en\grammar\...
2008-04-29 08:48:41,140: Done loading 125 unique patterns.
2008-04-29 08:48:41,140: Done loading 803 unique morphological patterns.
2008-04-29 08:48:41,140: Indexing patterns...
2008-04-29 08:48:41,171: Done indexing.
2008-04-29 08:48:41,171: Creating pattern registry...
2008-04-29 08:48:41,171: Done creating registry.
2008-04-29 08:48:41,171: Initializing repository from directory: C:\TestApps\cypher\data\repository\...
Exception in thread 'main' java.lang.NullPointerException
at com.monrai.cypher.start.CypherHelper.init(CypherHelper.java:270)
at com.monrai.cypher.start.Cypher.main(Cypher.java:177)
Thanks,
John
Date: Mon, 28 Apr 2008 16:38:47 -0500Subject: Re: Question about Cypher
John,
You will need to delete the cypher-cypher.jar file in the <cypher home>/lib/cypher directory, and replace it with the one attached.
Please let me know if that helps.
-sherman
On Mon, Apr 28, 2008 at 4:26 PM, Sherman Monroe <smo...@overdogg.com> wrote:
John,
You've discovered a bug in the startup script. Please place the attached *.jar file in the <cypher home>/lib directory. I will also release the patch in the current distribution.
I suggest you use the Cypher Web Service, which will allow you to send an input string to Cypher and receive a SPARQL file back. If you have an OWL-based schema which you want to output, then you will need to create a lexicon which maps the NL output to the OWL.
-sherman
On Mon, Apr 28, 2008 at 1:29 PM, J- MAN <jman...@hotmail.com> wrote:
Thanks. I'm trying to test Cypher out, but appearently it can't find the config file which is located here: C:\TestApps\cypher\data\configuration\config.ini
THis is the error i'm getting, any ideas?
C:\TestApps\cypher>cypher.bat
java.io.FileNotFoundException: \data\configuration\config.ini (The system cannot find the path spec
at java.io.FileInputStream.open(Native Method)
at java.io.FileInputStream.<init>(Unknown Source)
at java.io.FileInputStream.<init>(Unknown Source)
at com.monrai.cypher.global.EngineProperties.load(EngineProperties.java:61)
at com.monrai.cypher.global.EngineProperties.loadProperties(EngineProperties.java:142)
at com.monrai.cypher.start.Cypher.main(Cypher.java:242)
log4j:ERROR Could not open [\data\configuration\NULL].
java.io.FileNotFoundException: \data\configuration\NULL (The system cannot find the path specified)
at java.io.FileInputStream.open(Native Method)
at java.io.FileInputStream.<init>(Unknown Source)
at java.io.FileInputStream.<init>(Unknown Source)
at org.apache.log4j.xml.DOMConfigurator.doConfigure(DOMConfigurator.java:583)
at org.apache.log4j.xml.DOMConfigurator.configure(DOMConfigurator.java:687)
at com.monrai.cypher.start.Cypher.main(Cypher.java:247)
- Starting Monrai Cypher (verson 1.2 beta)...
- Configuring logger...
- Done configuring.
- Connecting to RDF repositories...
- Done connecting.
java.lang.ClassNotFoundException: NULL
at java.net.URLClassLoader$1.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at sun.misc.Launcher$AppClassLoader.loadClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at java.lang.ClassLoader.loadClassInternal(Unknown Source)
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Unknown Source)
at com.monrai.cypher.start.Cypher.createRepository(Cypher.java:427)
at com.monrai.cypher.start.Cypher.main(Cypher.java:263)
java.lang.ClassNotFoundException: NULL
at java.net.URLClassLoader$1.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at sun.misc.Launcher$AppClassLoader.loadClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at java.lang.ClassLoader.loadClassInternal(Unknown Source)
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Unknown Source)
at com.monrai.cypher.start.Cypher.createRepository(Cypher.java:427)
at com.monrai.cypher.start.Cypher.main(Cypher.java:264)
java.lang.ClassNotFoundException: NULL
at java.net.URLClassLoader$1.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at sun.misc.Launcher$AppClassLoader.loadClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at java.lang.ClassLoader.loadClassInternal(Unknown Source)
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Unknown Source)
at com.monrai.cypher.start.Cypher.createRepository(Cypher.java:427)
at com.monrai.cypher.start.Cypher.main(Cypher.java:265)
java.lang.ClassNotFoundException: NULL
at java.net.URLClassLoader$1.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at sun.misc.Launcher$AppClassLoader.loadClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at java.lang.ClassLoader.loadClassInternal(Unknown Source)
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Unknown Source)
at com.monrai.cypher.start.Cypher.createRepository(Cypher.java:427)
at com.monrai.cypher.start.Cypher.main(Cypher.java:266)
- CYPHER_HOME set to 'C:\TestApps\cypher'
- Loading language manager...
- Done loading.
- Loading pattern index from file: \data\language\NULL\grammar\...
java.lang.NullPointerException
at com.monrai.cypher.start.CypherHelper.loadSyntax(CypherHelper.java:1502)
at com.monrai.cypher.start.CypherHelper.init(CypherHelper.java:239)
at com.monrai.cypher.start.Cypher.main(Cypher.java:299)
- Done loading 0 unique patterns.
- Done loading 0 unique morphological patterns.
- Indexing patterns...
- Done indexing.
- Creating pattern registry...
- Done creating registry.
- Initializing repository from directory: \data\repository\...
- Done initializing.
- Configuring pattern registry...
- Done configuring.
- Program startup completed in 141 ms.
- Starting text crawler...
- Cannot find cypher.output.dir: C:\TestApps\cypher\NULL
- Exiting program...
Press any key to continue . . .
Date: Mon, 28 Apr 2008 12:40:04 -0500
From: smo...@overdogg.com
To: jman...@hotmail.com; cypher-d...@googlegroups.com
Subject: Re: Question about Cypher
Hi John,
Currently, Cypher supports pluggable Sesame SAIL implementations, several of which are:
http://users.ecs.soton.ac.uk/wf/jsm.htm
http://sjadapter.sourceforge.net/
Using a Jena SAIL will allow you to run Cypher against a Jena repository without needing to have access to a Sesame server.
-sherman
On Mon, Apr 28, 2008 at 12:33 PM, J- MAN <jman...@hotmail.com> wrote:
Hi,
Just a quick question about Cypher. Can you use Jena for the backend RDF or do you have to use Sesame?
Thanks,
John
Spell a grand slam in this game where word skill meets World Series. Get in the game.
--
I pray that you may prosper in all things and be healthy, even as your soul prospers
(3 John 1:2)
Back to work after baby– how do you know when you're ready?
--
I pray that you may prosper in all things and be healthy, even as your soul prospers
(3 John 1:2)
--
I pray that you may prosper in all things and be healthy, even as your soul prospers
(3 John 1:2)
Express yourself wherever you are. Mobilize!
--
I pray that you may prosper in all things and be healthy, even as your soul prospers
(3 John 1:2)
Back to work after baby– how do you know when you're ready?
Thanks Sherman, it works. But now i'm trying to setup the webservice, and it's looking for the config file in a strange place. Here is the error.
I set the cypher home in the web.xml.
java.io.FileNotFoundException: \usr\apps\cypher\data\configuration\config.ini (The system cannot find the path specified)at java.io.FileInputStream.<init>(FileInputStream.java:106)
at java.io.FileInputStream.open(Native Method)
at java.io.FileInputStream.<init>(FileInputStream.java:66)
at com.monrai.cypher.global.EngineProperties.load(EngineProperties.java:65)
at com.monrai.cypher.global.EngineProperties.loadProperties(EngineProperties.java:146)
at com.monrai.cypher.start.Cypher.<clinit>(Cypher.java:79)
at com.monrai.servlet.API.doPost(API.java:130)
at com.monrai.servlet.API.doGet(API.java:111)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:690)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:175)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:128)
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:286)
at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:844)
at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:583)
at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:447)
at java.lang.Thread.run(Thread.java:619)
log4j:ERROR Could not open [\usr\apps\cypher\\data\configuration\NULL].
java.io.FileNotFoundException: \usr\apps\cypher\data\configuration\NULL (The system cannot find the path specified)at java.io.FileInputStream.<init>(FileInputStream.java:106)
at java.io.FileInputStream.open(Native Method)
at java.io.FileInputStream.<init>(FileInputStream.java:66)
at org.apache.log4j.xml.DOMConfigurator.doConfigure(DOMConfigurator.java:583)
at org.apache.log4j.xml.DOMConfigurator.configure(DOMConfigurator.java:687)
at com.monrai.cypher.start.Cypher.<clinit>(Cypher.java:80)
at com.monrai.servlet.API.doPost(API.java:130)
at com.monrai.servlet.API.doGet(API.java:111)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:690)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:175)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:128)
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:286)
at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:844)
at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:583)
at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:447)
at java.lang.Thread.run(Thread.java:619)
- Starting Monrai Cypher (verson 1.2 beta)...
- Configuring logger...
- Done configuring.
- Connecting to RDF repositories...
- Done connecting.
java.lang.ClassNotFoundException: NULL
at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1360)
at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1206)
at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:319)at java.lang.Class.forName(Class.java:169)
at java.lang.Class.forName0(Native Method)
at com.monrai.cypher.start.Cypher.createRepository(Cypher.java:307)
at com.monrai.cypher.start.Cypher.main(Cypher.java:141)
at com.monrai.servlet.API$1.run(API.java:165)
java.lang.ClassNotFoundException: NULL
at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1360)
at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1206)
at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:319)at java.lang.Class.forName(Class.java:169)
at java.lang.Class.forName0(Native Method)at com.monrai.cypher.start.Cypher.main(Cypher.java:142)
at com.monrai.cypher.start.Cypher.createRepository(Cypher.java:307)
at com.monrai.servlet.API$1.run(API.java:165)
java.lang.ClassNotFoundException: NULL
at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1360)
at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1206)
at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:319)at java.lang.Class.forName(Class.java:169)
at java.lang.Class.forName0(Native Method)at com.monrai.cypher.start.Cypher.main(Cypher.java:143)
at com.monrai.cypher.start.Cypher.createRepository(Cypher.java:307)
at com.monrai.servlet.API$1.run(API.java:165)
java.lang.ClassNotFoundException: NULL
at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1360)
at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1206)
at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:319)at java.lang.Class.forName(Class.java:169)
at java.lang.Class.forName0(Native Method)
at com.monrai.cypher.start.Cypher.main(Cypher.java:144)
at com.monrai.cypher.start.Cypher.createRepository(Cypher.java:307)
at com.monrai.servlet.API$1.run(API.java:165)
- CYPHER_HOME set to 'C:/TestApps/cypher'
- Loading language manager...
- Done loading.
- Loading pattern index from file: \usr\apps\cypher\\data\language\NULL\grammar\...
java.lang.NullPointerException
at com.monrai.cypher.start.CypherHelper.loadSyntax(CypherHelper.java:1502)
at com.monrai.cypher.start.CypherHelper.init(CypherHelper.java:239)
at com.monrai.cypher.start.Cypher.main(Cypher.java:177)
at com.monrai.servlet.API$1.run(API.java:165)
- Done loading 0 unique patterns.
- Done loading 0 unique morphological patterns.
- Indexing patterns...
- Done indexing.
- Creating pattern registry...
- Done creating registry.
- Initializing repository from directory: \usr\apps\cypher\\data\repository\...
- Done initializing.
- Configuring pattern registry...
- Done configuring.
- Program startup completed in 110 ms.
Any ideas? Thanks,
John
Date: Tue, 29 Apr 2008 08:52:12 -0500
Thanks Sherman, it works. But now i'm trying to setup the webservice, and it's looking for the config file in a strange place. Here is the error.
I set the cypher home in the web.xml.
java.io.FileNotFoundException: \usr\apps\cypher\data\configuration\config.ini (The system cannot find the path specified)
at java.io.FileInputStream.open(Native Method)
at java.io.FileInputStream.<init>(FileInputStream.java:106)
at java.io.FileInputStream.<init>(FileInputStream.java:66)
at com.monrai.cypher.global.EngineProperties.load(EngineProperties.java:65)
at com.monrai.cypher.global.EngineProperties.loadProperties(EngineProperties.java:146)
at com.monrai.cypher.start.Cypher.<clinit>(Cypher.java:79)
at com.monrai.servlet.API.doPost(API.java:130)
at com.monrai.servlet.API.doGet(API.java:111)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:690)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:175)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:128)
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:286)
at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:844)
at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:583)
at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:447)
at java.lang.Thread.run(Thread.java:619)
log4j:ERROR Could not open [\usr\apps\cypher\\data\configuration\NULL].
java.io.FileNotFoundException: \usr\apps\cypher\data\configuration\NULL (The system cannot find the path specified)
at java.io.FileInputStream.open(Native Method)
at java.io.FileInputStream.<init>(FileInputStream.java:106)
at java.io.FileInputStream.<init>(FileInputStream.java:66)
at org.apache.log4j.xml.DOMConfigurator.doConfigure(DOMConfigurator.java:583)
at org.apache.log4j.xml.DOMConfigurator.configure(DOMConfigurator.java:687)
at com.monrai.cypher.start.Cypher.<clinit>(Cypher.java:80)
at com.monrai.servlet.API.doPost(API.java:130)
at com.monrai.servlet.API.doGet(API.java:111)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:690)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:175)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:128)
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:286)
at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:844)
at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:583)
at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:447)
at java.lang.Thread.run(Thread.java:619)
- Starting Monrai Cypher (verson 1.2 beta)...
- Configuring logger...
- Done configuring.
- Connecting to RDF repositories...
- Done connecting.
java.lang.ClassNotFoundException: NULL
at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1360)
at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1206)
at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:319)at java.lang.Class.forName(Class.java:169)
at java.lang.Class.forName0(Native Method)
at com.monrai.cypher.start.Cypher.createRepository(Cypher.java:307)
at com.monrai.cypher.start.Cypher.main(Cypher.java:141)
at com.monrai.servlet.API$1.run(API.java:165)
java.lang.ClassNotFoundException: NULL
at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1360)
at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1206)
at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:319)at java.lang.Class.forName(Class.java:169)
at java.lang.Class.forName0(Native Method)
at com.monrai.cypher.start.Cypher.createRepository(Cypher.java:307)
at com.monrai.cypher.start.Cypher.main(Cypher.java:142)
at com.monrai.servlet.API$1.run(API.java:165)
java.lang.ClassNotFoundException: NULL
at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1360)
at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1206)
at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:319)at java.lang.Class.forName(Class.java:169)
at java.lang.Class.forName0(Native Method)
at com.monrai.cypher.start.Cypher.createRepository(Cypher.java:307)
at com.monrai.cypher.start.Cypher.main(Cypher.java:143)
at com.monrai.servlet.API$1.run(API.java:165)
java.lang.ClassNotFoundException: NULL
at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1360)
at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1206)
at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:319)at java.lang.Class.forName(Class.java:169)
at java.lang.Class.forName0(Native Method)
at com.monrai.cypher.start.Cypher.main(Cypher.java:144)
at com.monrai.cypher.start.Cypher.createRepository(Cypher.java:307)
at com.monrai.servlet.API$1.run(API.java:165)
- CYPHER_HOME set to 'C:/TestApps/cypher'
- Loading language manager...
- Done loading.
- Loading pattern index from file: \usr\apps\cypher\\data\language\NULL\grammar\...
java.lang.NullPointerException
at com.monrai.cypher.start.CypherHelper.loadSyntax(CypherHelper.java:1502)
at com.monrai.cypher.start.CypherHelper.init(CypherHelper.java:239)
at com.monrai.cypher.start.Cypher.main(Cypher.java:177)
at com.monrai.servlet.API$1.run(API.java:165)
- Done loading 0 unique patterns.
- Done loading 0 unique morphological patterns.
- Indexing patterns...
- Done indexing.
- Creating pattern registry...
- Done creating registry.
- Initializing repository from directory: \usr\apps\cypher\\data\repository\...
- Done initializing.
- Configuring pattern registry...
- Done configuring.
- Program startup completed in 110 ms.
Any ideas? Thanks,
John
Date: Tue, 29 Apr 2008 08:52:12 -0500
Thanks, it's working now. What sample question could i pass in to get a sparql query back?
Thanks.
Date: Wed, 30 Apr 2008 11:28:01 -0500