Hello everybody, On a "fresh" Magnolia 4.4.8, I've built a very simple paragraph that loads a User Generated Content (a file) and store it under DMS (on public instance). This is the structure of DMS: /upload/<user>/file-name
Then, sends a email and "back-activates" that file to author instance (NB: if the folder does not exists, cretes it and back-activates that before the file) Everything works fine, but the process is slow. Why? Because the XAReceiveFilter detects a lock (of the folder that I've tried to activate) and keep the BaseSyndicator waiting for more than 20 secs Ok. But why??? Can be something related to versioning? Here the log.. 2013-07-24 17:11:27,081 INFO nolia.module.exchangetransactional.XAReceiveFilter: User superuser successfuly activated /upload/test-user on magnoliaAuthor. 2013-07-24 17:11:27,108 INFO .magnolia.module.exchangesimple.BaseSyndicatorImpl: Exchange: activation succeeded [/upload/test-user] 2013-07-24 17:11:27,140 INFO fo.magnolia.module.mail.handlers.SimpleMailHandler: Mail has been sent to: [[email protected]] 2013-07-24 17:11:27,485 INFO nolia.module.exchangetransactional.XAReceiveFilter: User superuser successfuly activated /upload/test-user/my-file on magnoliaAuthor. 2013-07-24 17:11:27,496 INFO .magnolia.module.exchangesimple.BaseSyndicatorImpl: Exchange: activation succeeded [/upload/test-user/my-file] [ HERE STARTS THE REAL ISSUE ] 2013-07-24 17:11:27,648 INFO nolia.module.exchangetransactional.XAReceiveFilter: Content /test-user is locked by transaction. Will retry 10 more times. 2013-07-24 17:11:29,649 INFO nolia.module.exchangetransactional.XAReceiveFilter: Content /test-user is locked by transaction. Will retry 9 more times. 2013-07-24 17:11:31,649 INFO nolia.module.exchangetransactional.XAReceiveFilter: Content /test-user is locked by transaction. Will retry 8 more times. 2013-07-24 17:11:33,650 INFO nolia.module.exchangetransactional.XAReceiveFilter: Content /test-user is locked by transaction. Will retry 7 more times. 2013-07-24 17:11:35,651 INFO nolia.module.exchangetransactional.XAReceiveFilter: Content /test-user is locked by transaction. Will retry 6 more times. 2013-07-24 17:11:37,651 INFO nolia.module.exchangetransactional.XAReceiveFilter: Content /test-user is locked by transaction. Will retry 5 more times. 2013-07-24 17:11:39,652 INFO nolia.module.exchangetransactional.XAReceiveFilter: Content /test-user is locked by transaction. Will retry 4 more times. 2013-07-24 17:11:41,653 INFO nolia.module.exchangetransactional.XAReceiveFilter: Content /test-user is locked by transaction. Will retry 3 more times. 2013-07-24 17:11:43,653 INFO nolia.module.exchangetransactional.XAReceiveFilter: Content /test-user is locked by transaction. Will retry 2 more times. 2013-07-24 17:11:45,654 INFO nolia.module.exchangetransactional.XAReceiveFilter: Content /test-user is locked by transaction. Will retry 1 more times. 2013-07-24 17:11:47,654 ERROR info.magnolia.module.exchangesimple.ReceiveFilter : Operation not permitted, /test-user is locked by unfinished transaction. info.magnolia.cms.exchange.ExchangeException: Operation not permitted, /test-user is locked by unfinished transaction. at info.magnolia.module.exchangetransactional.XAReceiveFilter.applyLock(XAReceiveFilter.java:418) at info.magnolia.module.exchangesimple.ReceiveFilter.doFilter(ReceiveFilter.java:139) at info.magnolia.module.exchangetransactional.XAReceiveFilter.doFilter(XAReceiveFilter.java:68) [ CUT ] 2013-07-24 17:11:47,659 ERROR gnolia.myclient.extranet.paragraphs.UserUploadModel: ExchangeException caught while backactivating: {} info.magnolia.cms.exchange.ExchangeException: info.magnolia.cms.exchange.ExchangeException: Message received from subscriber: Operation not permitted, /test-user is locked by unfinished transaction. at info.magnolia.module.exchangesimple.BaseSyndicatorImpl.activate(BaseSyndicatorImpl.java:349) at info.magnolia.module.exchangesimple.BaseSyndicatorImpl.activate(BaseSyndicatorImpl.java:289) [ CUT ] at java.lang.Thread.run(Thread.java:722) Caused by: info.magnolia.cms.exchange.ExchangeException: Message received from subscriber: Operation not permitted, /test-user is locked by unfinished transaction. at info.magnolia.module.exchangesimple.BaseSyndicatorImpl.activate(BaseSyndicatorImpl.java:400) at info.magnolia.module.exchangesimple.BaseSyndicatorImpl.activate(BaseSyndicatorImpl.java:316) ... 173 more 2013-07-24 17:11:47,679 WARN info.magnolia.module.cache.filter.CacheFilter : The following URL took longer than 10 seconds (21) to render. This might cause timout exceptions on other requests to the same URI. [url=http://myurl.mydomain.net/uploadpage.html], [key=DefaultCacheKey{uri='/uploadpage.html', serverName='myurl.mydomain.net', locale='en', params={submit=Upload}', secure='false'}] -- Context is everything: http://forum.magnolia-cms.com/forum/thread.html?threadId=f06e5998-da9a-452e-94c9-137eb7430e37 ---------------------------------------------------------------- For list details, see http://www.magnolia-cms.com/community/mailing-lists.html Alternatively, use our forums: http://forum.magnolia-cms.com/ To unsubscribe, E-mail to: <[email protected]> ----------------------------------------------------------------
