01-17-2006 04:22 PM
String trxId = AlfrescoTransactionSupport.getTransactionId();
if (trxId == null)
{
throw new RepositoryException("Session must be used within the context of a transaction.");
}
01-18-2006 01:37 PM
01-18-2006 01:49 PM
Hi Russ,
We've yet to try out JCR-RMI in-house, so you're leading the way here!
How are you managing the transaction on your side?
Thanks
02-16-2006 12:14 PM
02-17-2006 01:22 PM
Changes have been made to the way we integrate transactions into our JCR layer. I haven't tried the RMI layer against it yet, but it may now behave.
03-04-2006 06:37 AM
Exception in thread "main" java.lang.RuntimeException: UserTransaction may not be accessed by multiple threads
at org.alfresco.util.transaction.SpringAwareUserTransaction.getTransactionInfo(SpringAwareUserTransaction.java:234)
at org.alfresco.util.transaction.SpringAwareUserTransaction.rollback(SpringAwareUserTransaction.java:435)
at org.alfresco.jcr.session.SessionImpl$InnerTransaction.rollback(SessionImpl.java:965)
at org.alfresco.jcr.session.SessionImpl.logout(SessionImpl.java:654)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at org.alfresco.jcr.util.JCRProxyFactory$SessionContextInvocationHandler.invoke(JCRProxyFactory.java:154)
at $Proxy62.logout(Unknown Source)
at org.apache.jackrabbit.rmi.server.ServerSession.logout(ServerSession.java:229)03-07-2006 07:10 AM
06-19-2006 12:15 PM
07-12-2007 11:16 AM
Tags
Find what you came for
We want to make your experience in Hyland Connect as valuable as possible, so we put together some helpful links.