portals-jetspeed-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Weaver, Scott" <Swea...@rippe.com>
Subject RE: [J2] New Datasource Model
Date Thu, 05 Feb 2004 14:03:37 GMT
Hi David,

Do all the tests pass using the ODMG plugin?

Regards,
*================================* 
| Scott T Weaver                 |
| <weaver@apache.org>            | 
| Apache Jetspeed Portal Project |
| Apache Pluto Portlet Container |
*================================*

> -----Original Message-----
> From: David Le Strat [mailto:dlestrat@yahoo.com]
> Sent: Wednesday, February 04, 2004 8:46 PM
> To: Jetspeed Developers List
> Subject: Re: [J2] New Datasource Model
> 
> Scott,
> 
> I modified the persistence-plugin.xml to use
> 
> org.apache.jetspeed.persistence.impl.OJBODMGPersistencePlugin
> instead of
> org.apache.jetspeed.persistence.impl.OJBPBPersistencePlugin
> and everything runs well.
> 
> Regards,
> 
> David.
> 
> --- David Le Strat <dlestrat@yahoo.com> wrote:
> > Hello there,
> >
> > Great commit Scott, the switch to datasources was
> > well
> > needed.
> >
> > I am trying to upgrade the security service to
> > support
> > the new model and am having some issues.
> > When I begin a transaction:
> >
> > plugin.beginTransaction();
> >
> > I am getting the following error:
> >
> > ConnectionManager is already in transaction
> >
> org.apache.ojb.broker.TransactionInProgressException:
> > ConnectionManager is already in transaction
> > 	at
> >
> org.apache.ojb.broker.core.PersistenceBrokerImpl.beginTransaction(Unknown
> > Source)
> > 	at
> >
> org.apache.ojb.broker.core.DelegatingPersistenceBroker.beginTransaction(Un
> known
> > Source)
> > 	at
> >
> org.apache.ojb.broker.core.DelegatingPersistenceBroker.beginTransaction(Un
> known
> > Source)
> > 	at
> >
> org.apache.jetspeed.persistence.impl.OJBPBPersistencePlugin.beginTransacti
> on(OJBPBPersistencePlugin.java:95)
> > 	at
> >
> org.apache.jetspeed.security.impl.UserManagerServiceImpl.removeUser(UserMa
> nagerServiceImpl.java:238)
> > 	at
> >
> org.apache.jetspeed.security.TestUserManagerService.destroyUserObject(Test
> UserManagerService.java:277)
> > 	at
> >
> org.apache.jetspeed.security.TestUserManagerService.tearDown(TestUserManag
> erService.java:120)
> > 	at
> >
> org.apache.jetspeed.test.JetspeedTestSuite.runTest(JetspeedTestSuite.java:
> 249)
> > 	at
> >
> org.apache.jetspeed.test.JetspeedTestSuite.run(JetspeedTestSuite.java:230)
> >
> > Any ideas?
> >
> > Regards,
> >
> > David Le Strat.
> >
> > __________________________________
> > Do you Yahoo!?
> > Yahoo! SiteBuilder - Free web site building tool.
> > Try it!
> > http://webhosting.yahoo.com/ps/sb/
> >
> >
> ---------------------------------------------------------------------
> > To unsubscribe, e-mail:
> > jetspeed-dev-unsubscribe@jakarta.apache.org
> > For additional commands, e-mail:
> > jetspeed-dev-help@jakarta.apache.org
> >
> 
> 
> __________________________________
> Do you Yahoo!?
> Yahoo! SiteBuilder - Free web site building tool. Try it!
> http://webhosting.yahoo.com/ps/sb/
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: jetspeed-dev-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: jetspeed-dev-help@jakarta.apache.org

---------------------------------------------------------------------
To unsubscribe, e-mail: jetspeed-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: jetspeed-dev-help@jakarta.apache.org


Mime
View raw message