Re: [Neo4j] buggy webadmin
Regarding the second fact: {firstkey:"Val", secondkey:"Val2"} is no valid JSON, you always have to quote strings. i.e. {"firstkey":"Val", "secondkey":"Val2"} Cheers Michael Am 12.03.2011 um 21:49 schrieb Anton Kulaga: > Hello, I stumbled upon few bugs in neo4j webadmin. > > When I create a relationship between any two nodes in neo4j webadmin I > get error that "node 'id of the first node' cannot be found" event if > both nodes DO EXIST. Creations of new nodes works fine although > webinterface for unknown reasons does not recognise things like > {firstkey:"Val", secondkey:"Val2"} as valid JSON values; My OS is > WIndows 2008 Server RC2, Java version is 6, Browser: Chrome 10 > > -- > Best regards, > Anton Kulaga > ___ > Neo4j mailing list > User@lists.neo4j.org > https://lists.neo4j.org/mailman/listinfo/user ___ Neo4j mailing list User@lists.neo4j.org https://lists.neo4j.org/mailman/listinfo/user
Re: [Neo4j] Neo4j OSGI bundle
Ok, This works fine when using directly bundles which export packages. Thx Le 12 mars 2011 à 09:13, Tobias Ivarsson a écrit : > Oh, right. > > Only the bundles that org.neo4j:neo4j depends on exports packages. I > guess org.neo4j:neo4j > would have to re-export the packages it depends on, so that your application > can depend on org.neo4j:neo4j and use those packages. Is that the > appropriate way? I have little OSGi experience (other than cursing over it > when it fails the build process because you need to very explicitly declare > which packages to include). > > If that would solve things for you we will make sure to make those changes > for the next milestone. In the meantime you can directly depend on the > bundles org.neo4j:neo4j depends on, you are probably interested in at least: > org.neo4j:neo4j-kernel > org.neo4j:neo4j-lucene-index > But perhaps these as well: > org.neo4j:neo4j-management - JMX support > org.neo4j:neo4j-graph-algo - Graph algorithms, such as shortest path > org.neo4j:neo4j-com - Communication support, this includes the online-backup > server, and the bases that HA depends on > org.neo4j:neo4j-ha - High availability support for Neo4j > You might also want to be nice to us and have Neo4j send a ping to us every > day, letting us know how many people use Neo4j: > org.neo4j:neo4j-udc > > Please let us know how this works out for you, and if there are any > problems. We have only done casual testing with OSGi, so any feedback is > much appreciated. > > Cheers, > Tobias > > On Fri, Mar 11, 2011 at 10:40 PM, Nicolas Jouanin > wrote: > >> Hi, >> >> I'm planning to use Neo4j under OSGi framework. Because org.neo4j:neo4j >> defines the needed headers (in MANIFEST.MF), it can be deployed as a bundle >> on equinox or felix. >> Unfortunatelly, the bundle doesn't export any package so it's quite >> unuseful for me as my own bundle can't import them. >> I guess, at least neo4j bundle should have Export-Package directive in >> MANIFEST.MF file. >> Do you think these headers could be added in the next snapshot ? >> >> Thanks. >> >> ___ >> Neo4j mailing list >> User@lists.neo4j.org >> https://lists.neo4j.org/mailman/listinfo/user >> > > > > -- > Tobias Ivarsson > Hacker, Neo Technology > www.neotechnology.com > Cellphone: +46 706 534857 > ___ > Neo4j mailing list > User@lists.neo4j.org > https://lists.neo4j.org/mailman/listinfo/user ___ Neo4j mailing list User@lists.neo4j.org https://lists.neo4j.org/mailman/listinfo/user
[Neo4j] buggy webadmin
Hello, I stumbled upon few bugs in neo4j webadmin. When I create a relationship between any two nodes in neo4j webadmin I get error that "node 'id of the first node' cannot be found" event if both nodes DO EXIST. Creations of new nodes works fine although webinterface for unknown reasons does not recognise things like {firstkey:"Val", secondkey:"Val2"} as valid JSON values; My OS is WIndows 2008 Server RC2, Java version is 6, Browser: Chrome 10 -- Best regards, Anton Kulaga ___ Neo4j mailing list User@lists.neo4j.org https://lists.neo4j.org/mailman/listinfo/user
Re: [Neo4j] Neo4j OSGI bundle
Hi Nicolas, We should be using the maven-bundle-plugin on the individual components, but I'll have to check to make sure that they look right. The org.neo4j:neo4j artifact is just a dependency jar, so it doesn't itself have anything to export. That's why Tobias suggested grabbing the individual dependencies. I'll go try out a fresh pax-create-project to see what's up. Cheers, Andreas On Mar 12, 2011, at 9:21 AM, Nicolas Jouanin wrote: > Hi, > > I'll try this later on and I'll keep you informed. > Also, you could use the maven-bundle-plugin which helps in managing bundle > creation and dependencies stuffs. > > Nicolas. > > Le 12 mars 2011 à 09:13, Tobias Ivarsson a écrit : > >> Oh, right. >> >> Only the bundles that org.neo4j:neo4j depends on exports packages. I >> guess org.neo4j:neo4j >> would have to re-export the packages it depends on, so that your application >> can depend on org.neo4j:neo4j and use those packages. Is that the >> appropriate way? I have little OSGi experience (other than cursing over it >> when it fails the build process because you need to very explicitly declare >> which packages to include). >> >> If that would solve things for you we will make sure to make those changes >> for the next milestone. In the meantime you can directly depend on the >> bundles org.neo4j:neo4j depends on, you are probably interested in at least: >> org.neo4j:neo4j-kernel >> org.neo4j:neo4j-lucene-index >> But perhaps these as well: >> org.neo4j:neo4j-management - JMX support >> org.neo4j:neo4j-graph-algo - Graph algorithms, such as shortest path >> org.neo4j:neo4j-com - Communication support, this includes the online-backup >> server, and the bases that HA depends on >> org.neo4j:neo4j-ha - High availability support for Neo4j >> You might also want to be nice to us and have Neo4j send a ping to us every >> day, letting us know how many people use Neo4j: >> org.neo4j:neo4j-udc >> >> Please let us know how this works out for you, and if there are any >> problems. We have only done casual testing with OSGi, so any feedback is >> much appreciated. >> >> Cheers, >> Tobias >> >> On Fri, Mar 11, 2011 at 10:40 PM, Nicolas Jouanin >> wrote: >> >>> Hi, >>> >>> I'm planning to use Neo4j under OSGi framework. Because org.neo4j:neo4j >>> defines the needed headers (in MANIFEST.MF), it can be deployed as a bundle >>> on equinox or felix. >>> Unfortunatelly, the bundle doesn't export any package so it's quite >>> unuseful for me as my own bundle can't import them. >>> I guess, at least neo4j bundle should have Export-Package directive in >>> MANIFEST.MF file. >>> Do you think these headers could be added in the next snapshot ? >>> >>> Thanks. >>> >>> ___ >>> Neo4j mailing list >>> User@lists.neo4j.org >>> https://lists.neo4j.org/mailman/listinfo/user >>> >> >> >> >> -- >> Tobias Ivarsson >> Hacker, Neo Technology >> www.neotechnology.com >> Cellphone: +46 706 534857 >> ___ >> Neo4j mailing list >> User@lists.neo4j.org >> https://lists.neo4j.org/mailman/listinfo/user > > ___ > Neo4j mailing list > User@lists.neo4j.org > https://lists.neo4j.org/mailman/listinfo/user ___ Neo4j mailing list User@lists.neo4j.org https://lists.neo4j.org/mailman/listinfo/user
Re: [Neo4j] Neo4j OSGI bundle
Hi, I'll try this later on and I'll keep you informed. Also, you could use the maven-bundle-plugin which helps in managing bundle creation and dependencies stuffs. Nicolas. Le 12 mars 2011 à 09:13, Tobias Ivarsson a écrit : > Oh, right. > > Only the bundles that org.neo4j:neo4j depends on exports packages. I > guess org.neo4j:neo4j > would have to re-export the packages it depends on, so that your application > can depend on org.neo4j:neo4j and use those packages. Is that the > appropriate way? I have little OSGi experience (other than cursing over it > when it fails the build process because you need to very explicitly declare > which packages to include). > > If that would solve things for you we will make sure to make those changes > for the next milestone. In the meantime you can directly depend on the > bundles org.neo4j:neo4j depends on, you are probably interested in at least: > org.neo4j:neo4j-kernel > org.neo4j:neo4j-lucene-index > But perhaps these as well: > org.neo4j:neo4j-management - JMX support > org.neo4j:neo4j-graph-algo - Graph algorithms, such as shortest path > org.neo4j:neo4j-com - Communication support, this includes the online-backup > server, and the bases that HA depends on > org.neo4j:neo4j-ha - High availability support for Neo4j > You might also want to be nice to us and have Neo4j send a ping to us every > day, letting us know how many people use Neo4j: > org.neo4j:neo4j-udc > > Please let us know how this works out for you, and if there are any > problems. We have only done casual testing with OSGi, so any feedback is > much appreciated. > > Cheers, > Tobias > > On Fri, Mar 11, 2011 at 10:40 PM, Nicolas Jouanin > wrote: > >> Hi, >> >> I'm planning to use Neo4j under OSGi framework. Because org.neo4j:neo4j >> defines the needed headers (in MANIFEST.MF), it can be deployed as a bundle >> on equinox or felix. >> Unfortunatelly, the bundle doesn't export any package so it's quite >> unuseful for me as my own bundle can't import them. >> I guess, at least neo4j bundle should have Export-Package directive in >> MANIFEST.MF file. >> Do you think these headers could be added in the next snapshot ? >> >> Thanks. >> >> ___ >> Neo4j mailing list >> User@lists.neo4j.org >> https://lists.neo4j.org/mailman/listinfo/user >> > > > > -- > Tobias Ivarsson > Hacker, Neo Technology > www.neotechnology.com > Cellphone: +46 706 534857 > ___ > Neo4j mailing list > User@lists.neo4j.org > https://lists.neo4j.org/mailman/listinfo/user ___ Neo4j mailing list User@lists.neo4j.org https://lists.neo4j.org/mailman/listinfo/user
Re: [Neo4j] Neo4j OSGI bundle
Oh, right. Only the bundles that org.neo4j:neo4j depends on exports packages. I guess org.neo4j:neo4j would have to re-export the packages it depends on, so that your application can depend on org.neo4j:neo4j and use those packages. Is that the appropriate way? I have little OSGi experience (other than cursing over it when it fails the build process because you need to very explicitly declare which packages to include). If that would solve things for you we will make sure to make those changes for the next milestone. In the meantime you can directly depend on the bundles org.neo4j:neo4j depends on, you are probably interested in at least: org.neo4j:neo4j-kernel org.neo4j:neo4j-lucene-index But perhaps these as well: org.neo4j:neo4j-management - JMX support org.neo4j:neo4j-graph-algo - Graph algorithms, such as shortest path org.neo4j:neo4j-com - Communication support, this includes the online-backup server, and the bases that HA depends on org.neo4j:neo4j-ha - High availability support for Neo4j You might also want to be nice to us and have Neo4j send a ping to us every day, letting us know how many people use Neo4j: org.neo4j:neo4j-udc Please let us know how this works out for you, and if there are any problems. We have only done casual testing with OSGi, so any feedback is much appreciated. Cheers, Tobias On Fri, Mar 11, 2011 at 10:40 PM, Nicolas Jouanin wrote: > Hi, > > I'm planning to use Neo4j under OSGi framework. Because org.neo4j:neo4j > defines the needed headers (in MANIFEST.MF), it can be deployed as a bundle > on equinox or felix. > Unfortunatelly, the bundle doesn't export any package so it's quite > unuseful for me as my own bundle can't import them. > I guess, at least neo4j bundle should have Export-Package directive in > MANIFEST.MF file. > Do you think these headers could be added in the next snapshot ? > > Thanks. > > ___ > Neo4j mailing list > User@lists.neo4j.org > https://lists.neo4j.org/mailman/listinfo/user > -- Tobias Ivarsson Hacker, Neo Technology www.neotechnology.com Cellphone: +46 706 534857 ___ Neo4j mailing list User@lists.neo4j.org https://lists.neo4j.org/mailman/listinfo/user