Re: [Neo4j] doInternalRecovery takes a long time

2011-03-10 Thread Samuel Feng
Thanks Tobias,

I will try to upgrade my workspace to jdk1.6.

http://wiki.neo4j.org/content/Java_Setup_HowTo

Just a remind, I think u should arrange to change the jdk requirments in
this page.

2011/3/10 Tobias Ivarsson tobias.ivars...@neotechnology.com

 J2SE 5.0 reached its End of Service Life (EOSL) on November 3, 2009, which
 is the date of the final publicly available update of version 5.0 (J2SE 5.0
 Update 22).

 See:

 http://www.oracle.com/technetwork/java/javase/downloads/index-jdk5-jsp-142662.html

 We have decided to not support a JDK that is no longer supported by the JDK
 vendor.

 Compiling our code with the class file version set to 1.6 is our way to
 *strongly* urge you to move to JDK 1.6, which in every way is a better JDK.

 If you for some reason still need to use JDK 1.5, you could build your own,
 unsupported, Neo4j version.
 It should be possible to compile Neo4j using JDK 1.6 but setting the target
 version to 1.5. Most of the strict 1.6 dependencies are compile-time only.
 There might be a few runtime dependencies on 1.5, but those are probably
 limited to java.util.Deque and java.util.concurrent.TimeUnit.

 Your other option is to get a payed JDK 1.5 support contract for Neo4j from
 Neo Technology.

 Cheers,
 Tobias

 On Thu, Mar 10, 2011 at 8:54 AM, Samuel Feng okos...@gmail.com wrote:

  David,
 
  I am using jdk1.5.
 
  After upgraded to 1.3M03, I Encountered* *
  *java.lang.UnsupportedClassVersionError: Bad version number in .class
 file*
  Error.
 
  Seems the jars in neo4j's lib folder are complied using jdk6.
 
  Can I use 1.5 to compiled the sources directly?
 
 
  2011/3/10 Samuel Feng okos...@gmail.com
 
   Thanks David.
  
   My concern is if the neo4j data in 1.2 can be used in 1.3 directly?
  
   I have used custom analyzer in my index.
  
   2011/3/10 David Montag david.mon...@neotechnology.com
  
   Samuel,
  
   Can you try it with 1.3.M03, if possible?
  
   Thanks,
   David
  
   On Wed, Mar 9, 2011 at 6:13 PM, Samuel Feng okos...@gmail.com
 wrote:
  
   Dear list,
  
   I am developing a tomcat application in eclipse which has about
 100,000
   nodes using EmbeddedGraphDatabase (Neo4j version 1.2M05)
  
   Sometimes I took me a long time(more than half an hour) to
   doInternalRecovery, maybe because I shutdown the tomcat server
  directly.
  
   From the messages.log, I can find many many Injected two phase
  commit,
   *Can
   u tell me what cause this and how to prevent it?*
  
   Thu Mar 10 09:47:47 CST 2011: Opened
   [C:\home\heartwater\graph\\nioneo_logical.log.1] clean empty log,
   version=1
   Thu Mar 10 09:47:47 CST 2011: Opened
   [C:\home\heartwater\graph\/lucene/lucene.log.1] clean empty log,
   version=0
   Thu Mar 10 09:47:47 CST 2011: Opened
   [C:\home\heartwater\graph\/lucene-fulltext/lucene.log.1] clean empty
  log,
   version=0
   Thu Mar 10 09:47:47 CST 2011: Non clean shutdown detected on log
   [C:\home\heartwater\graph\index/lucene.log.1]. Recovery started ...
   Thu Mar 10 09:47:47 CST 2011:
   [C:\home\heartwater\graph\index/lucene.log.1]
   logVersion=0 with committed tx=1
   Thu Mar 10 09:47:48 CST 2011: Injected two phase commit, txId=2
   Thu Mar 10 09:47:48 CST 2011: Injected two phase commit, txId=3
   Thu Mar 10 09:47:48 CST 2011: Injected two phase commit, txId=4
   Thu Mar 10 09:47:49 CST 2011: Injected two phase commit, txId=5
   Thu Mar 10 09:47:49 CST 2011: Injected two phase commit, txId=6
   Thu Mar 10 09:47:49 CST 2011: Injected two phase commit, txId=7
   Thu Mar 10 09:47:49 CST 2011: Injected two phase commit, txId=8
   Thu Mar 10 09:47:49 CST 2011: Injected two phase commit, txId=9
   Thu Mar 10 09:47:49 CST 2011: Injected two phase commit, txId=10
   Thu Mar 10 09:47:49 CST 2011: Injected two phase commit, txId=11
   Thu Mar 10 09:47:49 CST 2011: Injected two phase commit, txId=12
   Thu Mar 10 09:47:50 CST 2011: Injected two phase commit, txId=13
   Thu Mar 10 09:47:50 CST 2011: Injected two phase commit, txId=14
   ___
   Neo4j mailing list
   User@lists.neo4j.org
   https://lists.neo4j.org/mailman/listinfo/user
  
  
  
  
   --
   David Montag
   Neo Technology, www.neotechnology.com
   Cell: 650.556.4411
   david.mon...@neotechnology.com
  
  
  
  ___
  Neo4j mailing list
  User@lists.neo4j.org
  https://lists.neo4j.org/mailman/listinfo/user
 



 --
 Tobias Ivarsson tobias.ivars...@neotechnology.com
 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] doInternalRecovery takes a long time

