[zanata-bugs] [Bug 1069428] New: Misuse seam injection in application scoped bean in various area

bugzilla at redhat.com bugzilla at redhat.com
Tue Feb 25 02:15:57 UTC 2014


https://bugzilla.redhat.com/show_bug.cgi?id=1069428

            Bug ID: 1069428
           Summary: Misuse seam injection in application scoped bean in
                    various area
           Product: Zanata
           Version: 3.3
         Component: Component-Logic
          Severity: medium
          Assignee: djansen at redhat.com
          Reporter: pahuang at redhat.com
        QA Contact: zanata-qa at redhat.com
                CC: zanata-bugs at redhat.com



User-Agent:       Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.31 (KHTML,
like Gecko) Chrome/26.0.1410.63 Safari/537.31
Build Identifier: 

If entityManager is injected into a stateless scoped bean and further being
injected by annotation into Application scoped beans, concurrent access may
cause a collision in Hibernate session.

Reproducible: Sometimes

Steps to Reproduce:
1. write a test or use some tool that can post different resource to same
iteration simultaneously
2. run it (i.e. 5 or more concurrent requests)
Actual Results:  
Found shared references to a collection org.hibernate.HibernateException
or connection has been closed exception or some other hibernate exception
occures

Expected Results:  
Runs ok

-- 
You are receiving this mail because:
You are on the CC list for the bug.
Unsubscribe from this bug https://bugzilla.redhat.com/token.cgi?t=4UqeAXO3l5&a=cc_unsubscribe




More information about the zanata-bugs mailing list