Francois,
now the updated webadmin component as of rev 6460 should build, pull
down a fresh kernel/rest etc, and run against your store that you
create with 1.2.M02.

Could you please build it and verify? The snapshot dependencies are in
the m2.neo4j.org Maven repo, you will need to point it out in your
~/.m2/settings.xml file.

Cheers,

/peter neubauer

VP Product Management, Neo Technology

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, Oct 28, 2010 at 11:58 AM, Francois Kassis
<[email protected]> wrote:
> many thx.
>
> --------------------------------------------------
> From: "Peter Neubauer" <[email protected]>
> Sent: Thursday, October 28, 2010 12:44 PM
> To: "Neo4j user discussions" <[email protected]>
> Subject: Re: [Neo4j] Rest api
>
>> Francois,
>> I am right now updating the webadmin dependencies to be more recent.
>> We moved the code to https://svn.neo4j.org/components/webadmin/trunk/
>> in order to be able to do a proper release for it next week, which
>> will include the updated dependencies. Meanwhile, let me just finish
>> the updating and notify you then, so you can build it yourself?
>>
>> Cheers,
>>
>> /peter neubauer
>>
>> VP Product Management, Neo Technology
>>
>> 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, Oct 28, 2010 at 11:32 AM, Mattias Persson
>> <[email protected]> wrote:
>>> This looks to be a lucene version issue. You probably filled the index
>>> with
>>> a recent neo4j milestone, am I right? Whereas the webadmin depends on
>>> neo4j
>>> 1.1, where 1.1 has an older dependency on lucene... hence the version
>>> mismatch (lucene data isn't backwards compatible v.3 -> v.2) it seems.
>>>
>>> 2010/10/27 Francois Kassis <[email protected]>
>>>
>>>> hi to all,
>>>>
>>>> I am using the webadmin 1.0
>>>> the database is created and filled in java.
>>>> while using index in rest as below:
>>>>
>>>> $ curl -H Accept:application/json
>>>> http://localhost:9999/index/node/rootnodelabelindex/Products
>>>>
>>>> I got this error:
>>>>
>>>> <html>
>>>> <head>
>>>> <meta http-equiv="Content-Type" content="text/html;
>>>> charset=ISO-8859-1"/>
>>>> <title>Error 500 org.apache.lucene.index.CorruptIndexException:
>>>> Incompatible format version: 2 expected 1 or lower</title>
>>>> </head>
>>>> <body><h2>HTTP ERROR 500</h2>
>>>> <p>Problem accessing /index/node/rootnodelabelindex/Products. Reason:
>>>> <pre>    org.apache.lucene.index.CorruptIndexException: Incompatible
>>>> format
>>>> version: 2 expected 1 or lower</pre></p><h3>Caused
>>>> by:</h3><pre>java.lang.RuntimeException:
>>>> org.apache.lucene.index.CorruptIndexException: Incompatible format
>>>> version:
>>>> 2 expected 1 or lower
>>>>  at
>>>> org.neo4j.index.lucene.LuceneDataSource.getIndexSearcher(LuceneDataSource.java:358)
>>>>  at
>>>> org.neo4j.index.lucene.LuceneIndexService.getNodes(LuceneIndexService.java:301)
>>>>  at
>>>> org.neo4j.index.lucene.LuceneIndexService.getNodes(LuceneIndexService.java:246)
>>>>  at
>>>> org.neo4j.index.lucene.LuceneIndexService.getNodes(LuceneIndexService.java:232)
>>>>  at org.neo4j.rest.domain.NodeIndex.get(NodeIndex.java:25)
>>>>  at
>>>> org.neo4j.rest.domain.StorageActions.getIndexedNodes(StorageActions.java:508)
>>>>  at
>>>> org.neo4j.rest.web.GenericWebService.getIndexedNodes(GenericWebService.java:635)
>>>>  at
>>>> org.neo4j.rest.web.GenericWebService.access$100(GenericWebService.java:42)
>>>>  at
>>>> org.neo4j.rest.web.GenericWebService$IndexType$1.get(GenericWebService.java:669)
>>>>  at
>>>> org.neo4j.rest.web.GenericWebService.getIndexedObjects(GenericWebService.java:611)
>>>>  at
>>>> org.neo4j.rest.web.JsonAndHtmlWebService.jsonGetIndexedObjects(JsonAndHtmlWebService.java:333)
>>>>  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
>>>> com.sun.jersey.server.impl.model.method.dispatch.AbstractResourceMethodDispatchProvider$ResponseOutInvoker._dispatch(AbstractResourceMethodDispatchProvider.java:184)
>>>>  at
>>>> com.sun.jersey.server.impl.model.method.dispatch.ResourceJavaMethodDispatcher.dispatch(ResourceJavaMethodDispatcher.java:67)
>>>>  at
>>>> com.sun.jersey.server.impl.uri.rules.HttpMethodRule.accept(HttpMethodRule.java:276)
>>>>  at
>>>> com.sun.jersey.server.impl.uri.rules.RightHandPathRule.accept(RightHandPathRule.java:133)
>>>>  at
>>>> com.sun.jersey.server.impl.uri.rules.ResourceClassRule.accept(ResourceClassRule.java:83)
>>>>  at
>>>> com.sun.jersey.server.impl.uri.rules.RightHandPathRule.accept(RightHandPathRule.java:133)
>>>>  at
>>>> com.sun.jersey.server.impl.uri.rules.RootResourceClassesRule.accept(RootResourceClassesRule.java:71)
>>>>  at
>>>> com.sun.jersey.server.impl.application.WebApplicationImpl._handleRequest(WebApplicationImpl.java:1171)
>>>>  at
>>>> com.sun.jersey.server.impl.application.WebApplicationImpl._handleRequest(WebApplicationImpl.java:1103)
>>>>  at
>>>> com.sun.jersey.server.impl.application.WebApplicationImpl.handleRequest(WebApplicationImpl.java:1053)
>>>>  at
>>>> com.sun.jersey.server.impl.application.WebApplicationImpl.handleRequest(WebApplicationImpl.java:1043)
>>>>  at
>>>> com.sun.jersey.spi.container.servlet.WebComponent.service(WebComponent.java:406)
>>>>  at
>>>> com.sun.jersey.spi.container.servlet.ServletContainer.service(ServletContainer.java:477)
>>>>  at
>>>> com.sun.jersey.spi.container.servlet.ServletContainer.service(ServletContainer.java:662)
>>>>  at javax.servlet.http.HttpServlet.service(HttpServlet.java:820)
>>>>  at
>>>> org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java:511)
>>>>  at
>>>> org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:390)
>>>>  at
>>>> org.mortbay.jetty.handler.ContextHandler.handle(ContextHandler.java:765)
>>>>  at
>>>> org.mortbay.jetty.handler.HandlerWrapper.handle(HandlerWrapper.java:152)
>>>>  at org.mortbay.jetty.Server.handle(Server.java:322)
>>>>  at
>>>> org.mortbay.jetty.HttpConnection.handleRequest(HttpConnection.java:542)
>>>>  at
>>>> org.mortbay.jetty.HttpConnection$RequestHandler.headerComplete(HttpConnection.java:926)
>>>>  at org.mortbay.jetty.HttpParser.parseNext(HttpParser.java:549)
>>>>  at org.mortbay.jetty.HttpParser.parseAvailable(HttpParser.java:212)
>>>>  at org.mortbay.jetty.HttpConnection.handle(HttpConnection.java:404)
>>>>  at
>>>> org.mortbay.jetty.bio.SocketConnector$Connection.run(SocketConnector.java:228)
>>>>  at
>
> _______________________________________________
> Neo4j mailing list
> [email protected]
> https://lists.neo4j.org/mailman/listinfo/user
>
_______________________________________________
Neo4j mailing list
[email protected]
https://lists.neo4j.org/mailman/listinfo/user

Reply via email to