2011-03-10 Thread Mattias Persson
Updated it now. Thanks for the heads up.

2011/3/10 Samuel Feng okos...@gmail.com

 Thanks Tobias,

 I will try to upgrade my workspace to jdk1.6.

 http://wiki.neo4j.org/content/Java_Setup_HowTo

 Just a remind, I think u should arrange to change the jdk requirments in
 this page.

 2011/3/10 Tobias Ivarsson tobias.ivars...@neotechnology.com

  J2SE 5.0 reached its End of Service Life (EOSL) on November 3, 2009,
 which
  is the date of the final publicly available update of version 5.0 (J2SE
 5.0
  Update 22).
 
  See:
 
 
 http://www.oracle.com/technetwork/java/javase/downloads/index-jdk5-jsp-142662.html
 
  We have decided to not support a JDK that is no longer supported by the
 JDK
  vendor.
 
  Compiling our code with the class file version set to 1.6 is our way to
  *strongly* urge you to move to JDK 1.6, which in every way is a better
 JDK.
 
  If you for some reason still need to use JDK 1.5, you could build your
 own,
  unsupported, Neo4j version.
  It should be possible to compile Neo4j using JDK 1.6 but setting the
 target
  version to 1.5. Most of the strict 1.6 dependencies are compile-time
 only.
  There might be a few runtime dependencies on 1.5, but those are probably
  limited to java.util.Deque and java.util.concurrent.TimeUnit.
 
  Your other option is to get a payed JDK 1.5 support contract for Neo4j
 from
  Neo Technology.
 
  Cheers,
  Tobias
 
  On Thu, Mar 10, 2011 at 8:54 AM, Samuel Feng okos...@gmail.com wrote:
 
   David,
  
   I am using jdk1.5.
  
   After upgraded to 1.3M03, I Encountered* *
   *java.lang.UnsupportedClassVersionError: Bad version number in .class
  file*
   Error.
  
   Seems the jars in neo4j's lib folder are complied using jdk6.
  
   Can I use 1.5 to compiled the sources directly?
  
  
   2011/3/10 Samuel Feng okos...@gmail.com
  
Thanks David.
   
My concern is if the neo4j data in 1.2 can be used in 1.3 directly?
   
I have used custom analyzer in my index.
   
2011/3/10 David Montag david.mon...@neotechnology.com
   
