portals-jetspeed-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From David Le Strat <dlest...@yahoo.com>
Subject Re: [J2] New Datasource Model
Date Thu, 05 Feb 2004 01:45:41 GMT
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(Unknown
> Source)
> 	at
>
org.apache.ojb.broker.core.DelegatingPersistenceBroker.beginTransaction(Unknown
> Source)
> 	at
>
org.apache.jetspeed.persistence.impl.OJBPBPersistencePlugin.beginTransaction(OJBPBPersistencePlugin.java:95)
> 	at
>
org.apache.jetspeed.security.impl.UserManagerServiceImpl.removeUser(UserManagerServiceImpl.java:238)
> 	at
>
org.apache.jetspeed.security.TestUserManagerService.destroyUserObject(TestUserManagerService.java:277)
> 	at
>
org.apache.jetspeed.security.TestUserManagerService.tearDown(TestUserManagerService.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


Mime
View raw message