[Neo4j] Oracle suing open source product developers using Java

2010-08-14 Thread suryadev vasudev
Hi Neo team,
Friday the 13th was a bad day for Java lovers. All of us heard today that
Oracle is suing Google for using Java in Android. This mobile O/S uses Java
and is open source.
We all know Google could have used its own operating system. Java provides
no feature that a smart team of people can't write. Streams, file handling,
Internet protocols, GUI are not the exclusive domain of Java. All these
things were done in Assembly, C and C++ languages.
Neo team also has made the same mistake as Google. You could have used C or
C** to develop your application.  Are you concerned that Oracle may train
its gun on you? Neo DB could be a threat to Oracle.
What are your road maps to move away from Java? or do you think you are
protected from similar law suits?

Regards
Suryadev
___
Neo4j mailing list
User@lists.neo4j.org
https://lists.neo4j.org/mailman/listinfo/user


Re: [Neo4j] GSoC work result, Featuring Gephi & Neo4j

2010-08-14 Thread Martin Skurla
Hi Andreas,


this is strange because yesterday I just download the source codes
from Bazaar to be sure they work and they compile without problems. Do
you use latest version of NetBeans? I mean NetBeans 6.9. The reason is
because whole Gephi was ported to the 6.9 version and there are some
changes in core modules and we changed appropriate dependencies too,
so you have to have the newest version.

If problems will remain even when you use 6.9 version, you can post
the error message and we will solve it.

Distribution other than from sources is not a very good idea as I am
fixing last bugs these days, so every new branch version is more
stable with less bugs.


//Martin


2010/8/14 Andreas Guenther :
> Martin,
>
> This is fantastic! I checked out the branch you point but when trying to
> build the build.xml file I am getting missing Netbeans dependency
> failures. Is there an easy way for me to use this cool extension without
> having to build it?
>
> Thanks,
> -Andreas
>
> On 8/11/2010 12:25 PM, Martin Skurla wrote:
>> Hi all,
>>
>>
>> My name is Martin Škurla and this summer I was working on GSoC project
>> called "Adding support for Neo4j in Gephi". I would like to introduce
>> to all of you an article summarizing all implemented features
>> including these under the hood, pictures of dialogs, common use cases
>> and future plans. Very important part of the article is a
>> Questionnaire which is a very valuable source of informations for
>> further Gephi&  Neo4j cooperation. Thanks for any response.
>>
>> The article can be found here:
>> http://gephi.org/2010/gsoc-2010-mid-term-adding-support-for-neo4j-in-gephi/
>>
>>
>> Thanks,
>> Martin Škurla
>> ___
>> 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] Oracle suing open source product developers using Java

2010-08-14 Thread Peter Neubauer
Suryadev,
the lawsuit against Google is regarding the implementation of JDK, JRE
and libraries being API - compatible to Java but not attributing and
licensing it with Sun/Oracle Java. It has nothing to do with anything
built on top of the Java specification and clearly stating so, like
any Java application (Neo4j being one).

So, please stop spreading FUD to the Java community about this.

Cheers,

/peter neubauer

COO and Sales, 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 Sat, Aug 14, 2010 at 10:03 AM, suryadev vasudev
 wrote:
> Hi Neo team,
> Friday the 13th was a bad day for Java lovers. All of us heard today that
> Oracle is suing Google for using Java in Android. This mobile O/S uses Java
> and is open source.
> We all know Google could have used its own operating system. Java provides
> no feature that a smart team of people can't write. Streams, file handling,
> Internet protocols, GUI are not the exclusive domain of Java. All these
> things were done in Assembly, C and C++ languages.
> Neo team also has made the same mistake as Google. You could have used C or
> C** to develop your application.  Are you concerned that Oracle may train
> its gun on you? Neo DB could be a threat to Oracle.
> What are your road maps to move away from Java? or do you think you are
> protected from similar law suits?
>
> Regards
> Suryadev
> ___
> 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] Oracle suing open source product developers using Java

2010-08-14 Thread Arjen van der Meijden
Isn't the Oracle-Google suit against the jvm-like internals of Android, 
rather than the fact that the application developers use Java?

Besides, afaik patents are language independent, so that won't matter 
much anyway. But fortunately, Neo4j isn't an American company, but 
European. Software patents aren't so common in the EU, nor are software 
patent based lawsuits.

Anyway, I think you blow things way out of proportion now. Although I'd 
have to agree that the Oracle-suit is rather silly (they're probably 
hoping to get some piece of the pie by getting a license agreement with 
Google).

Best regards,

Arjen

On 14-8-2010 10:03 suryadev vasudev wrote:
> Hi Neo team,
> Friday the 13th was a bad day for Java lovers. All of us heard today that
> Oracle is suing Google for using Java in Android. This mobile O/S uses Java
> and is open source.
> We all know Google could have used its own operating system. Java provides
> no feature that a smart team of people can't write. Streams, file handling,
> Internet protocols, GUI are not the exclusive domain of Java. All these
> things were done in Assembly, C and C++ languages.
> Neo team also has made the same mistake as Google. You could have used C or
> C** to develop your application.  Are you concerned that Oracle may train
> its gun on you? Neo DB could be a threat to Oracle.
> What are your road maps to move away from Java? or do you think you are
> protected from similar law suits?
>
> Regards
> Suryadev
> ___
> 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] Oracle suing open source product developers usi ng Java

2010-08-14 Thread rick.bullo...@burningskysoftware.com
The legal basis of the lawsuit with Google has nothing to do with "open source 
projects using java", and there is no reason for concern relative to neo4j.

- Reply message -
From: "suryadev vasudev" 
Date: Sat, Aug 14, 2010 4:03 am
Subject: [Neo4j] Oracle suing open source product developers using Java
To: "Neo4j user discussions" 

Hi Neo team,
Friday the 13th was a bad day for Java lovers. All of us heard today that
Oracle is suing Google for using Java in Android. This mobile O/S uses Java
and is open source.
We all know Google could have used its own operating system. Java provides
no feature that a smart team of people can't write. Streams, file handling,
Internet protocols, GUI are not the exclusive domain of Java. All these
things were done in Assembly, C and C++ languages.
Neo team also has made the same mistake as Google. You could have used C or
C** to develop your application.  Are you concerned that Oracle may train
its gun on you? Neo DB could be a threat to Oracle.
What are your road maps to move away from Java? or do you think you are
protected from similar law suits?

Regards
Suryadev
___
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] Oracle suing open source product developers usi ng Java

2010-08-14 Thread rick.bullo...@burningskysoftware.com
Precisely, Arjen.   The likely outcome is one of the many cross licensing 
agreements that exist between the big software companies. Phone manufacturers 
who use Java ME have been doing this for a while.