Samuel,
   
Can you try it with 1.3.M03, if possible?
   
Thanks,
David
   
On Wed, Mar 9, 2011 at 6:13 PM, Samuel Feng okos...@gmail.com
  wrote:
   
Dear list,
   
I am developing a tomcat application in eclipse which has about
  100,000
nodes using EmbeddedGraphDatabase (Neo4j version 1.2M05)
   
Sometimes I took me a long time(more than half an hour) to
doInternalRecovery, maybe because I shutdown the tomcat server
   directly.
   
From the messages.log, I can find many many Injected two phase
   commit,
*Can
u tell me what cause this and how to prevent it?*
   
Thu Mar 10 09:47:47 CST 2011: Opened
[C:\home\heartwater\graph\\nioneo_logical.log.1] clean empty log,
version=1
Thu Mar 10 09:47:47 CST 2011: Opened
[C:\home\heartwater\graph\/lucene/lucene.log.1] clean empty log,
version=0
Thu Mar 10 09:47:47 CST 2011: Opened
[C:\home\heartwater\graph\/lucene-fulltext/lucene.log.1] clean
 empty
   log,
version=0
Thu Mar 10 09:47:47 CST 2011: Non clean shutdown detected on log
[C:\home\heartwater\graph\index/lucene.log.1]. Recovery started ...
Thu Mar 10 09:47:47 CST 2011:
[C:\home\heartwater\graph\index/lucene.log.1]
logVersion=0 with committed tx=1
Thu Mar 10 09:47:48 CST 2011: Injected two phase commit, txId=2
Thu Mar 10 09:47:48 CST 2011: Injected two phase commit, txId=3
Thu Mar 10 09:47:48 CST 2011: Injected two phase commit, txId=4
Thu Mar 10 09:47:49 CST 2011: Injected two phase commit, txId=5
Thu Mar 10 09:47:49 CST 2011: Injected two phase commit, txId=6
Thu Mar 10 09:47:49 CST 2011: Injected two phase commit, txId=7
Thu Mar 10 09:47:49 CST 2011: Injected two phase commit, txId=8
Thu Mar 10 09:47:49 CST 2011: Injected two phase commit, txId=9
Thu Mar 10 09:47:49 CST 2011: Injected two phase commit, txId=10
Thu Mar 10 09:47:49 CST 2011: Injected two phase commit, txId=11
Thu Mar 10 09:47:49 CST 2011: Injected two phase commit, txId=12
Thu Mar 10 09:47:50 CST 2011: Injected two phase commit, txId=13
Thu Mar 10 09:47:50 CST 2011: Injected two phase commit, txId=14
___
Neo4j mailing list
User@lists.neo4j.org
https://lists.neo4j.org/mailman/listinfo/user
   
   
   
   
--
David Montag
Neo Technology, www.neotechnology.com
Cell: 650.556.4411
david.mon...@neotechnology.com
   
   
   
   ___
   Neo4j mailing list
   User@lists.neo4j.org
   https://lists.neo4j.org/mailman/listinfo/user
  
 
 
 
  --
  Tobias Ivarsson tobias.ivars...@neotechnology.com
  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
 

[Neo4j] doInternalRecovery takes a long time

2011-03-09 Thread Samuel Feng
Dear list,

I am developing a tomcat application in eclipse which has about 100,000
nodes using EmbeddedGraphDatabase (Neo4j version 1.2M05)

Sometimes I took me a long time(more than half an hour) to
doInternalRecovery, maybe because I shutdown the tomcat server directly.

From the messages.log, I can find many many Injected two phase commit, *Can
u tell me what cause this and how to prevent it?*

