[Neo4j] No index provider 'lucene' found
Hi! I've been trying to fix this error, and I've kind of succeeded. My context is, that I've pulled neo4j sources from github and using them in eclipse (without maven and such), and I have the neo4j-community sources as a project, and I am including this project in any of my projects that require neo4j, instead of using the neo4j precompiled jars So far so good, except I get that error. And my current workaround is: unzip the file: META-INF\services\org.neo4j.graphdb.index.IndexProvider from this jar: neo4j-lucene-index-1.4.jar preserving the path into the neo4j-community project's bin folder so it looks like: ...\workspace\neo4j-community\bin\META-INF\services\org.neo4j.graphdb.index.IndexProvider and the content for this file (for informational reasons): org.neo4j.index.lucene.LuceneIndexProvider (without quotes) So this works, ie. in another project I include this neo4j-community project and run something that uses lucene index (ie. org.neo4j.examples.CalculateShortestPath) and I don't get that error anymore, simply works. My question is, what is a better way to fix this error ? perhaps by using java code instead ? Or I don't know, why doesn't it use a default? Can I specify it from code? Assume that I don't know much, and I've only discovered neo4j this week, but I am into it and I want to build some things on top of it. this is the line that is causing the error (when I don't fix it as I said above): indexService = graphDb.index().forNodes( nodes ); and this is the full stacktrace for the error: Exception in thread main java.lang.IllegalArgumentException: No index provider 'lucene' found at org.neo4j.kernel.IndexManagerImpl.getIndexProvider(IndexManagerImpl.java:76) at org.neo4j.kernel.IndexManagerImpl.findIndexConfig(IndexManagerImpl.java:116) at org.neo4j.kernel.IndexManagerImpl.getOrCreateIndexConfig(IndexManagerImpl.java:178) at org.neo4j.kernel.IndexManagerImpl.getOrCreateNodeIndex(IndexManagerImpl.java:267) at org.neo4j.kernel.IndexManagerImpl.forNodes(IndexManagerImpl.java:255) at org.neo4j.kernel.IndexManagerImpl.forNodes(IndexManagerImpl.java:249) at org.neo4j.examples.CalculateShortestPath.main(CalculateShortestPath.java:43) Thanks! ___ Neo4j mailing list User@lists.neo4j.org https://lists.neo4j.org/mailman/listinfo/user
Re: [Neo4j] No index provider 'lucene' found
but but I don't know what osgi and project bundle stuff really is :) I don't think I would need that for what I want. (if those mean building as .jar or using jars) What I actually want is to keep the neo4j-community project (which is git linked to the github sources), keep this as source only (without having it bundled or exported as jar, but probably having it compiled as classes aka build project) and have this project used by other projects(by simply including the project instead of its .jars or anything else), so that I can see the javadoc(and jump to the source) and even eventually edit a few parts (of neo4j) and add ie. a System.out.println() (if it were bundled I couldn't do that, unless I'd rebundle it, that would be a headache to do on each modify or git fetch). In other words, I want to be able to use neo4j, from the sources (no .jars). I've been able to use other projects like this before (ie. jmonkeyengine aka jme3). In this regard, is there a better fix? Thank you. On Wed, Jul 20, 2011 at 7:17 PM, Peter Neubauer neubauer.pe...@gmail.comwrote: Hi there, That again is OSGi playing against Java Service Loader. Look at the neo4j / osgi / bundle project to build a working superbundle with the default community jars and report back! /peter Sent from my phone. On Jul 20, 2011 7:02 PM, cyuczi eekc cyuczie...@gmail.com wrote: Hi! I've been trying to fix this error, and I've kind of succeeded. My context is, that I've pulled neo4j sources from github and using them in eclipse (without maven and such), and I have the neo4j-community sources as a project, and I am including this project in any of my projects that require neo4j, instead of using the neo4j precompiled jars So far so good, except I get that error. And my current workaround is: unzip the file: META-INF\services\org.neo4j.graphdb.index.IndexProvider from this jar: neo4j-lucene-index-1.4.jar preserving the path into the neo4j-community project's bin folder so it looks like: ...\workspace\neo4j-community\bin\META-INF\services\org.neo4j.graphdb.index.IndexProvider and the content for this file (for informational reasons): org.neo4j.index.lucene.LuceneIndexProvider (without quotes) So this works, ie. in another project I include this neo4j-community project and run something that uses lucene index (ie. org.neo4j.examples.CalculateShortestPath) and I don't get that error anymore, simply works. My question is, what is a better way to fix this error ? perhaps by using java code instead ? Or I don't know, why doesn't it use a default? Can I specify it from code? Assume that I don't know much, and I've only discovered neo4j this week, but I am into it and I want to build some things on top of it. this is the line that is causing the error (when I don't fix it as I said above): indexService = graphDb.index().forNodes( nodes ); and this is the full stacktrace for the error: Exception in thread main java.lang.IllegalArgumentException: No index provider 'lucene' found at org.neo4j.kernel.IndexManagerImpl.getIndexProvider(IndexManagerImpl.java:76) at org.neo4j.kernel.IndexManagerImpl.findIndexConfig(IndexManagerImpl.java:116) at org.neo4j.kernel.IndexManagerImpl.getOrCreateIndexConfig(IndexManagerImpl.java:178) at org.neo4j.kernel.IndexManagerImpl.getOrCreateNodeIndex(IndexManagerImpl.java:267) at org.neo4j.kernel.IndexManagerImpl.forNodes(IndexManagerImpl.java:255) at org.neo4j.kernel.IndexManagerImpl.forNodes(IndexManagerImpl.java:249) at org.neo4j.examples.CalculateShortestPath.main(CalculateShortestPath.java:43) Thanks! ___ Neo4j mailing list User@lists.neo4j.org https://lists.neo4j.org/mailman/listinfo/user ___ Neo4j mailing list User@lists.neo4j.org https://lists.neo4j.org/mailman/listinfo/user ___ Neo4j mailing list User@lists.neo4j.org https://lists.neo4j.org/mailman/listinfo/user
Re: [Neo4j] No index provider 'lucene' found
For sources, I guess you would need to mount the src/main/resources folders as source folders in order to have the META-INF/services files on the classpath. Does that work? Cheers, /peter neubauer GTalk: neubauer.peter Skype peter.neubauer Phone +46 704 106975 LinkedIn http://www.linkedin.com/in/neubauer Twitter http://twitter.com/peterneubauer http://www.neo4j.org - Your high performance graph database. http://startupbootcamp.org/ - Öresund - Innovation happens HERE. http://www.thoughtmade.com - Scandinavia's coolest Bring-a-Thing party. On Wed, Jul 20, 2011 at 7:43 PM, cyuczi eekc cyuczie...@gmail.com wrote: but but I don't know what osgi and project bundle stuff really is :) I don't think I would need that for what I want. (if those mean building as .jar or using jars) What I actually want is to keep the neo4j-community project (which is git linked to the github sources), keep this as source only (without having it bundled or exported as jar, but probably having it compiled as classes aka build project) and have this project used by other projects(by simply including the project instead of its .jars or anything else), so that I can see the javadoc(and jump to the source) and even eventually edit a few parts (of neo4j) and add ie. a System.out.println() (if it were bundled I couldn't do that, unless I'd rebundle it, that would be a headache to do on each modify or git fetch). In other words, I want to be able to use neo4j, from the sources (no .jars). I've been able to use other projects like this before (ie. jmonkeyengine aka jme3). In this regard, is there a better fix? Thank you. On Wed, Jul 20, 2011 at 7:17 PM, Peter Neubauer neubauer.pe...@gmail.comwrote: Hi there, That again is OSGi playing against Java Service Loader. Look at the neo4j / osgi / bundle project to build a working superbundle with the default community jars and report back! /peter Sent from my phone. On Jul 20, 2011 7:02 PM, cyuczi eekc cyuczie...@gmail.com wrote: Hi! I've been trying to fix this error, and I've kind of succeeded. My context is, that I've pulled neo4j sources from github and using them in eclipse (without maven and such), and I have the neo4j-community sources as a project, and I am including this project in any of my projects that require neo4j, instead of using the neo4j precompiled jars So far so good, except I get that error. And my current workaround is: unzip the file: META-INF\services\org.neo4j.graphdb.index.IndexProvider from this jar: neo4j-lucene-index-1.4.jar preserving the path into the neo4j-community project's bin folder so it looks like: ...\workspace\neo4j-community\bin\META-INF\services\org.neo4j.graphdb.index.IndexProvider and the content for this file (for informational reasons): org.neo4j.index.lucene.LuceneIndexProvider (without quotes) So this works, ie. in another project I include this neo4j-community project and run something that uses lucene index (ie. org.neo4j.examples.CalculateShortestPath) and I don't get that error anymore, simply works. My question is, what is a better way to fix this error ? perhaps by using java code instead ? Or I don't know, why doesn't it use a default? Can I specify it from code? Assume that I don't know much, and I've only discovered neo4j this week, but I am into it and I want to build some things on top of it. this is the line that is causing the error (when I don't fix it as I said above): indexService = graphDb.index().forNodes( nodes ); and this is the full stacktrace for the error: Exception in thread main java.lang.IllegalArgumentException: No index provider 'lucene' found at org.neo4j.kernel.IndexManagerImpl.getIndexProvider(IndexManagerImpl.java:76) at org.neo4j.kernel.IndexManagerImpl.findIndexConfig(IndexManagerImpl.java:116) at org.neo4j.kernel.IndexManagerImpl.getOrCreateIndexConfig(IndexManagerImpl.java:178) at org.neo4j.kernel.IndexManagerImpl.getOrCreateNodeIndex(IndexManagerImpl.java:267) at org.neo4j.kernel.IndexManagerImpl.forNodes(IndexManagerImpl.java:255) at org.neo4j.kernel.IndexManagerImpl.forNodes(IndexManagerImpl.java:249) at org.neo4j.examples.CalculateShortestPath.main(CalculateShortestPath.java:43) Thanks! ___ Neo4j mailing list User@lists.neo4j.org https://lists.neo4j.org/mailman/listinfo/user ___ Neo4j mailing list User@lists.neo4j.org https://lists.neo4j.org/mailman/listinfo/user ___ Neo4j mailing list User@lists.neo4j.org https://lists.neo4j.org/mailman/listinfo/user ___ Neo4j mailing list User@lists.neo4j.org https://lists.neo4j.org/mailman/listinfo/user
Re: [Neo4j] No index provider 'lucene' found
that is awesome! that file is there: ..\workspace\neo4j-community\lucene-index\src\main\resources\META-INF\services\ though if I add lucene-index\src\main\resources\ as source folder, i get some weird java exception and no-class def found error :)) but you probably only wanted me to add it in class path or something, let's see ... Yeah that works, so in eclipse: Project-Properties-Java Build Path-Libraries- Add Class Folder: neo4j-community\lucene-index\src\main\resources\ where in my case neo4j-community is the name of the project which I chose when I git cloned or something And it works! Yeahhh, me happy ;) hey it's better than pulling out that file from the .jar :) is there any other way to do this from code? ie. without neo4j having to use that specific file ? maybe I could call some method and tell it to use the lucene index? Even so, this was great progress! Thank you so mucho haha :P On Wed, Jul 20, 2011 at 7:46 PM, Peter Neubauer peter.neuba...@neotechnology.com wrote: For sources, I guess you would need to mount the src/main/resources folders as source folders in order to have the META-INF/services files on the classpath. Does that work? Cheers, /peter neubauer GTalk: neubauer.peter Skype peter.neubauer Phone +46 704 106975 LinkedIn http://www.linkedin.com/in/neubauer Twitter http://twitter.com/peterneubauer http://www.neo4j.org - Your high performance graph database. http://startupbootcamp.org/- Öresund - Innovation happens HERE. http://www.thoughtmade.com - Scandinavia's coolest Bring-a-Thing party. On Wed, Jul 20, 2011 at 7:43 PM, cyuczi eekc cyuczie...@gmail.com wrote: but but I don't know what osgi and project bundle stuff really is :) I don't think I would need that for what I want. (if those mean building as .jar or using jars) What I actually want is to keep the neo4j-community project (which is git linked to the github sources), keep this as source only (without having it bundled or exported as jar, but probably having it compiled as classes aka build project) and have this project used by other projects(by simply including the project instead of its .jars or anything else), so that I can see the javadoc(and jump to the source) and even eventually edit a few parts (of neo4j) and add ie. a System.out.println() (if it were bundled I couldn't do that, unless I'd rebundle it, that would be a headache to do on each modify or git fetch). In other words, I want to be able to use neo4j, from the sources (no .jars). I've been able to use other projects like this before (ie. jmonkeyengine aka jme3). In this regard, is there a better fix? Thank you. On Wed, Jul 20, 2011 at 7:17 PM, Peter Neubauer neubauer.pe...@gmail.comwrote: Hi there, That again is OSGi playing against Java Service Loader. Look at the neo4j / osgi / bundle project to build a working superbundle with the default community jars and report back! /peter Sent from my phone. On Jul 20, 2011 7:02 PM, cyuczi eekc cyuczie...@gmail.com wrote: Hi! I've been trying to fix this error, and I've kind of succeeded. My context is, that I've pulled neo4j sources from github and using them in eclipse (without maven and such), and I have the neo4j-community sources as a project, and I am including this project in any of my projects that require neo4j, instead of using the neo4j precompiled jars So far so good, except I get that error. And my current workaround is: unzip the file: META-INF\services\org.neo4j.graphdb.index.IndexProvider from this jar: neo4j-lucene-index-1.4.jar preserving the path into the neo4j-community project's bin folder so it looks like: ...\workspace\neo4j-community\bin\META-INF\services\org.neo4j.graphdb.index.IndexProvider and the content for this file (for informational reasons): org.neo4j.index.lucene.LuceneIndexProvider (without quotes) So this works, ie. in another project I include this neo4j-community project and run something that uses lucene index (ie. org.neo4j.examples.CalculateShortestPath) and I don't get that error anymore, simply works. My question is, what is a better way to fix this error ? perhaps by using java code instead ? Or I don't know, why doesn't it use a default? Can I specify it from code? Assume that I don't know much, and I've only discovered neo4j this week, but I am into it and I want to build some things on top of it. this is the line that is causing the error (when I don't fix it as I said above): indexService = graphDb.index().forNodes( nodes ); and this is the full stacktrace for the error: Exception in thread main java.lang.IllegalArgumentException: No index provider 'lucene' found at org.neo4j.kernel.IndexManagerImpl.getIndexProvider(IndexManagerImpl.java:76) at
Re: [Neo4j] No index provider 'lucene' found
Hi there, this is not Neo4j using this file, but the Java Service Loader requiring this, http://download.oracle.com/javase/6/docs/api/java/util/ServiceLoader.html If you find some programatic way to add services, that could be good for the OSGi setup scenarios, too :) Cheers, /peter neubauer GTalk: neubauer.peter Skype peter.neubauer Phone +46 704 106975 LinkedIn http://www.linkedin.com/in/neubauer Twitter http://twitter.com/peterneubauer http://www.neo4j.org - Your high performance graph database. http://startupbootcamp.org/ - Öresund - Innovation happens HERE. http://www.thoughtmade.com - Scandinavia's coolest Bring-a-Thing party. On Wed, Jul 20, 2011 at 8:00 PM, cyuczi eekc cyuczie...@gmail.com wrote: that is awesome! that file is there: ..\workspace\neo4j-community\lucene-index\src\main\resources\META-INF\services\ though if I add lucene-index\src\main\resources\ as source folder, i get some weird java exception and no-class def found error :)) but you probably only wanted me to add it in class path or something, let's see ... Yeah that works, so in eclipse: Project-Properties-Java Build Path-Libraries- Add Class Folder: neo4j-community\lucene-index\src\main\resources\ where in my case neo4j-community is the name of the project which I chose when I git cloned or something And it works! Yeahhh, me happy ;) hey it's better than pulling out that file from the .jar :) is there any other way to do this from code? ie. without neo4j having to use that specific file ? maybe I could call some method and tell it to use the lucene index? Even so, this was great progress! Thank you so mucho haha :P On Wed, Jul 20, 2011 at 7:46 PM, Peter Neubauer peter.neuba...@neotechnology.com wrote: For sources, I guess you would need to mount the src/main/resources folders as source folders in order to have the META-INF/services files on the classpath. Does that work? Cheers, /peter neubauer GTalk: neubauer.peter Skype peter.neubauer Phone +46 704 106975 LinkedIn http://www.linkedin.com/in/neubauer Twitter http://twitter.com/peterneubauer http://www.neo4j.org - Your high performance graph database. http://startupbootcamp.org/ - Öresund - Innovation happens HERE. http://www.thoughtmade.com - Scandinavia's coolest Bring-a-Thing party. On Wed, Jul 20, 2011 at 7:43 PM, cyuczi eekc cyuczie...@gmail.com wrote: but but I don't know what osgi and project bundle stuff really is :) I don't think I would need that for what I want. (if those mean building as .jar or using jars) What I actually want is to keep the neo4j-community project (which is git linked to the github sources), keep this as source only (without having it bundled or exported as jar, but probably having it compiled as classes aka build project) and have this project used by other projects(by simply including the project instead of its .jars or anything else), so that I can see the javadoc(and jump to the source) and even eventually edit a few parts (of neo4j) and add ie. a System.out.println() (if it were bundled I couldn't do that, unless I'd rebundle it, that would be a headache to do on each modify or git fetch). In other words, I want to be able to use neo4j, from the sources (no .jars). I've been able to use other projects like this before (ie. jmonkeyengine aka jme3). In this regard, is there a better fix? Thank you. On Wed, Jul 20, 2011 at 7:17 PM, Peter Neubauer neubauer.pe...@gmail.comwrote: Hi there, That again is OSGi playing against Java Service Loader. Look at the neo4j / osgi / bundle project to build a working superbundle with the default community jars and report back! /peter Sent from my phone. On Jul 20, 2011 7:02 PM, cyuczi eekc cyuczie...@gmail.com wrote: Hi! I've been trying to fix this error, and I've kind of succeeded. My context is, that I've pulled neo4j sources from github and using them in eclipse (without maven and such), and I have the neo4j-community sources as a project, and I am including this project in any of my projects that require neo4j, instead of using the neo4j precompiled jars So far so good, except I get that error. And my current workaround is: unzip the file: META-INF\services\org.neo4j.graphdb.index.IndexProvider from this jar: neo4j-lucene-index-1.4.jar preserving the path into the neo4j-community project's bin folder so it looks like: ...\workspace\neo4j-community\bin\META-INF\services\org.neo4j.graphdb.index.IndexProvider and the content for this file (for informational reasons): org.neo4j.index.lucene.LuceneIndexProvider (without quotes) So this works, ie. in another project I include this neo4j-community project and run something that uses lucene index (ie. org.neo4j.examples.CalculateShortestPath) and I don't get that error anymore, simply
Re: [Neo4j] No index provider 'lucene' found
Hehe, On Wed, Jul 20, 2011 at 8:22 PM, cyuczi eekc cyuczie...@gmail.com wrote: PS: you mispelled programmatic =)) (I'm actually laughing with you, not at you xD) As I am a Gmail fanboy, I blame Google for not introducing a Do not send if misspelled button. The Undo send I use in around 60% of my mails. So deem for yourself would this mail _could_ have been like ;) /peter ___ Neo4j mailing list User@lists.neo4j.org https://lists.neo4j.org/mailman/listinfo/user
Re: [Neo4j] No index provider 'lucene' found
Anyway as Peter said it should work to add the .\lucene-index\src\main\resources as source path to your eclipse project. You said you were getting exceptions with eclipse. What kind of exceptions are those? Michael Am 20.07.2011 um 20:25 schrieb Peter Neubauer: Hehe, On Wed, Jul 20, 2011 at 8:22 PM, cyuczi eekc cyuczie...@gmail.com wrote: PS: you mispelled programmatic =)) (I'm actually laughing with you, not at you xD) As I am a Gmail fanboy, I blame Google for not introducing a Do not send if misspelled button. The Undo send I use in around 60% of my mails. So deem for yourself would this mail _could_ have been like ;) /peter ___ Neo4j mailing list User@lists.neo4j.org https://lists.neo4j.org/mailman/listinfo/user ___ Neo4j mailing list User@lists.neo4j.org https://lists.neo4j.org/mailman/listinfo/user
Re: [Neo4j] No index provider 'lucene' found
Summary: it works if you set \lucene-index\src\main\resources as source folder (no need to set it as class folder) -- yes, if I add it as source folder instead of add it as class folder let's see, reproducing... wow, it is working now, how odd... (so adding it as source folder works) well as I remember it, as soon as I added it as a source folder, tried to run the org.neo4j.examples.CalculateShortestPath and I would get an eclipse message saying something about Java Exception (nothing specific) pressed ok, and in console I would get exceptions related to no class def found error (I don't remember the exact stuff, since I didn't bother), but after removing the folder from source folder and running the example again worked (with the lucene error though)... I would be really curious as to why that happened but looks like slim chances for me to be able to reproduce that In all regards, since then I have updated from github, and as I see it, removing the source folder still causes this to work, ie. not getting that error anymore, ok this is odder but maybe something got fixed on github :) hmm, looks like the folder contents (starting with META-INF) were already in bin, hence why it works I don't yet know how it got there... Ok, deleted it and cleaned project, got rebuilt, and it wasn't auto-created, so far so good, the error is there Trying to add the folder as source folder, that works, it auto-created its contents in bin now cleaning the project will auto create that folder's contents in bin, so no more lucene error So in other words, it works as Peter and you said, adding .\lucene-index\src\main\resources as source folder works, fixes that error. So there is no need to add it as class folder as I did, though I do wish I know why it didn't work then (with those eclipse errors) Either way, I am using: Eclipse SDK Version: 4.1.0 Build id: M20110713-2200 Thanks Michael and Peter! Hmm, considering the above, and looking in the big .bak_0.log on the workspace the reason why I got the eclipse exception and no class def found errors was most likely because I already had the bin\META-INF folder and its contents (manually added by me from before) before I set that folder as source folder, so since build wants to copy/create it there, it failed, hence it didn't compile anything or so... great now we know (or if it wasn't clear enough for you, then it's now *I* know ) :) !MESSAGE JavaBuilder handling ImageBuilderInternalException while building: neo4j-community !MESSAGE Resource already exists on disk: '/neo4j-community/bin/META-INF/services/org.neo4j.graphdb.index.IndexProvider' On Thu, Jul 21, 2011 at 6:04 AM, Michael Hunger michael.hun...@neotechnology.com wrote: Anyway as Peter said it should work to add the .\lucene-index\src\main\resources as source path to your eclipse project. You said you were getting exceptions with eclipse. What kind of exceptions are those? Michael Am 20.07.2011 um 20:25 schrieb Peter Neubauer: Hehe, On Wed, Jul 20, 2011 at 8:22 PM, cyuczi eekc cyuczie...@gmail.com wrote: PS: you mispelled programmatic =)) (I'm actually laughing with you, not at you xD) As I am a Gmail fanboy, I blame Google for not introducing a Do not send if misspelled button. The Undo send I use in around 60% of my mails. So deem for yourself would this mail _could_ have been like ;) /peter ___ Neo4j mailing list User@lists.neo4j.org https://lists.neo4j.org/mailman/listinfo/user ___ Neo4j mailing list User@lists.neo4j.org https://lists.neo4j.org/mailman/listinfo/user ___ Neo4j mailing list User@lists.neo4j.org https://lists.neo4j.org/mailman/listinfo/user
Re: [Neo4j] No index provider 'lucene' found
Ian, I used your fragments to rebuild your setup, please send a minimal functional application (it missed the entry-points and also the startup-html files) next time, that will help a lot in actually looking for the problem instead taking a lot of time setting it up. It turned out that your war/WEB-INF/lib didn't contain the libraries but the gwt (jetty) server requires them there for the service-location to work, other IDE's automatically setup the WEB-INF/lib directory with the libraries used. I don't know why eclipse and/or the gwt plugin don't do it. The simple fix was to provide all the libraries used in the war/WEB-INF/lib directory. So that issue had nothing to do with Neo4j's service lookup mechanism but just with the webapp library configuration of your project. Cheers Michael Am 12.06.2011 um 22:02 schrieb Ian Bussières: I was wondering if anybody had a workaround or fix to my issue. Otherwise, is there a new or other way to accomplish indexing, as that portion of work would take me very little time to recode. Thanks ! 2011/6/10 Ian Bussières ian.bussie...@gmail.com: Here you go, took out src, war, lib, test, test-classes and also cleaned some of the stuff in the war folder. Oh and took out all the .jar files there too, otherwise this was just way to huge to share. Hope this will shine some light on the problem :S On Fri, Jun 10, 2011 at 07:18, Michael Hunger michael.hun...@neotechnology.com wrote: Eclipse .project and .classpath files. In general if you copy the project and remove all *.java files, that would be sufficient. Thanks so much Michael Am 10.06.2011 um 13:11 schrieb Ian Bussières: GWT 2.3 and Eclipse Helios. I can't share too much information from the project itself, I suppose I could share the config stuff. What config are you referring to? -- Ian Bussières Étudiant en Génie des Technologies de l'Information École de technologie supérieure [514] 814-0136 On Fri, Jun 10, 2011 at 01:31, Michael Hunger michael.hun...@neotechnology.com wrote: Ian, can you share your project somehow at least config and the startup class? What are eclipse and gwt plugin versions? M Sent from my iBrick4 Am 10.06.2011 um 03:33 schrieb Ian Bussières ian.bussie...@gmail.com: The web server is slightly ambiguous, because it's a GWT eclipse plugin that is used to run. I do believe it to be a Tomcat server. I'm trying to find a source that confirms that. Nothing about OSGi, no... The messages.log looks ok, apart from a few non clean shutdowns but successful recoveries. Ian Bussières Étudiant en Génie des Technologies de l'Information École de technologie supérieure [514] 814-0136 On Thu, Jun 9, 2011 at 21:03, Michael Hunger michael.hun...@neotechnology.com wrote: Ian, is that web-server a stock tomcat or jetty or something running an OSGi environment? So do you see something about OSGi containers being started in your console output (felix, equinox)? Could you have a look at the messages.log file in your graphdb directory if it shows anything unusual? Thanks Michael Am 10.06.2011 um 02:49 schrieb Ian Bussières: New buildpath, same problem. C:\Users\Ian\Dev\PFE\pfe\src;C:\Users\Ian\Dev\PFE\pfe\lib;C:\Users\Ian\Dev\PFE\pfe\test-classes;C:\Users\Ian\Dev\PFE\pfe\war\WEB-INF\classes;C:\Program Files (x86)\Eclipse\plugins\com.google.gwt.eclipse.sdkbundle_2.3.0.r36v201104261928\gwt-2.3.0\gwt-user.jar;C:\Program Files (x86)\Eclipse\plugins\com.google.gwt.eclipse.sdkbundle_2.3.0.r36v201104261928\gwt-2.3.0\gwt-dev.jar;C:\Program Files (x86)\Eclipse\plugins\com.google.gwt.eclipse.sdkbundle_2.3.0.r36v201104261928\gwt-2.3.0\validation-api-1.0.0.GA-sources.jar;C:\Program Files (x86)\Eclipse\plugins\com.google.gwt.eclipse.sdkbundle_2.3.0.r36v201104261928\gwt-2.3.0\validation-api-1.0.0.GA.jar;C:\Users\Ian\Dev\PFE\pfe\lib\geronimo-jta_1.1_spec-1.1.1.jar;C:\Users\Ian\Dev\PFE\pfe\lib\neo4j-community-1.4.M03.jar;C:\Users\Ian\Dev\PFE\pfe\lib\neo4j-graph-algo-1.4.M03.jar;C:\Users\Ian\Dev\PFE\pfe\lib\neo4j-jmx-1.4.M03.jar;C:\Users\Ian\Dev\PFE\pfe\lib\neo4j-kernel-1.4.M03.jar;C:\Users\Ian\Dev\PFE\pfe\lib\neo4j-lucene-index-1.4.M03.jar;C:\Users\Ian\Dev\PFE\pfe\lib\lucene-core-3.1.0.jar;C:\Users\Ian\Dev\PFE\pfe\lib\org.apache.servicemix.bundles.jline-0.9.94_1.jar;C:\Users\Ian\Dev\PFE\pfe\lib\neo4j-shell-1.4.M03.jar;C:\Users\Ian\Dev\PFE\pfe\lib\neo4j-udc-1.4.M03.jar;C:\Users\Ian\Dev\PFE\pfe\lib\server-api-1.4.M03.jar On Thu, Jun 9, 2011 at 20:32, Michael Hunger michael.hun...@neotechnology.com wrote: Can you please try to remove the lucene-core-3.0.1. It is possible that mixing two versions of lucene at the classpath messes things up. Cheers Michael Am 10.06.2011 um 02:27 schrieb Ian Bussières: Definitely on server side code. I start up the application directly in eclipse with the built in web server.
Re: [Neo4j] No index provider 'lucene' found
Wow, how did I miss that... Well, thanks for your time. Ian On 2011-06-15, at 04:06, Michael Hunger michael.hun...@neotechnology.com wrote: Ian, I used your fragments to rebuild your setup, please send a minimal functional application (it missed the entry-points and also the startup-html files) next time, that will help a lot in actually looking for the problem instead taking a lot of time setting it up. It turned out that your war/WEB-INF/lib didn't contain the libraries but the gwt (jetty) server requires them there for the service-location to work, other IDE's automatically setup the WEB-INF/lib directory with the libraries used. I don't know why eclipse and/or the gwt plugin don't do it. The simple fix was to provide all the libraries used in the war/WEB-INF/lib directory. So that issue had nothing to do with Neo4j's service lookup mechanism but just with the webapp library configuration of your project. Cheers Michael Am 12.06.2011 um 22:02 schrieb Ian Bussières: I was wondering if anybody had a workaround or fix to my issue. Otherwise, is there a new or other way to accomplish indexing, as that portion of work would take me very little time to recode. Thanks ! 2011/6/10 Ian Bussières ian.bussie...@gmail.com: Here you go, took out src, war, lib, test, test-classes and also cleaned some of the stuff in the war folder. Oh and took out all the .jar files there too, otherwise this was just way to huge to share. Hope this will shine some light on the problem :S On Fri, Jun 10, 2011 at 07:18, Michael Hunger michael.hun...@neotechnology.com wrote: Eclipse .project and .classpath files. In general if you copy the project and remove all *.java files, that would be sufficient. Thanks so much Michael Am 10.06.2011 um 13:11 schrieb Ian Bussières: GWT 2.3 and Eclipse Helios. I can't share too much information from the project itself, I suppose I could share the config stuff. What config are you referring to? -- Ian Bussières Étudiant en Génie des Technologies de l'Information École de technologie supérieure [514] 814-0136 On Fri, Jun 10, 2011 at 01:31, Michael Hunger michael.hun...@neotechnology.com wrote: Ian, can you share your project somehow at least config and the startup class? What are eclipse and gwt plugin versions? M Sent from my iBrick4 Am 10.06.2011 um 03:33 schrieb Ian Bussières ian.bussie...@gmail.com: The web server is slightly ambiguous, because it's a GWT eclipse plugin that is used to run. I do believe it to be a Tomcat server. I'm trying to find a source that confirms that. Nothing about OSGi, no... The messages.log looks ok, apart from a few non clean shutdowns but successful recoveries. Ian Bussières Étudiant en Génie des Technologies de l'Information École de technologie supérieure [514] 814-0136 On Thu, Jun 9, 2011 at 21:03, Michael Hunger michael.hun...@neotechnology.com wrote: Ian, is that web-server a stock tomcat or jetty or something running an OSGi environment? So do you see something about OSGi containers being started in your console output (felix, equinox)? Could you have a look at the messages.log file in your graphdb directory if it shows anything unusual? Thanks Michael Am 10.06.2011 um 02:49 schrieb Ian Bussières: New buildpath, same problem. C:\Users\Ian\Dev\PFE\pfe\src;C:\Users\Ian\Dev\PFE\pfe\lib;C:\Users\Ian\Dev\PFE\pfe\test-classes;C:\Users\Ian\Dev\PFE\pfe\war\WEB-INF\classes;C:\Program Files (x86)\Eclipse\plugins\com.google.gwt.eclipse.sdkbundle_2.3.0.r36v201104261928\gwt-2.3.0\gwt-user.jar;C:\Program Files (x86)\Eclipse\plugins\com.google.gwt.eclipse.sdkbundle_2.3.0.r36v201104261928\gwt-2.3.0\gwt-dev.jar;C:\Program Files (x86)\Eclipse\plugins\com.google.gwt.eclipse.sdkbundle_2.3.0.r36v201104261928\gwt-2.3.0\validation-api-1.0.0.GA-sources.jar;C:\Program Files (x86)\Eclipse\plugins\com.google.gwt.eclipse.sdkbundle_2.3.0.r36v201104261928\gwt-2.3.0\validation-api-1.0.0.GA.jar;C:\Users\Ian\Dev\PFE\pfe\lib\geronimo-jta_1.1_spec-1.1.1.jar;C:\Users\Ian\Dev\PFE\pfe\lib\neo4j-community-1.4.M03.jar;C:\Users\Ian\Dev\PFE\pfe\lib\neo4j-graph-algo-1.4.M03.jar;C:\Users\Ian\Dev\PFE\pfe\lib\neo4j-jmx-1.4.M03.jar;C:\Users\Ian\Dev\PFE\pfe\lib\neo4j-kernel-1.4.M03.jar;C:\Users\Ian\Dev\PFE\pfe\lib\neo4j-lucene-index-1.4.M03.jar;C:\Users\Ian\Dev\PFE\pfe\lib\lucene-core-3.1.0.jar;C:\Users\Ian\Dev\PFE\pfe\lib\org.apache.servicemix.bundles.jline-0.9.94_1.jar;C:\Users\Ian\Dev\PFE\pfe\lib\neo4j-shell-1.4.M03.jar;C:\Users\Ian\Dev\PFE\pfe\lib\neo4j-udc-1.4.M03.jar;C:\Users\Ian\Dev\PFE\pfe\lib\server-api-1.4.M03.jar On Thu, Jun 9, 2011 at 20:32, Michael Hunger michael.hun...@neotechnology.com wrote: Can you please try to remove the lucene-core-3.0.1. It is possible that mixing two versions of lucene at the classpath messes things up. Cheers Michael Am 10.06.2011 um 02:27 schrieb Ian Bussières:
Re: [Neo4j] No index provider 'lucene' found
I've came back to look at it, and I had deliberatley taken the jar files out of the war folder for a smaller transfer between us. I had also specified that in the email that contained the original archive. I will get back to you and send the project some time tommorrow. Cheers, Ian. Emailed from my iPhone On 2011-06-15, at 04:06, Michael Hunger michael.hun...@neotechnology.com wrote: Ian, I used your fragments to rebuild your setup, please send a minimal functional application (it missed the entry-points and also the startup-html files) next time, that will help a lot in actually looking for the problem instead taking a lot of time setting it up. It turned out that your war/WEB-INF/lib didn't contain the libraries but the gwt (jetty) server requires them there for the service-location to work, other IDE's automatically setup the WEB-INF/lib directory with the libraries used. I don't know why eclipse and/or the gwt plugin don't do it. The simple fix was to provide all the libraries used in the war/WEB-INF/lib directory. So that issue had nothing to do with Neo4j's service lookup mechanism but just with the webapp library configuration of your project. Cheers Michael Am 12.06.2011 um 22:02 schrieb Ian Bussières: I was wondering if anybody had a workaround or fix to my issue. Otherwise, is there a new or other way to accomplish indexing, as that portion of work would take me very little time to recode. Thanks ! 2011/6/10 Ian Bussières ian.bussie...@gmail.com: Here you go, took out src, war, lib, test, test-classes and also cleaned some of the stuff in the war folder. Oh and took out all the .jar files there too, otherwise this was just way to huge to share. Hope this will shine some light on the problem :S On Fri, Jun 10, 2011 at 07:18, Michael Hunger michael.hun...@neotechnology.com wrote: Eclipse .project and .classpath files. In general if you copy the project and remove all *.java files, that would be sufficient. Thanks so much Michael Am 10.06.2011 um 13:11 schrieb Ian Bussières: GWT 2.3 and Eclipse Helios. I can't share too much information from the project itself, I suppose I could share the config stuff. What config are you referring to? -- Ian Bussières Étudiant en Génie des Technologies de l'Information École de technologie supérieure [514] 814-0136 On Fri, Jun 10, 2011 at 01:31, Michael Hunger michael.hun...@neotechnology.com wrote: Ian, can you share your project somehow at least config and the startup class? What are eclipse and gwt plugin versions? M Sent from my iBrick4 Am 10.06.2011 um 03:33 schrieb Ian Bussières ian.bussie...@gmail.com: The web server is slightly ambiguous, because it's a GWT eclipse plugin that is used to run. I do believe it to be a Tomcat server. I'm trying to find a source that confirms that. Nothing about OSGi, no... The messages.log looks ok, apart from a few non clean shutdowns but successful recoveries. Ian Bussières Étudiant en Génie des Technologies de l'Information École de technologie supérieure [514] 814-0136 On Thu, Jun 9, 2011 at 21:03, Michael Hunger michael.hun...@neotechnology.com wrote: Ian, is that web-server a stock tomcat or jetty or something running an OSGi environment? So do you see something about OSGi containers being started in your console output (felix, equinox)? Could you have a look at the messages.log file in your graphdb directory if it shows anything unusual? Thanks Michael Am 10.06.2011 um 02:49 schrieb Ian Bussières: New buildpath, same problem. C:\Users\Ian\Dev\PFE\pfe\src;C:\Users\Ian\Dev\PFE\pfe\lib;C:\Users\Ian\Dev\PFE\pfe\test-classes;C:\Users\Ian\Dev\PFE\pfe\war\WEB-INF\classes;C:\Program Files (x86)\Eclipse\plugins\com.google.gwt.eclipse.sdkbundle_2.3.0.r36v201104261928\gwt-2.3.0\gwt-user.jar;C:\Program Files (x86)\Eclipse\plugins\com.google.gwt.eclipse.sdkbundle_2.3.0.r36v201104261928\gwt-2.3.0\gwt-dev.jar;C:\Program Files (x86)\Eclipse\plugins\com.google.gwt.eclipse.sdkbundle_2.3.0.r36v201104261928\gwt-2.3.0\validation-api-1.0.0.GA-sources.jar;C:\Program Files (x86)\Eclipse\plugins\com.google.gwt.eclipse.sdkbundle_2.3.0.r36v201104261928\gwt-2.3.0\validation-api-1.0.0.GA.jar;C:\Users\Ian\Dev\PFE\pfe\lib\geronimo-jta_1.1_spec-1.1.1.jar;C:\Users\Ian\Dev\PFE\pfe\lib\neo4j-community-1.4.M03.jar;C:\Users\Ian\Dev\PFE\pfe\lib\neo4j-graph-algo-1.4.M03.jar;C:\Users\Ian\Dev\PFE\pfe\lib\neo4j-jmx-1.4.M03.jar;C:\Users\Ian\Dev\PFE\pfe\lib\neo4j-kernel-1.4.M03.jar;C:\Users\Ian\Dev\PFE\pfe\lib\neo4j-lucene-index-1.4.M03.jar;C:\Users\Ian\Dev\PFE\pfe\lib\lucene-core-3.1.0.jar;C:\Users\Ian\Dev\PFE\pfe\lib\org.apache.servicemix.bundles.jline-0.9.94_1.jar;C:\Users\Ian\Dev\PFE\pfe\lib\neo4j-shell-1.4.M03.jar;C:\Users\Ian\Dev\PFE\pfe\lib\neo4j-udc-1.4.M03.jar;C:\Users\Ian\Dev\PFE\pfe\lib\server-api-1.4.M03.jar On Thu, Jun 9, 2011 at 20:32, Michael Hunger
Re: [Neo4j] No index provider 'lucene' found
I was wondering if anybody had a workaround or fix to my issue. Otherwise, is there a new or other way to accomplish indexing, as that portion of work would take me very little time to recode. Thanks ! 2011/6/10 Ian Bussières ian.bussie...@gmail.com: Here you go, took out src, war, lib, test, test-classes and also cleaned some of the stuff in the war folder. Oh and took out all the .jar files there too, otherwise this was just way to huge to share. Hope this will shine some light on the problem :S On Fri, Jun 10, 2011 at 07:18, Michael Hunger michael.hun...@neotechnology.com wrote: Eclipse .project and .classpath files. In general if you copy the project and remove all *.java files, that would be sufficient. Thanks so much Michael Am 10.06.2011 um 13:11 schrieb Ian Bussières: GWT 2.3 and Eclipse Helios. I can't share too much information from the project itself, I suppose I could share the config stuff. What config are you referring to? -- Ian Bussières Étudiant en Génie des Technologies de l'Information École de technologie supérieure [514] 814-0136 On Fri, Jun 10, 2011 at 01:31, Michael Hunger michael.hun...@neotechnology.com wrote: Ian, can you share your project somehow at least config and the startup class? What are eclipse and gwt plugin versions? M Sent from my iBrick4 Am 10.06.2011 um 03:33 schrieb Ian Bussières ian.bussie...@gmail.com: The web server is slightly ambiguous, because it's a GWT eclipse plugin that is used to run. I do believe it to be a Tomcat server. I'm trying to find a source that confirms that. Nothing about OSGi, no... The messages.log looks ok, apart from a few non clean shutdowns but successful recoveries. Ian Bussières Étudiant en Génie des Technologies de l'Information École de technologie supérieure [514] 814-0136 On Thu, Jun 9, 2011 at 21:03, Michael Hunger michael.hun...@neotechnology.com wrote: Ian, is that web-server a stock tomcat or jetty or something running an OSGi environment? So do you see something about OSGi containers being started in your console output (felix, equinox)? Could you have a look at the messages.log file in your graphdb directory if it shows anything unusual? Thanks Michael Am 10.06.2011 um 02:49 schrieb Ian Bussières: New buildpath, same problem. C:\Users\Ian\Dev\PFE\pfe\src;C:\Users\Ian\Dev\PFE\pfe\lib;C:\Users\Ian\Dev\PFE\pfe\test-classes;C:\Users\Ian\Dev\PFE\pfe\war\WEB-INF\classes;C:\Program Files (x86)\Eclipse\plugins\com.google.gwt.eclipse.sdkbundle_2.3.0.r36v201104261928\gwt-2.3.0\gwt-user.jar;C:\Program Files (x86)\Eclipse\plugins\com.google.gwt.eclipse.sdkbundle_2.3.0.r36v201104261928\gwt-2.3.0\gwt-dev.jar;C:\Program Files (x86)\Eclipse\plugins\com.google.gwt.eclipse.sdkbundle_2.3.0.r36v201104261928\gwt-2.3.0\validation-api-1.0.0.GA-sources.jar;C:\Program Files (x86)\Eclipse\plugins\com.google.gwt.eclipse.sdkbundle_2.3.0.r36v201104261928\gwt-2.3.0\validation-api-1.0.0.GA.jar;C:\Users\Ian\Dev\PFE\pfe\lib\geronimo-jta_1.1_spec-1.1.1.jar;C:\Users\Ian\Dev\PFE\pfe\lib\neo4j-community-1.4.M03.jar;C:\Users\Ian\Dev\PFE\pfe\lib\neo4j-graph-algo-1.4.M03.jar;C:\Users\Ian\Dev\PFE\pfe\lib\neo4j-jmx-1.4.M03.jar;C:\Users\Ian\Dev\PFE\pfe\lib\neo4j-kernel-1.4.M03.jar;C:\Users\Ian\Dev\PFE\pfe\lib\neo4j-lucene-index-1.4.M03.jar;C:\Users\Ian\Dev\PFE\pfe\lib\lucene-core-3.1.0.jar;C:\Users\Ian\Dev\PFE\pfe\lib\org.apache.servicemix.bundles.jline-0.9.94_1.jar;C:\Users\Ian\Dev\PFE\pfe\lib\neo4j-shell-1.4.M03.jar;C:\Users\Ian\Dev\PFE\pfe\lib\neo4j-udc-1.4.M03.jar;C:\Users\Ian\Dev\PFE\pfe\lib\server-api-1.4.M03.jar On Thu, Jun 9, 2011 at 20:32, Michael Hunger michael.hun...@neotechnology.com wrote: Can you please try to remove the lucene-core-3.0.1. It is possible that mixing two versions of lucene at the classpath messes things up. Cheers Michael Am 10.06.2011 um 02:27 schrieb Ian Bussières: Definitely on server side code. I start up the application directly in eclipse with the built in web server. C:\Users\Ian\Dev\PFE\pfe\src;C:\Users\Ian\Dev\PFE\pfe\lib;C:\Users\Ian\Dev\PFE\pfe\test-classes;C:\Users\Ian\Dev\PFE\pfe\war\WEB-INF\classes;C:\Program Files (x86)\Eclipse\plugins\com.google.gwt.eclipse.sdkbundle_2.3.0.r36v201104261928\gwt-2.3.0\gwt-user.jar;C:\Program Files (x86)\Eclipse\plugins\com.google.gwt.eclipse.sdkbundle_2.3.0.r36v201104261928\gwt-2.3.0\gwt-dev.jar;C:\Program Files (x86)\Eclipse\plugins\com.google.gwt.eclipse.sdkbundle_2.3.0.r36v201104261928\gwt-2.3.0\validation-api-1.0.0.GA-sources.jar;C:\Program Files
Re: [Neo4j] No index provider 'lucene' found
Ian, unfortunately your attachment didn't make it through mailman, could you please send it to me personally at michael.hun...@neotechnology.com Thanks Michael Am 10.06.2011 um 13:47 schrieb Ian Bussières: Here you go, took out src, war, lib, test, test-classes and also cleaned some of the stuff in the war folder. Oh and took out all the .jar files there too, otherwise this was just way to huge to share. Hope this will shine some light on the problem :S On Fri, Jun 10, 2011 at 07:18, Michael Hunger michael.hun...@neotechnology.com wrote: Eclipse .project and .classpath files. In general if you copy the project and remove all *.java files, that would be sufficient. Thanks so much Michael Am 10.06.2011 um 13:11 schrieb Ian Bussières: GWT 2.3 and Eclipse Helios. I can't share too much information from the project itself, I suppose I could share the config stuff. What config are you referring to? -- Ian Bussières Étudiant en Génie des Technologies de l'Information École de technologie supérieure [514] 814-0136 On Fri, Jun 10, 2011 at 01:31, Michael Hunger michael.hun...@neotechnology.com wrote: Ian, can you share your project somehow at least config and the startup class? What are eclipse and gwt plugin versions? M Sent from my iBrick4 Am 10.06.2011 um 03:33 schrieb Ian Bussières ian.bussie...@gmail.com: The web server is slightly ambiguous, because it's a GWT eclipse plugin that is used to run. I do believe it to be a Tomcat server. I'm trying to find a source that confirms that. Nothing about OSGi, no... The messages.log looks ok, apart from a few non clean shutdowns but successful recoveries. Ian Bussières Étudiant en Génie des Technologies de l'Information École de technologie supérieure [514] 814-0136 On Thu, Jun 9, 2011 at 21:03, Michael Hunger michael.hun...@neotechnology.com wrote: Ian, is that web-server a stock tomcat or jetty or something running an OSGi environment? So do you see something about OSGi containers being started in your console output (felix, equinox)? Could you have a look at the messages.log file in your graphdb directory if it shows anything unusual? Thanks Michael Am 10.06.2011 um 02:49 schrieb Ian Bussières: New buildpath, same problem. C:\Users\Ian\Dev\PFE\pfe\src;C:\Users\Ian\Dev\PFE\pfe\lib;C:\Users\Ian\Dev\PFE\pfe\test-classes;C:\Users\Ian\Dev\PFE\pfe\war\WEB-INF\classes;C:\Program Files (x86)\Eclipse\plugins\com.google.gwt.eclipse.sdkbundle_2.3.0.r36v201104261928\gwt-2.3.0\gwt-user.jar;C:\Program Files (x86)\Eclipse\plugins\com.google.gwt.eclipse.sdkbundle_2.3.0.r36v201104261928\gwt-2.3.0\gwt-dev.jar;C:\Program Files (x86)\Eclipse\plugins\com.google.gwt.eclipse.sdkbundle_2.3.0.r36v201104261928\gwt-2.3.0\validation-api-1.0.0.GA-sources.jar;C:\Program Files (x86)\Eclipse\plugins\com.google.gwt.eclipse.sdkbundle_2.3.0.r36v201104261928\gwt-2.3.0\validation-api-1.0.0.GA.jar;C:\Users\Ian\Dev\PFE\pfe\lib\geronimo-jta_1.1_spec-1.1.1.jar;C:\Users\Ian\Dev\PFE\pfe\lib\neo4j-community-1.4.M03.jar;C:\Users\Ian\Dev\PFE\pfe\lib\neo4j-graph-algo-1.4.M03.jar;C:\Users\Ian\Dev\PFE\pfe\lib\neo4j-jmx-1.4.M03.jar;C:\Users\Ian\Dev\PFE\pfe\lib\neo4j-kernel-1.4.M03.jar;C:\Users\Ian\Dev\PFE\pfe\lib\neo4j-lucene-index-1.4.M03.jar;C:\Users\Ian\Dev\PFE\pfe\lib\lucene-core-3.1.0.jar;C:\Users\Ian\Dev\PFE\pfe\lib\org.apache.servicemix.bundles.jline-0.9.94_1.jar;C:\Users\Ian\Dev\PFE\pfe\lib\neo4j-shell-1.4.M03.jar;C:\Users\Ian\Dev\PFE\pfe\lib\neo4j-udc-1.4.M03.jar;C:\Users\Ian\Dev\PFE\pfe\lib\server-api-1.4.M03.jar On Thu, Jun 9, 2011 at 20:32, Michael Hunger michael.hun...@neotechnology.com wrote: Can you please try to remove the lucene-core-3.0.1. It is possible that mixing two versions of lucene at the classpath messes things up. Cheers Michael Am 10.06.2011 um 02:27 schrieb Ian Bussières: Definitely on server side code. I start up the application directly in eclipse with the built in web server. C:\Users\Ian\Dev\PFE\pfe\src;C:\Users\Ian\Dev\PFE\pfe\lib;C:\Users\Ian\Dev\PFE\pfe\test-classes;C:\Users\Ian\Dev\PFE\pfe\war\WEB-INF\classes;C:\Program Files (x86)\Eclipse\plugins\com.google.gwt.eclipse.sdkbundle_2.3.0.r36v201104261928\gwt-2.3.0\gwt-user.jar;C:\Program Files (x86)\Eclipse\plugins\com.google.gwt.eclipse.sdkbundle_2.3.0.r36v201104261928\gwt-2.3.0\gwt-dev.jar;C:\Program Files (x86)\Eclipse\plugins\com.google.gwt.eclipse.sdkbundle_2.3.0.r36v201104261928\gwt-2.3.0\validation-api-1.0.0.GA-sources.jar;C:\Program Files
Re: [Neo4j] No index provider 'lucene' found
GWT 2.3 and Eclipse Helios. I can't share too much information from the project itself, I suppose I could share the config stuff. What config are you referring to? -- Ian Bussières Étudiant en Génie des Technologies de l'Information École de technologie supérieure [514] 814-0136 On Fri, Jun 10, 2011 at 01:31, Michael Hunger michael.hun...@neotechnology.com wrote: Ian, can you share your project somehow at least config and the startup class? What are eclipse and gwt plugin versions? M Sent from my iBrick4 Am 10.06.2011 um 03:33 schrieb Ian Bussières ian.bussie...@gmail.com: The web server is slightly ambiguous, because it's a GWT eclipse plugin that is used to run. I do believe it to be a Tomcat server. I'm trying to find a source that confirms that. Nothing about OSGi, no... The messages.log looks ok, apart from a few non clean shutdowns but successful recoveries. Ian Bussières Étudiant en Génie des Technologies de l'Information École de technologie supérieure [514] 814-0136 On Thu, Jun 9, 2011 at 21:03, Michael Hunger michael.hun...@neotechnology.com wrote: Ian, is that web-server a stock tomcat or jetty or something running an OSGi environment? So do you see something about OSGi containers being started in your console output (felix, equinox)? Could you have a look at the messages.log file in your graphdb directory if it shows anything unusual? Thanks Michael Am 10.06.2011 um 02:49 schrieb Ian Bussières: New buildpath, same problem. C:\Users\Ian\Dev\PFE\pfe\src;C:\Users\Ian\Dev\PFE\pfe\lib;C:\Users\Ian\Dev\PFE\pfe\test-classes;C:\Users\Ian\Dev\PFE\pfe\war\WEB-INF\classes;C:\Program Files (x86)\Eclipse\plugins\com.google.gwt.eclipse.sdkbundle_2.3.0.r36v201104261928\gwt-2.3.0\gwt-user.jar;C:\Program Files (x86)\Eclipse\plugins\com.google.gwt.eclipse.sdkbundle_2.3.0.r36v201104261928\gwt-2.3.0\gwt-dev.jar;C:\Program Files (x86)\Eclipse\plugins\com.google.gwt.eclipse.sdkbundle_2.3.0.r36v201104261928\gwt-2.3.0\validation-api-1.0.0.GA-sources.jar;C:\Program Files (x86)\Eclipse\plugins\com.google.gwt.eclipse.sdkbundle_2.3.0.r36v201104261928\gwt-2.3.0\validation-api-1.0.0.GA.jar;C:\Users\Ian\Dev\PFE\pfe\lib\geronimo-jta_1.1_spec-1.1.1.jar;C:\Users\Ian\Dev\PFE\pfe\lib\neo4j-community-1.4.M03.jar;C:\Users\Ian\Dev\PFE\pfe\lib\neo4j-graph-algo-1.4.M03.jar;C:\Users\Ian\Dev\PFE\pfe\lib\neo4j-jmx-1.4.M03.jar;C:\Users\Ian\Dev\PFE\pfe\lib\neo4j-kernel-1.4.M03.jar;C:\Users\Ian\Dev\PFE\pfe\lib\neo4j-lucene-index-1.4.M03.jar;C:\Users\Ian\Dev\PFE\pfe\lib\lucene-core-3.1.0.jar;C:\Users\Ian\Dev\PFE\pfe\lib\org.apache.servicemix.bundles.jline-0.9.94_1.jar;C:\Users\Ian\Dev\PFE\pfe\lib\neo4j-shell-1.4.M03.jar;C:\Users\Ian\Dev\PFE\pfe\lib\neo4j-udc-1.4.M03.jar;C:\Users\Ian\Dev\PFE\pfe\lib\server-api-1.4.M03.jar On Thu, Jun 9, 2011 at 20:32, Michael Hunger michael.hun...@neotechnology.com wrote: Can you please try to remove the lucene-core-3.0.1. It is possible that mixing two versions of lucene at the classpath messes things up. Cheers Michael Am 10.06.2011 um 02:27 schrieb Ian Bussières: Definitely on server side code. I start up the application directly in eclipse with the built in web server. C:\Users\Ian\Dev\PFE\pfe\src;C:\Users\Ian\Dev\PFE\pfe\lib;C:\Users\Ian\Dev\PFE\pfe\test-classes;C:\Users\Ian\Dev\PFE\pfe\war\WEB-INF\classes;C:\Program Files (x86)\Eclipse\plugins\com.google.gwt.eclipse.sdkbundle_2.3.0.r36v201104261928\gwt-2.3.0\gwt-user.jar;C:\Program Files (x86)\Eclipse\plugins\com.google.gwt.eclipse.sdkbundle_2.3.0.r36v201104261928\gwt-2.3.0\gwt-dev.jar;C:\Program Files (x86)\Eclipse\plugins\com.google.gwt.eclipse.sdkbundle_2.3.0.r36v201104261928\gwt-2.3.0\validation-api-1.0.0.GA-sources.jar;C:\Program Files (x86)\Eclipse\plugins\com.google.gwt.eclipse.sdkbundle_2.3.0.r36v201104261928\gwt-2.3.0\validation-api-1.0.0.GA.jar;C:\Users\Ian\Dev\PFE\pfe\lib\geronimo-jta_1.1_spec-1.1.1.jar;C:\Users\Ian\Dev\PFE\pfe\lib\neo4j-community-1.4.M03.jar;C:\Users\Ian\Dev\PFE\pfe\lib\neo4j-graph-algo-1.4.M03.jar;C:\Users\Ian\Dev\PFE\pfe\lib\neo4j-jmx-1.4.M03.jar;C:\Users\Ian\Dev\PFE\pfe\lib\neo4j-kernel-1.4.M03.jar;C:\Users\Ian\Dev\PFE\pfe\lib\neo4j-lucene-index-1.4.M03.jar;C:\Users\Ian\Dev\PFE\pfe\lib\lucene-core-3.1.0.jar;C:\Users\Ian\Dev\PFE\pfe\lib\org.apache.servicemix.bundles.jline-0.9.94_1.jar;C:\Users\Ian\Dev\PFE\pfe\lib\neo4j-shell-1.4.M03.jar;C:\Users\Ian\Dev\PFE\pfe\lib\neo4j-udc-1.4.M03.jar;C:\Users\Ian\Dev\PFE\pfe\lib\server-api-1.4.M03.jar;C:\Users\Ian\Dev\PFE\pfe\lib\lucene-core-3.0.1.jar On Thu, Jun 9, 2011 at 19:32, Michael Hunger michael.hun...@neotechnology.com wrote: But you're not trying to run Neo4j in the gwt client side code but rather on the server? How exactly do you start-up your application? The classpath you supplied is imho the build-classpath and not necessarily the run-classpath? Can you verify that? you can get the runtime classpath by using jsp to determine the pid of your java
Re: [Neo4j] No index provider 'lucene' found
Eclipse .project and .classpath files. In general if you copy the project and remove all *.java files, that would be sufficient. Thanks so much Michael Am 10.06.2011 um 13:11 schrieb Ian Bussières: GWT 2.3 and Eclipse Helios. I can't share too much information from the project itself, I suppose I could share the config stuff. What config are you referring to? -- Ian Bussières Étudiant en Génie des Technologies de l'Information École de technologie supérieure [514] 814-0136 On Fri, Jun 10, 2011 at 01:31, Michael Hunger michael.hun...@neotechnology.com wrote: Ian, can you share your project somehow at least config and the startup class? What are eclipse and gwt plugin versions? M Sent from my iBrick4 Am 10.06.2011 um 03:33 schrieb Ian Bussières ian.bussie...@gmail.com: The web server is slightly ambiguous, because it's a GWT eclipse plugin that is used to run. I do believe it to be a Tomcat server. I'm trying to find a source that confirms that. Nothing about OSGi, no... The messages.log looks ok, apart from a few non clean shutdowns but successful recoveries. Ian Bussières Étudiant en Génie des Technologies de l'Information École de technologie supérieure [514] 814-0136 On Thu, Jun 9, 2011 at 21:03, Michael Hunger michael.hun...@neotechnology.com wrote: Ian, is that web-server a stock tomcat or jetty or something running an OSGi environment? So do you see something about OSGi containers being started in your console output (felix, equinox)? Could you have a look at the messages.log file in your graphdb directory if it shows anything unusual? Thanks Michael Am 10.06.2011 um 02:49 schrieb Ian Bussières: New buildpath, same problem. C:\Users\Ian\Dev\PFE\pfe\src;C:\Users\Ian\Dev\PFE\pfe\lib;C:\Users\Ian\Dev\PFE\pfe\test-classes;C:\Users\Ian\Dev\PFE\pfe\war\WEB-INF\classes;C:\Program Files (x86)\Eclipse\plugins\com.google.gwt.eclipse.sdkbundle_2.3.0.r36v201104261928\gwt-2.3.0\gwt-user.jar;C:\Program Files (x86)\Eclipse\plugins\com.google.gwt.eclipse.sdkbundle_2.3.0.r36v201104261928\gwt-2.3.0\gwt-dev.jar;C:\Program Files (x86)\Eclipse\plugins\com.google.gwt.eclipse.sdkbundle_2.3.0.r36v201104261928\gwt-2.3.0\validation-api-1.0.0.GA-sources.jar;C:\Program Files (x86)\Eclipse\plugins\com.google.gwt.eclipse.sdkbundle_2.3.0.r36v201104261928\gwt-2.3.0\validation-api-1.0.0.GA.jar;C:\Users\Ian\Dev\PFE\pfe\lib\geronimo-jta_1.1_spec-1.1.1.jar;C:\Users\Ian\Dev\PFE\pfe\lib\neo4j-community-1.4.M03.jar;C:\Users\Ian\Dev\PFE\pfe\lib\neo4j-graph-algo-1.4.M03.jar;C:\Users\Ian\Dev\PFE\pfe\lib\neo4j-jmx-1.4.M03.jar;C:\Users\Ian\Dev\PFE\pfe\lib\neo4j-kernel-1.4.M03.jar;C:\Users\Ian\Dev\PFE\pfe\lib\neo4j-lucene-index-1.4.M03.jar;C:\Users\Ian\Dev\PFE\pfe\lib\lucene-core-3.1.0.jar;C:\Users\Ian\Dev\PFE\pfe\lib\org.apache.servicemix.bundles.jline-0.9.94_1.jar;C:\Users\Ian\Dev\PFE\pfe\lib\neo4j-shell-1.4.M03.jar;C:\Users\Ian\Dev\PFE\pfe\lib\neo4j-udc-1.4.M03.jar;C:\Users\Ian\Dev\PFE\pfe\lib\server-api-1.4.M03.jar On Thu, Jun 9, 2011 at 20:32, Michael Hunger michael.hun...@neotechnology.com wrote: Can you please try to remove the lucene-core-3.0.1. It is possible that mixing two versions of lucene at the classpath messes things up. Cheers Michael Am 10.06.2011 um 02:27 schrieb Ian Bussières: Definitely on server side code. I start up the application directly in eclipse with the built in web server. C:\Users\Ian\Dev\PFE\pfe\src;C:\Users\Ian\Dev\PFE\pfe\lib;C:\Users\Ian\Dev\PFE\pfe\test-classes;C:\Users\Ian\Dev\PFE\pfe\war\WEB-INF\classes;C:\Program Files (x86)\Eclipse\plugins\com.google.gwt.eclipse.sdkbundle_2.3.0.r36v201104261928\gwt-2.3.0\gwt-user.jar;C:\Program Files (x86)\Eclipse\plugins\com.google.gwt.eclipse.sdkbundle_2.3.0.r36v201104261928\gwt-2.3.0\gwt-dev.jar;C:\Program Files (x86)\Eclipse\plugins\com.google.gwt.eclipse.sdkbundle_2.3.0.r36v201104261928\gwt-2.3.0\validation-api-1.0.0.GA-sources.jar;C:\Program Files (x86)\Eclipse\plugins\com.google.gwt.eclipse.sdkbundle_2.3.0.r36v201104261928\gwt-2.3.0\validation-api-1.0.0.GA.jar;C:\Users\Ian\Dev\PFE\pfe\lib\geronimo-jta_1.1_spec-1.1.1.jar;C:\Users\Ian\Dev\PFE\pfe\lib\neo4j-community-1.4.M03.jar;C:\Users\Ian\Dev\PFE\pfe\lib\neo4j-graph-algo-1.4.M03.jar;C:\Users\Ian\Dev\PFE\pfe\lib\neo4j-jmx-1.4.M03.jar;C:\Users\Ian\Dev\PFE\pfe\lib\neo4j-kernel-1.4.M03.jar;C:\Users\Ian\Dev\PFE\pfe\lib\neo4j-lucene-index-1.4.M03.jar;C:\Users\Ian\Dev\PFE\pfe\lib\lucene-core-3.1.0.jar;C:\Users\Ian\Dev\PFE\pfe\lib\org.apache.servicemix.bundles.jline-0.9.94_1.jar;C:\Users\Ian\Dev\PFE\pfe\lib\neo4j-shell-1.4.M03.jar;C:\Users\Ian\Dev\PFE\pfe\lib\neo4j-udc-1.4.M03.jar;C:\Users\Ian\Dev\PFE\pfe\lib\server-api-1.4.M03.jar;C:\Users\Ian\Dev\PFE\pfe\lib\lucene-core-3.0.1.jar On Thu, Jun 9, 2011 at 19:32, Michael Hunger michael.hun...@neotechnology.com wrote: But you're not trying to run Neo4j in the gwt client side code but rather on the server? How
Re: [Neo4j] No index provider 'lucene' found
Here you go, took out src, war, lib, test, test-classes and also cleaned some of the stuff in the war folder. Oh and took out all the .jar files there too, otherwise this was just way to huge to share. Hope this will shine some light on the problem :S On Fri, Jun 10, 2011 at 07:18, Michael Hunger michael.hun...@neotechnology.com wrote: Eclipse .project and .classpath files. In general if you copy the project and remove all *.java files, that would be sufficient. Thanks so much Michael Am 10.06.2011 um 13:11 schrieb Ian Bussières: GWT 2.3 and Eclipse Helios. I can't share too much information from the project itself, I suppose I could share the config stuff. What config are you referring to? -- Ian Bussières Étudiant en Génie des Technologies de l'Information École de technologie supérieure [514] 814-0136 On Fri, Jun 10, 2011 at 01:31, Michael Hunger michael.hun...@neotechnology.com wrote: Ian, can you share your project somehow at least config and the startup class? What are eclipse and gwt plugin versions? M Sent from my iBrick4 Am 10.06.2011 um 03:33 schrieb Ian Bussières ian.bussie...@gmail.com: The web server is slightly ambiguous, because it's a GWT eclipse plugin that is used to run. I do believe it to be a Tomcat server. I'm trying to find a source that confirms that. Nothing about OSGi, no... The messages.log looks ok, apart from a few non clean shutdowns but successful recoveries. Ian Bussières Étudiant en Génie des Technologies de l'Information École de technologie supérieure [514] 814-0136 On Thu, Jun 9, 2011 at 21:03, Michael Hunger michael.hun...@neotechnology.com wrote: Ian, is that web-server a stock tomcat or jetty or something running an OSGi environment? So do you see something about OSGi containers being started in your console output (felix, equinox)? Could you have a look at the messages.log file in your graphdb directory if it shows anything unusual? Thanks Michael Am 10.06.2011 um 02:49 schrieb Ian Bussières: New buildpath, same problem. C:\Users\Ian\Dev\PFE\pfe\src;C:\Users\Ian\Dev\PFE\pfe\lib;C:\Users\Ian\Dev\PFE\pfe\test-classes;C:\Users\Ian\Dev\PFE\pfe\war\WEB-INF\classes;C:\Program Files (x86)\Eclipse\plugins\com.google.gwt.eclipse.sdkbundle_2.3.0.r36v201104261928\gwt-2.3.0\gwt-user.jar;C:\Program Files (x86)\Eclipse\plugins\com.google.gwt.eclipse.sdkbundle_2.3.0.r36v201104261928\gwt-2.3.0\gwt-dev.jar;C:\Program Files (x86)\Eclipse\plugins\com.google.gwt.eclipse.sdkbundle_2.3.0.r36v201104261928\gwt-2.3.0\validation-api-1.0.0.GA-sources.jar;C:\Program Files (x86)\Eclipse\plugins\com.google.gwt.eclipse.sdkbundle_2.3.0.r36v201104261928\gwt-2.3.0\validation-api-1.0.0.GA.jar;C:\Users\Ian\Dev\PFE\pfe\lib\geronimo-jta_1.1_spec-1.1.1.jar;C:\Users\Ian\Dev\PFE\pfe\lib\neo4j-community-1.4.M03.jar;C:\Users\Ian\Dev\PFE\pfe\lib\neo4j-graph-algo-1.4.M03.jar;C:\Users\Ian\Dev\PFE\pfe\lib\neo4j-jmx-1.4.M03.jar;C:\Users\Ian\Dev\PFE\pfe\lib\neo4j-kernel-1.4.M03.jar;C:\Users\Ian\Dev\PFE\pfe\lib\neo4j-lucene-index-1.4.M03.jar;C:\Users\Ian\Dev\PFE\pfe\lib\lucene-core-3.1.0.jar;C:\Users\Ian\Dev\PFE\pfe\lib\org.apache.servicemix.bundles.jline-0.9.94_1.jar;C:\Users\Ian\Dev\PFE\pfe\lib\neo4j-shell-1.4.M03.jar;C:\Users\Ian\Dev\PFE\pfe\lib\neo4j-udc-1.4.M03.jar;C:\Users\Ian\Dev\PFE\pfe\lib\server-api-1.4.M03.jar On Thu, Jun 9, 2011 at 20:32, Michael Hunger michael.hun...@neotechnology.com wrote: Can you please try to remove the lucene-core-3.0.1. It is possible that mixing two versions of lucene at the classpath messes things up. Cheers Michael Am 10.06.2011 um 02:27 schrieb Ian Bussières: Definitely on server side code. I start up the application directly in eclipse with the built in web server. C:\Users\Ian\Dev\PFE\pfe\src;C:\Users\Ian\Dev\PFE\pfe\lib;C:\Users\Ian\Dev\PFE\pfe\test-classes;C:\Users\Ian\Dev\PFE\pfe\war\WEB-INF\classes;C:\Program Files (x86)\Eclipse\plugins\com.google.gwt.eclipse.sdkbundle_2.3.0.r36v201104261928\gwt-2.3.0\gwt-user.jar;C:\Program Files (x86)\Eclipse\plugins\com.google.gwt.eclipse.sdkbundle_2.3.0.r36v201104261928\gwt-2.3.0\gwt-dev.jar;C:\Program Files (x86)\Eclipse\plugins\com.google.gwt.eclipse.sdkbundle_2.3.0.r36v201104261928\gwt-2.3.0\validation-api-1.0.0.GA-sources.jar;C:\Program Files
[Neo4j] No index provider 'lucene' found
Hello, I'm getting an error I cannot seem to repair. Here's the line of code popping up the error : private static IndexNode people = index.forNodes( people ); I've checked my classpath and tried with both lucene-core-3.1.0.jar and lucene-core-3.0.1.jar. Stack trace follows, thanks for any indications here ! Ian. java.lang.ExceptionInInitializerError at webapp.server.AccountServiceImpl.clinit(AccountServiceImpl.java:20) at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39) at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27) at java.lang.reflect.Constructor.newInstance(Constructor.java:513) at java.lang.Class.newInstance0(Class.java:355) at java.lang.Class.newInstance(Class.java:308) at org.mortbay.jetty.servlet.Holder.newInstance(Holder.java:153) at org.mortbay.jetty.servlet.ServletHolder.getServlet(ServletHolder.java:339) at org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java:463) at org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:362) at org.mortbay.jetty.security.SecurityHandler.handle(SecurityHandler.java:216) at org.mortbay.jetty.servlet.SessionHandler.handle(SessionHandler.java:181) at org.mortbay.jetty.handler.ContextHandler.handle(ContextHandler.java:729) at org.mortbay.jetty.webapp.WebAppContext.handle(WebAppContext.java:405) at org.mortbay.jetty.handler.HandlerWrapper.handle(HandlerWrapper.java:152) at org.mortbay.jetty.handler.RequestLogHandler.handle(RequestLogHandler.java:49) at org.mortbay.jetty.handler.HandlerWrapper.handle(HandlerWrapper.java:152) at org.mortbay.jetty.Server.handle(Server.java:324) at org.mortbay.jetty.HttpConnection.handleRequest(HttpConnection.java:505) at org.mortbay.jetty.HttpConnection$RequestHandler.content(HttpConnection.java:843) at org.mortbay.jetty.HttpParser.parseNext(HttpParser.java:647) at org.mortbay.jetty.HttpParser.parseAvailable(HttpParser.java:211) at org.mortbay.jetty.HttpConnection.handle(HttpConnection.java:380) at org.mortbay.io.nio.SelectChannelEndPoint.run(SelectChannelEndPoint.java:395) at org.mortbay.thread.QueuedThreadPool$PoolThread.run(QueuedThreadPool.java:488) Caused by: java.lang.IllegalArgumentException: No index provider 'lucene' found at org.neo4j.kernel.IndexManagerImpl.getIndexProvider(IndexManagerImpl.java:69) at org.neo4j.kernel.IndexManagerImpl.findIndexConfig(IndexManagerImpl.java:109) at org.neo4j.kernel.IndexManagerImpl.getOrCreateIndexConfig(IndexManagerImpl.java:171) at org.neo4j.kernel.IndexManagerImpl.forNodes(IndexManagerImpl.java:242) at business.domain.DomainServicesImpl.clinit(DomainServicesImpl.java:29) ... 26 more [WARN] Nested in java.lang.ExceptionInInitializerError: java.lang.IllegalArgumentException: No index provider 'lucene' found at org.neo4j.kernel.IndexManagerImpl.getIndexProvider(IndexManagerImpl.java:69) at org.neo4j.kernel.IndexManagerImpl.findIndexConfig(IndexManagerImpl.java:109) at org.neo4j.kernel.IndexManagerImpl.getOrCreateIndexConfig(IndexManagerImpl.java:171) at org.neo4j.kernel.IndexManagerImpl.forNodes(IndexManagerImpl.java:242) at business.domain.DomainServicesImpl.clinit(DomainServicesImpl.java:29) at webapp.server.AccountServiceImpl.clinit(AccountServiceImpl.java:20) at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39) at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27) at java.lang.reflect.Constructor.newInstance(Constructor.java:513) at java.lang.Class.newInstance0(Class.java:355) at java.lang.Class.newInstance(Class.java:308) at org.mortbay.jetty.servlet.Holder.newInstance(Holder.java:153) at org.mortbay.jetty.servlet.ServletHolder.getServlet(ServletHolder.java:339) at org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java:463) at org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:362) at org.mortbay.jetty.security.SecurityHandler.handle(SecurityHandler.java:216) at org.mortbay.jetty.servlet.SessionHandler.handle(SessionHandler.java:181) at org.mortbay.jetty.handler.ContextHandler.handle(ContextHandler.java:729) at org.mortbay.jetty.webapp.WebAppContext.handle(WebAppContext.java:405) at org.mortbay.jetty.handler.HandlerWrapper.handle(HandlerWrapper.java:152) at org.mortbay.jetty.handler.RequestLogHandler.handle(RequestLogHandler.java:49)
Re: [Neo4j] No index provider 'lucene' found
Hi Ian, Is neo4j-lucene-index-${version}.jar on the classpath? That is the jar file that contains the lucene integration for Neo4j, this needs to be on the classpath along with lucene-core. If it is, and things are still not working, could you please answer these questions: Which version of Neo4j are you using? Which JVM are you using? What else do you have in your system that impacts the runtime environment (e.g. OSGi)? And also provide the full classpath you are using. Cheers, Tobias 2011/6/10 Ian Bussières ian.bussie...@gmail.com Hello, I'm getting an error I cannot seem to repair. Here's the line of code popping up the error : private static IndexNode people = index.forNodes( people ); I've checked my classpath and tried with both lucene-core-3.1.0.jar and lucene-core-3.0.1.jar. Stack trace follows, thanks for any indications here ! Ian. java.lang.ExceptionInInitializerError at webapp.server.AccountServiceImpl.clinit(AccountServiceImpl.java:20) at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39) at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27) at java.lang.reflect.Constructor.newInstance(Constructor.java:513) at java.lang.Class.newInstance0(Class.java:355) at java.lang.Class.newInstance(Class.java:308) at org.mortbay.jetty.servlet.Holder.newInstance(Holder.java:153) at org.mortbay.jetty.servlet.ServletHolder.getServlet(ServletHolder.java:339) at org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java:463) at org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:362) at org.mortbay.jetty.security.SecurityHandler.handle(SecurityHandler.java:216) at org.mortbay.jetty.servlet.SessionHandler.handle(SessionHandler.java:181) at org.mortbay.jetty.handler.ContextHandler.handle(ContextHandler.java:729) at org.mortbay.jetty.webapp.WebAppContext.handle(WebAppContext.java:405) at org.mortbay.jetty.handler.HandlerWrapper.handle(HandlerWrapper.java:152) at org.mortbay.jetty.handler.RequestLogHandler.handle(RequestLogHandler.java:49) at org.mortbay.jetty.handler.HandlerWrapper.handle(HandlerWrapper.java:152) at org.mortbay.jetty.Server.handle(Server.java:324) at org.mortbay.jetty.HttpConnection.handleRequest(HttpConnection.java:505) at org.mortbay.jetty.HttpConnection$RequestHandler.content(HttpConnection.java:843) at org.mortbay.jetty.HttpParser.parseNext(HttpParser.java:647) at org.mortbay.jetty.HttpParser.parseAvailable(HttpParser.java:211) at org.mortbay.jetty.HttpConnection.handle(HttpConnection.java:380) at org.mortbay.io.nio.SelectChannelEndPoint.run(SelectChannelEndPoint.java:395) at org.mortbay.thread.QueuedThreadPool$PoolThread.run(QueuedThreadPool.java:488) Caused by: java.lang.IllegalArgumentException: No index provider 'lucene' found at org.neo4j.kernel.IndexManagerImpl.getIndexProvider(IndexManagerImpl.java:69) at org.neo4j.kernel.IndexManagerImpl.findIndexConfig(IndexManagerImpl.java:109) at org.neo4j.kernel.IndexManagerImpl.getOrCreateIndexConfig(IndexManagerImpl.java:171) at org.neo4j.kernel.IndexManagerImpl.forNodes(IndexManagerImpl.java:242) at business.domain.DomainServicesImpl.clinit(DomainServicesImpl.java:29) ... 26 more [WARN] Nested in java.lang.ExceptionInInitializerError: java.lang.IllegalArgumentException: No index provider 'lucene' found at org.neo4j.kernel.IndexManagerImpl.getIndexProvider(IndexManagerImpl.java:69) at org.neo4j.kernel.IndexManagerImpl.findIndexConfig(IndexManagerImpl.java:109) at org.neo4j.kernel.IndexManagerImpl.getOrCreateIndexConfig(IndexManagerImpl.java:171) at org.neo4j.kernel.IndexManagerImpl.forNodes(IndexManagerImpl.java:242) at business.domain.DomainServicesImpl.clinit(DomainServicesImpl.java:29) at webapp.server.AccountServiceImpl.clinit(AccountServiceImpl.java:20) at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39) at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27) at java.lang.reflect.Constructor.newInstance(Constructor.java:513) at java.lang.Class.newInstance0(Class.java:355) at java.lang.Class.newInstance(Class.java:308) at org.mortbay.jetty.servlet.Holder.newInstance(Holder.java:153) at org.mortbay.jetty.servlet.ServletHolder.getServlet(ServletHolder.java:339) at org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java:463) at
Re: [Neo4j] No index provider 'lucene' found
Thanks for the quick answer, here's the config : JVM 1.6.0_24 I am compiling through GWT, which might somewhat impact the build, although I doubt it. Classpath, which answers some of your questions itself : ?xml version=1.0 encoding=UTF-8? classpath classpathentry kind=src path=src/ classpathentry kind=src output=test-classes path=test/ classpathentry kind=src path=lib/ classpathentry kind=con path=com.google.gwt.eclipse.core.GWT_CONTAINER/ classpathentry kind=con path=org.eclipse.jdt.launching.JRE_CONTAINER/ classpathentry kind=lib path=lib/geronimo-jta_1.1_spec-1.1.1.jar/ classpathentry kind=lib path=lib/neo4j-community-1.4.M03.jar/ classpathentry kind=lib path=lib/neo4j-graph-algo-1.4.M03.jar/ classpathentry kind=lib path=lib/neo4j-jmx-1.4.M03.jar/ classpathentry kind=lib path=lib/neo4j-kernel-1.4.M03.jar sourcepath=C:/Users/Ian/.m2/repository/org/neo4j/neo4j-kernel/1.4.M03/neo4j-kernel-1.4.M03-sources.jar/ classpathentry kind=lib path=lib/neo4j-lucene-index-1.4.M03.jar/ classpathentry kind=lib path=lib/neo4j-shell-1.4.M03.jar/ classpathentry kind=lib path=lib/neo4j-udc-1.4.M03.jar/ classpathentry kind=lib path=lib/org.apache.servicemix.bundles.jline-0.9.94_1.jar/ classpathentry kind=lib path=lib/server-api-1.4.M03.jar/ classpathentry kind=lib path=lib/lucene-core-3.0.1.jar/ // also tried 3.1.0 classpathentry kind=output path=war/WEB-INF/classes/ /classpath On Thu, Jun 9, 2011 at 19:07, Tobias Ivarsson tobias.ivars...@neotechnology.com wrote: Hi Ian, Is neo4j-lucene-index-${version}.jar on the classpath? That is the jar file that contains the lucene integration for Neo4j, this needs to be on the classpath along with lucene-core. If it is, and things are still not working, could you please answer these questions: Which version of Neo4j are you using? Which JVM are you using? What else do you have in your system that impacts the runtime environment (e.g. OSGi)? And also provide the full classpath you are using. Cheers, Tobias 2011/6/10 Ian Bussières ian.bussie...@gmail.com Hello, I'm getting an error I cannot seem to repair. Here's the line of code popping up the error : private static IndexNode people = index.forNodes( people ); I've checked my classpath and tried with both lucene-core-3.1.0.jar and lucene-core-3.0.1.jar. Stack trace follows, thanks for any indications here ! Ian. java.lang.ExceptionInInitializerError at webapp.server.AccountServiceImpl.clinit(AccountServiceImpl.java:20) at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39) at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27) at java.lang.reflect.Constructor.newInstance(Constructor.java:513) at java.lang.Class.newInstance0(Class.java:355) at java.lang.Class.newInstance(Class.java:308) at org.mortbay.jetty.servlet.Holder.newInstance(Holder.java:153) at org.mortbay.jetty.servlet.ServletHolder.getServlet(ServletHolder.java:339) at org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java:463) at org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:362) at org.mortbay.jetty.security.SecurityHandler.handle(SecurityHandler.java:216) at org.mortbay.jetty.servlet.SessionHandler.handle(SessionHandler.java:181) at org.mortbay.jetty.handler.ContextHandler.handle(ContextHandler.java:729) at org.mortbay.jetty.webapp.WebAppContext.handle(WebAppContext.java:405) at org.mortbay.jetty.handler.HandlerWrapper.handle(HandlerWrapper.java:152) at org.mortbay.jetty.handler.RequestLogHandler.handle(RequestLogHandler.java:49) at org.mortbay.jetty.handler.HandlerWrapper.handle(HandlerWrapper.java:152) at org.mortbay.jetty.Server.handle(Server.java:324) at org.mortbay.jetty.HttpConnection.handleRequest(HttpConnection.java:505) at org.mortbay.jetty.HttpConnection$RequestHandler.content(HttpConnection.java:843) at org.mortbay.jetty.HttpParser.parseNext(HttpParser.java:647) at org.mortbay.jetty.HttpParser.parseAvailable(HttpParser.java:211) at org.mortbay.jetty.HttpConnection.handle(HttpConnection.java:380) at org.mortbay.io.nio.SelectChannelEndPoint.run(SelectChannelEndPoint.java:395) at org.mortbay.thread.QueuedThreadPool$PoolThread.run(QueuedThreadPool.java:488) Caused by: java.lang.IllegalArgumentException: No index provider 'lucene' found at org.neo4j.kernel.IndexManagerImpl.getIndexProvider(IndexManagerImpl.java:69) at org.neo4j.kernel.IndexManagerImpl.findIndexConfig(IndexManagerImpl.java:109) at
Re: [Neo4j] No index provider 'lucene' found
But you're not trying to run Neo4j in the gwt client side code but rather on the server? How exactly do you start-up your application? The classpath you supplied is imho the build-classpath and not necessarily the run-classpath? Can you verify that? you can get the runtime classpath by using jsp to determine the pid of your java process and jinfo pid to extract the information. Cheers Michael Am 10.06.2011 um 01:20 schrieb Ian Bussières: Thanks for the quick answer, here's the config : JVM 1.6.0_24 I am compiling through GWT, which might somewhat impact the build, although I doubt it. Classpath, which answers some of your questions itself : ?xml version=1.0 encoding=UTF-8? classpath classpathentry kind=src path=src/ classpathentry kind=src output=test-classes path=test/ classpathentry kind=src path=lib/ classpathentry kind=con path=com.google.gwt.eclipse.core.GWT_CONTAINER/ classpathentry kind=con path=org.eclipse.jdt.launching.JRE_CONTAINER/ classpathentry kind=lib path=lib/geronimo-jta_1.1_spec-1.1.1.jar/ classpathentry kind=lib path=lib/neo4j-community-1.4.M03.jar/ classpathentry kind=lib path=lib/neo4j-graph-algo-1.4.M03.jar/ classpathentry kind=lib path=lib/neo4j-jmx-1.4.M03.jar/ classpathentry kind=lib path=lib/neo4j-kernel-1.4.M03.jar sourcepath=C:/Users/Ian/.m2/repository/org/neo4j/neo4j-kernel/1.4.M03/neo4j-kernel-1.4.M03-sources.jar/ classpathentry kind=lib path=lib/neo4j-lucene-index-1.4.M03.jar/ classpathentry kind=lib path=lib/neo4j-shell-1.4.M03.jar/ classpathentry kind=lib path=lib/neo4j-udc-1.4.M03.jar/ classpathentry kind=lib path=lib/org.apache.servicemix.bundles.jline-0.9.94_1.jar/ classpathentry kind=lib path=lib/server-api-1.4.M03.jar/ classpathentry kind=lib path=lib/lucene-core-3.0.1.jar/ // also tried 3.1.0 classpathentry kind=output path=war/WEB-INF/classes/ /classpath On Thu, Jun 9, 2011 at 19:07, Tobias Ivarsson tobias.ivars...@neotechnology.com wrote: Hi Ian, Is neo4j-lucene-index-${version}.jar on the classpath? That is the jar file that contains the lucene integration for Neo4j, this needs to be on the classpath along with lucene-core. If it is, and things are still not working, could you please answer these questions: Which version of Neo4j are you using? Which JVM are you using? What else do you have in your system that impacts the runtime environment (e.g. OSGi)? And also provide the full classpath you are using. Cheers, Tobias 2011/6/10 Ian Bussières ian.bussie...@gmail.com Hello, I'm getting an error I cannot seem to repair. Here's the line of code popping up the error : private static IndexNode people = index.forNodes( people ); I've checked my classpath and tried with both lucene-core-3.1.0.jar and lucene-core-3.0.1.jar. Stack trace follows, thanks for any indications here ! Ian. java.lang.ExceptionInInitializerError at webapp.server.AccountServiceImpl.clinit(AccountServiceImpl.java:20) at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39) at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27) at java.lang.reflect.Constructor.newInstance(Constructor.java:513) at java.lang.Class.newInstance0(Class.java:355) at java.lang.Class.newInstance(Class.java:308) at org.mortbay.jetty.servlet.Holder.newInstance(Holder.java:153) at org.mortbay.jetty.servlet.ServletHolder.getServlet(ServletHolder.java:339) at org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java:463) at org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:362) at org.mortbay.jetty.security.SecurityHandler.handle(SecurityHandler.java:216) at org.mortbay.jetty.servlet.SessionHandler.handle(SessionHandler.java:181) at org.mortbay.jetty.handler.ContextHandler.handle(ContextHandler.java:729) at org.mortbay.jetty.webapp.WebAppContext.handle(WebAppContext.java:405) at org.mortbay.jetty.handler.HandlerWrapper.handle(HandlerWrapper.java:152) at org.mortbay.jetty.handler.RequestLogHandler.handle(RequestLogHandler.java:49) at org.mortbay.jetty.handler.HandlerWrapper.handle(HandlerWrapper.java:152) at org.mortbay.jetty.Server.handle(Server.java:324) at org.mortbay.jetty.HttpConnection.handleRequest(HttpConnection.java:505) at org.mortbay.jetty.HttpConnection$RequestHandler.content(HttpConnection.java:843) at org.mortbay.jetty.HttpParser.parseNext(HttpParser.java:647) at org.mortbay.jetty.HttpParser.parseAvailable(HttpParser.java:211) at org.mortbay.jetty.HttpConnection.handle(HttpConnection.java:380) at
Re: [Neo4j] No index provider 'lucene' found
Definitely on server side code. I start up the application directly in eclipse with the built in web server. C:\Users\Ian\Dev\PFE\pfe\src;C:\Users\Ian\Dev\PFE\pfe\lib;C:\Users\Ian\Dev\PFE\pfe\test-classes;C:\Users\Ian\Dev\PFE\pfe\war\WEB-INF\classes;C:\Program Files (x86)\Eclipse\plugins\com.google.gwt.eclipse.sdkbundle_2.3.0.r36v201104261928\gwt-2.3.0\gwt-user.jar;C:\Program Files (x86)\Eclipse\plugins\com.google.gwt.eclipse.sdkbundle_2.3.0.r36v201104261928\gwt-2.3.0\gwt-dev.jar;C:\Program Files (x86)\Eclipse\plugins\com.google.gwt.eclipse.sdkbundle_2.3.0.r36v201104261928\gwt-2.3.0\validation-api-1.0.0.GA-sources.jar;C:\Program Files (x86)\Eclipse\plugins\com.google.gwt.eclipse.sdkbundle_2.3.0.r36v201104261928\gwt-2.3.0\validation-api-1.0.0.GA.jar;C:\Users\Ian\Dev\PFE\pfe\lib\geronimo-jta_1.1_spec-1.1.1.jar;C:\Users\Ian\Dev\PFE\pfe\lib\neo4j-community-1.4.M03.jar;C:\Users\Ian\Dev\PFE\pfe\lib\neo4j-graph-algo-1.4.M03.jar;C:\Users\Ian\Dev\PFE\pfe\lib\neo4j-jmx-1.4.M03.jar;C:\Users\Ian\Dev\PFE\pfe\lib\neo4j-kernel-1.4.M03.jar;C:\Users\Ian\Dev\PFE\pfe\lib\neo4j-lucene-index-1.4.M03.jar;C:\Users\Ian\Dev\PFE\pfe\lib\lucene-core-3.1.0.jar;C:\Users\Ian\Dev\PFE\pfe\lib\org.apache.servicemix.bundles.jline-0.9.94_1.jar;C:\Users\Ian\Dev\PFE\pfe\lib\neo4j-shell-1.4.M03.jar;C:\Users\Ian\Dev\PFE\pfe\lib\neo4j-udc-1.4.M03.jar;C:\Users\Ian\Dev\PFE\pfe\lib\server-api-1.4.M03.jar;C:\Users\Ian\Dev\PFE\pfe\lib\lucene-core-3.0.1.jar On Thu, Jun 9, 2011 at 19:32, Michael Hunger michael.hun...@neotechnology.com wrote: But you're not trying to run Neo4j in the gwt client side code but rather on the server? How exactly do you start-up your application? The classpath you supplied is imho the build-classpath and not necessarily the run-classpath? Can you verify that? you can get the runtime classpath by using jsp to determine the pid of your java process and jinfo pid to extract the information. Cheers Michael Am 10.06.2011 um 01:20 schrieb Ian Bussières: Thanks for the quick answer, here's the config : JVM 1.6.0_24 I am compiling through GWT, which might somewhat impact the build, although I doubt it. Classpath, which answers some of your questions itself : ?xml version=1.0 encoding=UTF-8? classpath classpathentry kind=src path=src/ classpathentry kind=src output=test-classes path=test/ classpathentry kind=src path=lib/ classpathentry kind=con path=com.google.gwt.eclipse.core.GWT_CONTAINER/ classpathentry kind=con path=org.eclipse.jdt.launching.JRE_CONTAINER/ classpathentry kind=lib path=lib/geronimo-jta_1.1_spec-1.1.1.jar/ classpathentry kind=lib path=lib/neo4j-community-1.4.M03.jar/ classpathentry kind=lib path=lib/neo4j-graph-algo-1.4.M03.jar/ classpathentry kind=lib path=lib/neo4j-jmx-1.4.M03.jar/ classpathentry kind=lib path=lib/neo4j-kernel-1.4.M03.jar sourcepath=C:/Users/Ian/.m2/repository/org/neo4j/neo4j-kernel/1.4.M03/neo4j-kernel-1.4.M03-sources.jar/ classpathentry kind=lib path=lib/neo4j-lucene-index-1.4.M03.jar/ classpathentry kind=lib path=lib/neo4j-shell-1.4.M03.jar/ classpathentry kind=lib path=lib/neo4j-udc-1.4.M03.jar/ classpathentry kind=lib path=lib/org.apache.servicemix.bundles.jline-0.9.94_1.jar/ classpathentry kind=lib path=lib/server-api-1.4.M03.jar/ classpathentry kind=lib path=lib/lucene-core-3.0.1.jar/ // also tried 3.1.0 classpathentry kind=output path=war/WEB-INF/classes/ /classpath On Thu, Jun 9, 2011 at 19:07, Tobias Ivarsson tobias.ivars...@neotechnology.com wrote: Hi Ian, Is neo4j-lucene-index-${version}.jar on the classpath? That is the jar file that contains the lucene integration for Neo4j, this needs to be on the classpath along with lucene-core. If it is, and things are still not working, could you please answer these questions: Which version of Neo4j are you using? Which JVM are you using? What else do you have in your system that impacts the runtime environment (e.g. OSGi)? And also provide the full classpath you are using. Cheers, Tobias 2011/6/10 Ian Bussières ian.bussie...@gmail.com Hello, I'm getting an error I cannot seem to repair. Here's the line of code popping up the error : private static IndexNode people = index.forNodes( people ); I've checked my classpath and tried with both lucene-core-3.1.0.jar and lucene-core-3.0.1.jar. Stack trace follows, thanks for any indications here ! Ian. java.lang.ExceptionInInitializerError at webapp.server.AccountServiceImpl.clinit(AccountServiceImpl.java:20) at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39) at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27) at java.lang.reflect.Constructor.newInstance(Constructor.java:513)
Re: [Neo4j] No index provider 'lucene' found
Can you please try to remove the lucene-core-3.0.1. It is possible that mixing two versions of lucene at the classpath messes things up. Cheers Michael Am 10.06.2011 um 02:27 schrieb Ian Bussières: Definitely on server side code. I start up the application directly in eclipse with the built in web server. C:\Users\Ian\Dev\PFE\pfe\src;C:\Users\Ian\Dev\PFE\pfe\lib;C:\Users\Ian\Dev\PFE\pfe\test-classes;C:\Users\Ian\Dev\PFE\pfe\war\WEB-INF\classes;C:\Program Files (x86)\Eclipse\plugins\com.google.gwt.eclipse.sdkbundle_2.3.0.r36v201104261928\gwt-2.3.0\gwt-user.jar;C:\Program Files (x86)\Eclipse\plugins\com.google.gwt.eclipse.sdkbundle_2.3.0.r36v201104261928\gwt-2.3.0\gwt-dev.jar;C:\Program Files (x86)\Eclipse\plugins\com.google.gwt.eclipse.sdkbundle_2.3.0.r36v201104261928\gwt-2.3.0\validation-api-1.0.0.GA-sources.jar;C:\Program Files (x86)\Eclipse\plugins\com.google.gwt.eclipse.sdkbundle_2.3.0.r36v201104261928\gwt-2.3.0\validation-api-1.0.0.GA.jar;C:\Users\Ian\Dev\PFE\pfe\lib\geronimo-jta_1.1_spec-1.1.1.jar;C:\Users\Ian\Dev\PFE\pfe\lib\neo4j-community-1.4.M03.jar;C:\Users\Ian\Dev\PFE\pfe\lib\neo4j-graph-algo-1.4.M03.jar;C:\Users\Ian\Dev\PFE\pfe\lib\neo4j-jmx-1.4.M03.jar;C:\Users\Ian\Dev\PFE\pfe\lib\neo4j-kernel-1.4.M03.jar;C:\Users\Ian\Dev\PFE\pfe\lib\neo4j-lucene-index-1.4.M03.jar;C:\Users\Ian\Dev\PFE\pfe\lib\lucene-core-3.1.0.jar;C:\Users\Ian\Dev\PFE\pfe\lib\org.apache.servicemix.bundles.jline-0.9.94_1.jar;C:\Users\Ian\Dev\PFE\pfe\lib\neo4j-shell-1.4.M03.jar;C:\Users\Ian\Dev\PFE\pfe\lib\neo4j-udc-1.4.M03.jar;C:\Users\Ian\Dev\PFE\pfe\lib\server-api-1.4.M03.jar;C:\Users\Ian\Dev\PFE\pfe\lib\lucene-core-3.0.1.jar On Thu, Jun 9, 2011 at 19:32, Michael Hunger michael.hun...@neotechnology.com wrote: But you're not trying to run Neo4j in the gwt client side code but rather on the server? How exactly do you start-up your application? The classpath you supplied is imho the build-classpath and not necessarily the run-classpath? Can you verify that? you can get the runtime classpath by using jsp to determine the pid of your java process and jinfo pid to extract the information. Cheers Michael Am 10.06.2011 um 01:20 schrieb Ian Bussières: Thanks for the quick answer, here's the config : JVM 1.6.0_24 I am compiling through GWT, which might somewhat impact the build, although I doubt it. Classpath, which answers some of your questions itself : ?xml version=1.0 encoding=UTF-8? classpath classpathentry kind=src path=src/ classpathentry kind=src output=test-classes path=test/ classpathentry kind=src path=lib/ classpathentry kind=con path=com.google.gwt.eclipse.core.GWT_CONTAINER/ classpathentry kind=con path=org.eclipse.jdt.launching.JRE_CONTAINER/ classpathentry kind=lib path=lib/geronimo-jta_1.1_spec-1.1.1.jar/ classpathentry kind=lib path=lib/neo4j-community-1.4.M03.jar/ classpathentry kind=lib path=lib/neo4j-graph-algo-1.4.M03.jar/ classpathentry kind=lib path=lib/neo4j-jmx-1.4.M03.jar/ classpathentry kind=lib path=lib/neo4j-kernel-1.4.M03.jar sourcepath=C:/Users/Ian/.m2/repository/org/neo4j/neo4j-kernel/1.4.M03/neo4j-kernel-1.4.M03-sources.jar/ classpathentry kind=lib path=lib/neo4j-lucene-index-1.4.M03.jar/ classpathentry kind=lib path=lib/neo4j-shell-1.4.M03.jar/ classpathentry kind=lib path=lib/neo4j-udc-1.4.M03.jar/ classpathentry kind=lib path=lib/org.apache.servicemix.bundles.jline-0.9.94_1.jar/ classpathentry kind=lib path=lib/server-api-1.4.M03.jar/ classpathentry kind=lib path=lib/lucene-core-3.0.1.jar/ // also tried 3.1.0 classpathentry kind=output path=war/WEB-INF/classes/ /classpath On Thu, Jun 9, 2011 at 19:07, Tobias Ivarsson tobias.ivars...@neotechnology.com wrote: Hi Ian, Is neo4j-lucene-index-${version}.jar on the classpath? That is the jar file that contains the lucene integration for Neo4j, this needs to be on the classpath along with lucene-core. If it is, and things are still not working, could you please answer these questions: Which version of Neo4j are you using? Which JVM are you using? What else do you have in your system that impacts the runtime environment (e.g. OSGi)? And also provide the full classpath you are using. Cheers, Tobias 2011/6/10 Ian Bussières ian.bussie...@gmail.com Hello, I'm getting an error I cannot seem to repair. Here's the line of code popping up the error : private static IndexNode people = index.forNodes( people ); I've checked my classpath and tried with both lucene-core-3.1.0.jar and lucene-core-3.0.1.jar. Stack trace follows, thanks for any indications here ! Ian. java.lang.ExceptionInInitializerError at webapp.server.AccountServiceImpl.clinit(AccountServiceImpl.java:20) at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) at
Re: [Neo4j] No index provider 'lucene' found
New buildpath, same problem. C:\Users\Ian\Dev\PFE\pfe\src;C:\Users\Ian\Dev\PFE\pfe\lib;C:\Users\Ian\Dev\PFE\pfe\test-classes;C:\Users\Ian\Dev\PFE\pfe\war\WEB-INF\classes;C:\Program Files (x86)\Eclipse\plugins\com.google.gwt.eclipse.sdkbundle_2.3.0.r36v201104261928\gwt-2.3.0\gwt-user.jar;C:\Program Files (x86)\Eclipse\plugins\com.google.gwt.eclipse.sdkbundle_2.3.0.r36v201104261928\gwt-2.3.0\gwt-dev.jar;C:\Program Files (x86)\Eclipse\plugins\com.google.gwt.eclipse.sdkbundle_2.3.0.r36v201104261928\gwt-2.3.0\validation-api-1.0.0.GA-sources.jar;C:\Program Files (x86)\Eclipse\plugins\com.google.gwt.eclipse.sdkbundle_2.3.0.r36v201104261928\gwt-2.3.0\validation-api-1.0.0.GA.jar;C:\Users\Ian\Dev\PFE\pfe\lib\geronimo-jta_1.1_spec-1.1.1.jar;C:\Users\Ian\Dev\PFE\pfe\lib\neo4j-community-1.4.M03.jar;C:\Users\Ian\Dev\PFE\pfe\lib\neo4j-graph-algo-1.4.M03.jar;C:\Users\Ian\Dev\PFE\pfe\lib\neo4j-jmx-1.4.M03.jar;C:\Users\Ian\Dev\PFE\pfe\lib\neo4j-kernel-1.4.M03.jar;C:\Users\Ian\Dev\PFE\pfe\lib\neo4j-lucene-index-1.4.M03.jar;C:\Users\Ian\Dev\PFE\pfe\lib\lucene-core-3.1.0.jar;C:\Users\Ian\Dev\PFE\pfe\lib\org.apache.servicemix.bundles.jline-0.9.94_1.jar;C:\Users\Ian\Dev\PFE\pfe\lib\neo4j-shell-1.4.M03.jar;C:\Users\Ian\Dev\PFE\pfe\lib\neo4j-udc-1.4.M03.jar;C:\Users\Ian\Dev\PFE\pfe\lib\server-api-1.4.M03.jar On Thu, Jun 9, 2011 at 20:32, Michael Hunger michael.hun...@neotechnology.com wrote: Can you please try to remove the lucene-core-3.0.1. It is possible that mixing two versions of lucene at the classpath messes things up. Cheers Michael Am 10.06.2011 um 02:27 schrieb Ian Bussières: Definitely on server side code. I start up the application directly in eclipse with the built in web server. C:\Users\Ian\Dev\PFE\pfe\src;C:\Users\Ian\Dev\PFE\pfe\lib;C:\Users\Ian\Dev\PFE\pfe\test-classes;C:\Users\Ian\Dev\PFE\pfe\war\WEB-INF\classes;C:\Program Files (x86)\Eclipse\plugins\com.google.gwt.eclipse.sdkbundle_2.3.0.r36v201104261928\gwt-2.3.0\gwt-user.jar;C:\Program Files (x86)\Eclipse\plugins\com.google.gwt.eclipse.sdkbundle_2.3.0.r36v201104261928\gwt-2.3.0\gwt-dev.jar;C:\Program Files (x86)\Eclipse\plugins\com.google.gwt.eclipse.sdkbundle_2.3.0.r36v201104261928\gwt-2.3.0\validation-api-1.0.0.GA-sources.jar;C:\Program Files (x86)\Eclipse\plugins\com.google.gwt.eclipse.sdkbundle_2.3.0.r36v201104261928\gwt-2.3.0\validation-api-1.0.0.GA.jar;C:\Users\Ian\Dev\PFE\pfe\lib\geronimo-jta_1.1_spec-1.1.1.jar;C:\Users\Ian\Dev\PFE\pfe\lib\neo4j-community-1.4.M03.jar;C:\Users\Ian\Dev\PFE\pfe\lib\neo4j-graph-algo-1.4.M03.jar;C:\Users\Ian\Dev\PFE\pfe\lib\neo4j-jmx-1.4.M03.jar;C:\Users\Ian\Dev\PFE\pfe\lib\neo4j-kernel-1.4.M03.jar;C:\Users\Ian\Dev\PFE\pfe\lib\neo4j-lucene-index-1.4.M03.jar;C:\Users\Ian\Dev\PFE\pfe\lib\lucene-core-3.1.0.jar;C:\Users\Ian\Dev\PFE\pfe\lib\org.apache.servicemix.bundles.jline-0.9.94_1.jar;C:\Users\Ian\Dev\PFE\pfe\lib\neo4j-shell-1.4.M03.jar;C:\Users\Ian\Dev\PFE\pfe\lib\neo4j-udc-1.4.M03.jar;C:\Users\Ian\Dev\PFE\pfe\lib\server-api-1.4.M03.jar;C:\Users\Ian\Dev\PFE\pfe\lib\lucene-core-3.0.1.jar On Thu, Jun 9, 2011 at 19:32, Michael Hunger michael.hun...@neotechnology.com wrote: But you're not trying to run Neo4j in the gwt client side code but rather on the server? How exactly do you start-up your application? The classpath you supplied is imho the build-classpath and not necessarily the run-classpath? Can you verify that? you can get the runtime classpath by using jsp to determine the pid of your java process and jinfo pid to extract the information. Cheers Michael Am 10.06.2011 um 01:20 schrieb Ian Bussières: Thanks for the quick answer, here's the config : JVM 1.6.0_24 I am compiling through GWT, which might somewhat impact the build, although I doubt it. Classpath, which answers some of your questions itself : ?xml version=1.0 encoding=UTF-8? classpath classpathentry kind=src path=src/ classpathentry kind=src output=test-classes path=test/ classpathentry kind=src path=lib/ classpathentry kind=con path=com.google.gwt.eclipse.core.GWT_CONTAINER/ classpathentry kind=con path=org.eclipse.jdt.launching.JRE_CONTAINER/ classpathentry kind=lib path=lib/geronimo-jta_1.1_spec-1.1.1.jar/ classpathentry kind=lib path=lib/neo4j-community-1.4.M03.jar/ classpathentry kind=lib path=lib/neo4j-graph-algo-1.4.M03.jar/ classpathentry kind=lib path=lib/neo4j-jmx-1.4.M03.jar/ classpathentry kind=lib path=lib/neo4j-kernel-1.4.M03.jar sourcepath=C:/Users/Ian/.m2/repository/org/neo4j/neo4j-kernel/1.4.M03/neo4j-kernel-1.4.M03-sources.jar/ classpathentry kind=lib path=lib/neo4j-lucene-index-1.4.M03.jar/ classpathentry kind=lib path=lib/neo4j-shell-1.4.M03.jar/ classpathentry kind=lib path=lib/neo4j-udc-1.4.M03.jar/ classpathentry kind=lib path=lib/org.apache.servicemix.bundles.jline-0.9.94_1.jar/ classpathentry kind=lib path=lib/server-api-1.4.M03.jar/
Re: [Neo4j] No index provider 'lucene' found
Ian, is that web-server a stock tomcat or jetty or something running an OSGi environment? So do you see something about OSGi containers being started in your console output (felix, equinox)? Could you have a look at the messages.log file in your graphdb directory if it shows anything unusual? Thanks Michael Am 10.06.2011 um 02:49 schrieb Ian Bussières: New buildpath, same problem. C:\Users\Ian\Dev\PFE\pfe\src;C:\Users\Ian\Dev\PFE\pfe\lib;C:\Users\Ian\Dev\PFE\pfe\test-classes;C:\Users\Ian\Dev\PFE\pfe\war\WEB-INF\classes;C:\Program Files (x86)\Eclipse\plugins\com.google.gwt.eclipse.sdkbundle_2.3.0.r36v201104261928\gwt-2.3.0\gwt-user.jar;C:\Program Files (x86)\Eclipse\plugins\com.google.gwt.eclipse.sdkbundle_2.3.0.r36v201104261928\gwt-2.3.0\gwt-dev.jar;C:\Program Files (x86)\Eclipse\plugins\com.google.gwt.eclipse.sdkbundle_2.3.0.r36v201104261928\gwt-2.3.0\validation-api-1.0.0.GA-sources.jar;C:\Program Files (x86)\Eclipse\plugins\com.google.gwt.eclipse.sdkbundle_2.3.0.r36v201104261928\gwt-2.3.0\validation-api-1.0.0.GA.jar;C:\Users\Ian\Dev\PFE\pfe\lib\geronimo-jta_1.1_spec-1.1.1.jar;C:\Users\Ian\Dev\PFE\pfe\lib\neo4j-community-1.4.M03.jar;C:\Users\Ian\Dev\PFE\pfe\lib\neo4j-graph-algo-1.4.M03.jar;C:\Users\Ian\Dev\PFE\pfe\lib\neo4j-jmx-1.4.M03.jar;C:\Users\Ian\Dev\PFE\pfe\lib\neo4j-kernel-1.4.M03.jar;C:\Users\Ian\Dev\PFE\pfe\lib\neo4j-lucene-index-1.4.M03.jar;C:\Users\Ian\Dev\PFE\pfe\lib\lucene-core-3.1.0.jar;C:\Users\Ian\Dev\PFE\pfe\lib\org.apache.servicemix.bundles.jline-0.9.94_1.jar;C:\Users\Ian\Dev\PFE\pfe\lib\neo4j-shell-1.4.M03.jar;C:\Users\Ian\Dev\PFE\pfe\lib\neo4j-udc-1.4.M03.jar;C:\Users\Ian\Dev\PFE\pfe\lib\server-api-1.4.M03.jar On Thu, Jun 9, 2011 at 20:32, Michael Hunger michael.hun...@neotechnology.com wrote: Can you please try to remove the lucene-core-3.0.1. It is possible that mixing two versions of lucene at the classpath messes things up. Cheers Michael Am 10.06.2011 um 02:27 schrieb Ian Bussières: Definitely on server side code. I start up the application directly in eclipse with the built in web server. C:\Users\Ian\Dev\PFE\pfe\src;C:\Users\Ian\Dev\PFE\pfe\lib;C:\Users\Ian\Dev\PFE\pfe\test-classes;C:\Users\Ian\Dev\PFE\pfe\war\WEB-INF\classes;C:\Program Files (x86)\Eclipse\plugins\com.google.gwt.eclipse.sdkbundle_2.3.0.r36v201104261928\gwt-2.3.0\gwt-user.jar;C:\Program Files (x86)\Eclipse\plugins\com.google.gwt.eclipse.sdkbundle_2.3.0.r36v201104261928\gwt-2.3.0\gwt-dev.jar;C:\Program Files (x86)\Eclipse\plugins\com.google.gwt.eclipse.sdkbundle_2.3.0.r36v201104261928\gwt-2.3.0\validation-api-1.0.0.GA-sources.jar;C:\Program Files (x86)\Eclipse\plugins\com.google.gwt.eclipse.sdkbundle_2.3.0.r36v201104261928\gwt-2.3.0\validation-api-1.0.0.GA.jar;C:\Users\Ian\Dev\PFE\pfe\lib\geronimo-jta_1.1_spec-1.1.1.jar;C:\Users\Ian\Dev\PFE\pfe\lib\neo4j-community-1.4.M03.jar;C:\Users\Ian\Dev\PFE\pfe\lib\neo4j-graph-algo-1.4.M03.jar;C:\Users\Ian\Dev\PFE\pfe\lib\neo4j-jmx-1.4.M03.jar;C:\Users\Ian\Dev\PFE\pfe\lib\neo4j-kernel-1.4.M03.jar;C:\Users\Ian\Dev\PFE\pfe\lib\neo4j-lucene-index-1.4.M03.jar;C:\Users\Ian\Dev\PFE\pfe\lib\lucene-core-3.1.0.jar;C:\Users\Ian\Dev\PFE\pfe\lib\org.apache.servicemix.bundles.jline-0.9.94_1.jar;C:\Users\Ian\Dev\PFE\pfe\lib\neo4j-shell-1.4.M03.jar;C:\Users\Ian\Dev\PFE\pfe\lib\neo4j-udc-1.4.M03.jar;C:\Users\Ian\Dev\PFE\pfe\lib\server-api-1.4.M03.jar;C:\Users\Ian\Dev\PFE\pfe\lib\lucene-core-3.0.1.jar On Thu, Jun 9, 2011 at 19:32, Michael Hunger michael.hun...@neotechnology.com wrote: But you're not trying to run Neo4j in the gwt client side code but rather on the server? How exactly do you start-up your application? The classpath you supplied is imho the build-classpath and not necessarily the run-classpath? Can you verify that? you can get the runtime classpath by using jsp to determine the pid of your java process and jinfo pid to extract the information. Cheers Michael Am 10.06.2011 um 01:20 schrieb Ian Bussières: Thanks for the quick answer, here's the config : JVM 1.6.0_24 I am compiling through GWT, which might somewhat impact the build, although I doubt it. Classpath, which answers some of your questions itself : ?xml version=1.0 encoding=UTF-8? classpath classpathentry kind=src path=src/ classpathentry kind=src output=test-classes path=test/ classpathentry kind=src path=lib/ classpathentry kind=con path=com.google.gwt.eclipse.core.GWT_CONTAINER/ classpathentry kind=con path=org.eclipse.jdt.launching.JRE_CONTAINER/ classpathentry kind=lib path=lib/geronimo-jta_1.1_spec-1.1.1.jar/ classpathentry kind=lib path=lib/neo4j-community-1.4.M03.jar/ classpathentry kind=lib path=lib/neo4j-graph-algo-1.4.M03.jar/ classpathentry kind=lib path=lib/neo4j-jmx-1.4.M03.jar/ classpathentry kind=lib path=lib/neo4j-kernel-1.4.M03.jar
Re: [Neo4j] No index provider 'lucene' found
The web server is slightly ambiguous, because it's a GWT eclipse plugin that is used to run. I do believe it to be a Tomcat server. I'm trying to find a source that confirms that. Nothing about OSGi, no... The messages.log looks ok, apart from a few non clean shutdowns but successful recoveries. Ian Bussières Étudiant en Génie des Technologies de l'Information École de technologie supérieure [514] 814-0136 On Thu, Jun 9, 2011 at 21:03, Michael Hunger michael.hun...@neotechnology.com wrote: Ian, is that web-server a stock tomcat or jetty or something running an OSGi environment? So do you see something about OSGi containers being started in your console output (felix, equinox)? Could you have a look at the messages.log file in your graphdb directory if it shows anything unusual? Thanks Michael Am 10.06.2011 um 02:49 schrieb Ian Bussières: New buildpath, same problem. C:\Users\Ian\Dev\PFE\pfe\src;C:\Users\Ian\Dev\PFE\pfe\lib;C:\Users\Ian\Dev\PFE\pfe\test-classes;C:\Users\Ian\Dev\PFE\pfe\war\WEB-INF\classes;C:\Program Files (x86)\Eclipse\plugins\com.google.gwt.eclipse.sdkbundle_2.3.0.r36v201104261928\gwt-2.3.0\gwt-user.jar;C:\Program Files (x86)\Eclipse\plugins\com.google.gwt.eclipse.sdkbundle_2.3.0.r36v201104261928\gwt-2.3.0\gwt-dev.jar;C:\Program Files (x86)\Eclipse\plugins\com.google.gwt.eclipse.sdkbundle_2.3.0.r36v201104261928\gwt-2.3.0\validation-api-1.0.0.GA-sources.jar;C:\Program Files (x86)\Eclipse\plugins\com.google.gwt.eclipse.sdkbundle_2.3.0.r36v201104261928\gwt-2.3.0\validation-api-1.0.0.GA.jar;C:\Users\Ian\Dev\PFE\pfe\lib\geronimo-jta_1.1_spec-1.1.1.jar;C:\Users\Ian\Dev\PFE\pfe\lib\neo4j-community-1.4.M03.jar;C:\Users\Ian\Dev\PFE\pfe\lib\neo4j-graph-algo-1.4.M03.jar;C:\Users\Ian\Dev\PFE\pfe\lib\neo4j-jmx-1.4.M03.jar;C:\Users\Ian\Dev\PFE\pfe\lib\neo4j-kernel-1.4.M03.jar;C:\Users\Ian\Dev\PFE\pfe\lib\neo4j-lucene-index-1.4.M03.jar;C:\Users\Ian\Dev\PFE\pfe\lib\lucene-core-3.1.0.jar;C:\Users\Ian\Dev\PFE\pfe\lib\org.apache.servicemix.bundles.jline-0.9.94_1.jar;C:\Users\Ian\Dev\PFE\pfe\lib\neo4j-shell-1.4.M03.jar;C:\Users\Ian\Dev\PFE\pfe\lib\neo4j-udc-1.4.M03.jar;C:\Users\Ian\Dev\PFE\pfe\lib\server-api-1.4.M03.jar On Thu, Jun 9, 2011 at 20:32, Michael Hunger michael.hun...@neotechnology.com wrote: Can you please try to remove the lucene-core-3.0.1. It is possible that mixing two versions of lucene at the classpath messes things up. Cheers Michael Am 10.06.2011 um 02:27 schrieb Ian Bussières: Definitely on server side code. I start up the application directly in eclipse with the built in web server. C:\Users\Ian\Dev\PFE\pfe\src;C:\Users\Ian\Dev\PFE\pfe\lib;C:\Users\Ian\Dev\PFE\pfe\test-classes;C:\Users\Ian\Dev\PFE\pfe\war\WEB-INF\classes;C:\Program Files (x86)\Eclipse\plugins\com.google.gwt.eclipse.sdkbundle_2.3.0.r36v201104261928\gwt-2.3.0\gwt-user.jar;C:\Program Files (x86)\Eclipse\plugins\com.google.gwt.eclipse.sdkbundle_2.3.0.r36v201104261928\gwt-2.3.0\gwt-dev.jar;C:\Program Files (x86)\Eclipse\plugins\com.google.gwt.eclipse.sdkbundle_2.3.0.r36v201104261928\gwt-2.3.0\validation-api-1.0.0.GA-sources.jar;C:\Program Files (x86)\Eclipse\plugins\com.google.gwt.eclipse.sdkbundle_2.3.0.r36v201104261928\gwt-2.3.0\validation-api-1.0.0.GA.jar;C:\Users\Ian\Dev\PFE\pfe\lib\geronimo-jta_1.1_spec-1.1.1.jar;C:\Users\Ian\Dev\PFE\pfe\lib\neo4j-community-1.4.M03.jar;C:\Users\Ian\Dev\PFE\pfe\lib\neo4j-graph-algo-1.4.M03.jar;C:\Users\Ian\Dev\PFE\pfe\lib\neo4j-jmx-1.4.M03.jar;C:\Users\Ian\Dev\PFE\pfe\lib\neo4j-kernel-1.4.M03.jar;C:\Users\Ian\Dev\PFE\pfe\lib\neo4j-lucene-index-1.4.M03.jar;C:\Users\Ian\Dev\PFE\pfe\lib\lucene-core-3.1.0.jar;C:\Users\Ian\Dev\PFE\pfe\lib\org.apache.servicemix.bundles.jline-0.9.94_1.jar;C:\Users\Ian\Dev\PFE\pfe\lib\neo4j-shell-1.4.M03.jar;C:\Users\Ian\Dev\PFE\pfe\lib\neo4j-udc-1.4.M03.jar;C:\Users\Ian\Dev\PFE\pfe\lib\server-api-1.4.M03.jar;C:\Users\Ian\Dev\PFE\pfe\lib\lucene-core-3.0.1.jar On Thu, Jun 9, 2011 at 19:32, Michael Hunger michael.hun...@neotechnology.com wrote: But you're not trying to run Neo4j in the gwt client side code but rather on the server? How exactly do you start-up your application? The classpath you supplied is imho the build-classpath and not necessarily the run-classpath? Can you verify that? you can get the runtime classpath by using jsp to determine the pid of your java process and jinfo pid to extract the information. Cheers Michael Am 10.06.2011 um 01:20 schrieb Ian Bussières: Thanks for the quick answer, here's the config : JVM 1.6.0_24 I am compiling through GWT, which might somewhat impact the build, although I doubt it. Classpath, which answers some of your questions itself : ?xml version=1.0 encoding=UTF-8? classpath classpathentry kind=src path=src/ classpathentry kind=src output=test-classes path=test/ classpathentry kind=src path=lib/ classpathentry kind=con path=com.google.gwt.eclipse.core.GWT_CONTAINER/
Re: [Neo4j] No index provider 'lucene' found
Ian, can you share your project somehow at least config and the startup class? What are eclipse and gwt plugin versions? M Sent from my iBrick4 Am 10.06.2011 um 03:33 schrieb Ian Bussières ian.bussie...@gmail.com: The web server is slightly ambiguous, because it's a GWT eclipse plugin that is used to run. I do believe it to be a Tomcat server. I'm trying to find a source that confirms that. Nothing about OSGi, no... The messages.log looks ok, apart from a few non clean shutdowns but successful recoveries. Ian Bussières Étudiant en Génie des Technologies de l'Information École de technologie supérieure [514] 814-0136 On Thu, Jun 9, 2011 at 21:03, Michael Hunger michael.hun...@neotechnology.com wrote: Ian, is that web-server a stock tomcat or jetty or something running an OSGi environment? So do you see something about OSGi containers being started in your console output (felix, equinox)? Could you have a look at the messages.log file in your graphdb directory if it shows anything unusual? Thanks Michael Am 10.06.2011 um 02:49 schrieb Ian Bussières: New buildpath, same problem. C:\Users\Ian\Dev\PFE\pfe\src;C:\Users\Ian\Dev\PFE\pfe\lib;C:\Users\Ian\Dev\PFE\pfe\test-classes;C:\Users\Ian\Dev\PFE\pfe\war\WEB-INF\classes;C:\Program Files (x86)\Eclipse\plugins\com.google.gwt.eclipse.sdkbundle_2.3.0.r36v201104261928\gwt-2.3.0\gwt-user.jar;C:\Program Files (x86)\Eclipse\plugins\com.google.gwt.eclipse.sdkbundle_2.3.0.r36v201104261928\gwt-2.3.0\gwt-dev.jar;C:\Program Files (x86)\Eclipse\plugins\com.google.gwt.eclipse.sdkbundle_2.3.0.r36v201104261928\gwt-2.3.0\validation-api-1.0.0.GA-sources.jar;C:\Program Files (x86)\Eclipse\plugins\com.google.gwt.eclipse.sdkbundle_2.3.0.r36v201104261928\gwt-2.3.0\validation-api-1.0.0.GA.jar;C:\Users\Ian\Dev\PFE\pfe\lib\geronimo-jta_1.1_spec-1.1.1.jar;C:\Users\Ian\Dev\PFE\pfe\lib\neo4j-community-1.4.M03.jar;C:\Users\Ian\Dev\PFE\pfe\lib\neo4j-graph-algo-1.4.M03.jar;C:\Users\Ian\Dev\PFE\pfe\lib\neo4j-jmx-1.4.M03.jar;C:\Users\Ian\Dev\PFE\pfe\lib\neo4j-kernel-1.4.M03.jar;C:\Users\Ian\Dev\PFE\pfe\lib\neo4j-lucene-index-1.4.M03.jar;C:\Users\Ian\Dev\PFE\pfe\lib\lucene-core-3.1.0.jar;C:\Users\Ian\Dev\PFE\pfe\lib\org.apache.servicemix.bundles.jline-0.9.94_1.jar;C:\Users\Ian\Dev\PFE\pfe\lib\neo4j-shell-1.4.M03.jar;C:\Users\Ian\Dev\PFE\pfe\lib\neo4j-udc-1.4.M03.jar;C:\Users\Ian\Dev\PFE\pfe\lib\server-api-1.4.M03.jar On Thu, Jun 9, 2011 at 20:32, Michael Hunger michael.hun...@neotechnology.com wrote: Can you please try to remove the lucene-core-3.0.1. It is possible that mixing two versions of lucene at the classpath messes things up. Cheers Michael Am 10.06.2011 um 02:27 schrieb Ian Bussières: Definitely on server side code. I start up the application directly in eclipse with the built in web server. C:\Users\Ian\Dev\PFE\pfe\src;C:\Users\Ian\Dev\PFE\pfe\lib;C:\Users\Ian\Dev\PFE\pfe\test-classes;C:\Users\Ian\Dev\PFE\pfe\war\WEB-INF\classes;C:\Program Files (x86)\Eclipse\plugins\com.google.gwt.eclipse.sdkbundle_2.3.0.r36v201104261928\gwt-2.3.0\gwt-user.jar;C:\Program Files (x86)\Eclipse\plugins\com.google.gwt.eclipse.sdkbundle_2.3.0.r36v201104261928\gwt-2.3.0\gwt-dev.jar;C:\Program Files (x86)\Eclipse\plugins\com.google.gwt.eclipse.sdkbundle_2.3.0.r36v201104261928\gwt-2.3.0\validation-api-1.0.0.GA-sources.jar;C:\Program Files (x86)\Eclipse\plugins\com.google.gwt.eclipse.sdkbundle_2.3.0.r36v201104261928\gwt-2.3.0\validation-api-1.0.0.GA.jar;C:\Users\Ian\Dev\PFE\pfe\lib\geronimo-jta_1.1_spec-1.1.1.jar;C:\Users\Ian\Dev\PFE\pfe\lib\neo4j-community-1.4.M03.jar;C:\Users\Ian\Dev\PFE\pfe\lib\neo4j-graph-algo-1.4.M03.jar;C:\Users\Ian\Dev\PFE\pfe\lib\neo4j-jmx-1.4.M03.jar;C:\Users\Ian\Dev\PFE\pfe\lib\neo4j-kernel-1.4.M03.jar;C:\Users\Ian\Dev\PFE\pfe\lib\neo4j-lucene-index-1.4.M03.jar;C:\Users\Ian\Dev\PFE\pfe\lib\lucene-core-3.1.0.jar;C:\Users\Ian\Dev\PFE\pfe\lib\org.apache.servicemix.bundles.jline-0.9.94_1.jar;C:\Users\Ian\Dev\PFE\pfe\lib\neo4j-shell-1.4.M03.jar;C:\Users\Ian\Dev\PFE\pfe\lib\neo4j-udc-1.4.M03.jar;C:\Users\Ian\Dev\PFE\pfe\lib\server-api-1.4.M03.jar;C:\Users\Ian\Dev\PFE\pfe\lib\lucene-core-3.0.1.jar On Thu, Jun 9, 2011 at 19:32, Michael Hunger michael.hun...@neotechnology.com wrote: But you're not trying to run Neo4j in the gwt client side code but rather on the server? How exactly do you start-up your application? The classpath you supplied is imho the build-classpath and not necessarily the run-classpath? Can you verify that? you can get the runtime classpath by using jsp to determine the pid of your java process and jinfo pid to extract the information. Cheers Michael Am 10.06.2011 um 01:20 schrieb Ian Bussières: Thanks for the quick answer, here's the config : JVM 1.6.0_24 I am compiling through GWT, which might somewhat impact the build, although I doubt it. Classpath, which answers some of your questions itself : ?xml
Re: [Neo4j] No index provider 'lucene' found - osgi
https://repo.neo4j.org/content/groups/public/org/neo4j/neo4j/1.4-SNAPSHOT/ ? Cheers, /peter neubauer GTalk: neubauer.peter Skype peter.neubauer Phone +46 704 106975 LinkedIn http://www.linkedin.com/in/neubauer Twitter http://twitter.com/peterneubauer http://www.neo4j.org - Your high performance graph database. http://startupbootcamp.org/- Öresund - Innovation happens HERE. http://www.thoughtmade.com - Scandinavia's coolest Bring-a-Thing party. On Fri, Jun 3, 2011 at 9:31 AM, Super Wang wangxu...@gmail.com wrote: I met this problem too, but I tried to change my MANIFEST.MF into this but not work: Manifest-Version: 1.0 Bundle-ManifestVersion: 2 Bundle-Name: Neo4j - Lucene Index Bundle-SymbolicName: org.neo4j.lucene-index Bundle-Version: 1.4.0.M03 Bundle-ClassPath: neo4j-lucene-index-1.4.M03.jar Bundle-Vendor: The Neo4j Graph Database Project Export-Package: org.neo4j.index.lucene;version=1.4.0.M03; uses:=org.neo4j.graphdb.index, org.neo4j.kernel, org.neo4j.graphdb, org.apache.lucene.search, org.apache.lucene.queryParser, org.neo4j.index.impl.lucene Built-By: tcagent Build-Jdk: 1.6.0_24 Tool: Bnd-0.0.357 Bundle-DocURL: http://neo4j.org/ Created-By: 1.6.0_24 (Sun Microsystems Inc.) Import-Package: javax.transaction;version=1.1, javax.transaction.xa;version=1.1, org.apache.lucene.analysis, org.apache.lucene.document, org.apache.lucene.index, org.apache.lucene.queryParser, org.apache.lucene.search, org.apache.lucene.store, org.apache.lucene.util, org.neo4j.graphdb;version=1.4, org.neo4j.graphdb.index;version=1.4, org.neo4j.helpers;version=1.4, org.neo4j.helpers.collection;version=1.4, org.neo4j.index.lucene;version=1.4, org.neo4j.kernel;version=1.4, org.neo4j.kernel.impl.batchinsert;version=1.4, org.neo4j.kernel.impl.cache;version=1.4, org.neo4j.kernel.impl.core;version=1.4, org.neo4j.kernel.impl.index;version=1.4, org.neo4j.kernel.impl.transaction;version=1.4, org.neo4j.kernel.impl.transaction.xaframework;version=1.4, org.neo4j.kernel.impl.util;version=1.4 Archiver-Version: Plexus Archiver Bundle-Description: Integration layer between Neo4j and Lucene, providing one possible implementation of the Index API. Bundle-License: http://www.gnu.org/licenses/gpl-3.0-standalone.html Bnd-LastModified: 1306490607478 On Wed, May 25, 2011 at 20:41, Marco Gerber mger...@junisphere.net wrote: Hi peter First visual inspection looks ok. I will test it in next few days. Regards, Marco -Original Message- From: user-boun...@lists.neo4j.org on behalf of Peter Neubauer Sent: Tue 24.05.2011 22:18 To: Neo4j user discussions Subject: Re: [Neo4j] No index provider 'lucene' found - osgi Marco, pushed, https://github.com/neo4j/community/commit/e8574e96315999ab04e1b484717bb2b1a3dfa9be Would be great if you could verify that things are working better with this version. Cheers, /peter neubauer GTalk: neubauer.peter Skype peter.neubauer Phone +46 704 106975 LinkedIn http://www.linkedin.com/in/neubauer Twitter http://twitter.com/peterneubauer http://www.neo4j.org - Your high performance graph database. http://startupbootcamp.org/- Öresund - Innovation happens HERE. http://www.thoughtmade.com - Scandinavia's coolest Bring-a-Thing party. On Tue, May 24, 2011 at 9:59 PM, Peter Neubauer peter.neuba...@neotechnology.com wrote: Mmh, it seems moving the LuceneIndexProvider into the public org.neo4j.index.lucene space would the problem, right? Running the tests right now with the moved class to make sure things are working ... Cheers, /peter neubauer GTalk: neubauer.peter Skype peter.neubauer Phone +46 704 106975 LinkedIn http://www.linkedin.com/in/neubauer Twitter http://twitter.com/peterneubauer http://www.neo4j.org - Your high performance graph database. http://startupbootcamp.org/- Öresund - Innovation happens HERE. http://www.thoughtmade.com - Scandinavia's coolest Bring-a-Thing party. On Tue, May 24, 2011 at 9:14 AM, Mattias Persson matt...@neotechnology.com wrote: Cool, we should make the lucene index component more OSGi friendly... this seems like an easy enough fix. Thank you 2011/5/24 Marco Gerber mger...@junisphere.net Hi Mattias I solved the problem after having a look on the neo4j source code. The code uses java services to load any extensions on runtime. One of them is defined in META-INF
Re: [Neo4j] No index provider 'lucene' found - osgi
sSuper, did you try with the latest builds, 1.4-SNAPSHOT, available from https://repo.neo4j.org/content/groups/public/org/neo4j/neo4j/1.4-SNAPSHOT/ ? Cheers, /peter neubauer GTalk: neubauer.peter Skype peter.neubauer Phone +46 704 106975 LinkedIn http://www.linkedin.com/in/neubauer Twitter http://twitter.com/peterneubauer http://www.neo4j.org - Your high performance graph database. http://startupbootcamp.org/- Öresund - Innovation happens HERE. http://www.thoughtmade.com - Scandinavia's coolest Bring-a-Thing party. On Fri, Jun 3, 2011 at 9:31 AM, Super Wang wangxu...@gmail.com wrote: I met this problem too, but I tried to change my MANIFEST.MF into this but not work: Manifest-Version: 1.0 Bundle-ManifestVersion: 2 Bundle-Name: Neo4j - Lucene Index Bundle-SymbolicName: org.neo4j.lucene-index Bundle-Version: 1.4.0.M03 Bundle-ClassPath: neo4j-lucene-index-1.4.M03.jar Bundle-Vendor: The Neo4j Graph Database Project Export-Package: org.neo4j.index.lucene;version=1.4.0.M03; uses:=org.neo4j.graphdb.index, org.neo4j.kernel, org.neo4j.graphdb, org.apache.lucene.search, org.apache.lucene.queryParser, org.neo4j.index.impl.lucene Built-By: tcagent Build-Jdk: 1.6.0_24 Tool: Bnd-0.0.357 Bundle-DocURL: http://neo4j.org/ Created-By: 1.6.0_24 (Sun Microsystems Inc.) Import-Package: javax.transaction;version=1.1, javax.transaction.xa;version=1.1, org.apache.lucene.analysis, org.apache.lucene.document, org.apache.lucene.index, org.apache.lucene.queryParser, org.apache.lucene.search, org.apache.lucene.store, org.apache.lucene.util, org.neo4j.graphdb;version=1.4, org.neo4j.graphdb.index;version=1.4, org.neo4j.helpers;version=1.4, org.neo4j.helpers.collection;version=1.4, org.neo4j.index.lucene;version=1.4, org.neo4j.kernel;version=1.4, org.neo4j.kernel.impl.batchinsert;version=1.4, org.neo4j.kernel.impl.cache;version=1.4, org.neo4j.kernel.impl.core;version=1.4, org.neo4j.kernel.impl.index;version=1.4, org.neo4j.kernel.impl.transaction;version=1.4, org.neo4j.kernel.impl.transaction.xaframework;version=1.4, org.neo4j.kernel.impl.util;version=1.4 Archiver-Version: Plexus Archiver Bundle-Description: Integration layer between Neo4j and Lucene, providing one possible implementation of the Index API. Bundle-License: http://www.gnu.org/licenses/gpl-3.0-standalone.html Bnd-LastModified: 1306490607478 On Wed, May 25, 2011 at 20:41, Marco Gerber mger...@junisphere.net wrote: Hi peter First visual inspection looks ok. I will test it in next few days. Regards, Marco -Original Message- From: user-boun...@lists.neo4j.org on behalf of Peter Neubauer Sent: Tue 24.05.2011 22:18 To: Neo4j user discussions Subject: Re: [Neo4j] No index provider 'lucene' found - osgi Marco, pushed, https://github.com/neo4j/community/commit/e8574e96315999ab04e1b484717bb2b1a3dfa9be Would be great if you could verify that things are working better with this version. Cheers, /peter neubauer GTalk: neubauer.peter Skype peter.neubauer Phone +46 704 106975 LinkedIn http://www.linkedin.com/in/neubauer Twitter http://twitter.com/peterneubauer http://www.neo4j.org - Your high performance graph database. http://startupbootcamp.org/- Öresund - Innovation happens HERE. http://www.thoughtmade.com - Scandinavia's coolest Bring-a-Thing party. On Tue, May 24, 2011 at 9:59 PM, Peter Neubauer peter.neuba...@neotechnology.com wrote: Mmh, it seems moving the LuceneIndexProvider into the public org.neo4j.index.lucene space would the problem, right? Running the tests right now with the moved class to make sure things are working ... Cheers, /peter neubauer GTalk: neubauer.peter Skype peter.neubauer Phone +46 704 106975 LinkedIn http://www.linkedin.com/in/neubauer Twitter http://twitter.com/peterneubauer http://www.neo4j.org - Your high performance graph database. http://startupbootcamp.org/- Öresund - Innovation happens HERE. http://www.thoughtmade.com - Scandinavia's coolest Bring-a-Thing party. On Tue, May 24, 2011 at 9:14 AM, Mattias Persson matt...@neotechnology.com wrote: Cool, we should make the lucene index component more OSGi friendly... this seems like an easy enough fix. Thank you 2011/5/24 Marco Gerber mger...@junisphere.net Hi Mattias I solved the problem after having a look on the neo4j source code. The code uses java services to load any extensions on runtime. One of them is defined in META-INF/services/org.neo4j.graphdb.index.IndexProvider which is 'org.neo4j.index.impl.lucene.LuceneIndexProvider' (in my opinion the default index provider). However, the package containing this class isn't getting exported with the bundle. So
Re: [Neo4j] No index provider 'lucene' found - osgi
, org.apache.lucene.index, org.apache.lucene.queryParser, org.apache.lucene.search, org.apache.lucene.store, org.apache.lucene.util, org.neo4j.graphdb;version=1.4, org.neo4j.graphdb.index;version=1.4, org.neo4j.helpers;version=1.4, org.neo4j.helpers.collection;version=1.4, org.neo4j.index.lucene;version=1.4, org.neo4j.kernel;version=1.4, org.neo4j.kernel.impl.batchinsert;version=1.4, org.neo4j.kernel.impl.cache;version=1.4, org.neo4j.kernel.impl.core;version=1.4, org.neo4j.kernel.impl.index;version=1.4, org.neo4j.kernel.impl.transaction;version=1.4, org.neo4j.kernel.impl.transaction.xaframework;version=1.4, org.neo4j.kernel.impl.util;version=1.4 Archiver-Version: Plexus Archiver Bundle-Description: Integration layer between Neo4j and Lucene, providing one possible implementation of the Index API. Bundle-License: http://www.gnu.org/licenses/gpl-3.0-standalone.html Bnd-LastModified: 1306490607478 On Wed, May 25, 2011 at 20:41, Marco Gerber mger...@junisphere.net wrote: Hi peter First visual inspection looks ok. I will test it in next few days. Regards, Marco -Original Message- From: user-boun...@lists.neo4j.org on behalf of Peter Neubauer Sent: Tue 24.05.2011 22:18 To: Neo4j user discussions Subject: Re: [Neo4j] No index provider 'lucene' found - osgi Marco, pushed, https://github.com/neo4j/community/commit/e8574e96315999ab04e1b484717bb2b1a3dfa9be Would be great if you could verify that things are working better with this version. Cheers, /peter neubauer GTalk: neubauer.peter Skype peter.neubauer Phone +46 704 106975 LinkedIn http://www.linkedin.com/in/neubauer Twitter http://twitter.com/peterneubauer http://www.neo4j.org - Your high performance graph database. http://startupbootcamp.org/ - Öresund - Innovation happens HERE. http://www.thoughtmade.com - Scandinavia's coolest Bring-a-Thing party. On Tue, May 24, 2011 at 9:59 PM, Peter Neubauer peter.neuba...@neotechnology.com wrote: Mmh, it seems moving the LuceneIndexProvider into the public org.neo4j.index.lucene space would the problem, right? Running the tests right now with the moved class to make sure things are working ... Cheers, /peter neubauer GTalk: neubauer.peter Skype peter.neubauer Phone +46 704 106975 LinkedIn http://www.linkedin.com/in/neubauer Twitter http://twitter.com/peterneubauer http://www.neo4j.org - Your high performance graph database. http://startupbootcamp.org/ - Öresund - Innovation happens HERE. http://www.thoughtmade.com - Scandinavia's coolest Bring-a-Thing party. On Tue, May 24, 2011 at 9:14 AM, Mattias Persson matt...@neotechnology.com wrote: Cool, we should make the lucene index component more OSGi friendly... this seems like an easy enough fix. Thank you 2011/5/24 Marco Gerber mger...@junisphere.net Hi Mattias I solved the problem after having a look on the neo4j source code. The code uses java services to load any extensions on runtime. One of them is defined in META-INF/services/org.neo4j.graphdb.index.IndexProvider which is 'org.neo4j.index.impl.lucene.LuceneIndexProvider' (in my opinion the default index provider). However, the package containing this class isn't getting exported with the bundle. So, the class isn't visibible at runtime and no lucene index provider is getting loaded. So after extending the MANIFEST.MF in the containing bundle called 'neo4j-lucene-index-1.3.jar [Bundle-SymbolicName: org.neo4j.lucene-index, Bundle-Version: 1.3]', the java6Loader (in package org.neo4j.helpers.Service) service loader is able to see and successfully load the lucene index provider. This is only a workaround and may be fixed in context of https://jira.springsource.org/browse/DATAGRAPH-88 . --- MANIFEST.MF.orig 2011-05-23 17:38:11.511686853 +0200 +++ MANIFEST.MF.new 2011-05-23 17:37:39.163686852 +0200 @@ -5,7 +5,7 @@ Build-Jdk: 1.6.0_20 Export-Package: org.neo4j.index.lucene;uses:=org.neo4j.graphdb.index, org.apache.lucene.search,org.neo4j.graphdb,org.apache.lucene.queryPar - ser;version=1.3 + ser;version=1.3,org.neo4j.index.impl.lucene;version=1.3 Tool: Bnd-0.0.357 Bundle-Name: Neo4j - Lucene Index Bundle-Vendor: The Neo4j Graph Database Project Regards, Marco -Original Message- From: user-boun...@lists.neo4j.org on behalf of Mattias Persson Sent: Mon 23.05.2011 14:35 To: Neo4j user discussions Subject: Re: [Neo4j] No index provider 'lucene' found - osgi Hi Marco, Could you post the contents of graphDb/messages.log file also? 2011/5/23 Marco Gerber mger...@junisphere.net Hello everybody I'm
Re: [Neo4j] No index provider 'lucene' found - osgi
Inc.) Import-Package: javax.transaction;version=1.1, javax.transaction.xa;version=1.1, org.apache.lucene.analysis, org.apache.lucene.document, org.apache.lucene.index, org.apache.lucene.queryParser, org.apache.lucene.search, org.apache.lucene.store, org.apache.lucene.util, org.neo4j.graphdb;version=1.4, org.neo4j.graphdb.index;version=1.4, org.neo4j.helpers;version=1.4, org.neo4j.helpers.collection;version=1.4, org.neo4j.index.lucene;version=1.4, org.neo4j.kernel;version=1.4, org.neo4j.kernel.impl.batchinsert;version=1.4, org.neo4j.kernel.impl.cache;version=1.4, org.neo4j.kernel.impl.core;version=1.4, org.neo4j.kernel.impl.index;version=1.4, org.neo4j.kernel.impl.transaction;version=1.4, org.neo4j.kernel.impl.transaction.xaframework;version=1.4, org.neo4j.kernel.impl.util;version=1.4 Archiver-Version: Plexus Archiver Bundle-Description: Integration layer between Neo4j and Lucene, providing one possible implementation of the Index API. Bundle-License: http://www.gnu.org/licenses/gpl-3.0-standalone.html Bnd-LastModified: 1306490607478 On Wed, May 25, 2011 at 20:41, Marco Gerber mger...@junisphere.net wrote: Hi peter First visual inspection looks ok. I will test it in next few days. Regards, Marco -Original Message- From: user-boun...@lists.neo4j.org on behalf of Peter Neubauer Sent: Tue 24.05.2011 22:18 To: Neo4j user discussions Subject: Re: [Neo4j] No index provider 'lucene' found - osgi Marco, pushed, https://github.com/neo4j/community/commit/e8574e96315999ab04e1b484717bb2b1a3dfa9be Would be great if you could verify that things are working better with this version. Cheers, /peter neubauer GTalk: neubauer.peter Skype peter.neubauer Phone +46 704 106975 LinkedIn http://www.linkedin.com/in/neubauer Twitter http://twitter.com/peterneubauer http://www.neo4j.org - Your high performance graph database. http://startupbootcamp.org/ - Öresund - Innovation happens HERE. http://www.thoughtmade.com - Scandinavia's coolest Bring-a-Thing party. On Tue, May 24, 2011 at 9:59 PM, Peter Neubauer peter.neuba...@neotechnology.com wrote: Mmh, it seems moving the LuceneIndexProvider into the public org.neo4j.index.lucene space would the problem, right? Running the tests right now with the moved class to make sure things are working ... Cheers, /peter neubauer GTalk: neubauer.peter Skype peter.neubauer Phone +46 704 106975 LinkedIn http://www.linkedin.com/in/neubauer Twitter http://twitter.com/peterneubauer http://www.neo4j.org - Your high performance graph database. http://startupbootcamp.org/ - Öresund - Innovation happens HERE. http://www.thoughtmade.com - Scandinavia's coolest Bring-a-Thing party. On Tue, May 24, 2011 at 9:14 AM, Mattias Persson matt...@neotechnology.com wrote: Cool, we should make the lucene index component more OSGi friendly... this seems like an easy enough fix. Thank you 2011/5/24 Marco Gerber mger...@junisphere.net Hi Mattias I solved the problem after having a look on the neo4j source code. The code uses java services to load any extensions on runtime. One of them is defined in META-INF/services/org.neo4j.graphdb.index.IndexProvider which is 'org.neo4j.index.impl.lucene.LuceneIndexProvider' (in my opinion the default index provider). However, the package containing this class isn't getting exported with the bundle. So, the class isn't visibible at runtime and no lucene index provider is getting loaded. So after extending the MANIFEST.MF in the containing bundle called 'neo4j-lucene-index-1.3.jar [Bundle-SymbolicName: org.neo4j.lucene-index, Bundle-Version: 1.3]', the java6Loader (in package org.neo4j.helpers.Service) service loader is able to see and successfully load the lucene index provider. This is only a workaround and may be fixed in context of https://jira.springsource.org/browse/DATAGRAPH-88 . --- MANIFEST.MF.orig 2011-05-23 17:38:11.511686853 +0200 +++ MANIFEST.MF.new 2011-05-23 17:37:39.163686852 +0200 @@ -5,7 +5,7 @@ Build-Jdk: 1.6.0_20 Export-Package: org.neo4j.index.lucene;uses:=org.neo4j.graphdb.index, org.apache.lucene.search,org.neo4j.graphdb,org.apache.lucene.queryPar - ser;version=1.3 + ser;version=1.3,org.neo4j.index.impl.lucene;version=1.3 Tool: Bnd-0.0.357 Bundle-Name: Neo4j - Lucene Index Bundle-Vendor: The Neo4j Graph Database Project Regards, Marco -Original Message- From: user-boun...@lists.neo4j.org on behalf of Mattias Persson Sent: Mon 23.05.2011 14:35 To: Neo4j user discussions Subject: Re: [Neo4j] No index provider 'lucene' found - osgi Hi Marco
Re: [Neo4j] No index provider 'lucene' found - osgi
-index Bundle-Version: 1.4.0.M03 Bundle-ClassPath: neo4j-lucene-index-1.4.M03.jar Bundle-Vendor: The Neo4j Graph Database Project Export-Package: org.neo4j.index.lucene;version=1.4.0.M03; uses:=org.neo4j.graphdb.index, org.neo4j.kernel, org.neo4j.graphdb, org.apache.lucene.search, org.apache.lucene.queryParser, org.neo4j.index.impl.lucene Built-By: tcagent Build-Jdk: 1.6.0_24 Tool: Bnd-0.0.357 Bundle-DocURL: http://neo4j.org/ Created-By: 1.6.0_24 (Sun Microsystems Inc.) Import-Package: javax.transaction;version=1.1, javax.transaction.xa;version=1.1, org.apache.lucene.analysis, org.apache.lucene.document, org.apache.lucene.index, org.apache.lucene.queryParser, org.apache.lucene.search, org.apache.lucene.store, org.apache.lucene.util, org.neo4j.graphdb;version=1.4, org.neo4j.graphdb.index;version=1.4, org.neo4j.helpers;version=1.4, org.neo4j.helpers.collection;version=1.4, org.neo4j.index.lucene;version=1.4, org.neo4j.kernel;version=1.4, org.neo4j.kernel.impl.batchinsert;version=1.4, org.neo4j.kernel.impl.cache;version=1.4, org.neo4j.kernel.impl.core;version=1.4, org.neo4j.kernel.impl.index;version=1.4, org.neo4j.kernel.impl.transaction;version=1.4, org.neo4j.kernel.impl.transaction.xaframework;version=1.4, org.neo4j.kernel.impl.util;version=1.4 Archiver-Version: Plexus Archiver Bundle-Description: Integration layer between Neo4j and Lucene, providing one possible implementation of the Index API. Bundle-License: http://www.gnu.org/licenses/gpl-3.0-standalone.html Bnd-LastModified: 1306490607478 On Wed, May 25, 2011 at 20:41, Marco Gerber mger...@junisphere.net wrote: Hi peter First visual inspection looks ok. I will test it in next few days. Regards, Marco -Original Message- From: user-boun...@lists.neo4j.org on behalf of Peter Neubauer Sent: Tue 24.05.2011 22:18 To: Neo4j user discussions Subject: Re: [Neo4j] No index provider 'lucene' found - osgi Marco, pushed, https://github.com/neo4j/community/commit/e8574e96315999ab04e1b484717bb2b1a3dfa9be Would be great if you could verify that things are working better with this version. Cheers, /peter neubauer GTalk: neubauer.peter Skype peter.neubauer Phone +46 704 106975 LinkedIn http://www.linkedin.com/in/neubauer Twitter http://twitter.com/peterneubauer http://www.neo4j.org - Your high performance graph database. http://startupbootcamp.org/ - Öresund - Innovation happens HERE. http://www.thoughtmade.com - Scandinavia's coolest Bring-a-Thing party. On Tue, May 24, 2011 at 9:59 PM, Peter Neubauer peter.neuba...@neotechnology.com wrote: Mmh, it seems moving the LuceneIndexProvider into the public org.neo4j.index.lucene space would the problem, right? Running the tests right now with the moved class to make sure things are working ... Cheers, /peter neubauer GTalk: neubauer.peter Skype peter.neubauer Phone +46 704 106975 LinkedIn http://www.linkedin.com/in/neubauer Twitter http://twitter.com/peterneubauer http://www.neo4j.org - Your high performance graph database. http://startupbootcamp.org/ - Öresund - Innovation happens HERE. http://www.thoughtmade.com - Scandinavia's coolest Bring-a-Thing party. On Tue, May 24, 2011 at 9:14 AM, Mattias Persson matt...@neotechnology.com wrote: Cool, we should make the lucene index component more OSGi friendly... this seems like an easy enough fix. Thank you 2011/5/24 Marco Gerber mger...@junisphere.net Hi Mattias I solved the problem after having a look on the neo4j source code. The code uses java services to load any extensions on runtime. One of them is defined in META-INF/services/org.neo4j.graphdb.index.IndexProvider which is 'org.neo4j.index.impl.lucene.LuceneIndexProvider' (in my opinion the default index provider). However, the package containing this class isn't getting exported with the bundle. So, the class isn't visibible at runtime and no lucene index provider is getting loaded. So after extending the MANIFEST.MF in the containing bundle called 'neo4j-lucene-index-1.3.jar [Bundle-SymbolicName: org.neo4j.lucene-index, Bundle-Version: 1.3]', the java6Loader (in package org.neo4j.helpers.Service) service loader is able to see and successfully load the lucene index provider. This is only a workaround and may be fixed in context of https://jira.springsource.org/browse/DATAGRAPH-88 . --- MANIFEST.MF.orig 2011-05-23 17:38:11.511686853 +0200 +++ MANIFEST.MF.new 2011-05-23 17:37:39.163686852 +0200 @@ -5,7 +5,7 @@ Build-Jdk: 1.6.0_20 Export-Package: org.neo4j.index.lucene;uses:=org.neo4j.graphdb.index, org.apache.lucene.search,org.neo4j.graphdb
Re: [Neo4j] No index provider 'lucene' found - osgi
-Vendor: The Neo4j Graph Database Project Export-Package: org.neo4j.index.lucene;version=1.4.0.M03; uses:=org.neo4j.graphdb.index, org.neo4j.kernel, org.neo4j.graphdb, org.apache.lucene.search, org.apache.lucene.queryParser, org.neo4j.index.impl.lucene Built-By: tcagent Build-Jdk: 1.6.0_24 Tool: Bnd-0.0.357 Bundle-DocURL: http://neo4j.org/ Created-By: 1.6.0_24 (Sun Microsystems Inc.) Import-Package: javax.transaction;version=1.1, javax.transaction.xa;version=1.1, org.apache.lucene.analysis, org.apache.lucene.document, org.apache.lucene.index, org.apache.lucene.queryParser, org.apache.lucene.search, org.apache.lucene.store, org.apache.lucene.util, org.neo4j.graphdb;version=1.4, org.neo4j.graphdb.index;version=1.4, org.neo4j.helpers;version=1.4, org.neo4j.helpers.collection;version=1.4, org.neo4j.index.lucene;version=1.4, org.neo4j.kernel;version=1.4, org.neo4j.kernel.impl.batchinsert;version=1.4, org.neo4j.kernel.impl.cache;version=1.4, org.neo4j.kernel.impl.core;version=1.4, org.neo4j.kernel.impl.index;version=1.4, org.neo4j.kernel.impl.transaction;version=1.4, org.neo4j.kernel.impl.transaction.xaframework;version=1.4, org.neo4j.kernel.impl.util;version=1.4 Archiver-Version: Plexus Archiver Bundle-Description: Integration layer between Neo4j and Lucene, providing one possible implementation of the Index API. Bundle-License: http://www.gnu.org/licenses/gpl-3.0-standalone.html Bnd-LastModified: 1306490607478 On Wed, May 25, 2011 at 20:41, Marco Gerber mger...@junisphere.net wrote: Hi peter First visual inspection looks ok. I will test it in next few days. Regards, Marco -Original Message- From: user-boun...@lists.neo4j.org on behalf of Peter Neubauer Sent: Tue 24.05.2011 22:18 To: Neo4j user discussions Subject: Re: [Neo4j] No index provider 'lucene' found - osgi Marco, pushed, https://github.com/neo4j/community/commit/e8574e96315999ab04e1b484717bb2b1a3dfa9be Would be great if you could verify that things are working better with this version. Cheers, /peter neubauer GTalk: neubauer.peter Skype peter.neubauer Phone +46 704 106975 LinkedIn http://www.linkedin.com/in/neubauer Twitter http://twitter.com/peterneubauer http://www.neo4j.org - Your high performance graph database. http://startupbootcamp.org/- Öresund - Innovation happens HERE. http://www.thoughtmade.com - Scandinavia's coolest Bring-a-Thing party. On Tue, May 24, 2011 at 9:59 PM, Peter Neubauer peter.neuba...@neotechnology.com wrote: Mmh, it seems moving the LuceneIndexProvider into the public org.neo4j.index.lucene space would the problem, right? Running the tests right now with the moved class to make sure things are working ... Cheers, /peter neubauer GTalk: neubauer.peter Skype peter.neubauer Phone +46 704 106975 LinkedIn http://www.linkedin.com/in/neubauer Twitter http://twitter.com/peterneubauer http://www.neo4j.org - Your high performance graph database. http://startupbootcamp.org/- Öresund - Innovation happens HERE. http://www.thoughtmade.com - Scandinavia's coolest Bring-a-Thing party. On Tue, May 24, 2011 at 9:14 AM, Mattias Persson matt...@neotechnology.com wrote: Cool, we should make the lucene index component more OSGi friendly... this seems like an easy enough fix. Thank you 2011/5/24 Marco Gerber mger...@junisphere.net Hi Mattias I solved the problem after having a look on the neo4j source code. The code uses java services to load any extensions on runtime. One of them is defined in META-INF/services/org.neo4j.graphdb.index.IndexProvider which is 'org.neo4j.index.impl.lucene.LuceneIndexProvider' (in my opinion the default index provider). However, the package containing this class isn't getting exported with the bundle. So, the class isn't visibible at runtime and no lucene index provider is getting loaded. So after extending the MANIFEST.MF in the containing bundle called 'neo4j-lucene-index-1.3.jar [Bundle-SymbolicName: org.neo4j.lucene-index, Bundle-Version: 1.3]', the java6Loader (in package org.neo4j.helpers.Service) service loader is able to see and successfully load the lucene index provider. This is only a workaround and may be fixed in context of https://jira.springsource.org/browse/DATAGRAPH-88 . --- MANIFEST.MF.orig2011-05-23 17:38:11.511686853 +0200 +++ MANIFEST.MF.new 2011-05-23 17:37:39.163686852 +0200 @@ -5,7 +5,7 @@ Build-Jdk: 1.6.0_20 Export-Package: org.neo4j.index.lucene;uses
Re: [Neo4j] No index provider 'lucene' found - osgi
-a-Thing party. On Fri, Jun 3, 2011 at 9:31 AM, Super Wang wangxu...@gmail.com wrote: I met this problem too, but I tried to change my MANIFEST.MF into this but not work: Manifest-Version: 1.0 Bundle-ManifestVersion: 2 Bundle-Name: Neo4j - Lucene Index Bundle-SymbolicName: org.neo4j.lucene-index Bundle-Version: 1.4.0.M03 Bundle-ClassPath: neo4j-lucene-index-1.4.M03.jar Bundle-Vendor: The Neo4j Graph Database Project Export-Package: org.neo4j.index.lucene;version=1.4.0.M03; uses:=org.neo4j.graphdb.index, org.neo4j.kernel, org.neo4j.graphdb, org.apache.lucene.search, org.apache.lucene.queryParser, org.neo4j.index.impl.lucene Built-By: tcagent Build-Jdk: 1.6.0_24 Tool: Bnd-0.0.357 Bundle-DocURL: http://neo4j.org/ Created-By: 1.6.0_24 (Sun Microsystems Inc.) Import-Package: javax.transaction;version=1.1, javax.transaction.xa;version=1.1, org.apache.lucene.analysis, org.apache.lucene.document, org.apache.lucene.index, org.apache.lucene.queryParser, org.apache.lucene.search, org.apache.lucene.store, org.apache.lucene.util, org.neo4j.graphdb;version=1.4, org.neo4j.graphdb.index;version=1.4, org.neo4j.helpers;version=1.4, org.neo4j.helpers.collection;version=1.4, org.neo4j.index.lucene;version=1.4, org.neo4j.kernel;version=1.4, org.neo4j.kernel.impl.batchinsert;version=1.4, org.neo4j.kernel.impl.cache;version=1.4, org.neo4j.kernel.impl.core;version=1.4, org.neo4j.kernel.impl.index;version=1.4, org.neo4j.kernel.impl.transaction;version=1.4, org.neo4j.kernel.impl.transaction.xaframework;version=1.4, org.neo4j.kernel.impl.util;version=1.4 Archiver-Version: Plexus Archiver Bundle-Description: Integration layer between Neo4j and Lucene, providing one possible implementation of the Index API. Bundle-License: http://www.gnu.org/licenses/gpl-3.0-standalone.html Bnd-LastModified: 1306490607478 On Wed, May 25, 2011 at 20:41, Marco Gerber mger...@junisphere.net wrote: Hi peter First visual inspection looks ok. I will test it in next few days. Regards, Marco -Original Message- From: user-boun...@lists.neo4j.org on behalf of Peter Neubauer Sent: Tue 24.05.2011 22:18 To: Neo4j user discussions Subject: Re: [Neo4j] No index provider 'lucene' found - osgi Marco, pushed, https://github.com/neo4j/community/commit/e8574e96315999ab04e1b484717bb2b1a3dfa9be Would be great if you could verify that things are working better with this version. Cheers, /peter neubauer GTalk: neubauer.peter Skype peter.neubauer Phone +46 704 106975 LinkedIn http://www.linkedin.com/in/neubauer Twitter http://twitter.com/peterneubauer http://www.neo4j.org - Your high performance graph database. http://startupbootcamp.org/ - Öresund - Innovation happens HERE. http://www.thoughtmade.com - Scandinavia's coolest Bring-a-Thing party. On Tue, May 24, 2011 at 9:59 PM, Peter Neubauer peter.neuba...@neotechnology.com wrote: Mmh, it seems moving the LuceneIndexProvider into the public org.neo4j.index.lucene space would the problem, right? Running the tests right now with the moved class to make sure things are working ... Cheers, /peter neubauer GTalk: neubauer.peter Skype peter.neubauer Phone +46 704 106975 LinkedIn http://www.linkedin.com/in/neubauer Twitter http://twitter.com/peterneubauer http://www.neo4j.org - Your high performance graph database. http://startupbootcamp.org/ - Öresund - Innovation happens HERE. http://www.thoughtmade.com - Scandinavia's coolest Bring-a-Thing party. On Tue, May 24, 2011 at 9:14 AM, Mattias Persson matt...@neotechnology.com wrote: Cool, we should make the lucene index component more OSGi friendly... this seems like an easy enough fix. Thank you 2011/5/24 Marco Gerber mger...@junisphere.net Hi Mattias I solved the problem after having a look on the neo4j source code. The code uses java services to load any extensions on runtime. One of them is defined in META-INF/services/org.neo4j.graphdb.index.IndexProvider which is 'org.neo4j.index.impl.lucene.LuceneIndexProvider' (in my opinion the default index provider). However, the package containing this class isn't getting exported with the bundle. So, the class isn't visibible at runtime and no lucene index provider is getting loaded. So after extending the MANIFEST.MF in the containing bundle called 'neo4j-lucene-index-1.3.jar [Bundle-SymbolicName: org.neo4j.lucene-index, Bundle-Version: 1.3]', the java6Loader (in package org.neo4j.helpers.Service) service loader is able to see and successfully load
Re: [Neo4j] No index provider 'lucene' found - osgi
Hi peter First visual inspection looks ok. I will test it in next few days. Regards, Marco -Original Message- From: user-boun...@lists.neo4j.org on behalf of Peter Neubauer Sent: Tue 24.05.2011 22:18 To: Neo4j user discussions Subject: Re: [Neo4j] No index provider 'lucene' found - osgi Marco, pushed, https://github.com/neo4j/community/commit/e8574e96315999ab04e1b484717bb2b1a3dfa9be Would be great if you could verify that things are working better with this version. Cheers, /peter neubauer GTalk: neubauer.peter Skype peter.neubauer Phone +46 704 106975 LinkedIn http://www.linkedin.com/in/neubauer Twitter http://twitter.com/peterneubauer http://www.neo4j.org - Your high performance graph database. http://startupbootcamp.org/- Öresund - Innovation happens HERE. http://www.thoughtmade.com - Scandinavia's coolest Bring-a-Thing party. On Tue, May 24, 2011 at 9:59 PM, Peter Neubauer peter.neuba...@neotechnology.com wrote: Mmh, it seems moving the LuceneIndexProvider into the public org.neo4j.index.lucene space would the problem, right? Running the tests right now with the moved class to make sure things are working ... Cheers, /peter neubauer GTalk: neubauer.peter Skype peter.neubauer Phone +46 704 106975 LinkedIn http://www.linkedin.com/in/neubauer Twitter http://twitter.com/peterneubauer http://www.neo4j.org - Your high performance graph database. http://startupbootcamp.org/- Öresund - Innovation happens HERE. http://www.thoughtmade.com - Scandinavia's coolest Bring-a-Thing party. On Tue, May 24, 2011 at 9:14 AM, Mattias Persson matt...@neotechnology.com wrote: Cool, we should make the lucene index component more OSGi friendly... this seems like an easy enough fix. Thank you 2011/5/24 Marco Gerber mger...@junisphere.net Hi Mattias I solved the problem after having a look on the neo4j source code. The code uses java services to load any extensions on runtime. One of them is defined in META-INF/services/org.neo4j.graphdb.index.IndexProvider which is 'org.neo4j.index.impl.lucene.LuceneIndexProvider' (in my opinion the default index provider). However, the package containing this class isn't getting exported with the bundle. So, the class isn't visibible at runtime and no lucene index provider is getting loaded. So after extending the MANIFEST.MF in the containing bundle called 'neo4j-lucene-index-1.3.jar [Bundle-SymbolicName: org.neo4j.lucene-index, Bundle-Version: 1.3]', the java6Loader (in package org.neo4j.helpers.Service) service loader is able to see and successfully load the lucene index provider. This is only a workaround and may be fixed in context of https://jira.springsource.org/browse/DATAGRAPH-88 . --- MANIFEST.MF.orig2011-05-23 17:38:11.511686853 +0200 +++ MANIFEST.MF.new 2011-05-23 17:37:39.163686852 +0200 @@ -5,7 +5,7 @@ Build-Jdk: 1.6.0_20 Export-Package: org.neo4j.index.lucene;uses:=org.neo4j.graphdb.index, org.apache.lucene.search,org.neo4j.graphdb,org.apache.lucene.queryPar - ser;version=1.3 + ser;version=1.3,org.neo4j.index.impl.lucene;version=1.3 Tool: Bnd-0.0.357 Bundle-Name: Neo4j - Lucene Index Bundle-Vendor: The Neo4j Graph Database Project Regards, Marco -Original Message- From: user-boun...@lists.neo4j.org on behalf of Mattias Persson Sent: Mon 23.05.2011 14:35 To: Neo4j user discussions Subject: Re: [Neo4j] No index provider 'lucene' found - osgi Hi Marco, Could you post the contents of graphDb/messages.log file also? 2011/5/23 Marco Gerber mger...@junisphere.net Hello everybody I'm currently trying to make my spring based osgi application run with neo4j 1.3 . However, when I call 'org.neo4j.kernel.IndexManagerImpl.forNodes' I got the following error (see [1] for a complete stack trace): Invocation of init method failed; nested exception is java.lang.IllegalArgumentException: No index provider 'lucene' found My setup is as follows: loaded and running bundles: - org.apache.servicemix.bundles.lucene - org.neo4j.kernel - org.apache.servicemix.bundles.lucene Do I have to load any lucene classes into the classpath on startup? Thanks a lot and let me know if I have to provide more information Marco Gerber [1] Caused by: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'myRepository': Invocation of init method failed; nested exception is java.lang.IllegalArgumentException: No index provider 'lucene' found at org.springframework.beans.factory.annotation.InitDestroyAnnotationBeanPostProcessor.postProcessBeforeInitialization(InitDestroyAnnotationBeanPostProcessor.java:133
Re: [Neo4j] No index provider 'lucene' found - osgi
Hi Mattias I solved the problem after having a look on the neo4j source code. The code uses java services to load any extensions on runtime. One of them is defined in META-INF/services/org.neo4j.graphdb.index.IndexProvider which is 'org.neo4j.index.impl.lucene.LuceneIndexProvider' (in my opinion the default index provider). However, the package containing this class isn't getting exported with the bundle. So, the class isn't visibible at runtime and no lucene index provider is getting loaded. So after extending the MANIFEST.MF in the containing bundle called 'neo4j-lucene-index-1.3.jar [Bundle-SymbolicName: org.neo4j.lucene-index, Bundle-Version: 1.3]', the java6Loader (in package org.neo4j.helpers.Service) service loader is able to see and successfully load the lucene index provider. This is only a workaround and may be fixed in context of https://jira.springsource.org/browse/DATAGRAPH-88 . --- MANIFEST.MF.orig2011-05-23 17:38:11.511686853 +0200 +++ MANIFEST.MF.new 2011-05-23 17:37:39.163686852 +0200 @@ -5,7 +5,7 @@ Build-Jdk: 1.6.0_20 Export-Package: org.neo4j.index.lucene;uses:=org.neo4j.graphdb.index, org.apache.lucene.search,org.neo4j.graphdb,org.apache.lucene.queryPar - ser;version=1.3 + ser;version=1.3,org.neo4j.index.impl.lucene;version=1.3 Tool: Bnd-0.0.357 Bundle-Name: Neo4j - Lucene Index Bundle-Vendor: The Neo4j Graph Database Project Regards, Marco -Original Message- From: user-boun...@lists.neo4j.org on behalf of Mattias Persson Sent: Mon 23.05.2011 14:35 To: Neo4j user discussions Subject: Re: [Neo4j] No index provider 'lucene' found - osgi Hi Marco, Could you post the contents of graphDb/messages.log file also? 2011/5/23 Marco Gerber mger...@junisphere.net Hello everybody I'm currently trying to make my spring based osgi application run with neo4j 1.3 . However, when I call 'org.neo4j.kernel.IndexManagerImpl.forNodes' I got the following error (see [1] for a complete stack trace): Invocation of init method failed; nested exception is java.lang.IllegalArgumentException: No index provider 'lucene' found My setup is as follows: loaded and running bundles: - org.apache.servicemix.bundles.lucene - org.neo4j.kernel - org.apache.servicemix.bundles.lucene Do I have to load any lucene classes into the classpath on startup? Thanks a lot and let me know if I have to provide more information Marco Gerber [1] Caused by: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'myRepository': Invocation of init method failed; nested exception is java.lang.IllegalArgumentException: No index provider 'lucene' found at org.springframework.beans.factory.annotation.InitDestroyAnnotationBeanPostProcessor.postProcessBeforeInitialization(InitDestroyAnnotationBeanPostProcessor.java:133) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.applyBeanPostProcessorsBeforeInitialization(AbstractAutowireCapableBeanFactory.java:394) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1413) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:519) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:456) at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:291) at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:222) at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:288) at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:190) at org.springframework.beans.factory.support.DefaultListableBeanFactory.findAutowireCandidates(DefaultListableBeanFactory.java:844) at org.springframework.beans.factory.support.DefaultListableBeanFactory.doResolveDependency(DefaultListableBeanFactory.java:786) at org.springframework.beans.factory.support.DefaultListableBeanFactory.resolveDependency(DefaultListableBeanFactory.java:703) at org.springframework.beans.factory.support.ConstructorResolver.resolveAutowiredArgument(ConstructorResolver.java:795) at org.springframework.beans.factory.support.ConstructorResolver.createArgumentArray(ConstructorResolver.java:723) ... 20 common frames omitted Caused by: java.lang.IllegalArgumentException: No index provider 'lucene' found at org.neo4j.kernel.IndexManagerImpl.getIndexProvider(IndexManagerImpl.java:71) at org.neo4j.kernel.IndexManagerImpl.findIndexConfig(IndexManagerImpl.java:104) at org.neo4j.kernel.IndexManagerImpl.getOrCreateIndexConfig(IndexManagerImpl.java:173
Re: [Neo4j] No index provider 'lucene' found - osgi
Cool, we should make the lucene index component more OSGi friendly... this seems like an easy enough fix. Thank you 2011/5/24 Marco Gerber mger...@junisphere.net Hi Mattias I solved the problem after having a look on the neo4j source code. The code uses java services to load any extensions on runtime. One of them is defined in META-INF/services/org.neo4j.graphdb.index.IndexProvider which is 'org.neo4j.index.impl.lucene.LuceneIndexProvider' (in my opinion the default index provider). However, the package containing this class isn't getting exported with the bundle. So, the class isn't visibible at runtime and no lucene index provider is getting loaded. So after extending the MANIFEST.MF in the containing bundle called 'neo4j-lucene-index-1.3.jar [Bundle-SymbolicName: org.neo4j.lucene-index, Bundle-Version: 1.3]', the java6Loader (in package org.neo4j.helpers.Service) service loader is able to see and successfully load the lucene index provider. This is only a workaround and may be fixed in context of https://jira.springsource.org/browse/DATAGRAPH-88 . --- MANIFEST.MF.orig2011-05-23 17:38:11.511686853 +0200 +++ MANIFEST.MF.new 2011-05-23 17:37:39.163686852 +0200 @@ -5,7 +5,7 @@ Build-Jdk: 1.6.0_20 Export-Package: org.neo4j.index.lucene;uses:=org.neo4j.graphdb.index, org.apache.lucene.search,org.neo4j.graphdb,org.apache.lucene.queryPar - ser;version=1.3 + ser;version=1.3,org.neo4j.index.impl.lucene;version=1.3 Tool: Bnd-0.0.357 Bundle-Name: Neo4j - Lucene Index Bundle-Vendor: The Neo4j Graph Database Project Regards, Marco -Original Message- From: user-boun...@lists.neo4j.org on behalf of Mattias Persson Sent: Mon 23.05.2011 14:35 To: Neo4j user discussions Subject: Re: [Neo4j] No index provider 'lucene' found - osgi Hi Marco, Could you post the contents of graphDb/messages.log file also? 2011/5/23 Marco Gerber mger...@junisphere.net Hello everybody I'm currently trying to make my spring based osgi application run with neo4j 1.3 . However, when I call 'org.neo4j.kernel.IndexManagerImpl.forNodes' I got the following error (see [1] for a complete stack trace): Invocation of init method failed; nested exception is java.lang.IllegalArgumentException: No index provider 'lucene' found My setup is as follows: loaded and running bundles: - org.apache.servicemix.bundles.lucene - org.neo4j.kernel - org.apache.servicemix.bundles.lucene Do I have to load any lucene classes into the classpath on startup? Thanks a lot and let me know if I have to provide more information Marco Gerber [1] Caused by: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'myRepository': Invocation of init method failed; nested exception is java.lang.IllegalArgumentException: No index provider 'lucene' found at org.springframework.beans.factory.annotation.InitDestroyAnnotationBeanPostProcessor.postProcessBeforeInitialization(InitDestroyAnnotationBeanPostProcessor.java:133) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.applyBeanPostProcessorsBeforeInitialization(AbstractAutowireCapableBeanFactory.java:394) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1413) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:519) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:456) at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:291) at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:222) at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:288) at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:190) at org.springframework.beans.factory.support.DefaultListableBeanFactory.findAutowireCandidates(DefaultListableBeanFactory.java:844) at org.springframework.beans.factory.support.DefaultListableBeanFactory.doResolveDependency(DefaultListableBeanFactory.java:786) at org.springframework.beans.factory.support.DefaultListableBeanFactory.resolveDependency(DefaultListableBeanFactory.java:703) at org.springframework.beans.factory.support.ConstructorResolver.resolveAutowiredArgument(ConstructorResolver.java:795) at org.springframework.beans.factory.support.ConstructorResolver.createArgumentArray(ConstructorResolver.java:723) ... 20 common frames omitted Caused by: java.lang.IllegalArgumentException: No index provider 'lucene' found
Re: [Neo4j] No index provider 'lucene' found - osgi
Mmh, it seems moving the LuceneIndexProvider into the public org.neo4j.index.lucene space would the problem, right? Running the tests right now with the moved class to make sure things are working ... Cheers, /peter neubauer GTalk: neubauer.peter Skype peter.neubauer Phone +46 704 106975 LinkedIn http://www.linkedin.com/in/neubauer Twitter http://twitter.com/peterneubauer http://www.neo4j.org - Your high performance graph database. http://startupbootcamp.org/- Öresund - Innovation happens HERE. http://www.thoughtmade.com - Scandinavia's coolest Bring-a-Thing party. On Tue, May 24, 2011 at 9:14 AM, Mattias Persson matt...@neotechnology.comwrote: Cool, we should make the lucene index component more OSGi friendly... this seems like an easy enough fix. Thank you 2011/5/24 Marco Gerber mger...@junisphere.net Hi Mattias I solved the problem after having a look on the neo4j source code. The code uses java services to load any extensions on runtime. One of them is defined in META-INF/services/org.neo4j.graphdb.index.IndexProvider which is 'org.neo4j.index.impl.lucene.LuceneIndexProvider' (in my opinion the default index provider). However, the package containing this class isn't getting exported with the bundle. So, the class isn't visibible at runtime and no lucene index provider is getting loaded. So after extending the MANIFEST.MF in the containing bundle called 'neo4j-lucene-index-1.3.jar [Bundle-SymbolicName: org.neo4j.lucene-index, Bundle-Version: 1.3]', the java6Loader (in package org.neo4j.helpers.Service) service loader is able to see and successfully load the lucene index provider. This is only a workaround and may be fixed in context of https://jira.springsource.org/browse/DATAGRAPH-88 . --- MANIFEST.MF.orig2011-05-23 17:38:11.511686853 +0200 +++ MANIFEST.MF.new 2011-05-23 17:37:39.163686852 +0200 @@ -5,7 +5,7 @@ Build-Jdk: 1.6.0_20 Export-Package: org.neo4j.index.lucene;uses:=org.neo4j.graphdb.index, org.apache.lucene.search,org.neo4j.graphdb,org.apache.lucene.queryPar - ser;version=1.3 + ser;version=1.3,org.neo4j.index.impl.lucene;version=1.3 Tool: Bnd-0.0.357 Bundle-Name: Neo4j - Lucene Index Bundle-Vendor: The Neo4j Graph Database Project Regards, Marco -Original Message- From: user-boun...@lists.neo4j.org on behalf of Mattias Persson Sent: Mon 23.05.2011 14:35 To: Neo4j user discussions Subject: Re: [Neo4j] No index provider 'lucene' found - osgi Hi Marco, Could you post the contents of graphDb/messages.log file also? 2011/5/23 Marco Gerber mger...@junisphere.net Hello everybody I'm currently trying to make my spring based osgi application run with neo4j 1.3 . However, when I call 'org.neo4j.kernel.IndexManagerImpl.forNodes' I got the following error (see [1] for a complete stack trace): Invocation of init method failed; nested exception is java.lang.IllegalArgumentException: No index provider 'lucene' found My setup is as follows: loaded and running bundles: - org.apache.servicemix.bundles.lucene - org.neo4j.kernel - org.apache.servicemix.bundles.lucene Do I have to load any lucene classes into the classpath on startup? Thanks a lot and let me know if I have to provide more information Marco Gerber [1] Caused by: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'myRepository': Invocation of init method failed; nested exception is java.lang.IllegalArgumentException: No index provider 'lucene' found at org.springframework.beans.factory.annotation.InitDestroyAnnotationBeanPostProcessor.postProcessBeforeInitialization(InitDestroyAnnotationBeanPostProcessor.java:133) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.applyBeanPostProcessorsBeforeInitialization(AbstractAutowireCapableBeanFactory.java:394) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1413) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:519) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:456) at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:291) at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:222) at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:288) at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java
Re: [Neo4j] No index provider 'lucene' found - osgi
Marco, pushed, https://github.com/neo4j/community/commit/e8574e96315999ab04e1b484717bb2b1a3dfa9be Would be great if you could verify that things are working better with this version. Cheers, /peter neubauer GTalk: neubauer.peter Skype peter.neubauer Phone +46 704 106975 LinkedIn http://www.linkedin.com/in/neubauer Twitter http://twitter.com/peterneubauer http://www.neo4j.org - Your high performance graph database. http://startupbootcamp.org/- Öresund - Innovation happens HERE. http://www.thoughtmade.com - Scandinavia's coolest Bring-a-Thing party. On Tue, May 24, 2011 at 9:59 PM, Peter Neubauer peter.neuba...@neotechnology.com wrote: Mmh, it seems moving the LuceneIndexProvider into the public org.neo4j.index.lucene space would the problem, right? Running the tests right now with the moved class to make sure things are working ... Cheers, /peter neubauer GTalk: neubauer.peter Skype peter.neubauer Phone +46 704 106975 LinkedIn http://www.linkedin.com/in/neubauer Twitter http://twitter.com/peterneubauer http://www.neo4j.org - Your high performance graph database. http://startupbootcamp.org/- Öresund - Innovation happens HERE. http://www.thoughtmade.com - Scandinavia's coolest Bring-a-Thing party. On Tue, May 24, 2011 at 9:14 AM, Mattias Persson matt...@neotechnology.com wrote: Cool, we should make the lucene index component more OSGi friendly... this seems like an easy enough fix. Thank you 2011/5/24 Marco Gerber mger...@junisphere.net Hi Mattias I solved the problem after having a look on the neo4j source code. The code uses java services to load any extensions on runtime. One of them is defined in META-INF/services/org.neo4j.graphdb.index.IndexProvider which is 'org.neo4j.index.impl.lucene.LuceneIndexProvider' (in my opinion the default index provider). However, the package containing this class isn't getting exported with the bundle. So, the class isn't visibible at runtime and no lucene index provider is getting loaded. So after extending the MANIFEST.MF in the containing bundle called 'neo4j-lucene-index-1.3.jar [Bundle-SymbolicName: org.neo4j.lucene-index, Bundle-Version: 1.3]', the java6Loader (in package org.neo4j.helpers.Service) service loader is able to see and successfully load the lucene index provider. This is only a workaround and may be fixed in context of https://jira.springsource.org/browse/DATAGRAPH-88 . --- MANIFEST.MF.orig2011-05-23 17:38:11.511686853 +0200 +++ MANIFEST.MF.new 2011-05-23 17:37:39.163686852 +0200 @@ -5,7 +5,7 @@ Build-Jdk: 1.6.0_20 Export-Package: org.neo4j.index.lucene;uses:=org.neo4j.graphdb.index, org.apache.lucene.search,org.neo4j.graphdb,org.apache.lucene.queryPar - ser;version=1.3 + ser;version=1.3,org.neo4j.index.impl.lucene;version=1.3 Tool: Bnd-0.0.357 Bundle-Name: Neo4j - Lucene Index Bundle-Vendor: The Neo4j Graph Database Project Regards, Marco -Original Message- From: user-boun...@lists.neo4j.org on behalf of Mattias Persson Sent: Mon 23.05.2011 14:35 To: Neo4j user discussions Subject: Re: [Neo4j] No index provider 'lucene' found - osgi Hi Marco, Could you post the contents of graphDb/messages.log file also? 2011/5/23 Marco Gerber mger...@junisphere.net Hello everybody I'm currently trying to make my spring based osgi application run with neo4j 1.3 . However, when I call 'org.neo4j.kernel.IndexManagerImpl.forNodes' I got the following error (see [1] for a complete stack trace): Invocation of init method failed; nested exception is java.lang.IllegalArgumentException: No index provider 'lucene' found My setup is as follows: loaded and running bundles: - org.apache.servicemix.bundles.lucene - org.neo4j.kernel - org.apache.servicemix.bundles.lucene Do I have to load any lucene classes into the classpath on startup? Thanks a lot and let me know if I have to provide more information Marco Gerber [1] Caused by: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'myRepository': Invocation of init method failed; nested exception is java.lang.IllegalArgumentException: No index provider 'lucene' found at org.springframework.beans.factory.annotation.InitDestroyAnnotationBeanPostProcessor.postProcessBeforeInitialization(InitDestroyAnnotationBeanPostProcessor.java:133) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.applyBeanPostProcessorsBeforeInitialization(AbstractAutowireCapableBeanFactory.java:394) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1413
[Neo4j] No index provider 'lucene' found - osgi
Hello everybody I'm currently trying to make my spring based osgi application run with neo4j 1.3 . However, when I call 'org.neo4j.kernel.IndexManagerImpl.forNodes' I got the following error (see [1] for a complete stack trace): Invocation of init method failed; nested exception is java.lang.IllegalArgumentException: No index provider 'lucene' found My setup is as follows: loaded and running bundles: - org.apache.servicemix.bundles.lucene - org.neo4j.kernel - org.apache.servicemix.bundles.lucene Do I have to load any lucene classes into the classpath on startup? Thanks a lot and let me know if I have to provide more information Marco Gerber [1] Caused by: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'myRepository': Invocation of init method failed; nested exception is java.lang.IllegalArgumentException: No index provider 'lucene' found at org.springframework.beans.factory.annotation.InitDestroyAnnotationBeanPostProcessor.postProcessBeforeInitialization(InitDestroyAnnotationBeanPostProcessor.java:133) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.applyBeanPostProcessorsBeforeInitialization(AbstractAutowireCapableBeanFactory.java:394) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1413) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:519) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:456) at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:291) at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:222) at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:288) at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:190) at org.springframework.beans.factory.support.DefaultListableBeanFactory.findAutowireCandidates(DefaultListableBeanFactory.java:844) at org.springframework.beans.factory.support.DefaultListableBeanFactory.doResolveDependency(DefaultListableBeanFactory.java:786) at org.springframework.beans.factory.support.DefaultListableBeanFactory.resolveDependency(DefaultListableBeanFactory.java:703) at org.springframework.beans.factory.support.ConstructorResolver.resolveAutowiredArgument(ConstructorResolver.java:795) at org.springframework.beans.factory.support.ConstructorResolver.createArgumentArray(ConstructorResolver.java:723) ... 20 common frames omitted Caused by: java.lang.IllegalArgumentException: No index provider 'lucene' found at org.neo4j.kernel.IndexManagerImpl.getIndexProvider(IndexManagerImpl.java:71) at org.neo4j.kernel.IndexManagerImpl.findIndexConfig(IndexManagerImpl.java:104) at org.neo4j.kernel.IndexManagerImpl.getOrCreateIndexConfig(IndexManagerImpl.java:173) at org.neo4j.kernel.IndexManagerImpl.forNodes(IndexManagerImpl.java:244) at net.junisphere.eranger.helloNeo4j.config.internal.repository.BaseRepository.init(BaseRepository.java:31) at net.junisphere.eranger.helloNeo4j.config.internal.repository.ServiceRepository.init(ServiceRepository.java:35) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at org.springframework.beans.factory.annotation.InitDestroyAnnotationBeanPostProcessor$LifecycleElement.invoke(InitDestroyAnnotationBeanPostProcessor.java:340) at org.springframework.beans.factory.annotation.InitDestroyAnnotationBeanPostProcessor$LifecycleMetadata.invokeInitMethods(InitDestroyAnnotationBeanPostProcessor.java:293) at org.springframework.beans.factory.annotation.InitDestroyAnnotationBeanPostProcessor.postProcessBeforeInitialization(InitDestroyAnnotationBeanPostProcessor.java:130) ... 33 common frames omitted ___ Neo4j mailing list User@lists.neo4j.org https://lists.neo4j.org/mailman/listinfo/user
Re: [Neo4j] No index provider 'lucene' found - osgi
Hi Marco, Could you post the contents of graphDb/messages.log file also? 2011/5/23 Marco Gerber mger...@junisphere.net Hello everybody I'm currently trying to make my spring based osgi application run with neo4j 1.3 . However, when I call 'org.neo4j.kernel.IndexManagerImpl.forNodes' I got the following error (see [1] for a complete stack trace): Invocation of init method failed; nested exception is java.lang.IllegalArgumentException: No index provider 'lucene' found My setup is as follows: loaded and running bundles: - org.apache.servicemix.bundles.lucene - org.neo4j.kernel - org.apache.servicemix.bundles.lucene Do I have to load any lucene classes into the classpath on startup? Thanks a lot and let me know if I have to provide more information Marco Gerber [1] Caused by: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'myRepository': Invocation of init method failed; nested exception is java.lang.IllegalArgumentException: No index provider 'lucene' found at org.springframework.beans.factory.annotation.InitDestroyAnnotationBeanPostProcessor.postProcessBeforeInitialization(InitDestroyAnnotationBeanPostProcessor.java:133) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.applyBeanPostProcessorsBeforeInitialization(AbstractAutowireCapableBeanFactory.java:394) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1413) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:519) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:456) at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:291) at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:222) at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:288) at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:190) at org.springframework.beans.factory.support.DefaultListableBeanFactory.findAutowireCandidates(DefaultListableBeanFactory.java:844) at org.springframework.beans.factory.support.DefaultListableBeanFactory.doResolveDependency(DefaultListableBeanFactory.java:786) at org.springframework.beans.factory.support.DefaultListableBeanFactory.resolveDependency(DefaultListableBeanFactory.java:703) at org.springframework.beans.factory.support.ConstructorResolver.resolveAutowiredArgument(ConstructorResolver.java:795) at org.springframework.beans.factory.support.ConstructorResolver.createArgumentArray(ConstructorResolver.java:723) ... 20 common frames omitted Caused by: java.lang.IllegalArgumentException: No index provider 'lucene' found at org.neo4j.kernel.IndexManagerImpl.getIndexProvider(IndexManagerImpl.java:71) at org.neo4j.kernel.IndexManagerImpl.findIndexConfig(IndexManagerImpl.java:104) at org.neo4j.kernel.IndexManagerImpl.getOrCreateIndexConfig(IndexManagerImpl.java:173) at org.neo4j.kernel.IndexManagerImpl.forNodes(IndexManagerImpl.java:244) at net.junisphere.eranger.helloNeo4j.config.internal.repository.BaseRepository.init(BaseRepository.java:31) at net.junisphere.eranger.helloNeo4j.config.internal.repository.ServiceRepository.init(ServiceRepository.java:35) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at org.springframework.beans.factory.annotation.InitDestroyAnnotationBeanPostProcessor$LifecycleElement.invoke(InitDestroyAnnotationBeanPostProcessor.java:340) at org.springframework.beans.factory.annotation.InitDestroyAnnotationBeanPostProcessor$LifecycleMetadata.invokeInitMethods(InitDestroyAnnotationBeanPostProcessor.java:293) at org.springframework.beans.factory.annotation.InitDestroyAnnotationBeanPostProcessor.postProcessBeforeInitialization(InitDestroyAnnotationBeanPostProcessor.java:130) ... 33 common frames omitted ___ Neo4j mailing list User@lists.neo4j.org https://lists.neo4j.org/mailman/listinfo/user -- Mattias Persson, [matt...@neotechnology.com] Hacker, Neo Technology www.neotechnology.com ___ Neo4j mailing list User@lists.neo4j.org https://lists.neo4j.org/mailman/listinfo/user
Re: [Neo4j] No index provider 'lucene' found - osgi
Message- From: user-boun...@lists.neo4j.org on behalf of Mattias Persson Sent: Mon 23.05.2011 14:35 To: Neo4j user discussions Subject: Re: [Neo4j] No index provider 'lucene' found - osgi Hi Marco, Could you post the contents of graphDb/messages.log file also? 2011/5/23 Marco Gerber mger...@junisphere.net Hello everybody I'm currently trying to make my spring based osgi application run with neo4j 1.3 . However, when I call 'org.neo4j.kernel.IndexManagerImpl.forNodes' I got the following error (see [1] for a complete stack trace): Invocation of init method failed; nested exception is java.lang.IllegalArgumentException: No index provider 'lucene' found My setup is as follows: loaded and running bundles: - org.apache.servicemix.bundles.lucene - org.neo4j.kernel - org.apache.servicemix.bundles.lucene Do I have to load any lucene classes into the classpath on startup? Thanks a lot and let me know if I have to provide more information Marco Gerber [1] Caused by: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'myRepository': Invocation of init method failed; nested exception is java.lang.IllegalArgumentException: No index provider 'lucene' found at org.springframework.beans.factory.annotation.InitDestroyAnnotationBeanPostProcessor.postProcessBeforeInitialization(InitDestroyAnnotationBeanPostProcessor.java:133) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.applyBeanPostProcessorsBeforeInitialization(AbstractAutowireCapableBeanFactory.java:394) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1413) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:519) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:456) at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:291) at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:222) at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:288) at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:190) at org.springframework.beans.factory.support.DefaultListableBeanFactory.findAutowireCandidates(DefaultListableBeanFactory.java:844) at org.springframework.beans.factory.support.DefaultListableBeanFactory.doResolveDependency(DefaultListableBeanFactory.java:786) at org.springframework.beans.factory.support.DefaultListableBeanFactory.resolveDependency(DefaultListableBeanFactory.java:703) at org.springframework.beans.factory.support.ConstructorResolver.resolveAutowiredArgument(ConstructorResolver.java:795) at org.springframework.beans.factory.support.ConstructorResolver.createArgumentArray(ConstructorResolver.java:723) ... 20 common frames omitted Caused by: java.lang.IllegalArgumentException: No index provider 'lucene' found at org.neo4j.kernel.IndexManagerImpl.getIndexProvider(IndexManagerImpl.java:71) at org.neo4j.kernel.IndexManagerImpl.findIndexConfig(IndexManagerImpl.java:104) at org.neo4j.kernel.IndexManagerImpl.getOrCreateIndexConfig(IndexManagerImpl.java:173) at org.neo4j.kernel.IndexManagerImpl.forNodes(IndexManagerImpl.java:244) at net.junisphere.eranger.helloNeo4j.config.internal.repository.BaseRepository.init(BaseRepository.java:31) at net.junisphere.eranger.helloNeo4j.config.internal.repository.ServiceRepository.init(ServiceRepository.java:35) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at org.springframework.beans.factory.annotation.InitDestroyAnnotationBeanPostProcessor$LifecycleElement.invoke(InitDestroyAnnotationBeanPostProcessor.java:340) at org.springframework.beans.factory.annotation.InitDestroyAnnotationBeanPostProcessor$LifecycleMetadata.invokeInitMethods(InitDestroyAnnotationBeanPostProcessor.java:293) at org.springframework.beans.factory.annotation.InitDestroyAnnotationBeanPostProcessor.postProcessBeforeInitialization(InitDestroyAnnotationBeanPostProcessor.java:130) ... 33 common frames omitted ___ Neo4j mailing list User@lists.neo4j.org https://lists.neo4j.org/mailman/listinfo/user -- Mattias Persson, [matt...@neotechnology.com] Hacker, Neo Technology
Re: [Neo4j] No index provider 'lucene' found with Tomcat/Trinidad
Hi, I just moved my code to the new index API but I cannot deploy my server. I've already tried with glassfishv3 and jetty and neither of them works. The exception I get is: java.lang.Exception: java.lang.IllegalStateException: ContainerBase.addChild: start: org.apache.catalina.LifecycleException: java.lang.IllegalArgumentException: No index provider 'lucene' found I've already tried directly adding the apache bundle lucene jar to with no luck. any ideas of what could be happening? Cheers, Pablo On Thu, Feb 17, 2011 at 11:31 AM, Peter Neubauer peter.neuba...@neotechnology.com wrote: Mmmh, the main issue here I suspect is that the Java Service Loader is not finding the META-INF/services files. It might be that it is not triggered when you add files dynamically to the classloader. That is, the JARs are only scanned at startup time for any non-class files. Could that be an issue? Cheers, /peter neubauer GTalk: neubauer.peter Skype peter.neubauer Phone +46 704 106975 LinkedIn http://www.linkedin.com/in/neubauer Twitter http://twitter.com/peterneubauer http://www.neo4j.org - Your high performance graph database. http://www.thoughtmade.com - Scandinavia's coolest Bring-a-Thing party. On Thu, Feb 17, 2011 at 11:28 AM, Andreas Ronge andreas.ro...@gmail.com wrote: Hi I have found a work around - I added all the jar files needed in the classpath before I start Tomcat/Trinidad (put them in the lib folder) This is awkward since I don't know which jar files should be added (it's in a configuration file). Also, I have not managed to get the online backup working in Tomcat even when I add all the jar files to the classpath. It works when I run it standalone by just adding the online jar file at runtime, but not from Tomcat because of some classloading issue ? So, why can't I load the JAR files dynamically like this in Tomcat ? (which is the same as in ruby: require 'myjar.jar') URL url = getURL(jarFile); getRuntime().getJRubyClassLoader().addURL(url); Is there an alternative of loading the jar files dynamically at runtime ? (from http://thinkincode.net/2011/02/09/jruby-class-loader-by-example.html) /Andreas On Thu, Feb 17, 2011 at 9:33 AM, Anders Nawroth and...@neotechnology.com wrote: Hi! This is included as a dependency: org.apache.servicemix.bundles:org.apache.servicemix.bundles.lucene:jar:3.0.1_2:compile That's an OSGi-friendly packaging of Lucene. /anders On 02/17/2011 09:11 AM, Michael Hunger wrote: Sorry, didn't see your mail (had Andreas' still open for replying). It worked, thanks very much. But funnily the lucene jar is not recognized as dependency by maven for the server (mvn dependency:copy-dependencies). I assume it is added by the server-build project? Cheers Michael Am 17.02.2011 um 08:49 schrieb Mattias Persson: It's probably a classpath issue as you say. You added the neo4j-lucene-index-XXX.jar file manually to the classpath, but also make sure the lucene-core-3.0.1.jar is on the classpath. You can also look in the neo4j-db-directory/messages.log and see which extensions are loaded tigether with the graph database and which of those failed to load a.s.o. 2011/2/16 Andreas Rongeandreas.ro...@gmail.com Hi When I run my Rails application using Tomcat/Trinidad I get No index provider 'lucene' found, see stack trace below I think I have seen a similar problem on the gremlin email list. I guess it's because of a class loading issue, or maybe the META-INF/services files, or because in JRuby the neo4j jar files are loaded at runtime. I need some hints where I should start looking. I have tried to manually add the neo4j-lucene-index-1.3.M02.jar file to the classpath without any luck (jruby -J-cp /home/... -S trinidad) The problem occurs in neo4j.rb version= 1.0.0.beta.17 when the new lucene index framework was introduced. It works in WEBrick/rails s at org.jruby.rack.RackServlet.service(RackServlet.java:56) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:306) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210) at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:240) at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:161) at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:164) at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:100) at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:118) at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:380) at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:243)
Re: [Neo4j] No index provider 'lucene' found with Tomcat/Trinidad
2011/2/22 Pablo Pareja ppar...@era7.com Hi, I just moved my code to the new index API but I cannot deploy my server. I've already tried with glassfishv3 and jetty and neither of them works. The exception I get is: java.lang.Exception: java.lang.IllegalStateException: ContainerBase.addChild: start: org.apache.catalina.LifecycleException: java.lang.IllegalArgumentException: No index provider 'lucene' found I've already tried directly adding the apache bundle lucene jar to with no luck. any ideas of what could be happening? Could be java service API not loading stuff as it should probably (index providers are loaded that way). You say you tried adding the apache bundle lucene jar directly... did you also add neo4j-lucene-index jar file? The lucene index provider for neo4j consists of Lucene (lucene-core or lucene bundle) and a wrapper to make it participate nicely in Neo4j transactions/lifecycle (neo4j-lucene-index). Cheers, Pablo On Thu, Feb 17, 2011 at 11:31 AM, Peter Neubauer peter.neuba...@neotechnology.com wrote: Mmmh, the main issue here I suspect is that the Java Service Loader is not finding the META-INF/services files. It might be that it is not triggered when you add files dynamically to the classloader. That is, the JARs are only scanned at startup time for any non-class files. Could that be an issue? Cheers, /peter neubauer GTalk: neubauer.peter Skype peter.neubauer Phone +46 704 106975 LinkedIn http://www.linkedin.com/in/neubauer Twitter http://twitter.com/peterneubauer http://www.neo4j.org - Your high performance graph database. http://www.thoughtmade.com - Scandinavia's coolest Bring-a-Thing party. On Thu, Feb 17, 2011 at 11:28 AM, Andreas Ronge andreas.ro...@gmail.com wrote: Hi I have found a work around - I added all the jar files needed in the classpath before I start Tomcat/Trinidad (put them in the lib folder) This is awkward since I don't know which jar files should be added (it's in a configuration file). Also, I have not managed to get the online backup working in Tomcat even when I add all the jar files to the classpath. It works when I run it standalone by just adding the online jar file at runtime, but not from Tomcat because of some classloading issue ? So, why can't I load the JAR files dynamically like this in Tomcat ? (which is the same as in ruby: require 'myjar.jar') URL url = getURL(jarFile); getRuntime().getJRubyClassLoader().addURL(url); Is there an alternative of loading the jar files dynamically at runtime ? (from http://thinkincode.net/2011/02/09/jruby-class-loader-by-example.html) /Andreas On Thu, Feb 17, 2011 at 9:33 AM, Anders Nawroth and...@neotechnology.com wrote: Hi! This is included as a dependency: org.apache.servicemix.bundles:org.apache.servicemix.bundles.lucene:jar:3.0.1_2:compile That's an OSGi-friendly packaging of Lucene. /anders On 02/17/2011 09:11 AM, Michael Hunger wrote: Sorry, didn't see your mail (had Andreas' still open for replying). It worked, thanks very much. But funnily the lucene jar is not recognized as dependency by maven for the server (mvn dependency:copy-dependencies). I assume it is added by the server-build project? Cheers Michael Am 17.02.2011 um 08:49 schrieb Mattias Persson: It's probably a classpath issue as you say. You added the neo4j-lucene-index-XXX.jar file manually to the classpath, but also make sure the lucene-core-3.0.1.jar is on the classpath. You can also look in the neo4j-db-directory/messages.log and see which extensions are loaded tigether with the graph database and which of those failed to load a.s.o. 2011/2/16 Andreas Rongeandreas.ro...@gmail.com Hi When I run my Rails application using Tomcat/Trinidad I get No index provider 'lucene' found, see stack trace below I think I have seen a similar problem on the gremlin email list. I guess it's because of a class loading issue, or maybe the META-INF/services files, or because in JRuby the neo4j jar files are loaded at runtime. I need some hints where I should start looking. I have tried to manually add the neo4j-lucene-index-1.3.M02.jar file to the classpath without any luck (jruby -J-cp /home/... -S trinidad) The problem occurs in neo4j.rb version= 1.0.0.beta.17 when the new lucene index framework was introduced. It works in WEBrick/rails s at org.jruby.rack.RackServlet.service(RackServlet.java:56) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:306) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210) at
Re: [Neo4j] No index provider 'lucene' found with Tomcat/Trinidad
Hi Mattias, I'll try that tomorrow and I'll let you know, Pablo On Tue, Feb 22, 2011 at 9:00 PM, Mattias Persson matt...@neotechnology.comwrote: 2011/2/22 Pablo Pareja ppar...@era7.com Hi, I just moved my code to the new index API but I cannot deploy my server. I've already tried with glassfishv3 and jetty and neither of them works. The exception I get is: java.lang.Exception: java.lang.IllegalStateException: ContainerBase.addChild: start: org.apache.catalina.LifecycleException: java.lang.IllegalArgumentException: No index provider 'lucene' found I've already tried directly adding the apache bundle lucene jar to with no luck. any ideas of what could be happening? Could be java service API not loading stuff as it should probably (index providers are loaded that way). You say you tried adding the apache bundle lucene jar directly... did you also add neo4j-lucene-index jar file? The lucene index provider for neo4j consists of Lucene (lucene-core or lucene bundle) and a wrapper to make it participate nicely in Neo4j transactions/lifecycle (neo4j-lucene-index). Cheers, Pablo On Thu, Feb 17, 2011 at 11:31 AM, Peter Neubauer peter.neuba...@neotechnology.com wrote: Mmmh, the main issue here I suspect is that the Java Service Loader is not finding the META-INF/services files. It might be that it is not triggered when you add files dynamically to the classloader. That is, the JARs are only scanned at startup time for any non-class files. Could that be an issue? Cheers, /peter neubauer GTalk: neubauer.peter Skype peter.neubauer Phone +46 704 106975 LinkedIn http://www.linkedin.com/in/neubauer Twitter http://twitter.com/peterneubauer http://www.neo4j.org - Your high performance graph database. http://www.thoughtmade.com - Scandinavia's coolest Bring-a-Thing party. On Thu, Feb 17, 2011 at 11:28 AM, Andreas Ronge andreas.ro...@gmail.com wrote: Hi I have found a work around - I added all the jar files needed in the classpath before I start Tomcat/Trinidad (put them in the lib folder) This is awkward since I don't know which jar files should be added (it's in a configuration file). Also, I have not managed to get the online backup working in Tomcat even when I add all the jar files to the classpath. It works when I run it standalone by just adding the online jar file at runtime, but not from Tomcat because of some classloading issue ? So, why can't I load the JAR files dynamically like this in Tomcat ? (which is the same as in ruby: require 'myjar.jar') URL url = getURL(jarFile); getRuntime().getJRubyClassLoader().addURL(url); Is there an alternative of loading the jar files dynamically at runtime ? (from http://thinkincode.net/2011/02/09/jruby-class-loader-by-example.html) /Andreas On Thu, Feb 17, 2011 at 9:33 AM, Anders Nawroth and...@neotechnology.com wrote: Hi! This is included as a dependency: org.apache.servicemix.bundles:org.apache.servicemix.bundles.lucene:jar:3.0.1_2:compile That's an OSGi-friendly packaging of Lucene. /anders On 02/17/2011 09:11 AM, Michael Hunger wrote: Sorry, didn't see your mail (had Andreas' still open for replying). It worked, thanks very much. But funnily the lucene jar is not recognized as dependency by maven for the server (mvn dependency:copy-dependencies). I assume it is added by the server-build project? Cheers Michael Am 17.02.2011 um 08:49 schrieb Mattias Persson: It's probably a classpath issue as you say. You added the neo4j-lucene-index-XXX.jar file manually to the classpath, but also make sure the lucene-core-3.0.1.jar is on the classpath. You can also look in the neo4j-db-directory/messages.log and see which extensions are loaded tigether with the graph database and which of those failed to load a.s.o. 2011/2/16 Andreas Rongeandreas.ro...@gmail.com Hi When I run my Rails application using Tomcat/Trinidad I get No index provider 'lucene' found, see stack trace below I think I have seen a similar problem on the gremlin email list. I guess it's because of a class loading issue, or maybe the META-INF/services files, or because in JRuby the neo4j jar files are loaded at runtime. I need some hints where I should start looking. I have tried to manually add the neo4j-lucene-index-1.3.M02.jar file to the classpath without any luck (jruby -J-cp /home/... -S trinidad) The problem occurs in neo4j.rb version= 1.0.0.beta.17 when the new lucene index framework was introduced. It works in WEBrick/rails s at org.jruby.rack.RackServlet.service(RackServlet.java:56) at
Re: [Neo4j] No index provider 'lucene' found with Tomcat/Trinidad
I run into the same issue when starting my test-server from the commandline. Checked that the neo4j-lucene-index-1.3.M02.jar was there with the correct index provider in META-INF/service/org.neo4j.kernel.KernelExtension Any ideas Mattias? Thanks Michael Am 16.02.2011 um 23:15 schrieb Andreas Ronge: Hi When I run my Rails application using Tomcat/Trinidad I get No index provider 'lucene' found, see stack trace below I think I have seen a similar problem on the gremlin email list. I guess it's because of a class loading issue, or maybe the META-INF/services files, or because in JRuby the neo4j jar files are loaded at runtime. I need some hints where I should start looking. I have tried to manually add the neo4j-lucene-index-1.3.M02.jar file to the classpath without any luck (jruby -J-cp /home/... -S trinidad) The problem occurs in neo4j.rb version = 1.0.0.beta.17 when the new lucene index framework was introduced. It works in WEBrick/rails s at org.jruby.rack.RackServlet.service(RackServlet.java:56) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:306) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210) at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:240) at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:161) at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:164) at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:100) at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:118) at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:380) at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:243) at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:188) at org.apache.tomcat.util.net.JIoEndpoint$SocketProcessor.run(JIoEndpoint.java:288) at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908) at java.lang.Thread.run(Thread.java:662) Caused by: org.jruby.exceptions.RaiseException: Native Exception: 'class java.lang.IllegalArgumentException'; Message: No index provider 'lucene' found; StackTrace: java.lang.IllegalArgumentException: No index provider 'lucene' found at org.neo4j.kernel.IndexManagerImpl.getIndexProvider(IndexManagerImpl.java:71) at org.neo4j.kernel.IndexManagerImpl.findIndexConfig(IndexManagerImpl.java:111) at org.neo4j.kernel.IndexManagerImpl.getOrCreateIndexConfig(IndexManagerImpl.java:173) at org.neo4j.kernel.IndexManagerImpl.forNodes(IndexManagerImpl.java:250) Caused by: java.lang.IllegalArgumentException: No index provider 'lucene' found at org.neo4j.kernel.IndexManagerImpl.getIndexProvider(IndexManagerImpl.java:71) at org.neo4j.kernel.IndexManagerImpl.findIndexConfig(IndexManagerImpl.java:111) at org.neo4j.kernel.IndexManagerImpl.getOrCreateIndexConfig(IndexManagerImpl.java:173) at org.neo4j.kernel.IndexManagerImpl.forNodes(IndexManagerImpl.java:250) /Andreas -- You received this message because you are subscribed to the Google Groups neo4jrb group. To post to this group, send email to neo4...@googlegroups.com. To unsubscribe from this group, send email to neo4jrb+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/neo4jrb?hl=en. ___ Neo4j mailing list User@lists.neo4j.org https://lists.neo4j.org/mailman/listinfo/user
Re: [Neo4j] No index provider 'lucene' found with Tomcat/Trinidad
Sorry, didn't see your mail (had Andreas' still open for replying). It worked, thanks very much. But funnily the lucene jar is not recognized as dependency by maven for the server (mvn dependency:copy-dependencies). I assume it is added by the server-build project? Cheers Michael Am 17.02.2011 um 08:49 schrieb Mattias Persson: It's probably a classpath issue as you say. You added the neo4j-lucene-index-XXX.jar file manually to the classpath, but also make sure the lucene-core-3.0.1.jar is on the classpath. You can also look in the neo4j-db-directory/messages.log and see which extensions are loaded tigether with the graph database and which of those failed to load a.s.o. 2011/2/16 Andreas Ronge andreas.ro...@gmail.com Hi When I run my Rails application using Tomcat/Trinidad I get No index provider 'lucene' found, see stack trace below I think I have seen a similar problem on the gremlin email list. I guess it's because of a class loading issue, or maybe the META-INF/services files, or because in JRuby the neo4j jar files are loaded at runtime. I need some hints where I should start looking. I have tried to manually add the neo4j-lucene-index-1.3.M02.jar file to the classpath without any luck (jruby -J-cp /home/... -S trinidad) The problem occurs in neo4j.rb version = 1.0.0.beta.17 when the new lucene index framework was introduced. It works in WEBrick/rails s at org.jruby.rack.RackServlet.service(RackServlet.java:56) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:306) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210) at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:240) at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:161) at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:164) at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:100) at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:118) at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:380) at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:243) at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:188) at org.apache.tomcat.util.net.JIoEndpoint$SocketProcessor.run(JIoEndpoint.java:288) at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908) at java.lang.Thread.run(Thread.java:662) Caused by: org.jruby.exceptions.RaiseException: Native Exception: 'class java.lang.IllegalArgumentException'; Message: No index provider 'lucene' found; StackTrace: java.lang.IllegalArgumentException: No index provider 'lucene' found at org.neo4j.kernel.IndexManagerImpl.getIndexProvider(IndexManagerImpl.java:71) at org.neo4j.kernel.IndexManagerImpl.findIndexConfig(IndexManagerImpl.java:111) at org.neo4j.kernel.IndexManagerImpl.getOrCreateIndexConfig(IndexManagerImpl.java:173) at org.neo4j.kernel.IndexManagerImpl.forNodes(IndexManagerImpl.java:250) Caused by: java.lang.IllegalArgumentException: No index provider 'lucene' found at org.neo4j.kernel.IndexManagerImpl.getIndexProvider(IndexManagerImpl.java:71) at org.neo4j.kernel.IndexManagerImpl.findIndexConfig(IndexManagerImpl.java:111) at org.neo4j.kernel.IndexManagerImpl.getOrCreateIndexConfig(IndexManagerImpl.java:173) at org.neo4j.kernel.IndexManagerImpl.forNodes(IndexManagerImpl.java:250) /Andreas ___ Neo4j mailing list User@lists.neo4j.org https://lists.neo4j.org/mailman/listinfo/user -- Mattias Persson, [matt...@neotechnology.com] Hacker, Neo Technology www.neotechnology.com ___ Neo4j mailing list User@lists.neo4j.org https://lists.neo4j.org/mailman/listinfo/user ___ Neo4j mailing list User@lists.neo4j.org https://lists.neo4j.org/mailman/listinfo/user
Re: [Neo4j] No index provider 'lucene' found with Tomcat/Trinidad
Hi! This is included as a dependency: org.apache.servicemix.bundles:org.apache.servicemix.bundles.lucene:jar:3.0.1_2:compile That's an OSGi-friendly packaging of Lucene. /anders On 02/17/2011 09:11 AM, Michael Hunger wrote: Sorry, didn't see your mail (had Andreas' still open for replying). It worked, thanks very much. But funnily the lucene jar is not recognized as dependency by maven for the server (mvn dependency:copy-dependencies). I assume it is added by the server-build project? Cheers Michael Am 17.02.2011 um 08:49 schrieb Mattias Persson: It's probably a classpath issue as you say. You added the neo4j-lucene-index-XXX.jar file manually to the classpath, but also make sure the lucene-core-3.0.1.jar is on the classpath. You can also look in the neo4j-db-directory/messages.log and see which extensions are loaded tigether with the graph database and which of those failed to load a.s.o. 2011/2/16 Andreas Rongeandreas.ro...@gmail.com Hi When I run my Rails application using Tomcat/Trinidad I get No index provider 'lucene' found, see stack trace below I think I have seen a similar problem on the gremlin email list. I guess it's because of a class loading issue, or maybe the META-INF/services files, or because in JRuby the neo4j jar files are loaded at runtime. I need some hints where I should start looking. I have tried to manually add the neo4j-lucene-index-1.3.M02.jar file to the classpath without any luck (jruby -J-cp /home/... -S trinidad) The problem occurs in neo4j.rb version= 1.0.0.beta.17 when the new lucene index framework was introduced. It works in WEBrick/rails s at org.jruby.rack.RackServlet.service(RackServlet.java:56) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:306) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210) at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:240) at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:161) at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:164) at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:100) at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:118) at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:380) at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:243) at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:188) at org.apache.tomcat.util.net.JIoEndpoint$SocketProcessor.run(JIoEndpoint.java:288) at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908) at java.lang.Thread.run(Thread.java:662) Caused by: org.jruby.exceptions.RaiseException: Native Exception: 'class java.lang.IllegalArgumentException'; Message: No index provider 'lucene' found; StackTrace: java.lang.IllegalArgumentException: No index provider 'lucene' found at org.neo4j.kernel.IndexManagerImpl.getIndexProvider(IndexManagerImpl.java:71) at org.neo4j.kernel.IndexManagerImpl.findIndexConfig(IndexManagerImpl.java:111) at org.neo4j.kernel.IndexManagerImpl.getOrCreateIndexConfig(IndexManagerImpl.java:173) at org.neo4j.kernel.IndexManagerImpl.forNodes(IndexManagerImpl.java:250) Caused by: java.lang.IllegalArgumentException: No index provider 'lucene' found at org.neo4j.kernel.IndexManagerImpl.getIndexProvider(IndexManagerImpl.java:71) at org.neo4j.kernel.IndexManagerImpl.findIndexConfig(IndexManagerImpl.java:111) at org.neo4j.kernel.IndexManagerImpl.getOrCreateIndexConfig(IndexManagerImpl.java:173) at org.neo4j.kernel.IndexManagerImpl.forNodes(IndexManagerImpl.java:250) /Andreas ___ Neo4j mailing list User@lists.neo4j.org https://lists.neo4j.org/mailman/listinfo/user -- Mattias Persson, [matt...@neotechnology.com] Hacker, Neo Technology www.neotechnology.com ___ Neo4j mailing list User@lists.neo4j.org https://lists.neo4j.org/mailman/listinfo/user ___ Neo4j mailing list User@lists.neo4j.org https://lists.neo4j.org/mailman/listinfo/user ___ Neo4j mailing list User@lists.neo4j.org https://lists.neo4j.org/mailman/listinfo/user
Re: [Neo4j] No index provider 'lucene' found with Tomcat/Trinidad
Mmmh, the main issue here I suspect is that the Java Service Loader is not finding the META-INF/services files. It might be that it is not triggered when you add files dynamically to the classloader. That is, the JARs are only scanned at startup time for any non-class files. Could that be an issue? Cheers, /peter neubauer GTalk: neubauer.peter Skype peter.neubauer Phone +46 704 106975 LinkedIn http://www.linkedin.com/in/neubauer Twitter http://twitter.com/peterneubauer http://www.neo4j.org - Your high performance graph database. http://www.thoughtmade.com - Scandinavia's coolest Bring-a-Thing party. On Thu, Feb 17, 2011 at 11:28 AM, Andreas Ronge andreas.ro...@gmail.com wrote: Hi I have found a work around - I added all the jar files needed in the classpath before I start Tomcat/Trinidad (put them in the lib folder) This is awkward since I don't know which jar files should be added (it's in a configuration file). Also, I have not managed to get the online backup working in Tomcat even when I add all the jar files to the classpath. It works when I run it standalone by just adding the online jar file at runtime, but not from Tomcat because of some classloading issue ? So, why can't I load the JAR files dynamically like this in Tomcat ? (which is the same as in ruby: require 'myjar.jar') URL url = getURL(jarFile); getRuntime().getJRubyClassLoader().addURL(url); Is there an alternative of loading the jar files dynamically at runtime ? (from http://thinkincode.net/2011/02/09/jruby-class-loader-by-example.html) /Andreas On Thu, Feb 17, 2011 at 9:33 AM, Anders Nawroth and...@neotechnology.com wrote: Hi! This is included as a dependency: org.apache.servicemix.bundles:org.apache.servicemix.bundles.lucene:jar:3.0.1_2:compile That's an OSGi-friendly packaging of Lucene. /anders On 02/17/2011 09:11 AM, Michael Hunger wrote: Sorry, didn't see your mail (had Andreas' still open for replying). It worked, thanks very much. But funnily the lucene jar is not recognized as dependency by maven for the server (mvn dependency:copy-dependencies). I assume it is added by the server-build project? Cheers Michael Am 17.02.2011 um 08:49 schrieb Mattias Persson: It's probably a classpath issue as you say. You added the neo4j-lucene-index-XXX.jar file manually to the classpath, but also make sure the lucene-core-3.0.1.jar is on the classpath. You can also look in the neo4j-db-directory/messages.log and see which extensions are loaded tigether with the graph database and which of those failed to load a.s.o. 2011/2/16 Andreas Rongeandreas.ro...@gmail.com Hi When I run my Rails application using Tomcat/Trinidad I get No index provider 'lucene' found, see stack trace below I think I have seen a similar problem on the gremlin email list. I guess it's because of a class loading issue, or maybe the META-INF/services files, or because in JRuby the neo4j jar files are loaded at runtime. I need some hints where I should start looking. I have tried to manually add the neo4j-lucene-index-1.3.M02.jar file to the classpath without any luck (jruby -J-cp /home/... -S trinidad) The problem occurs in neo4j.rb version= 1.0.0.beta.17 when the new lucene index framework was introduced. It works in WEBrick/rails s at org.jruby.rack.RackServlet.service(RackServlet.java:56) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:306) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210) at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:240) at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:161) at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:164) at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:100) at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:118) at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:380) at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:243) at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:188) at org.apache.tomcat.util.net.JIoEndpoint$SocketProcessor.run(JIoEndpoint.java:288) at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908) at java.lang.Thread.run(Thread.java:662) Caused by: org.jruby.exceptions.RaiseException: Native Exception: 'class java.lang.IllegalArgumentException'; Message: No index provider 'lucene' found; StackTrace: java.lang.IllegalArgumentException: No index provider 'lucene' found at
[Neo4j] No index provider 'lucene' found with Tomcat/Trinidad
Hi When I run my Rails application using Tomcat/Trinidad I get No index provider 'lucene' found, see stack trace below I think I have seen a similar problem on the gremlin email list. I guess it's because of a class loading issue, or maybe the META-INF/services files, or because in JRuby the neo4j jar files are loaded at runtime. I need some hints where I should start looking. I have tried to manually add the neo4j-lucene-index-1.3.M02.jar file to the classpath without any luck (jruby -J-cp /home/... -S trinidad) The problem occurs in neo4j.rb version = 1.0.0.beta.17 when the new lucene index framework was introduced. It works in WEBrick/rails s at org.jruby.rack.RackServlet.service(RackServlet.java:56) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:306) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210) at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:240) at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:161) at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:164) at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:100) at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:118) at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:380) at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:243) at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:188) at org.apache.tomcat.util.net.JIoEndpoint$SocketProcessor.run(JIoEndpoint.java:288) at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908) at java.lang.Thread.run(Thread.java:662) Caused by: org.jruby.exceptions.RaiseException: Native Exception: 'class java.lang.IllegalArgumentException'; Message: No index provider 'lucene' found; StackTrace: java.lang.IllegalArgumentException: No index provider 'lucene' found at org.neo4j.kernel.IndexManagerImpl.getIndexProvider(IndexManagerImpl.java:71) at org.neo4j.kernel.IndexManagerImpl.findIndexConfig(IndexManagerImpl.java:111) at org.neo4j.kernel.IndexManagerImpl.getOrCreateIndexConfig(IndexManagerImpl.java:173) at org.neo4j.kernel.IndexManagerImpl.forNodes(IndexManagerImpl.java:250) Caused by: java.lang.IllegalArgumentException: No index provider 'lucene' found at org.neo4j.kernel.IndexManagerImpl.getIndexProvider(IndexManagerImpl.java:71) at org.neo4j.kernel.IndexManagerImpl.findIndexConfig(IndexManagerImpl.java:111) at org.neo4j.kernel.IndexManagerImpl.getOrCreateIndexConfig(IndexManagerImpl.java:173) at org.neo4j.kernel.IndexManagerImpl.forNodes(IndexManagerImpl.java:250) /Andreas ___ Neo4j mailing list User@lists.neo4j.org https://lists.neo4j.org/mailman/listinfo/user
Re: [Neo4j] No index provider 'lucene' found with Tomcat/Trinidad
It's probably a classpath issue as you say. You added the neo4j-lucene-index-XXX.jar file manually to the classpath, but also make sure the lucene-core-3.0.1.jar is on the classpath. You can also look in the neo4j-db-directory/messages.log and see which extensions are loaded tigether with the graph database and which of those failed to load a.s.o. 2011/2/16 Andreas Ronge andreas.ro...@gmail.com Hi When I run my Rails application using Tomcat/Trinidad I get No index provider 'lucene' found, see stack trace below I think I have seen a similar problem on the gremlin email list. I guess it's because of a class loading issue, or maybe the META-INF/services files, or because in JRuby the neo4j jar files are loaded at runtime. I need some hints where I should start looking. I have tried to manually add the neo4j-lucene-index-1.3.M02.jar file to the classpath without any luck (jruby -J-cp /home/... -S trinidad) The problem occurs in neo4j.rb version = 1.0.0.beta.17 when the new lucene index framework was introduced. It works in WEBrick/rails s at org.jruby.rack.RackServlet.service(RackServlet.java:56) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:306) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210) at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:240) at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:161) at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:164) at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:100) at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:118) at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:380) at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:243) at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:188) at org.apache.tomcat.util.net.JIoEndpoint$SocketProcessor.run(JIoEndpoint.java:288) at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908) at java.lang.Thread.run(Thread.java:662) Caused by: org.jruby.exceptions.RaiseException: Native Exception: 'class java.lang.IllegalArgumentException'; Message: No index provider 'lucene' found; StackTrace: java.lang.IllegalArgumentException: No index provider 'lucene' found at org.neo4j.kernel.IndexManagerImpl.getIndexProvider(IndexManagerImpl.java:71) at org.neo4j.kernel.IndexManagerImpl.findIndexConfig(IndexManagerImpl.java:111) at org.neo4j.kernel.IndexManagerImpl.getOrCreateIndexConfig(IndexManagerImpl.java:173) at org.neo4j.kernel.IndexManagerImpl.forNodes(IndexManagerImpl.java:250) Caused by: java.lang.IllegalArgumentException: No index provider 'lucene' found at org.neo4j.kernel.IndexManagerImpl.getIndexProvider(IndexManagerImpl.java:71) at org.neo4j.kernel.IndexManagerImpl.findIndexConfig(IndexManagerImpl.java:111) at org.neo4j.kernel.IndexManagerImpl.getOrCreateIndexConfig(IndexManagerImpl.java:173) at org.neo4j.kernel.IndexManagerImpl.forNodes(IndexManagerImpl.java:250) /Andreas ___ Neo4j mailing list User@lists.neo4j.org https://lists.neo4j.org/mailman/listinfo/user -- Mattias Persson, [matt...@neotechnology.com] Hacker, Neo Technology www.neotechnology.com ___ Neo4j mailing list User@lists.neo4j.org https://lists.neo4j.org/mailman/listinfo/user