Re: Build Errors

2011-01-08 Thread Mark Struberg
Hi! The problem is that our build opens lots of files: (Too many open files) Usually your ulimits for open files are set to 1024 if you are on *nix Try opening /etc/security/limits.conf and add the following 2 lines: * hardnofile 4096 * softnofile

[jira] Updated: (OPENJPA-1873) EntityManager#merge sometimes passes wrong entity values to @PostLoad EntityListeners

2011-01-08 Thread Mark Struberg (JIRA)
[ https://issues.apache.org/jira/browse/OPENJPA-1873?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Mark Struberg updated OPENJPA-1873: --- Attachment: OPENJPA-1873-fix2.patch and here comes the next one, this time with a new

Re: Build Errors

2011-01-08 Thread Umashanthi Pavalanathan
Hi, Thanks a lot. I made the changes you suggested and successfully done with the build. Now started to look into the code and documentation. Thanks, ~Umashanthi On Sat, Jan 8, 2011 at 5:37 PM, Mark Struberg strub...@yahoo.de wrote: Hi! The problem is that our build opens lots of files:

Re: change schema based on environment

2011-01-08 Thread Miłosz Tylenda
Keith, You can specify a default schema in a DB2 connection URL like this: jdbc:db2://mserver:50007/MYDB7T:currentSchema=MySchema; Can you use this syntax when creating the data source? Regards, Milosz I am using OpenJPA 1.2.3 on WebSphere with DB2. I have spent a lot of time trying to

Re: Tests take forever

2011-01-08 Thread Miłosz Tylenda
Strub, Locking's pom.xml defines the following property that should help you a bit: !-- set this =** on cmdline to skip all tests -- surefire.excludes.locking / Cheers, Milosz Might have been a temporal problem locally since this special test performs rather quick in our