Yes, it works! thank you very much! On Mon, Sep 12, 2011 at 8:22 PM, Peter Neubauer <[email protected]> wrote: > Thanks Linan for the find! > > I corrected the spelling of the function. Also, JAXRS is not related > to Server Plugin lifecycle - it is a raw JAXRS registration into the > webserver. > > For your test jar, I got things working when checking in the export > dialog to include directory information, see the attached picture. > Then, I can set > > org.neo4j.server.thirdparty_jaxrs_classes=org.neo4j.examples=/hello > > in neo4j-server/properties > > and get with curl http://localhost:7474/hello/0 > > Hello World, nodeId=0 > > > Does that work for 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://startupbootcamp.org/ - Öresund - Innovation happens HERE. > http://www.thoughtmade.com - Scandinavia's coolest Bring-a-Thing party. > > > > On Mon, Sep 12, 2011 at 8:12 PM, Linan Wang <[email protected]> wrote: >> what i've found: >> PluginInitializer >> (https://github.com/neo4j/community/blob/master/server/src/main/java/org/neo4j/server/modules/PluginInitializer.java) >> 1, probably has a spell mistake: intitializePackages, maybe >> initializePackages? >> 2, i don't understand how pluginlifecycle is related to thirdparty jaxrs >> >> On Mon, Sep 12, 2011 at 6:58 PM, Linan Wang <[email protected]> wrote: >>> yes, i did it. i package it into jar file just to show that i've >>> modified the file. >>> will it related to the 64 jvm shipped in osx lion? i'm reading the >>> source codes... >>> >>> On Mon, Sep 12, 2011 at 6:55 PM, Peter Neubauer >>> <[email protected]> wrote: >>>> Linan, >>>> you need to change the neo4j-server.properties in the Neo4j Server >>>> conf/ directory where you want to deploy your extension in order to >>>> get this picked up, not packaging it with the extension jar. Could you >>>> please try that? See also >>>> http://docs.neo4j.org/chunked/snapshot/server-unmanaged-extensions.html >>>> for details. >>>> >>>> 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://startupbootcamp.org/ - Öresund - Innovation happens HERE. >>>> http://www.thoughtmade.com - Scandinavia's coolest Bring-a-Thing party. >>>> >>>> >>>> >>>> On Mon, Sep 12, 2011 at 5:01 PM, Linan Wang <[email protected]> wrote: >>>>> sure. it's here: https://github.com/wangii/test2/blob/master/test2.jar >>>>> >>>>> On Mon, Sep 12, 2011 at 3:56 PM, Peter Neubauer >>>>> <[email protected]> wrote: >>>>>> Thanks Linan, >>>>>> Could you also put up the jar you deploy so I can test it, since you >>>>>> seem to >>>>>> rely on Eclipse building which I can't recreate? >>>>>> >>>>>> /peter >>>>>> >>>>>> Sent from my phone. >>>>>> On Sep 12, 2011 4:14 PM, "Linan Wang" <[email protected]> wrote: >>>>>>> Peter, >>>>>>> thanks. it's here: https://github.com/wangii/test2 >>>>>>> must be something in the doc i didn't notice, even though i've read 5 >>>>>> times! >>>>>>> >>>>>>> On Mon, Sep 12, 2011 at 3:06 PM, Peter Neubauer >>>>>>> <[email protected]> wrote: >>>>>>>> Linan, >>>>>>>> got a small project to build this for so I can test it out? >>>>>>>> >>>>>>>> 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://startupbootcamp.org/ - Öresund - Innovation happens HERE. >>>>>>>> http://www.thoughtmade.com - Scandinavia's coolest Bring-a-Thing party. >>>>>>>> >>>>>>>> >>>>>>>> >>>>>>>> On Mon, Sep 12, 2011 at 4:04 PM, wangii <[email protected]> wrote: >>>>>>>>> Got the same ResourceConfig problem: The ResourceConfig instance does >>>>>> not >>>>>>>>> contain any root resource. >>>>>>>>> tried to put jar file into /lib, /plugins, modified >>>>>> neo4j-server.properties >>>>>>>>> file. >>>>>>>>> anything I missed here? thanks >>>>>>>>> >>>>>>>>> -- >>>>>>>>> View this message in context: >>>>>> http://neo4j-community-discussions.438527.n3.nabble.com/Unmanaged-Extensions-tp2660066p3329694.html >>>>>>>>> Sent from the Neo4j Community Discussions mailing list archive at >>>>>> Nabble.com. >>>>>>>>> _______________________________________________ >>>>>>>>> Neo4j mailing list >>>>>>>>> [email protected] >>>>>>>>> https://lists.neo4j.org/mailman/listinfo/user >>>>>>>>> >>>>>>>> _______________________________________________ >>>>>>>> Neo4j mailing list >>>>>>>> [email protected] >>>>>>>> https://lists.neo4j.org/mailman/listinfo/user >>>>>>>> >>>>>>> >>>>>>> >>>>>>> >>>>>>> -- >>>>>>> Best regards >>>>>>> >>>>>>> Linan Wang >>>>>>> _______________________________________________ >>>>>>> Neo4j mailing list >>>>>>> [email protected] >>>>>>> https://lists.neo4j.org/mailman/listinfo/user >>>>>> _______________________________________________ >>>>>> Neo4j mailing list >>>>>> [email protected] >>>>>> https://lists.neo4j.org/mailman/listinfo/user >>>>>> >>>>> >>>>> >>>>> >>>>> -- >>>>> Best regards >>>>> >>>>> Linan Wang >>>>> _______________________________________________ >>>>> Neo4j mailing list >>>>> [email protected] >>>>> https://lists.neo4j.org/mailman/listinfo/user >>>>> >>>> _______________________________________________ >>>> Neo4j mailing list >>>> [email protected] >>>> https://lists.neo4j.org/mailman/listinfo/user >>>> >>> >>> >>> >>> -- >>> Best regards >>> >>> Linan Wang >>> >> >> >> >> -- >> Best regards >> >> Linan Wang >> _______________________________________________ >> Neo4j mailing list >> [email protected] >> https://lists.neo4j.org/mailman/listinfo/user >> > > _______________________________________________ > Neo4j mailing list > [email protected] > https://lists.neo4j.org/mailman/listinfo/user > >
-- Best regards Linan Wang _______________________________________________ Neo4j mailing list [email protected] https://lists.neo4j.org/mailman/listinfo/user