- Reply message -
From: "Arjen van der Meijden" 
Date: Sat, Aug 14, 2010 5:57 am
Subject: [Neo4j] Oracle suing open source product developers using Java
To: 

Isn't the Oracle-Google suit against the jvm-like internals of Android, 
rather than the fact that the application developers use Java?

Besides, afaik patents are language independent, so that won't matter 
much anyway. But fortunately, Neo4j isn't an American company, but 
European. Software patents aren't so common in the EU, nor are software 
patent based lawsuits.

Anyway, I think you blow things way out of proportion now. Although I'd 
have to agree that the Oracle-suit is rather silly (they're probably 
hoping to get some piece of the pie by getting a license agreement with 
Google).

Best regards,

Arjen

On 14-8-2010 10:03 suryadev vasudev wrote:
> Hi Neo team,
> Friday the 13th was a bad day for Java lovers. All of us heard today that
> Oracle is suing Google for using Java in Android. This mobile O/S uses Java
> and is open source.
> We all know Google could have used its own operating system. Java provides
> no feature that a smart team of people can't write. Streams, file handling,
> Internet protocols, GUI are not the exclusive domain of Java. All these
> things were done in Assembly, C and C++ languages.
> Neo team also has made the same mistake as Google. You could have used C or
> C** to develop your application.  Are you concerned that Oracle may train
> its gun on you? Neo DB could be a threat to Oracle.
> What are your road maps to move away from Java? or do you think you are
> protected from similar law suits?
>
> Regards
> Suryadev
> ___
> 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


[Neo4j] ​Neo4j, third party JTA Transaction M anager integration and potential bug.

2010-08-14 Thread Degrassi Francesco

Hello everybody,

We're evaluating Neo4j for integration in two products we are developing.

One of the aspects we are interested in is making an embedded neo4j instance
participate in JTA/XA transactions with a postgresql datasource and possibly
JMS.

 

I'm sorry if this is a bit long but the matter is complex.

 

From what i understood after a bit of research, currently neo4j does not allow
to use an external TransactionManager out of the box. 

I then dug into the source code and simply patched the following classes to
allow me to pass an external JTA TransactionManager instance down to the
TxModule, replacing Neo4j own TxManager.

 

For our tests we used the following:

 * Neo4J 1.1

 * Atomikos TransactionEssentials JTA Manager 3.6.5

 * postgresql XA-enabled JDBC driver wrapped in an AtomikosDataSourceBean

 

We created a simple test app which creates a very minimal Spring
ApplicationContext which sets up the neo4j database, the JTA manager, the JDBC
datasource and a sample transactional service which interacts with both the
relational database and the graph database; we used Spring
"tx:annotation-driven" infrastructure to handle begin/commit/rollback of the
global transactions.

 

Upon starting it, we got the following exception:

 

org.neo4j.kernel.impl.transaction.LockNotFoundException: No transaction lock
element found for Placebo tx for thread
Thread[net.emaze.springexperiment.App.main(),5,net.emaze.springexperiment.App]

at org.neo4j.kernel.impl.transaction.RWLock.releaseWriteLock(RWLock.java:345)

at
org.neo4j.kernel.impl.transaction.LockManager.releaseWriteLock(LockManager.java:202)

at org.neo4j.kernel.impl.core.LockReleaser.releaseLocks(LockReleaser.java:337)

at
org.neo4j.kernel.impl.core.LockReleaser$ReadOnlyTxReleaser.afterCompletion(LockReleaser.java:713)

at com.atomikos.icatch.jta.Sync2Sync.afterCompletion(Sync2Sync.java:91)

at com.atomikos.icatch.imp.SynchToFSM.doAfterCompletion(SynchToFSM.java:38)

at com.atomikos.icatch.imp.SynchToFSM.entered(SynchToFSM.java:59)

at com.atomikos.finitestates.FSMImp.notifyListeners(FSMImp.java:197)

at com.atomikos.finitestates.FSMImp.setState(FSMImp.java:288)

at com.atomikos.icatch.imp.CoordinatorImp.setState(CoordinatorImp.java:498)

at
com.atomikos.icatch.imp.CoordinatorImp.setStateHandler(CoordinatorImp.java:328)

at
com.atomikos.icatch.imp.CoordinatorStateHandler.commit(CoordinatorStateHandler.java:730)

at
com.atomikos.icatch.imp.IndoubtStateHandler.commit(IndoubtStateHandler.java:225)

at com.atomikos.icatch.imp.CoordinatorImp.commit(CoordinatorImp.java:828)

at com.atomikos.icatch.imp.CoordinatorImp.terminate(CoordinatorImp.java:1127)

at
com.atomikos.icatch.imp.CompositeTerminatorImp.commit(CompositeTerminatorImp.java:151)

at com.atomikos.icatch.jta.TransactionImp.commit(TransactionImp.java:298)

at
com.atomikos.icatch.jta.TransactionManagerImp.commit(TransactionManagerImp.java:612)

at
com.atomikos.icatch.jta.UserTransactionImp.commit(UserTransactionImp.java:168)

at
org.springframework.transaction.jta.JtaTransactionManager.doCommit(JtaTransactionManager.java:1028)

at
org.springframework.transaction.support.AbstractPlatformTransactionManager.processCommit(AbstractPlatformTransactionManager.java:732)

at
org.springframework.transaction.support.AbstractPlatformTransactionManager.commit(AbstractPlatformTransactionManager.java:701)

at
org.springframework.transaction.interceptor.TransactionAspectSupport.commitTransactionAfterReturning(TransactionAspectSupport.java:321)

at
org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:116)

at
org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)

at
org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:204)

at $Proxy9.success(Unknown Source)

at net.emaze.springexperiment.App.main(App.java:21)

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 org.codehaus.mojo.exec.ExecJavaMojo$1.run(ExecJavaMojo.java:291)

at java.lang.Thread.run(Thread.java:619)

 

Further analysis resulted in the following hypothesis.

1. the external JTA TransactionManager correctly completes the transaction

2. the TransactionManager then calls the Synchronization.afterCompletion()
method on the LockReleaser$ReadOnlyTxReleaser for the (now finished)
transaction.

3. This causes LockReleaser.releaseLocks() to be called, which through various
calls invokes the RWLock.releaseWriteLock() method.

4. At this point RWLock.releaseWriteLock() calls
RagManager.getCurrentTransaction(), which delegates to the TransactionManager,
which correctly returns null, since the transaction is already completed.

5. RWLock.releaseWriteLock then creates a PlaceboTransaction

[Neo4j] Timeline class in Neo Index

2010-08-14 Thread Rick Bullotta
Hi, all.

 