Thu Mar 10 09:47:47 CST 2011: Opened
[C:\home\heartwater\graph\\nioneo_logical.log.1] clean empty log, version=1
Thu Mar 10 09:47:47 CST 2011: Opened
[C:\home\heartwater\graph\/lucene/lucene.log.1] clean empty log, version=0
Thu Mar 10 09:47:47 CST 2011: Opened
[C:\home\heartwater\graph\/lucene-fulltext/lucene.log.1] clean empty log,
version=0
Thu Mar 10 09:47:47 CST 2011: Non clean shutdown detected on log
[C:\home\heartwater\graph\index/lucene.log.1]. Recovery started ...
Thu Mar 10 09:47:47 CST 2011: [C:\home\heartwater\graph\index/lucene.log.1]
logVersion=0 with committed tx=1
Thu Mar 10 09:47:48 CST 2011: Injected two phase commit, txId=2
Thu Mar 10 09:47:48 CST 2011: Injected two phase commit, txId=3
Thu Mar 10 09:47:48 CST 2011: Injected two phase commit, txId=4
Thu Mar 10 09:47:49 CST 2011: Injected two phase commit, txId=5
Thu Mar 10 09:47:49 CST 2011: Injected two phase commit, txId=6
Thu Mar 10 09:47:49 CST 2011: Injected two phase commit, txId=7
Thu Mar 10 09:47:49 CST 2011: Injected two phase commit, txId=8
Thu Mar 10 09:47:49 CST 2011: Injected two phase commit, txId=9
Thu Mar 10 09:47:49 CST 2011: Injected two phase commit, txId=10
Thu Mar 10 09:47:49 CST 2011: Injected two phase commit, txId=11
Thu Mar 10 09:47:49 CST 2011: Injected two phase commit, txId=12
Thu Mar 10 09:47:50 CST 2011: Injected two phase commit, txId=13
Thu Mar 10 09:47:50 CST 2011: Injected two phase commit, txId=14
___
Neo4j mailing list
User@lists.neo4j.org
https://lists.neo4j.org/mailman/listinfo/user


Re: [Neo4j] doInternalRecovery takes a long time

2011-03-09 Thread David Montag
Samuel,

Can you try it with 1.3.M03, if possible?

Thanks,
David

On Wed, Mar 9, 2011 at 6:13 PM, Samuel Feng okos...@gmail.com wrote:

 Dear list,

 I am developing a tomcat application in eclipse which has about 100,000
 nodes using EmbeddedGraphDatabase (Neo4j version 1.2M05)

 Sometimes I took me a long time(more than half an hour) to
 doInternalRecovery, maybe because I shutdown the tomcat server directly.

 From the messages.log, I can find many many Injected two phase commit,
 *Can
 u tell me what cause this and how to prevent it?*

 Thu Mar 10 09:47:47 CST 2011: Opened
 [C:\home\heartwater\graph\\nioneo_logical.log.1] clean empty log, version=1
 Thu Mar 10 09:47:47 CST 2011: Opened
 [C:\home\heartwater\graph\/lucene/lucene.log.1] clean empty log, version=0
 Thu Mar 10 09:47:47 CST 2011: Opened
 [C:\home\heartwater\graph\/lucene-fulltext/lucene.log.1] clean empty log,
 version=0
 Thu Mar 10 09:47:47 CST 2011: Non clean shutdown detected on log
 [C:\home\heartwater\graph\index/lucene.log.1]. Recovery started ...
 Thu Mar 10 09:47:47 CST 2011: [C:\home\heartwater\graph\index/lucene.log.1]
 logVersion=0 with committed tx=1
 Thu Mar 10 09:47:48 CST 2011: Injected two phase commit, txId=2
 Thu Mar 10 09:47:48 CST 2011: Injected two phase commit, txId=3
 Thu Mar 10 09:47:48 CST 2011: Injected two phase commit, txId=4
 Thu Mar 10 09:47:49 CST 2011: Injected two phase commit, txId=5
 Thu Mar 10 09:47:49 CST 2011: Injected two phase commit, txId=6
 Thu Mar 10 09:47:49 CST 2011: Injected two phase commit, txId=7
 Thu Mar 10 09:47:49 CST 2011: Injected two phase commit, txId=8
 Thu Mar 10 09:47:49 CST 2011: Injected two phase commit, txId=9
 Thu Mar 10 09:47:49 CST 2011: Injected two phase commit, txId=10
 Thu Mar 10 09:47:49 CST 2011: Injected two phase commit, txId=11
 Thu Mar 10 09:47:49 CST 2011: Injected two phase commit, txId=12
 Thu Mar 10 09:47:50 CST 2011: Injected two phase commit, txId=13
 Thu Mar 10 09:47:50 CST 2011: Injected two phase commit, txId=14
 ___
 Neo4j mailing list
 User@lists.neo4j.org
 https://lists.neo4j.org/mailman/listinfo/user




