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 <[email protected]>: > 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 > <[email protected]> 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 >>> <[email protected]> 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 >>>>> <[email protected]> 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 >>>>>>> <[email protected]> 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 <[email protected]> >>>>>>>> >>>>>>>>> Hello, >>>>>>>>> >>>>>>>>> I'm getting an error I cannot seem to repair. >>>>>>>>> >>>>>>>>> Here's the line of code popping up the error : >>>>>>>>> >>>>>>>>> private static Index<Node> 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) >>>>>>>>> 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) >>>>>>>>> _______________________________________________ >>>>>>>>> Neo4j mailing list >>>>>>>>> [email protected] >>>>>>>>> https://lists.neo4j.org/mailman/listinfo/user >>>>>>>>> >>>>>>>> >>>>>>>> >>>>>>>> >>>>>>>> -- >>>>>>>> Tobias Ivarsson <[email protected]> >>>>>>>> Hacker, Neo Technology >>>>>>>> www.neotechnology.com >>>>>>>> Cellphone: +46 706 534857 >>>>>>>> _______________________________________________ >>>>>>>> Neo4j mailing list >>>>>>>> [email protected] >>>>>>>> https://lists.neo4j.org/mailman/listinfo/user >>>>>>>> >>>>>>> _______________________________________________ >>>>>>> Neo4j mailing list >>>>>>> [email protected] >>>>>>> https://lists.neo4j.org/mailman/listinfo/user >>>>>> >>>>>> _______________________________________________ >>>>>> Neo4j mailing list >>>>>> [email protected] >>>>>> https://lists.neo4j.org/mailman/listinfo/user >>>>>> >>>>> _______________________________________________ >>>>> Neo4j mailing list >>>>> [email protected] >>>>> https://lists.neo4j.org/mailman/listinfo/user >>>> >>>> _______________________________________________ >>>> Neo4j mailing list >>>> [email protected] >>>> https://lists.neo4j.org/mailman/listinfo/user >>>> >>> _______________________________________________ >>> Neo4j mailing list >>> [email protected] >>> https://lists.neo4j.org/mailman/listinfo/user >> >> _______________________________________________ >> Neo4j mailing list >> [email protected] >> https://lists.neo4j.org/mailman/listinfo/user >> > _______________________________________________ > Neo4j mailing list > [email protected] > https://lists.neo4j.org/mailman/listinfo/user _______________________________________________ Neo4j mailing list [email protected] https://lists.neo4j.org/mailman/listinfo/user