Has anyone used the Timeline capabilities for a searchable set of
timestamped nodes?  I was about to write my own custom linked list
implementation using relationships w/a timestamp property, and came across
this.  I have a need to handle queries similar to those provided by the
TimelineIndex with a few additions:

 

-  I want to be able to limit the # of nodes retrieved to a maximum
of "n"

-  I need to be able to retrieve nodes either in increasing
timestamp or decreasing timestamp order

 

I was planning on either building a new set of classes based on Timeline,
extending Timeline, or starting from scratch.  Any insights/suggestions
welcomed.

 

Best,

 

Rick

 

___
Neo4j mailing list
User@lists.neo4j.org
https://lists.neo4j.org/mailman/listinfo/user


Re: [Neo4j] Use of LuceneFulltextIndexBatchInserter

2010-08-14 Thread Paddy
I posted a question on MathOverflow
http://mathoverflow.net/questions/35563/best-algorithm-to-use-for-a-bus-train-transport-route-planner
and I emailed the authors of the slides, hopefully we can get some more
insights into the bidirectional A*  or the best algorithm to use.

A lot of research has been done in this field, this describes a A* algorithm
with landmarks:
 : http://www.optimization-online.org/DB_HTML/2008/11/2154.html

Also the  "Dijkstra’s Algorithm On-Line: An Empirical Case Study from Public
Railroad Transport" paper also looks good

cheers
Paddy

On Fri, Aug 13, 2010 at 10:06 PM, Paddy  wrote:

> Thanks Peter,
> Sounds good, Yes that would be a great addition to the graph-algo! I would
> love to contribute but I'm not sure where to begin, it looks pretty
> complicated. Also I noticed the ExperimentalAStar in
> org.neo4j.graphalgo.impl.path . What is the difference between AStar.java
> and the ExperimentalAStar.java ?
>
> found some very interesting slides too regarding a bidirectional A*:
>
> Bidirectional A* on Time-Dependent Graphs
> http://ctw08.dti.unimi.it/slides/B5/B5-1-Nannicini.pdf
>
> It describes the European road network as: "roughly 18M nodes, 42M arcs".
>
> and
>
> "A very good implementation of Dijkstra’s algorithm explores on average 9M
> nodes and takes more than 6 seconds
> (european road network): it’s too long!"
>
> &
>
>
> http://www.cs.princeton.edu/courses/archive/spr06/cos423/Handouts/EPP%20shortest%20path%20algorithms.pdf-
>  page 4
>
> Thanks
> Paddy
>
>
>
> On Fri, Aug 13, 2010 at 2:21 PM, Peter Neubauer <
> peter.neuba...@neotechnology.com> wrote:
>
>> Paddy,
>> apart from tweaking the system, we have been thinking about a
>> t that would start from both ends and route. Not sure
>> how advanced that would be but I think it could come in handy. If you
>> have time later on, that might be an interesting place to investigate
>> some contribution to the graph-algo package :)
>>
>> Overall, the field of routing algos seems to be a very wide one, so I
>> think once things are working at your end, there is a whole lot
>> regarding better suitable algos taking into account special context
>> and constraints that could be done ...
>>
>> Cheers,
>>
>> /peter neubauer
>>
>> COO and Sales, 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 Fri, Aug 13, 2010 at 11:14 PM, Paddy  wrote:
>> > Hi Peter,
>> > Nearly there :) I'm going to make a few changes to try increase the
>> speed of
>> > the a*star route finder, as the current graph is 1.2gb with 1million
>> nodes
>> > and 10 million relationships.
>> > - reducing the database size by only including bus routes between 7am to
>> 1pm
>> > on Mondays instead of every bus route for every day
>> > - configuring the neo4j_config.props for traversal and injecting it in
>> the
>> > spring bean
>> > - creating less relationships by adding less walking connections between
>> > stops e.g only add connections for stops within 50m
>> >
>> > this will reduce the size of the db and hopefully this will speed up the
>> > path finding and as it can take 5-10 seconds for long routes with the
>> > current graph.
>> > I will let you know
>> >
>> > Cheers
>> > Paddy
>> >
>> > On Thu, Aug 12, 2010 at 11:27 PM, Peter Neubauer <
>> > peter.neuba...@neotechnology.com> wrote:
>> >
>> >> Glad you solved it!
>> >>
>> >> Btw, is the site now officially online?
>> >>
>> >> Cheers,
>> >>
>> >> /peter neubauer
>> >>
>> >> COO and Sales, 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 Fri, Aug 13, 2010 at 4:38 AM, Paddy  wrote:
>> >> > Hi,
>> >> > so I just needed to use :) :
>> >> >  LuceneFulltextIndexBatchInserter index = new
>> >> > LuceneFulltextIndexBatchInserter( inserter );
>> >> > Good batch insert example @
>> >> >
>> >>
>> https://svn.neo4j.org/components/index/trunk/src/test/java/org/neo4j/index/lucene/TestBatchInsert.java
>> >> >
>> >> > Paddy
>> >> >
>> >> > On Wed, Aug 11, 2010 at 8:47 PM, Paddy  wrote:
>> >> >
>> >> >> Hi,
>> >> >> I would like to use the LuceneFulltextIndexBatchInserter instead of
>> >> >> the LuceneIndexBatchInserter to allow fulltext lucene indexing.
>> >> >> How can I initialize the LuceneFulltextIndexBatchInserter ?
>> >> >> the example on http://wiki.neo4j.org/content/Batch_Insert gives an
>> >> example
>> >> >> for the LuceneInde

Re: [Neo4j] ​Neo4j, third party JTA Transaction M anager integration and potential bug.

2010-08-14 Thread Andreas Guenther
Francesco,

We tried the same thing where we wanted to have Neo participate in MySQL 
and Compass transactions. After several attempts of trying to combine 
them all using JTA/XA and going down a similar path you did we finally 
ended up using chained transactions as outlined @ 
http://www.javaworld.com/javaworld/jw-01-2009/jw-01-spring-transactions.html. 
In our specific case Compass automatically registers with MySQL so that 
our chain consists of database transaction manager and Neo4j transaction 
manager only. Certainly, there's a slight chance to run into commit 
inconsistencies based on how this works but that chance is very slim 
knowing the failure point. This has been working for us for over a year 
now and we even experienced some MySQL and Neo datasource failures 
leading to proper rollbacks. Maybe this is something you want to further 
explore. Another option we tried is to build the same transaction 
participation around Neo that Compass uses but we eventually disliked 
the dependencies resulting from this effort.

I am very curious how you will end up using Neo4j with other transaction 
managers. So far, I haven't seen any concrete example of Database-Neo4j 
JTA/XA transactions in practice other than many claiming it should work ;)

Hope this somewhat helps,
-Andreas

