Hi Peter,

I've tried these bundles:

   - 
org.neo4j:neo4j-kernel:1.4-SNAPSHOT<http://m2.neo4j.org/org/neo4j/neo4j-kernel/1.4-SNAPSHOT/neo4j-kernel-1.4-SNAPSHOT.jar>
   - 
org.neo4j:neo4j-lucene-index:1.4-SNAPSHOT<http://m2.neo4j.org/org/neo4j/neo4j-lucene-index/1.4-SNAPSHOT/neo4j-lucene-index-1.4-SNAPSHOT.jar>
   - 
org.neo4j:neo4j-graph-algo:1.4-SNAPSHOT<http://m2.neo4j.org/org/neo4j/neo4j-graph-algo/1.4-SNAPSHOT/neo4j-graph-algo-1.4-SNAPSHOT.jar>
   - 
org.neo4j:neo4j-udc:1.4-SNAPSHOT<http://m2.neo4j.org/org/neo4j/neo4j-udc/1.4-SNAPSHOT/neo4j-udc-1.4-SNAPSHOT.jar>
   - 
org.neo4j:neo4j-jmx:1.4-SNAPSHOT<http://m2.neo4j.org/org/neo4j/neo4j-jmx/1.4-SNAPSHOT/neo4j-jmx-1.4-SNAPSHOT.jar>

but still same error here:

Root exception:
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 com.isocialcloud.db.model.UserRepository.init(UserRepository.java:29)
 at
com.isocialcloud.db.model.UserRepository.bindService(UserRepository.java:62)
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.eclipse.equinox.internal.ds.model.ComponentReference.bind(ComponentReference.java:360)
 at
org.eclipse.equinox.internal.ds.model.ServiceComponentProp.bindReference(ServiceComponentProp.java:423)
at
org.eclipse.equinox.internal.ds.model.ServiceComponentProp.bind(ServiceComponentProp.java:211)
 at
org.eclipse.equinox.internal.ds.model.ServiceComponentProp.build(ServiceComponentProp.java:337)
at
org.eclipse.equinox.internal.ds.InstanceProcess.buildComponent(InstanceProcess.java:588)
 at
org.eclipse.equinox.internal.ds.InstanceProcess.buildComponents(InstanceProcess.java:196)
at org.eclipse.equinox.internal.ds.Resolver.getEligible(Resolver.java:328)
 at
org.eclipse.equinox.internal.ds.SCRManager.serviceChanged(SCRManager.java:221)
at
org.eclipse.osgi.internal.serviceregistry.FilteredServiceListener.serviceChanged(FilteredServiceListener.java:104)
 at
org.eclipse.osgi.framework.internal.core.BundleContextImpl.dispatchEvent(BundleContextImpl.java:933)
at
org.eclipse.osgi.framework.eventmgr.EventManager.dispatchEvent(EventManager.java:227)
 at
org.eclipse.osgi.framework.eventmgr.ListenerQueue.dispatchEventSynchronous(ListenerQueue.java:149)
at
org.eclipse.osgi.internal.serviceregistry.ServiceRegistry.publishServiceEventPrivileged(ServiceRegistry.java:756)
 at
org.eclipse.osgi.internal.serviceregistry.ServiceRegistry.publishServiceEvent(ServiceRegistry.java:711)
at
org.eclipse.osgi.internal.serviceregistry.ServiceRegistrationImpl.register(ServiceRegistrationImpl.java:130)
 at
org.eclipse.osgi.internal.serviceregistry.ServiceRegistry.registerService(ServiceRegistry.java:206)
at
org.eclipse.osgi.framework.internal.core.BundleContextImpl.registerService(BundleContextImpl.java:507)
 at
org.eclipse.equinox.internal.ds.InstanceProcess.registerService(InstanceProcess.java:504)
at
org.eclipse.equinox.internal.ds.InstanceProcess.buildComponents(InstanceProcess.java:259)
 at
org.eclipse.equinox.internal.ds.Resolver.buildNewlySatisfied(Resolver.java:441)
at
org.eclipse.equinox.internal.ds.Resolver.enableComponents(Resolver.java:213)
 at
org.eclipse.equinox.internal.ds.SCRManager.performWork(SCRManager.java:800)
at
org.eclipse.equinox.internal.ds.SCRManager$QueuedJob.dispatch(SCRManager.java:767)
 at org.eclipse.equinox.internal.ds.WorkThread.run(WorkThread.java:89)
at
org.eclipse.equinox.internal.util.impl.tpt.threadpool.Executor.run(Executor.java:70)

On Tue, Jun 7, 2011 at 17:19, Peter Neubauer <
peter.neuba...@neotechnology.com> wrote:

> 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, 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 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
> > > >> >
> > > >> >
> > > >> > _______________________________________________
> > > >> > 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
> > >
> > >
> > _______________________________________________
> > 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

Reply via email to