-- 
David Montag
Neo Technology, www.neotechnology.com
Cell: 650.556.4411
david.mon...@neotechnology.com
___
Neo4j mailing list
User@lists.neo4j.org
https://lists.neo4j.org/mailman/listinfo/user


Re: [Neo4j] doInternalRecovery takes a long time

2011-03-09 Thread Samuel Feng
Thanks David.

My concern is if the neo4j data in 1.2 can be used in 1.3 directly?

I have used custom analyzer in my index.

2011/3/10 David Montag david.mon...@neotechnology.com

 Samuel,

 Can you try it with 1.3.M03, if possible?

 Thanks,
 David

 On Wed, Mar 9, 2011 at 6:13 PM, Samuel Feng okos...@gmail.com wrote:

 Dear list,

 I am developing a tomcat application in eclipse which has about 100,000
 nodes using EmbeddedGraphDatabase (Neo4j version 1.2M05)

 Sometimes I took me a long time(more than half an hour) to
 doInternalRecovery, maybe because I shutdown the tomcat server directly.

 From the messages.log, I can find many many Injected two phase commit,
 *Can
 u tell me what cause this and how to prevent it?*

 Thu Mar 10 09:47:47 CST 2011: Opened
 [C:\home\heartwater\graph\\nioneo_logical.log.1] clean empty log,
 version=1
 Thu Mar 10 09:47:47 CST 2011: Opened
 [C:\home\heartwater\graph\/lucene/lucene.log.1] clean empty log, version=0
 Thu Mar 10 09:47:47 CST 2011: Opened
 [C:\home\heartwater\graph\/lucene-fulltext/lucene.log.1] clean empty log,
 version=0
 Thu Mar 10 09:47:47 CST 2011: Non clean shutdown detected on log
 [C:\home\heartwater\graph\index/lucene.log.1]. Recovery started ...
 Thu Mar 10 09:47:47 CST 2011:
 [C:\home\heartwater\graph\index/lucene.log.1]
 logVersion=0 with committed tx=1
 Thu Mar 10 09:47:48 CST 2011: Injected two phase commit, txId=2
 Thu Mar 10 09:47:48 CST 2011: Injected two phase commit, txId=3
 Thu Mar 10 09:47:48 CST 2011: Injected two phase commit, txId=4
 Thu Mar 10 09:47:49 CST 2011: Injected two phase commit, txId=5
 Thu Mar 10 09:47:49 CST 2011: Injected two phase commit, txId=6
 Thu Mar 10 09:47:49 CST 2011: Injected two phase commit, txId=7
 Thu Mar 10 09:47:49 CST 2011: Injected two phase commit, txId=8
 Thu Mar 10 09:47:49 CST 2011: Injected two phase commit, txId=9
 Thu Mar 10 09:47:49 CST 2011: Injected two phase commit, txId=10
 Thu Mar 10 09:47:49 CST 2011: Injected two phase commit, txId=11
 Thu Mar 10 09:47:49 CST 2011: Injected two phase commit, txId=12
 Thu Mar 10 09:47:50 CST 2011: Injected two phase commit, txId=13
 Thu Mar 10 09:47:50 CST 2011: Injected two phase commit, txId=14
 ___
 Neo4j mailing list
 User@lists.neo4j.org
 https://lists.neo4j.org/mailman/listinfo/user




 --
 David Montag
 Neo Technology, www.neotechnology.com
 Cell: 650.556.4411
 david.mon...@neotechnology.com

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