On 8/14/2010 4:49 AM, Degrassi Francesco wrote:
> Hello everybody,
>
> We're evaluating Neo4j for integration in two products we are developing.
>
> One of the aspects we are interested in is making an embedded neo4j instance
> participate in JTA/XA transactions with a postgresql datasource and possibly
> JMS.
>
>   
>
> I'm sorry if this is a bit long but the matter is complex.
>
>   
>
>  From what i understood after a bit of research, currently neo4j does not 
> allow
> to use an external TransactionManager out of the box. 
>
> I then dug into the source code and simply patched the following classes to
> allow me to pass an external JTA TransactionManager instance down to the
> TxModule, replacing Neo4j own TxManager.
>
>   
>
> For our tests we used the following:
>
>   * Neo4J 1.1
>
>   * Atomikos TransactionEssentials JTA Manager 3.6.5
>
>   * postgresql XA-enabled JDBC driver wrapped in an AtomikosDataSourceBean
>
>   
>
> We created a simple test app which creates a very minimal Spring
> ApplicationContext which sets up the neo4j database, the JTA manager, the JDBC
> datasource and a sample transactional service which interacts with both the
> relational database and the graph database; we used Spring
> "tx:annotation-driven" infrastructure to handle begin/commit/rollback of the
> global transactions.
>
>   
>
> Upon starting it, we got the following exception:
>
>   
>
> org.neo4j.kernel.impl.transaction.LockNotFoundException: No transaction lock
> element found for Placebo tx for thread
> Thread[net.emaze.springexperiment.App.main(),5,net.emaze.springexperiment.App]
>
> at org.neo4j.kernel.impl.transaction.RWLock.releaseWriteLock(RWLock.java:345)
>
> at
> org.neo4j.kernel.impl.transaction.LockManager.releaseWriteLock(LockManager.java:202)
>
> at org.neo4j.kernel.impl.core.LockReleaser.releaseLocks(LockReleaser.java:337)
>
> at
> org.neo4j.kernel.impl.core.LockReleaser$ReadOnlyTxReleaser.afterCompletion(LockReleaser.java:713)
>
> at com.atomikos.icatch.jta.Sync2Sync.afterCompletion(Sync2Sync.java:91)
>
> at com.atomikos.icatch.imp.SynchToFSM.doAfterCompletion(SynchToFSM.java:38)
>
> at com.atomikos.icatch.imp.SynchToFSM.entered(SynchToFSM.java:59)
>
> at com.atomikos.finitestates.FSMImp.notifyListeners(FSMImp.java:197)
>
> at com.atomikos.finitestates.FSMImp.setState(FSMImp.java:288)
>
> at com.atomikos.icatch.imp.CoordinatorImp.setState(CoordinatorImp.java:498)
>
> at
> com.atomikos.icatch.imp.CoordinatorImp.setStateHandler(CoordinatorImp.java:328)
>
> at
> com.atomikos.icatch.imp.CoordinatorStateHandler.commit(CoordinatorStateHandler.java:730)
>
> at
> com.atomikos.icatch.imp.IndoubtStateHandler.commit(IndoubtStateHandler.java:225)
>
> at com.atomikos.icatch.imp.CoordinatorImp.commit(CoordinatorImp.java:828)
>
> at com.atomikos.icatch.imp.CoordinatorImp.terminate(CoordinatorImp.java:1127)
>
> at
> com.atomikos.icatch.imp.CompositeTerminatorImp.commit(CompositeTerminatorImp.java:151)
>
> at com.atomikos.icatch.jta.TransactionImp.commit(TransactionImp.java:298)
>
> at
> com.atomikos.icatch.jta.TransactionManagerImp.commit(TransactionManagerImp.java:612)
>
> at
> com.atomikos.icatch.jta.UserTransactionImp.commit(UserTransactionImp.java:168)
>
> at
> org.springframework.transaction.jta.JtaTransactionManager.doCommit(JtaTransactionManager.java:1028)
>
> at
> org.springframework.transaction.support.AbstractPlatformTransactionManager.processCommit(AbstractPlatformTransactionManager.java:732)
>
> at
> org.springframework.transaction.support.AbstractPlatformTransactionManager.commit(AbstractPlatformTransactionManager.java:701)
>
> at
> org.springframework.transaction.interceptor.TransactionAspectSupport.commitTransactionAfterR

[Neo4j] pom versioning issue?

2010-08-14 Thread Andreas Guenther
I was trying to build Neo from scratch again and noticed that the trunk 
parent pom's version is set to 8-SNAPSHOT but all other trunk modules 
are still on 7. I installed the tag parent version 7 and then built all 
other modules. Shall all trunk modules be on 7 or 8-SNAPSHOT?

-Andreas

https://svn.neo4j.org/components/parent/trunk/pom.xml:

   8-SNAPSHOT



https://svn.neo4j.org/components/parent/tags/7/pom.xml

   7


https://svn.neo4j.org/components/kernel/trunk/pom.xml

   
 org.neo4j
 parent-pom
 7
   


___
Neo4j mailing list
User@lists.neo4j.org
https://lists.neo4j.org/mailman/listinfo/user


Re: [Neo4j] GSoC work result, Featuring Gephi & Neo4j

2010-08-14 Thread Andreas Guenther
Thanks for the reply. I actually ended up installing Netbeans and 
started it from within the IDE. When trying to perform a whole import of 
some Neo stores with all default values in the Gephi dialogs I am 
getting the following exception traces. Any ideas what I am doing wrong? 
BTW, I am able to open both stores with Neoclipse without any issues.

[Test Import 1]
Neo store used: svn.neo4j.org:\components\kernel\trunk\target\neodb
Import type: whole import
Exception: java.lang.IllegalStateException (See details below)

[Test Import 2]
Neo store used: Custom data from a Neo 1.0 store
Import type: whole import
Exception: java.lang.NullPointerException (See details below)

-Andreas

java.lang.IllegalStateException: Problem in some module which uses 
Window System: Window System API is required to be called from AWT 
thread only, see http://core.netbeans.org/proposals/threading/

 at 
org.netbeans.core.windows.WindowManagerImpl.warnIfNotInEDT(WindowManagerImpl.java:1520)

 at 
org.netbeans.core.windows.WindowManagerImpl.findTopComponent(WindowManagerImpl.java:253)

 at 
org.gephi.desktop.preview.PreviewTopComponent.findInstance(PreviewTopComponent.java:282)

 at 
org.gephi.desktop.preview.PreviewUIController$1.disable(PreviewUIController.java:69)

 at 
org.gephi.project.impl.ProjectControllerImpl.fireWorkspaceEvent(ProjectControllerImpl.java:296)

 at 
org.gephi.project.impl.ProjectControllerImpl.closeCurrentProject(ProjectControllerImpl.java:116)

 at 
