wangscript / warp-persist

Automatically exported from code.google.com/p/warp-persist
0 stars 0 forks source link

build seems to be broken #36

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. checked out sources with svn
2. ran ant command
3. build failure, tests do not pass

What is the expected output? What do you see instead?
It should build

What version of the product are you using? On what operating system?
svn revision 326

Please provide any additional information below.
build seems to be broken

Original issue reported on code.google.com by max.cald...@gmail.com on 3 Nov 2009 at 11:03

Attachments:

GoogleCodeExporter commented 9 years ago
Ran test target multiple times: sometimes i get test to successfully run 
(rarely),
sometimes i don't. When it fails, it is for a db locking issue. 

Original comment by max.cald...@gmail.com on 4 Nov 2009 at 1:47

GoogleCodeExporter commented 9 years ago
Attaching more verbose log. Errors are:
javax.persistence.PersistenceException:
org.hibernate.exception.JDBCConnectionException: Cannot open connection
and
Caused by: java.sql.SQLException: The database is already in use by another 
process:
org.hsqldb.persist.NIOLockFile@2b3625fe[file =C:\temp\hsql.lck, exists=true,
locked=false, valid=false, fl =null]: java.lang.Exception: checkHeartbeat(): 
lock
file [C:\temp\hsql.lck] is presumably locked by another process.

Original comment by max.cald...@gmail.com on 4 Nov 2009 at 2:11

Attachments:

GoogleCodeExporter commented 9 years ago
Yea, try using the in memory version of hypersonic (I think the property is 
mem:  
instead of file:). Even otherwise we probably need to update the teardown to 
call 
shutdown() on PersistenceService.

Original comment by dha...@gmail.com on 4 Nov 2009 at 4:16

GoogleCodeExporter commented 9 years ago
It works, thanks. Just had to change 'file:C:/temp/hsql' into 'mem:persistence' 
in
file test\META-INF\persistence.xml (patch attached).

Original comment by max.cald...@gmail.com on 4 Nov 2009 at 5:40

Attachments:

GoogleCodeExporter commented 9 years ago
This issue was closed by revision r327.

Original comment by robbie.v...@gmail.com on 4 Nov 2009 at 7:01