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
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
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
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
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
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,
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
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
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
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
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,
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
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
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
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
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
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/
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
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
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
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
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
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,
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
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
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
-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
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
: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
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
...@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
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
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
-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
...@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
: 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
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
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
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:
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:
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
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
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
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).
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
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
46 matches
Mail list logo