org.gephi.project.impl.ProjectControllerImpl.newProject(ProjectControllerImpl.java:77)

 at 
org.gephi.neo4j.impl.Neo4jImporterImpl.createNewProject(Neo4jImporterImpl.java:188)

 at 
org.gephi.neo4j.impl.Neo4jImporterImpl.importGraph(Neo4jImporterImpl.java:135)

 at 
org.gephi.neo4j.impl.Neo4jImporterImpl.doImport(Neo4jImporterImpl.java:123)

 at 
org.gephi.neo4j.impl.Neo4jImporterImpl.importDatabase(Neo4jImporterImpl.java:117)

 at 
org.gephi.neo4j.impl.Neo4jImporterImpl.importDatabase(Neo4jImporterImpl.java:61)

 at 
org.gephi.desktop.neo4j.Neo4jMenuAction$1$1.run(Neo4jMenuAction.java:100)

 at 
org.gephi.utils.longtask.api.LongTaskExecutor$RunningLongTask.run(LongTaskExecutor.java:228)

 at 
java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:441)

 at 
java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)

 at java.util.concurrent.FutureTask.run(FutureTask.java:138)

 at 
java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)

 at 
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)

[catch] at java.lang.Thread.run(Thread.java:619)






java.lang.NullPointerException

 at 
org.gephi.data.attributes.AttributeFactoryImpl.newValue(AttributeFactoryImpl.java:45)

 at 
org.gephi.data.attributes.AttributeRowImpl.setValue(AttributeRowImpl.java:97)

 at 
org.gephi.data.attributes.AttributeRowImpl.setValue(AttributeRowImpl.java:80)

 at 
org.gephi.neo4j.impl.GraphModelConvertor.fillGephiEdgeDataWithNeoRelationshipData(GraphModelConvertor.java:139)

 at 
org.gephi.neo4j.impl.GraphModelConvertor.createGephiEdge(GraphModelConvertor.java:123)

 at 
org.gephi.neo4j.impl.Neo4jImporterImpl.processRelationship(Neo4jImporterImpl.java:183)

 at 
org.gephi.neo4j.impl.Neo4jImporterImpl.importRelationships(Neo4jImporterImpl.java:178)

 at 
org.gephi.neo4j.impl.Neo4jImporterImpl.importGraph(Neo4jImporterImpl.java:144)

 at 
org.gephi.neo4j.impl.Neo4jImporterImpl.doImport(Neo4jImporterImpl.java:123)

 at 
org.gephi.neo4j.impl.Neo4jImporterImpl.importDatabase(Neo4jImporterImpl.java:117)

 at 
org.gephi.neo4j.impl.Neo4jImporterImpl.importDatabase(Neo4jImporterImpl.java:61)

 at 
org.gephi.desktop.neo4j.Neo4jMenuAction$1$1.run(Neo4jMenuAction.java:100)

 at 
org.gephi.utils.longtask.api.LongTaskExecutor$RunningLongTask.run(LongTaskExecutor.java:228)

 at 
java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:441)

 at 
java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)

 at java.util.concurrent.FutureTask.run(FutureTask.java:138)

 at 
java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)

 at 
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)

[catch] at java.lang.Thread.run(Thread.java:619)


On 8/14/2010 2:04 AM, Martin Skurla wrote:
> Hi Andreas,
>
>
> this is strange because yesterday I just download the source codes
> from Bazaar to be sure they work and they compile without problems. Do
> you use latest version of NetBeans? I mean NetBeans 6.9. The reason is
> beca

Re: [Neo4j] GSoC work result, Featuring Gephi & Neo4j

2010-08-14 Thread Martin Skurla
Hi Andreas,


first problem is something with NetBeans and its Threads. In fact the
Project API usage will be a little bit rewritten, because there are
some minor problems and this maybe will fix this problem too.

Second problems occurs during parsing and from the stack trace it
seems like there is either new type in Neo4j or bug in my code, which
is very strange because all possible Neo4j types were imported from
testing database without problems. I will know more after debug.

Anyway, thanks for response, I will try to solve them as soon as possible.


Thanks,
Martin


2010/8/14 Andreas Guenther :
> Thanks for the reply. I actually ended up installing Netbeans and
> started it from within the IDE. When trying to perform a whole import of
> some Neo stores with all default values in the Gephi dialogs I am
> getting the following exception traces. Any ideas what I am doing wrong?
> BTW, I am able to open both stores with Neoclipse without any issues.
>
> [Test Import 1]
> Neo store used: svn.neo4j.org:\components\kernel\trunk\target\neodb
> Import type: whole import
> Exception: java.lang.IllegalStateException (See details below)
>
> [Test Import 2]
> Neo store used: Custom data from a Neo 1.0 store
> Import type: whole import
> Exception: java.lang.NullPointerException (See details below)
>
> -Andreas
>
> java.lang.IllegalStateException: Problem in some module which uses
> Window System: Window System API is required to be called from AWT
> thread only, see http://core.netbeans.org/proposals/threading/
>
>             at
> org.netbeans.core.windows.WindowManagerImpl.warnIfNotInEDT(WindowManagerImpl.java:1520)
>
>             at
> org.netbeans.core.windows.WindowManagerImpl.findTopComponent(WindowManagerImpl.java:253)
>
>             at
> org.gephi.desktop.preview.PreviewTopComponent.findInstance(PreviewTopComponent.java:282)
>
>             at
> org.gephi.desktop.preview.PreviewUIController$1.disable(PreviewUIController.java:69)
>
>             at
> org.gephi.project.impl.ProjectControllerImpl.fireWorkspaceEvent(ProjectControllerImpl.java:296)
>
>             at
> org.gephi.project.impl.ProjectControllerImpl.closeCurrentProject(ProjectControllerImpl.java:116)
>
>             at
> org.gephi.project.impl.ProjectControllerImpl.newProject(ProjectControllerImpl.java:77)
>
>             at
> org.gephi.neo4j.impl.Neo4jImporterImpl.createNewProject(Neo4jImporterImpl.java:188)
>
>             at
> org.gephi.neo4j.impl.Neo4jImporterImpl.importGraph(Neo4jImporterImpl.java:135)
>
>             at
> org.gephi.neo4j.impl.Neo4jImporterImpl.doImport(Neo4jImporterImpl.java:123)
>
>             at
> org.gephi.neo4j.impl.Neo4jImporterImpl.importDatabase(Neo4jImporterImpl.java:117)
>
>             at
> org.gephi.neo4j.impl.Neo4jImporterImpl.importDatabase(Neo4jImporterImpl.java:61)
>
>             at
> org.gephi.desktop.neo4j.Neo4jMenuAction$1$1.run(Neo4jMenuAction.java:100)
>
>             at
> org.gephi.utils.longtask.api.LongTaskExecutor$RunningLongTask.run(LongTaskExecutor.java:228)
>
>             at
> java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:441)
>
>             at
> java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
>
>             at java.util.concurrent.FutureTask.run(FutureTask.java:138)
>
>             at
> java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
>
>             at
> java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
>
> [catch] at java.lang.Thread.run(Thread.java:619)
>
>
> 
>
>
>
> java.lang.NullPointerException
>
>             at
> org.gephi.data.attributes.AttributeFactoryImpl.newValue(AttributeFactoryImpl.java:45)
>
>             at
> org.gephi.data.attributes.AttributeRowImpl.setValue(AttributeRowImpl.java:97)
>
>             at
> org.gephi.data.attributes.AttributeRowImpl.setValue(AttributeRowImpl.java:80)
>
>             at
> org.gephi.neo4j.impl.GraphModelConvertor.fillGephiEdgeDataWithNeoRelationshipData(GraphModelConvertor.java:139)
>
>             at
> org.gephi.neo4j.impl.GraphModelConvertor.createGephiEdge(GraphModelConvertor.java:123)
>
>             at
> org.gephi.neo4j.impl.Neo4jImporterImpl.processRelationship(Neo4jImporterImpl.java:183)
>
>             at
> org.gephi.neo4j.impl.Neo4jImporterImpl.importRelationships(Neo4jImporterImpl.java:178)
>
>             at
> org.gephi.neo4j.impl.Neo4jImporterImpl.importGraph(Neo4jImporterImpl.java:144)
>
>             at
> org.gephi.neo4j.impl.Neo4jImporterImpl.doImport(Neo4jImporterImpl.java:123)
>
>             at
> org.gephi.neo4j.impl.Neo4jImporterImpl.importDatabase(Neo4jImporterImpl.java:117)
>
>             at
> org.gephi.neo4j.impl.Neo4jImporterImpl.importDatabase(Neo4jImporterImpl.java:61)
>
>             at
> org.gephi.desktop.neo4j.Neo4jMenuAction$1$1.run(Neo4jMenuAction.java:100)
>
>             at
> org.gephi.utils.longtask.api.LongTaskExecutor$RunningLongTask.run(LongTaskExecutor.java:228)
>
>             at
> java.util.concu

