[Neo4j] How to get @Context from Security Authorization rule class

2011-12-10 Thread Brendan cheng
___ NOTICE: THIS MAILING LIST IS BEING SWITCHED TO GOOGLE GROUPS, please register and consider posting at https://groups.google.com/forum/#!forum/neo4j Neo4j mailing list User@lists.neo4j.org

[Neo4j] Log message for unmanaged extension

2011-12-01 Thread Brendan cheng
Hi, I tried to debug my unmanaged extension with private static final Logger log = Logger.getLogger(Register.class); and generate a message like: log.warn(passed check point 1); But I couldn't find any these messages from any log files, neo4j.0.0.log, console.log, message.log...etc How should I

[Neo4j] Server log file for HA

2011-10-29 Thread Brendan cheng
Hi, I could not find any log message for unmanaged extension when a 500 error respond generated in HA configuration.Does neo4j rest server generate any message for unmanaged extension? I was trying to use JAXB for JSON respond of an object but get the 500 error respond.  But I can successfully

Re: [Neo4j] Server log file for HA

2011-10-29 Thread Brendan cheng
Hi, I found log the file and the error message is: Oct 29, 2011 4:22:03 PM com.sun.jersey.spi.container.ContainerResponse writeSEVERE: A message body writer for Java class hk.itags.server.unmanaged.Todo, and Java type class hk.itags.server.unmanaged.Todo, and MIME media type application/json

Re: [Neo4j] Iterable handling in unmanaged server extension

2011-10-24 Thread Brendan cheng
://startupbootcamp.org/- Öresund - Innovation happens HERE. On Sun, Oct 23, 2011 at 2:19 AM, Brendan cheng ccp...@hotmail.com wrote: I'm trying to write my own restful api so that for each request a check of password with usernode is needed and response will depends who the user is and which

[Neo4j] Iterable handling in unmanaged server extension

2011-10-22 Thread Brendan cheng
Hi, I'm trying to produce Iterable results from unmanaged server extension and not sure how to achieve it.In your code, this should already be done so.  Could you show me where the code is which I tried to find but failed? Thanks in advance, Brendan 

Re: [Neo4j] Iterable handling in unmanaged server extension

2011-10-22 Thread Brendan cheng
://twitter.com/peterneubauer http://www.neo4j.org� � � � � � ��- NOSQL for the Enterprise. http://startupbootcamp.org/ � �- �resund - Innovation happens HERE. On Sat, Oct 22, 2011 at 11:19 AM, Brendan cheng ccp...@hotmail.com wrote: Hi, I'm trying to produce Iterable results from unmanaged server

Re: [Neo4j] How to build neo4j projects from GitHub

2011-10-17 Thread Brendan cheng
(project) - Maven - Update Project Configuration? Sometimes that is needed after an import in order to get Eclipse properly configured. /anders 2011-10-15 13:09, Brendan cheng skrev: I was using the import from eclipse GUI so...no log message but a screen shot which I attached. Date

Re: [Neo4j] How to build neo4j projects from GitHub

2011-10-15 Thread Brendan cheng
After adding neo4j maven repository, no more artifacts missing but have this: No marketplace entries found to handle Execution check-licenses, in server-enterprise/pom.xml in Eclipse.  Please see Help for more information. Any tips for that? From:

Re: [Neo4j] How to build neo4j projects from GitHub

2011-10-15 Thread Brendan cheng
version, could you submit the whole maven log? Sounds like some mvn3 stuff ... /peter On Saturday, October 15, 2011, Brendan cheng ccp...@hotmail.com wrote: After adding neo4j maven repository, no more artifacts missing but have this: No marketplace entries found to handle Execution

Re: [Neo4j] How to build neo4j projects from GitHub

2011-10-15 Thread Brendan cheng
to see the full log... /peter Sent from my phone. On Oct 15, 2011 12:36 PM, Brendan cheng ccp...@hotmail.com wrote: Peter,It is from Maven 3.0.2. What version shall we use? Brendan Date: Sat, 15 Oct 2011 12:32:07 +0200 From: peter.neuba

[Neo4j] Best practice for User Authentication and Authorization

2011-09-14 Thread Brendan cheng
Hi, What design pattern do you recommend for user authentication and authorization in neo4j graph?I'm searching a simple and flexible way to restrict the access to certain part of graph which is dynamically depends on the user and role...etc.How to avoid excessive traversing? Any idea is

[Neo4j] Any experience sharing on running Neo4j in Cloudbees

2011-08-10 Thread Brendan cheng
Hi, Do you have any experience in running Neo4j server or Neo4j HA on CLoudBees?I'm evaluating this solution and would like to hear your valuable experience or tips. Thanks, Brendan ___ Neo4j mailing list

[Neo4j] Possibility of extending Zookeeper features to App Server

2011-07-01 Thread Brendan Cheng
Hi, I'm very interested your HA architecture and wonder if possible to extend the zookeeper features in order to cover the jobs for an app server. So that, we can have much simply architecture. The jobs for app server includes user authentication, encryption service for communication..etc. from

[Neo4j] Trouble with Exclude and Continue in Traversal

