Re: L2 Cache in OpenJPA on WebSphere Cluster

2008-11-05 Thread Sandhya Kishore
Hi John.    The following link has details of Synchronous and Asynchronous replication behavior in Objectgrid. http://www.ibm.com/developerworks/wikis/display/objectgridprog/Replication+architecture May be once you read this you can be able to decide which replication strategy to use. T

Re: WebSphere @OneToOne problem

2008-11-05 Thread Fay Wang
Can you turn on the trace? -Fay --- On Tue, 11/4/08, John VanAntwerp <[EMAIL PROTECTED]> wrote: > From: John VanAntwerp <[EMAIL PROTECTED]> > Subject: WebSphere @OneToOne problem > To: users@openjpa.apache.org > Date: Tuesday, November 4, 2008, 9:14 PM > We have an entity that inherits from ano

Re: Using datasource from tomcat with openjpa

2008-11-05 Thread Jeremy Bauer
Hi Håkon, Try defining a non-jta data source in your persistence.xml. That should correct the problem. You can even use the same data source as you've defined for your jta-data-source name. ex: java:comp/env/jdbc/workflowdb -Jeremy On Wed, Nov 5, 2008 at 7:08 AM, Håkon Sagehaug <[EMAIL PROTEC

Re: Using datasource from tomcat with openjpa

2008-11-05 Thread Håkon Sagehaug
Hi I tried to get it to just work on a servlet and have more success here, but have now this problem, when I want to get the transaction in my servlet like this I em.getTransaction().begin(); and error is thrown Caused by: java.sql.SQLException: Unable to obtain a TransactionManager using null.

Re: Using datasource from tomcat with openjpa

2008-11-05 Thread Håkon Sagehaug
Hi all, I don't know exactly my problems lies, but think it may be in axis or I'm not sure. Because i got hold of the context in a normail servlet with this code Context initCtx = null; Context envCtx; DataSource ds = null; try { initCtx = new InitialContext(); envCt

Re: Using datasource from tomcat with openjpa

2008-11-05 Thread Mani
Hi I am not sure whether you are still facing the issue. if yes i think you can try like this: It worked for me. Try again. All the best. -Mani Håkon Sagehaug wrote: > > Hi > > I think you may have to send me a