Re: [Neo4j] GSoC work result, Featuring Gephi & Neo4j

2010-08-14 Thread Martin Skurla
Hi Andreas,


I just tried to download the database but you provide unvalid link, I
cannot connect to it. Can you please provide valid link?


Cheers,
Martin

2010/8/14 Martin Skurla :
> Hi Andreas,
>
>
> first problem is something with NetBeans and its Threads. In fact the
> Project API usage will be a little bit rewritten, because there are
> some minor problems and this maybe will fix this problem too.
>
> Second problems occurs during parsing and from the stack trace it
> seems like there is either new type in Neo4j or bug in my code, which
> is very strange because all possible Neo4j types were imported from
> testing database without problems. I will know more after debug.
>
> Anyway, thanks for response, I will try to solve them as soon as possible.
>
>
> Thanks,
> Martin
>
>
> 2010/8/14 Andreas Guenther :
>> Thanks for the reply. I actually ended up installing Netbeans and
>> started it from within the IDE. When trying to perform a whole import of
>> some Neo stores with all default values in the Gephi dialogs I am
>> getting the following exception traces. Any ideas what I am doing wrong?
>> BTW, I am able to open both stores with Neoclipse without any issues.
>>
>> [Test Import 1]
>> Neo store used: svn.neo4j.org:\components\kernel\trunk\target\neodb
>> Import type: whole import
>> Exception: java.lang.IllegalStateException (See details below)
>>
>> [Test Import 2]
>> Neo store used: Custom data from a Neo 1.0 store
>> Import type: whole import
>> Exception: java.lang.NullPointerException (See details below)
>>
>> -Andreas
>>
>> java.lang.IllegalStateException: Problem in some module which uses
>> Window System: Window System API is required to be called from AWT
>> thread only, see http://core.netbeans.org/proposals/threading/
>>
>>             at
>> org.netbeans.core.windows.WindowManagerImpl.warnIfNotInEDT(WindowManagerImpl.java:1520)
>>
>>             at
>> org.netbeans.core.windows.WindowManagerImpl.findTopComponent(WindowManagerImpl.java:253)
>>
>>             at
>> org.gephi.desktop.preview.PreviewTopComponent.findInstance(PreviewTopComponent.java:282)
>>
>>             at
>> org.gephi.desktop.preview.PreviewUIController$1.disable(PreviewUIController.java:69)
>>
>>             at
>> org.gephi.project.impl.ProjectControllerImpl.fireWorkspaceEvent(ProjectControllerImpl.java:296)
>>
>>             at
>> org.gephi.project.impl.ProjectControllerImpl.closeCurrentProject(ProjectControllerImpl.java:116)
>>
>>             at
>> org.gephi.project.impl.ProjectControllerImpl.newProject(ProjectControllerImpl.java:77)
>>
>>             at
>> org.gephi.neo4j.impl.Neo4jImporterImpl.createNewProject(Neo4jImporterImpl.java:188)
>>
>>             at
>> org.gephi.neo4j.impl.Neo4jImporterImpl.importGraph(Neo4jImporterImpl.java:135)
>>
>>             at
>> org.gephi.neo4j.impl.Neo4jImporterImpl.doImport(Neo4jImporterImpl.java:123)
>>
>>             at
>> org.gephi.neo4j.impl.Neo4jImporterImpl.importDatabase(Neo4jImporterImpl.java:117)
>>
>>             at
>> org.gephi.neo4j.impl.Neo4jImporterImpl.importDatabase(Neo4jImporterImpl.java:61)
>>
>>             at
>> org.gephi.desktop.neo4j.Neo4jMenuAction$1$1.run(Neo4jMenuAction.java:100)
>>
>>             at
>> org.gephi.utils.longtask.api.LongTaskExecutor$RunningLongTask.run(LongTaskExecutor.java:228)
>>
>>             at
>> java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:441)
>>
>>             at
>> java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
>>
>>             at java.util.concurrent.FutureTask.run(FutureTask.java:138)
>>
>>             at
>> java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
>>
>>             at
>> java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
>>
>> [catch] at java.lang.Thread.run(Thread.java:619)
>>
>>
>> 
>>
>>
>>
>> java.lang.NullPointerException
>>
>>             at
>> org.gephi.data.attributes.AttributeFactoryImpl.newValue(AttributeFactoryImpl.java:45)
>>
>>             at
>> org.gephi.data.attributes.AttributeRowImpl.setValue(AttributeRowImpl.java:97)
>>
>>             at
>> org.gephi.data.attributes.AttributeRowImpl.setValue(AttributeRowImpl.java:80)
>>
>>             at
>> org.gephi.neo4j.impl.GraphModelConvertor.fillGephiEdgeDataWithNeoRelationshipData(GraphModelConvertor.java:139)
>>
>>             at
>> org.gephi.neo4j.impl.GraphModelConvertor.createGephiEdge(GraphModelConvertor.java:123)
>>
>>             at
>> org.gephi.neo4j.impl.Neo4jImporterImpl.processRelationship(Neo4jImporterImpl.java:183)
>>
>>             at
>> org.gephi.neo4j.impl.Neo4jImporterImpl.importRelationships(Neo4jImporterImpl.java:178)
>>
>>             at
>> org.gephi.neo4j.impl.Neo4jImporterImpl.importGraph(Neo4jImporterImpl.java:144)
>>
>>             at
>> org.gephi.neo4j.impl.Neo4jImporterImpl.doImport(Neo4jImporterImpl.java:123)
>>
>>             at
>> org.gephi.neo4j.impl.Neo4jImporterImpl.importDatabase(Neo4jImporterImpl.java:117)
>>
>>         

