Joshi, you can see the process here, http://docs.neo4j.org/chunked/snapshot/server-plugins.html, and and an example under neo4j-examples (part of the server distribution) under /examples/java/site/server-plugins.html that links to the local example code.
Let me know if you encounter problems, and I will try to help you! 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://www.thoughtmade.com - Scandinavia's coolest Bring-a-Thing party. On Thu, Jan 27, 2011 at 10:06 AM, Joshi Hemant - hjoshi <[email protected]> wrote: > I can write a java program if it is straight forward process. Otherwise, I > will have to wait. > -Hemant > > -----Original Message----- > From: [email protected] [mailto:[email protected]] On > Behalf Of Peter Neubauer > Sent: Thursday, January 27, 2011 10:35 AM > To: Neo4j user discussions > Subject: Re: [Neo4j] Neo4j 1.2 server on Linux X86 - 64 bit > > Joshi, > would it be possible for you to write that extension? Otherwise, I can > try to power it through one of these days :/ > > 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://www.thoughtmade.com - Scandinavia's coolest Bring-a-Thing party. > > > > On Thu, Jan 27, 2011 at 8:08 AM, Joshi Hemant - hjoshi > <[email protected]> wrote: >> I do not think I have an options of updating index to new provider framework >> using REST or java. I think an extension would make updating to latest >> release much easier for us. >> -Hemant >> >> -----Original Message----- >> From: [email protected] [mailto:[email protected]] On >> Behalf Of Peter Neubauer >> Sent: Wednesday, January 26, 2011 11:59 PM >> To: Neo4j user discussions >> Subject: Re: [Neo4j] Neo4j 1.2 server on Linux X86 - 64 bit >> >> Joshi, >> the current REST API exposes the new Indexes that you can create on >> nodes and relatoinships. The old indexes (that your DB probably is >> indexed with) are not exposed via the Server REST API. >> >> I would suggest to reindex your data using either the current REST >> API, >> http://components.neo4j.org/neo4j-server/snapshot/rest.html#Add_indices_with_provided_configuration_parameters >> >> or in Java code http://wiki.neo4j.org/content/Index_Framework or >> >> Is that possible for you? Otherwise we would need to find another >> solution, or write an extension that provides access to the old index >> API, since this has come up repeatedly now. >> >> 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://www.thoughtmade.com - Scandinavia's coolest Bring-a-Thing party. >> >> >> >> On Wed, Jan 26, 2011 at 8:53 PM, Joshi Hemant - hjoshi >> <[email protected]> wrote: >>> Thanks Peter. You were right. Changing those 2 entries did solve the >>> problem of connecting to the webadmin UI as well as getting json document >>> back for simple requests such as >>> >>> curl -H Accept:application/json >>> http://gigdev8028.gig.acxiom.net:9999/db/data/node/1 >>> >>> Here are the 2 issues that are still puzzling to me. >>> 1) Though I have put the 2 aforementioned settings in neo4j.properties file >>> under conf folder (attached), I was still able to create a new node without >>> problems and could get json document back for the new node as well. >>> >>> 2) When I pointed neo4j 1.2 server to my old neo4j-rest-db directory, I >>> could access all nodes, relationships as well properties etc. online >>> through webadmin as well as json requests but I am not able to access the >>> lucene index I have created on this data. I have several nodes I have >>> indexed in the old version that I would like to access using 1.2 but when I >>> try to get to http://gigdev8028.gig.acxiom.net:9999/db/data/index/node >>> >>> So far I get no response (no error either) I have attached neo4j.log and >>> wrapper.log if that helps. >>> Thanks for your help. >>> -Hemant >>> >>> -----Original Message----- >>> From: [email protected] [mailto:use [email protected]] >>> On Behalf Of Peter Neubauer >>> Sent: Tuesday, January 25, 2011 9:27 PM >>> To: Neo4j user discussions >>> Subject: Re: [Neo4j] Neo4j 1.2 server on Linux X86 - 64 bit >>> >>> Joshi, >>> I am a bit suspicious of your wrapper.log, >>> >>> STATUS | wrapper | 2011/01/24 11:34:47 | Launching a JVM... >>> INFO | jvm 1 | 2011/01/24 11:34:47 | WrapperManager: Initializing... >>> INFO | jvm 1 | 2011/01/24 11:34:47 | WrapperManager: >>> INFO | jvm 1 | 2011/01/24 11:34:47 | WrapperManager: WARNING - >>> Unable to load the Wrapper's native library because none of the >>> INFO | jvm 1 | 2011/01/24 11:34:47 | WrapperManager: >>> following files: >>> INFO | jvm 1 | 2011/01/24 11:34:47 | WrapperManager: >>> libwrapper-linux-x86-64.so >>> INFO | jvm 1 | 2011/01/24 11:34:47 | WrapperManager: >>> libwrapper.so >>> INFO | jvm 1 | 2011/01/24 11:34:47 | WrapperManager: >>> could be located on the following java.library.path: >>> INFO | jvm 1 | 2011/01/24 11:34:47 | WrapperManager: >>> /home/hjoshi/neo4j-1.2/bin/lib >>> INFO | jvm 1 | 2011/01/24 11:34:47 | WrapperManager: >>> Please see the documentation for the wrapper.java.library.path >>> INFO | jvm 1 | 2011/01/24 11:34:47 | WrapperManager: >>> configuration property. >>> INFO | jvm 1 | 2011/01/24 11:34:47 | WrapperManager: >>> System signals will not be handled correctly. >>> >>> but that should not be fatal. >>> >>> It seems you are accessing the webadmin from outside localhost with >>> the external name? In that case, you should tell the external address >>> in the conf/neo4j-server.properties: >>> >>> # REST endpoint for the data API >>> # Note the / in the end is mandatory >>> org.neo4j.server.webadmin.data.uri=http://localhost:7474/db/data/ >>> >>> # REST endpoint of the administration API (used by Webadmin) >>> org.neo4j.server.webadmin.management.uri=http://localhost:7474/db/manage/ >>> >>> should be changed to >>> >>> # REST endpoint for the data API >>> # Note the / in the end is mandatory >>> org.neo4j.server.webadmin.data.uri=http://gigdev8028.gig.acxiom.net:7474/db/data/ >>> >>> # REST endpoint of the administration API (used by Webadmin) >>> org.neo4j.server.webadmin.management.uri=http://gigdev8028.gig.acxiom.net:7474/db/manage/ >>> >>> Does that change things for the webadmin? >>> >>> 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://www.thoughtmade.com - Scandinavia's coolest Bring-a-Thing party. >>> >>> >>> >>> On Sat, Jan 22, 2011 at 9:08 AM, Peter Neubauer >>> <[email protected]> wrote: >>>> Joshi, >>>> Could youy send over the contents of the log files under data/log to >>>> me in order to take a look? >>>> >>>> /peter >>>> >>>> On Friday, January 21, 2011, Joshi Hemant - hjoshi >>>> <[email protected]> wrote: >>>>> I downloaded Neo4j 1.2 release for linux from >>>>> http://neo4j.org/get?file=neo4j-1.2-unix.tar.gz and extracted it to a >>>>> directory using tar -zxvf <file>. I installed the service using bin/neo4j >>>>> install option. Next, I followed documentation at >>>>> http://wiki.neo4j.org/content/Getting_Started_With_Neo4j_Server. After >>>>> the neo4j server is started successfully, when I try the curl command >>>>> curl -H Accept:application/json http://localhost:7474/db/data/ >>>>> >>>>> I get the following response: >>>>> <HTML> >>>>> <HEAD><TITLE>Redirection</TITLE></HEAD> >>>>> <BODY><H1>Redirect</H1></BODY> >>>>> >>>>> Also from firefox, when I try to access webadmin at >>>>> http://gigdev8028.gig.acxiom.net:7474/webadmin/ >>>>> I get the following error message: >>>>> Server connection lost >>>>> Attempting to re-establish connection.. >>>>> >>>>> I have not changed any config files. uname-a command returns the >>>>> following: >>>>> 2.6.18-194.el5 #1 SMP Tue Mar 16 21:52:39 EDT 2010 x86_64 x86_64 x86_64 >>>>> GNU/Linux >>>>> >>>>> The 2 log files neo4j.log and wrapper.log under data/log directory do not >>>>> show any error messages. >>>>> >>>>> Am I missing something? >>>>> -Hemant >>>>> *************************************************************************** >>>>> The information contained in this communication is confidential, is >>>>> intended only for the use of the recipient named above, and may be legally >>>>> privileged. >>>>> >>>>> If the reader of this message is not the intended recipient, you are >>>>> hereby notified that any dissemination, distribution or copying of this >>>>> communication is strictly prohibited. >>>>> >>>>> If you have received this communication in error, please resend this >>>>> communication to the sender and delete the original message or any copy >>>>> of it from your computer system. >>>>> >>>>> Thank You. >>>>> **************************************************************************** >>>>> >>>>> _______________________________________________ >>>>> 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