2011-04-08 Thread Brendan Cheng
Hi, I wrote a Traversal Description which runs quite well but not after adding a timestamp check to filter the older nodes. It crashed. I used a Exclude and Continue in the evaluator as follow: Traversal.description().order(Traversal.postorderBreadthFirst()).evaluator( new

[Neo4j] How to trim first couple nodes from path in traversal framework?

2011-04-06 Thread Brendan Cheng
Hi, I would like to fetch a ending portion of a path where the timestamp of the relationship match. for example: (Node 1)---2pm(Node 3)---3PM---(Node 4)4PM---(Node 64) from the above , I only want the subpath starting from Node 4 onward for the timestamp greater than 3:30PM How could

[Neo4j] How to filter the duplicated nodes or relationsh​ip in traverser?

2011-03-28 Thread Brendan Cheng
Hi, I setup a traversal description with Uniqueness.NODE_PATH and the side effect is duplicated nodes output. How to filter the duplicated output in nodes and relationship under your Transversal Framework? Also, this link isn't working

[Neo4j] ServerPlugin doesn't support Node as PluginTarget

2011-02-28 Thread Brendan Cheng
Hi I can't successfully load and server plugin module with Node as plugin target but no problem with GraphDatabaseService even with your example like DepthTwo. cheers, Brendan ___ Neo4j mailing list User@lists.neo4j.org

[Neo4j] Any difference in using nested Transaction in ServerPlugin Module?

2011-02-28 Thread Brendan Cheng
Hi I received message : Unable to commit transaction, exception : org.neo4j.graphdb.TransactionFailureException: Unable to commit transaction, stacktrace : [ org.neo4j.kernel.TopLevelTransaction.finish(TopLevelTransaction.java:98), After I used Nested Transaction in my serverplugin module

[Neo4j] ServerPlugin example GetAll failed to load

2011-02-27 Thread Brendan Cheng
Hi, I tried to load the GetAll example into ServerPlugin directory of 1.3.M03 but found: 22:58:28 | 850 [WrapperSimpleAppMain] WARN org.neo4j.server.plugins.PluginManager - Failed to load plugin: ServerPlugin[GetAll] INFO | jvm 1| 2011/02/27 22:58:28 | java.lang.IllegalArgumentException:

[Neo4j] Maven clean install error The source must not be a directory

2011-02-23 Thread Brendan Cheng
Hi, I tried to build from the source code with Maven but failed with The source must not be a directory. I did some search on internet found this is a unresolved bug. I wonder how do you overcome it? Cheers, Brendan --- maven-dependency-plugin:2.1:unpack-dependencies (get-sources) @ neo4j ---

Re: [Neo4j] Online backup works in full but not incremental

2011-02-22 Thread Brendan Cheng
) that it's the server which somehow requests to do the incremental backup. Aren't you doing backup of the server database? 2011/2/21 Brendan Cheng ccp...@gmail.com Tobias, Here s the stack trace and part of the wrapper.log: run: Mon Feb 21 10:28:59 CST 2011: Client connected to 192.168.1.101

Re: [Neo4j] Online backup works in full but not incremental

2011-02-20 Thread Brendan Cheng
Tobias, Here s the stack trace and part of the wrapper.log: run: Mon Feb 21 10:28:59 CST 2011: Client connected to 192.168.1.101:6362 Mon Feb 21 10:29:00 CST 2011: Opened a new channel to /192.168.1.101:6362 21-Feb-2011 10:29:20 itags.Sync.SyncData main SEVERE: null org.neo4j.com.ComException:

[Neo4j] webadmin failed to show full page in ubuntu Java

2011-02-19 Thread Brendan Cheng
Hi, I tried to run the Webadmin from newly installed Linux ubuntu 10.0.4 with Openjdk 6 and icetea 6 but found only half of page loaded. Also the Linux is in Oracle VM box 4.0.4. is this a known lissue? Any idea? Thanks in advance, Brendan ___ Neo4j

Re: [Neo4j] Onlineback up Error on 1.3M02

2011-02-16 Thread Brendan Cheng
...@burningskysoftware.com wrote: Lots of things can be very different on Windows! I definitely encourage the neo team to run its tests on both Linux and Windows, to help uncover any platform specific issues. - Reply message - From: Brendan Cheng ccp...@gmail.com Date: Tue, Feb 15, 2011 4:57 am Subject

Re: [Neo4j] Onlineback up Error on 1.3M02

2011-02-15 Thread Brendan Cheng
; charset=UTF-8 2011/2/14 Brendan Cheng ccp...@gmail.com Thanks for the advice but I still get an exception I added enable_online_backup = true to neo4j-server.properties but still getting run: Tue Feb 15 01:30:58 CST 2011: Client connected to localhost:6362 Tue Feb 15 01:30:58 CST 2011

Re: [Neo4j] Onlineback up Error on 1.3M02

2011-02-14 Thread Brendan Cheng
( localhost ); and it should work (just tried it). 2011/2/14 Brendan Cheng ccp...@gmail.com Hi, I was trying to test the online backup process. I received a ComException saying Channel has been closed. Here is my code which is copied from your Testbackup with a small modification

[Neo4j] Synchronisation between server and clients in Neo4j

2011-02-02 Thread Brendan Cheng
Hi, I'm thinking of setting a system where each client store part of the server data for offline assess or reducing the workload of server. I'm not sure if there is a recommended way pf doing it. How should I do the synchronization for only part of data in most efficient way? Should I using