Re: [Neo4j] ​Neo4j, third party JTA Transaction M anager integration and potential bug.

2010-08-14 Thread Degrassi Francesco

Hi Andreas,

thanks for your hint, i'll look into the chained-transaction strategy as a
fallback option.

 

> I am very curious how you will end up using Neo4j with other transaction
> managers. So far, I haven't seen any concrete example of Database-Neo4j
> JTA/XA transactions in practice other than many claiming it should work ;)




Actually right now, after our hacking, our setup _seems_ to work correctly and
fully, we're writing a couple of integration tests to verify the behaviour in
some corner cases; also I am not sure if there are other aspects I've not
considered.


 

Regards, 

Francesco
___
Neo4j mailing list
User@lists.neo4j.org
https://lists.neo4j.org/mailman/listinfo/user


Re: [Neo4j] GSoC work result, Featuring Gephi & Neo4j

2010-08-14 Thread Andreas Guenther
The database will be created when you build the neo kernel module using 
Maven. I can send my local version to your personal email address if you 
want me to.

-Andreas

On 8/14/2010 1:09 PM, Martin Skurla wrote:
> Hi Andreas,
>
>
> I just tried to download the database but you provide unvalid link, I
> cannot connect to it. Can you please provide valid link?
>
>
> Cheers,
> Martin
>
> 2010/8/14 Martin Skurla:
>
>> Hi Andreas,
>>
>>
>> first problem is something with NetBeans and its Threads. In fact the
>> Project API usage will be a little bit rewritten, because there are
>> some minor problems and this maybe will fix this problem too.
>>
>> Second problems occurs during parsing and from the stack trace it
>> seems like there is either new type in Neo4j or bug in my code, which
>> is very strange because all possible Neo4j types were imported from
>> testing database without problems. I will know more after debug.
>>
>> Anyway, thanks for response, I will try to solve them as soon as possible.
>>
>>
>> Thanks,
>> Martin
>>
>>
>> 2010/8/14 Andreas Guenther:
>>  
>>> Thanks for the reply. I actually ended up installing Netbeans and
>>> started it from within the IDE. When trying to perform a whole import of
>>> some Neo stores with all default values in the Gephi dialogs I am
>>> getting the following exception traces. Any ideas what I am doing wrong?
>>> BTW, I am able to open both stores with Neoclipse without any issues.
>>>
>>> [Test Import 1]
>>> Neo store used: svn.neo4j.org:\components\kernel\trunk\target\neodb
>>> Import type: whole import
>>> Exception: java.lang.IllegalStateException (See details below)
>>>
>>> [Test Import 2]
>>> Neo store used: Custom data from a Neo 1.0 store
>>> Import type: whole import
>>> Exception: java.lang.NullPointerException (See details below)
>>>
>>> -Andreas
>>>
>>> java.lang.IllegalStateException: Problem in some module which uses
>>> Window System: Window System API is required to be called from AWT
>>> thread only, see http://core.netbeans.org/proposals/threading/
>>>
>>>  at
>>> org.netbeans.core.windows.WindowManagerImpl.warnIfNotInEDT(WindowManagerImpl.java:1520)
>>>
>>>  at
>>> org.netbeans.core.windows.WindowManagerImpl.findTopComponent(WindowManagerImpl.java:253)
>>>
>>>  at
>>> org.gephi.desktop.preview.PreviewTopComponent.findInstance(PreviewTopComponent.java:282)
>>>
>>>  at
>>> org.gephi.desktop.preview.PreviewUIController$1.disable(PreviewUIController.java:69)
>>>
>>>  at
>>> org.gephi.project.impl.ProjectControllerImpl.fireWorkspaceEvent(ProjectControllerImpl.java:296)
>>>
>>>  at
>>> org.gephi.project.impl.ProjectControllerImpl.closeCurrentProject(ProjectControllerImpl.java:116)
>>>
>>>  at
>>> org.gephi.project.impl.ProjectControllerImpl.newProject(ProjectControllerImpl.java:77)
>>>
>>>  at
>>> org.gephi.neo4j.impl.Neo4jImporterImpl.createNewProject(Neo4jImporterImpl.java:188)
>>>
>>>  at
>>> org.gephi.neo4j.impl.Neo4jImporterImpl.importGraph(Neo4jImporterImpl.java:135)
>>>
>>>  at
>>> org.gephi.neo4j.impl.Neo4jImporterImpl.doImport(Neo4jImporterImpl.java:123)
>>>
>>>  at
>>> org.gephi.neo4j.impl.Neo4jImporterImpl.importDatabase(Neo4jImporterImpl.java:117)
>>>
>>>  at
>>> org.gephi.neo4j.impl.Neo4jImporterImpl.importDatabase(Neo4jImporterImpl.java:61)
>>>
>>>  at
>>> org.gephi.desktop.neo4j.Neo4jMenuAction$1$1.run(Neo4jMenuAction.java:100)
>>>
>>>  at
>>> org.gephi.utils.longtask.api.LongTaskExecutor$RunningLongTask.run(LongTaskExecutor.java:228)
>>>
>>>  at
>>> java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:441)
>>>
>>>  at
>>> java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
>>>
>>>  at java.util.concurrent.FutureTask.run(FutureTask.java:138)
>>>
>>>  at
>>> java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
>>>
>>>  at
>>> java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
>>>
>>> [catch] at java.lang.Thread.run(Thread.java:619)
>>>
>>>
>>> 
>>>
>>>
>>>
>>> java.lang.NullPointerException
>>>
>>>  at
>>> org.gephi.data.attributes.AttributeFactoryImpl.newValue(AttributeFactoryImpl.java:45)
>>>
>>>  at
>>> org.gephi.data.attributes.AttributeRowImpl.setValue(AttributeRowImpl.java:97)
>>>
>>>  at
>>> org.gephi.data.attributes.AttributeRowImpl.setValue(AttributeRowImpl.java:80)
>>>
>>>  at
>>> org.gephi.neo4j.impl.GraphModelConvertor.fillGephiEdgeDataWithNeoRelationshipData(GraphModelConvertor.java:139)
>>>
>>>  at
>>> org.gephi.neo4j.impl.GraphModelConvertor.createGephiEdge(GraphModelConvertor.java:123)
>>>
>>>  at
>>> org.gephi.neo4j.impl.Neo4jImporterImpl.processRelationship(Neo4jImporterImpl.java:183)
>>>
>>>  at
>>> org.gephi.neo4

