Oracle DB authentication with SSL certificate

2012-05-08 Thread Martin Weiss
Hi all, I can connect to Oracle DB with an SSL certificate via JDBC (see code snippet below). However, I have problems to connect with OpenJPA. Any hints and tips are appreciated. Regards, Martin try { Connection conn = null; FileInputStream pin = new FileInputStream(

Re: Stress tests and configuration

2012-05-08 Thread Rick Curtis
Daniel - Yes, I'd be interested in seeing the full exception. That being said, you're probably safe just turning off the DynamicDataStructs . In our performance testing, we never observed an improvement when that property is enabled. Since we're on the topic of properties, I'd also recommend

Re: Oracle DB authentication with SSL certificate

2012-05-08 Thread Rick Curtis
Martin - I haven't tried this, but take a look at openjpa.ConnectionProperties[1][2]. Thanks, Rick [1] http://openjpa.apache.org/builds/latest/docs/docbook/manual.html#openjpa.ConnectionProperties [2] http://openjpa.apache.org/builds/latest/docs/docbook/manual.html#ref_guide_dbsetup_config On

Re: OpenJPA 2.2.0 + Atomikos + Embedded Jetty

2012-05-08 Thread Rick Curtis
Will - I'm betting that the em.persist(..) call isn't happening inside a transaction. Can you enable openjpa trace[1] and rerun your scenario? [1] property name=openjpa.Log value=DefaultLevel=trace / Thanks, Rick On Wed, May 2, 2012 at 1:12 PM, Will Hoover java.whoo...@gmail.com wrote: I

RE: OpenJPA 2.2.0 + Atomikos + Embedded Jetty

2012-05-08 Thread Will Hoover
Hi Rick, You are correct. It isn't happening inside a transaction. -Original Message- From: Rick Curtis [mailto:curti...@gmail.com] Sent: Tuesday, May 08, 2012 9:18 AM To: users@openjpa.apache.org Subject: Re: OpenJPA 2.2.0 + Atomikos + Embedded Jetty Will - I'm betting that the

Re: OpenJPA 2.2.0 + Atomikos + Embedded Jetty

2012-05-08 Thread Rick Curtis
You are correct. It isn't happening inside a transaction. Did that fix your problem? Thanks, Rick On Tue, May 8, 2012 at 11:20 AM, Will Hoover java.whoo...@gmail.com wrote: Hi Rick, You are correct. It isn't happening inside a transaction. -Original Message- From: Rick Curtis

RE: OpenJPA 2.2.0 + Atomikos + Embedded Jetty

2012-05-08 Thread Will Hoover
Unfortunately, it only proved that my persist call was being executed outside of a transaction. It didn't give me much insight as to why. I've since successfully migrated the project over to Spring + Atomikos + Embedded Jetty. It seems to work with minimal overhead (when compared to an EJB