[jbossseam-issues] [JBoss JIRA] Created: (JBSEAM-2864) Injection not working with concurrent clients

Marcell Barbacena (JIRA) jira-events at lists.jboss.org
Tue Apr 8 23:26:05 EDT 2008


Injection not working with concurrent clients
---------------------------------------------

                 Key: JBSEAM-2864
                 URL: http://jira.jboss.com/jira/browse/JBSEAM-2864
             Project: JBoss Seam
          Issue Type: Bug
          Components: Core
    Affects Versions: 2.0.1.GA, 2.0.1.CR2, 2.0.1.CR1
         Environment: Jboss AS 4.2.2.GA, Windows
            Reporter: Marcell Barbacena


When I was loading testing my application I was getting some NPE.
I narrowed down the error and created the example app based on a seam-gen one (just stripped the lib directory).

Basically, what I want to execute the place GET at the following URLs:
http://localhost:8080/myproject/performance/startsession.seam
http://localhost:8080/myproject/performance/start.seam
http://localhost:8080/myproject/performance/search.seam?parameter=1&cid=2
http://localhost:8080/myproject/performance/end.seam?cid=2

If after you start jboss you execute the above it goes ok. The debug page shows that the long-running conversation is gone and everything is ok.

Then I created a JMeter test, just capturing the "cid" from start, and use it at search and end page (see attached jmeter test). If you run the script with 1 thread no loop, it goes ok. If you run with 5 (in my pc) it goes ok. But when you put more then 20, it starts to get NPE at SimpleAction#search when it calls the DAO.
The log at search.xhtml shows the error and the sysos at SimpleAction#search shows it as well.

Please, provide a workaround in 2.0.1.CR1.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.jboss.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        



More information about the seam-issues mailing list