Re: [Neo4j] doInternalRecovery takes a long time

2011-03-09 Thread Samuel Feng
David,

I am using jdk1.5.

After upgraded to 1.3M03, I Encountered* *
*java.lang.UnsupportedClassVersionError: Bad version number in .class file*
Error.

Seems the jars in neo4j's lib folder are complied using jdk6.

Can I use 1.5 to compiled the sources directly?


2011/3/10 Samuel Feng okos...@gmail.com

 Thanks David.

 My concern is if the neo4j data in 1.2 can be used in 1.3 directly?

 I have used custom analyzer in my index.

 2011/3/10 David Montag david.mon...@neotechnology.com

 Samuel,

 Can you try it with 1.3.M03, if possible?

 Thanks,
 David

 On Wed, Mar 9, 2011 at 6:13 PM, Samuel Feng okos...@gmail.com wrote:

 Dear list,

 I am developing a tomcat application in eclipse which has about 100,000
 nodes using EmbeddedGraphDatabase (Neo4j version 1.2M05)

 Sometimes I took me a long time(more than half an hour) to
 doInternalRecovery, maybe because I shutdown the tomcat server directly.

 From the messages.log, I can find many many Injected two phase commit,
 *Can
 u tell me what cause this and how to prevent it?*

 Thu Mar 10 09:47:47 CST 2011: Opened
 [C:\home\heartwater\graph\\nioneo_logical.log.1] clean empty log,
 version=1
 Thu Mar 10 09:47:47 CST 2011: Opened
 [C:\home\heartwater\graph\/lucene/lucene.log.1] clean empty log,
 version=0
 Thu Mar 10 09:47:47 CST 2011: Opened
 [C:\home\heartwater\graph\/lucene-fulltext/lucene.log.1] clean empty log,
 version=0
 Thu Mar 10 09:47:47 CST 2011: Non clean shutdown detected on log
 [C:\home\heartwater\graph\index/lucene.log.1]. Recovery started ...
 Thu Mar 10 09:47:47 CST 2011:
 [C:\home\heartwater\graph\index/lucene.log.1]
 logVersion=0 with committed tx=1
 Thu Mar 10 09:47:48 CST 2011: Injected two phase commit, txId=2
 Thu Mar 10 09:47:48 CST 2011: Injected two phase commit, txId=3
 Thu Mar 10 09:47:48 CST 2011: Injected two phase commit, txId=4
 Thu Mar 10 09:47:49 CST 2011: Injected two phase commit, txId=5
 Thu Mar 10 09:47:49 CST 2011: Injected two phase commit, txId=6
 Thu Mar 10 09:47:49 CST 2011: Injected two phase commit, txId=7
 Thu Mar 10 09:47:49 CST 2011: Injected two phase commit, txId=8
 Thu Mar 10 09:47:49 CST 2011: Injected two phase commit, txId=9
 Thu Mar 10 09:47:49 CST 2011: Injected two phase commit, txId=10
 Thu Mar 10 09:47:49 CST 2011: Injected two phase commit, txId=11
 Thu Mar 10 09:47:49 CST 2011: Injected two phase commit, txId=12
 Thu Mar 10 09:47:50 CST 2011: Injected two phase commit, txId=13
 Thu Mar 10 09:47:50 CST 2011: Injected two phase commit, txId=14
 ___
 Neo4j mailing list
 User@lists.neo4j.org
 https://lists.neo4j.org/mailman/listinfo/user




 --
 David Montag
 Neo Technology, www.neotechnology.com
 Cell: 650.556.4411
 david.mon...@neotechnology.com



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