Re: [Neo4j] GSoC work result, Featuring Gephi & Neo4j

2010-08-14 Thread Martin Skurla
OK, thanks

//Martin

2010/8/14 Andreas Guenther :
> The database will be created when you build the neo kernel module using
> Maven. I can send my local version to your personal email address if you
> want me to.
>
> -Andreas
>
> On 8/14/2010 1:09 PM, Martin Skurla wrote:
>> Hi Andreas,
>>
>>
>> I just tried to download the database but you provide unvalid link, I
>> cannot connect to it. Can you please provide valid link?
>>
>>
>> Cheers,
>> Martin
>>
>> 2010/8/14 Martin Skurla:
>>
>>> Hi Andreas,
>>>
>>>
>>> first problem is something with NetBeans and its Threads. In fact the
>>> Project API usage will be a little bit rewritten, because there are
>>> some minor problems and this maybe will fix this problem too.
>>>
>>> Second problems occurs during parsing and from the stack trace it
>>> seems like there is either new type in Neo4j or bug in my code, which
>>> is very strange because all possible Neo4j types were imported from
>>> testing database without problems. I will know more after debug.
>>>
>>> Anyway, thanks for response, I will try to solve them as soon as possible.
>>>
>>>
>>> Thanks,
>>> Martin
>>>
>>>
>>> 2010/8/14 Andreas Guenther:
>>>
 Thanks for the reply. I actually ended up installing Netbeans and
 started it from within the IDE. When trying to perform a whole import of
 some Neo stores with all default values in the Gephi dialogs I am
 getting the following exception traces. Any ideas what I am doing wrong?
 BTW, I am able to open both stores with Neoclipse without any issues.

 [Test Import 1]
 Neo store used: svn.neo4j.org:\components\kernel\trunk\target\neodb
 Import type: whole import
 Exception: java.lang.IllegalStateException (See details below)

 [Test Import 2]
 Neo store used: Custom data from a Neo 1.0 store
 Import type: whole import
 Exception: java.lang.NullPointerException (See details below)

 -Andreas

 java.lang.IllegalStateException: Problem in some module which uses
 Window System: Window System API is required to be called from AWT
 thread only, see http://core.netbeans.org/proposals/threading/

              at
 org.netbeans.core.windows.WindowManagerImpl.warnIfNotInEDT(WindowManagerImpl.java:1520)

              at
 org.netbeans.core.windows.WindowManagerImpl.findTopComponent(WindowManagerImpl.java:253)

              at
 org.gephi.desktop.preview.PreviewTopComponent.findInstance(PreviewTopComponent.java:282)

              at
 org.gephi.desktop.preview.PreviewUIController$1.disable(PreviewUIController.java:69)

              at
 org.gephi.project.impl.ProjectControllerImpl.fireWorkspaceEvent(ProjectControllerImpl.java:296)

              at
 org.gephi.project.impl.ProjectControllerImpl.closeCurrentProject(ProjectControllerImpl.java:116)

              at
 org.gephi.project.impl.ProjectControllerImpl.newProject(ProjectControllerImpl.java:77)

              at
 org.gephi.neo4j.impl.Neo4jImporterImpl.createNewProject(Neo4jImporterImpl.java:188)

              at
 org.gephi.neo4j.impl.Neo4jImporterImpl.importGraph(Neo4jImporterImpl.java:135)

              at
 org.gephi.neo4j.impl.Neo4jImporterImpl.doImport(Neo4jImporterImpl.java:123)

              at
 org.gephi.neo4j.impl.Neo4jImporterImpl.importDatabase(Neo4jImporterImpl.java:117)

              at
 org.gephi.neo4j.impl.Neo4jImporterImpl.importDatabase(Neo4jImporterImpl.java:61)

              at
 org.gephi.desktop.neo4j.Neo4jMenuAction$1$1.run(Neo4jMenuAction.java:100)

              at
 org.gephi.utils.longtask.api.LongTaskExecutor$RunningLongTask.run(LongTaskExecutor.java:228)

              at
 java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:441)

              at
 java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)

              at java.util.concurrent.FutureTask.run(FutureTask.java:138)

              at
 java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)

              at
 java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)

 [catch] at java.lang.Thread.run(Thread.java:619)


 



 java.lang.NullPointerException

              at
 org.gephi.data.attributes.AttributeFactoryImpl.newValue(AttributeFactoryImpl.java:45)

              at
 org.gephi.data.attributes.AttributeRowImpl.setValue(AttributeRowImpl.java:97)

              at
 org.gephi.data.attributes.AttributeRowImpl.setValue(AttributeRowImpl.java:80)

              at
 org.gephi.neo4j.impl.GraphModelConvertor.fillGephiEdgeDataWithNeoRelationshipData(GraphModelConvertor.java:139)

              at
 org.gephi.neo4j.impl.GraphModelConvertor.createGephiEdge(Gr

Re: [Neo4j] ​Neo4j, third party JTA Transaction M anager integration and potential bug.

2010-08-14 Thread Andreas Guenther
Francesco,

That's fantastic to hear. If you don't mind sharing the patch and test 
cases I'd like to re-consider the way we currently integrate giving it 
another try with real JTA/XA.

-Andreas

On 8/14/2010 10:14 AM, Degrassi Francesco wrote:
> Hi Andreas,
>
> thanks for your hint, i'll look into the chained-transaction strategy as a
> fallback option.
>
>
>
>
>> I am very curious how you will end up using Neo4j with other transaction
>> managers. So far, I haven't seen any concrete example of Database-Neo4j
>> JTA/XA transactions in practice other than many claiming it should work ;)
>>  
>
>
>
> Actually right now, after our hacking, our setup _seems_ to work correctly and
> fully, we're writing a couple of integration tests to verify the behaviour in
> some corner cases; also I am not sure if there are other aspects I've not
> considered.
>
>
>   
>
> Regards, 
>
> Francesco
> ___
> 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