Script engine error: Wrapped java.lang.IllegalArgumentException: No
index provider 'lucene' found. Maybe the intended provider (or one
more of its dependencies) aren't on the classpath or it failed to
load.
I put all of the Neo jars (Community 1.6 M1) I'm using in the Java
project which creates the data in the BIRT classpath (Window/
Preferences/Report Design/Classpath), so the lucene index provider
should be there. Some googling brought me to the assumption that this
could have something to do with OSGi, but as I never ever touched this
OSGi beast, I'm pretty clueless on this.
Has anyone tried something similar with success?
BTW: The Java API only works against an embedded database, right? I'm
asking, because I also downloaded the Neo4j JDBC driver, which I'd
massively prefer over that scripted datasource mess in BIRT, but the
JDBC driver apparently works exclusively against a Neo server, not an
embedded database. Which means I'd have to scrap everything I did on
the Java API up to now, and this is not an option.
Best regards
Johann
Also, a very cool thought would be to build an embedded JDBC driver
variant that accesses Cypher results direcetly, not via REST JSON
parsing. Something for tinkering over XMas with? ;)
Cheers,
/peter neubauer
Google:neubauer.peter
Skype:peter.neubauer
Phone: +46 704 106975
LinkedIn http://www.linkedin.com/in/neubauer
Twitter @peterneubauer
brew install neo4j && neo4j start
heroku addons:add neo4j
Not just the neo4j-lucene-index.jar
Michael
On Dec 19, 2:27 pm, Michael Hunger <michael.hun...@neotechnology.com>
wrote:
> is the lucene-core-*.jar also in your classpath?
>
> Not just the neo4j-lucene-index.jar
>
> Michael
>
> Am 19.12.2011 um 14:22 schrieb Peter Neubauer:
>
>
>
>
>
>
>
> > Johann,
> > I think you are right, there might be OSGi issues involved. If you
> > build and try the superbundle fromhttps://github.com/neo4j/neo4j-osgi
I changed the "git co g...@github.com:neo4j/community.git" to "git
clone git://github.com/neo4j/community.git", otherwise nothing would
happen in the first place. Then I did a "git branch -t bundle-friendly-
classloader origin/bundle-friendly-classloader" which looked good.
"mvn clean install" ends up in
Results :
Failed tests: canGetKernelRevision(org.neo4j.kernel.TestVersion):
Kernel revision not specified
Tests run: 466, Failures: 1, Errors: 0, Skipped: 9
[INFO]
------------------------------------------------------------------------
[INFO] Reactor Summary:
[INFO]
[INFO] Neo4j - Graph Database Kernel ..................... FAILURE
[40.633s]
[INFO] Neo4j - JMX support ............................... SKIPPED
[INFO] Neo4j - Usage Data Collection ..................... SKIPPED
[INFO] Neo4j - Lucene Index .............................. SKIPPED
[INFO] Neo4j - Graph Algorithms .......................... SKIPPED
[INFO] Neo4j - Graph Matching ............................ SKIPPED
[INFO] Neo4j - Graphviz generation ....................... SKIPPED
[INFO] Neo4j - Cypher .................................... SKIPPED
[INFO] Neo4j Community ................................... SKIPPED
[INFO] Neo4j Community ................................... SKIPPED
[INFO] Neo4j - Generic shell ............................. SKIPPED
[INFO] Neo4j Examples .................................... SKIPPED
[INFO] Neo4j Server API .................................. SKIPPED
[INFO] Neo4j Server ...................................... SKIPPED
[INFO] Neo4j Server Examples ............................. SKIPPED
[INFO] Neo4j Community Build ............................. SKIPPED
[INFO]
------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO]
------------------------------------------------------------------------
[INFO] Total time: 41.082s
[INFO] Finished at: Mon Dec 19 19:20:20 CET 2011
[INFO] Final Memory: 21M/78M
[INFO]
------------------------------------------------------------------------
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-surefire-
plugin:2.9:test (default-test) on project neo4j-kernel: There are test
failures.
[ERROR]
[ERROR] Please refer to C:\Users\sag\git\community\kernel\target
\surefire-reports for the individual test results.
[ERROR] -> [Help 1]
[ERROR]
[ERROR] To see the full stack trace of the errors, re-run Maven with
the -e switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR]
[ERROR] For more information about the errors and possible solutions,
please read the following articles:
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoFailureException
The same for "git co git://github.com/neo4j/neo4j-osgi.git" - changed
to "git clone ...", and the following mvn clean install results in
Results :
Failed tests:
neo4jStartupTest(org.neo4j.examples.osgi.OSGiTest)
bundleFelixTest(org.neo4j.examples.osgi.OSGiTest)
Tests run: 3, Failures: 2, Errors: 0, Skipped: 0
[INFO]
------------------------------------------------------------------------
[INFO] Reactor Summary:
[INFO]
[INFO] Neo4j OSGi default bundle ......................... SUCCESS
[5.517s]
[INFO] test-bundle ....................................... SUCCESS
[9.367s]
[INFO] Neo4j OSGi examples ............................... FAILURE
[25.060s]
[INFO] Neo4j OSGi Build .................................. SKIPPED
[INFO]
------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO]
------------------------------------------------------------------------
[INFO] Total time: 40.432s
[INFO] Finished at: Mon Dec 19 19:22:57 CET 2011
[INFO] Final Memory: 25M/154M
[INFO]
------------------------------------------------------------------------
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-surefire-
plugin:2.6:test (default-test) on project neo4j-osgi-examples: There
are test failures.
[ERROR]
[ERROR] Please refer to C:\Users\sag\git\neo4j-osgi\examples\target
\surefire-reports for the individual test results.
[ERROR] -> [Help 1]
[ERROR]
[ERROR] To see the full stack trace of the errors, re-run Maven with
the -e switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR]
[ERROR] For more information about the errors and possible solutions,
please read the following articles:
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoFailureException
[ERROR]
[ERROR] After correcting the problems, you can resume the build with
the command
[ERROR] mvn <goals> -rf :neo4j-osgi-examples
Maven version is
$ mvn --version
Apache Maven 3.0.3 (r1075438; 2011-02-28 18:31:09+0100)
Maven home: c:\javalibs\apache-maven-3.0.3
Java version: 1.6.0_26, vendor: Sun Microsystems Inc.
Java home: c:\Program Files (x86)\Java\jdk1.6.0_26\jre
Default locale: en_US, platform encoding: Cp1252
OS name: "windows server 2008 r2", version: "6.1", arch: "x86",
family: "windows"
Sorry if this all doesn't make sense.
Regards
Johann
On Dec 19, 2:22 pm, Peter Neubauer <peter.neuba...@neotechnology.com>
wrote:
> Johann,
> I think you are right, there might be OSGi issues involved. If you
> build and try the superbundle fromhttps://github.com/neo4j/neo4j-osgi
Cheers,
/peter neubauer
Google:neubauer.peter
Skype:peter.neubauer
Phone: +46 704 106975
LinkedIn http://www.linkedin.com/in/neubauer
Twitter @peterneubauer
brew install neo4j && neo4j start
heroku addons:add neo4j
Cheers,
/peter neubauer
Google:neubauer.peter
Skype:peter.neubauer
Phone: +46 704 106975
LinkedIn http://www.linkedin.com/in/neubauer
Twitter @peterneubauer
brew install neo4j && neo4j start
heroku addons:add neo4j
Cheers,
/peter neubauer
Google:neubauer.peter
Skype:peter.neubauer
Phone: +46 704 106975
LinkedIn http://www.linkedin.com/in/neubauer
Twitter @peterneubauer
brew install neo4j && neo4j start
heroku addons:add neo4j