You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@openjpa.apache.org by John VanAntwerp <jv...@umuc.edu> on 2008/10/22 23:37:40 UTC
OpenJPA in WebSphere clustered environment
Does anyone have experience running JPA in a WebSphere cluster? We're using
IBM's feature pack that includes what is essentially JPA 1.0.1.
The problem we are seeing is that code that will work fine on a single
server begins to get errors on entities that specify InheritenceType.JOINED.
The queries fail to join some of the data from the inherited tables and put
a NULL in the field instead of the data. This does not happen every time,
but appears to be ~15% of the transactions. This is making us think there
there may be some caching or synchronization issue that is causing us
problems.
I am wondering if there is some property that has to be set for the
EntityManagerFactory to correctly operate in the clustered environment, or
if we are missing something.
We are running WebSphere 6.1, fix pack .15 and have Oracle10g RAC for the
database.
Thanks for any help you can give us!
- John
--
View this message in context: http://n2.nabble.com/OpenJPA-in-WebSphere-clustered-environment-tp1365860p1365860.html
Sent from the OpenJPA Users mailing list archive at Nabble.com.
Re: OpenJPA in WebSphere clustered environment
Posted by John VanAntwerp <jv...@umuc.edu>.
(smacks self on head)
Thanks for the response! I had left the cache configured in single-JVM mode
from early testing. Sometimes you just can't see the forrest for the trees.
Thanks again!
- John
Pinaki Poddar wrote:
>
> Hi,
> a) what is the transport being used for communicating changes across
> different L2 caches?
>
--
View this message in context: http://n2.nabble.com/OpenJPA-in-WebSphere-clustered-environment-tp1365860p1368070.html
Sent from the OpenJPA Users mailing list archive at Nabble.com.
Re: OpenJPA in WebSphere clustered environment
Posted by Pinaki Poddar <pp...@apache.org>.
Hi,
> Does anyone have experience running JPA in a WebSphere cluster?
I had developed the L2 cache synchronization for OpenJPA in clustered
Weblogic environment where the synchronization data piggybacked on the same
multicast transport that WLS cluster instances used to communicate with each
other. In case of Websphere cluster,
a) what is the transport being used for communicating changes across
different L2 caches?
b) how are the parameters of the transport being configured?
If, for example, tcp is being used then are you manually configuring
the send/listen ports on each cluster instances?
--
View this message in context: http://n2.nabble.com/OpenJPA-in-WebSphere-clustered-environment-tp1365860p1366870.html
Sent from the OpenJPA Users mailing list archive at Nabble.com.