Bug 1101449

Summary: web service returns 500 when concurrent access
Product: [JBoss] JBoss Data Virtualization 6 Reporter: Hisanobu Okuda <hokuda>
Component: ToolingAssignee: Van Halbert <vhalbert>
Status: CLOSED CURRENTRELEASE QA Contact:
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 6.0.0CC: asmigala, atangrin, dlesage, hokuda, jolee, vhalbert
Target Milestone: ER2   
Target Release: 6.1.0   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
The web service would return a 500 error when concurrently accessed. A code fix was applied and users will no longer encounter this error as a result.
Story Points: ---
Clone Of:
: 1149036 (view as bug list) Environment:
Last Closed: 2015-11-17 18:07:36 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 1149036    
Attachments:
Description Flags
reproducer kit none

Description Hisanobu Okuda 2014-05-27 08:22:55 UTC
Description of problem:
web service returns 500 when concurrent access. It works fine with a single access.

Version-Release number of selected component (if applicable):


How reproducible:

Please find the attached reproducer kit reproducer.tar.gz which contains

reproducer
├── accounts.csv  // data source
├── command.log  // test result
├── SampleJDV.zip // project source code
├── server.log  // test result
├── SOAP_TEST2.jmx  // config file for JMeter
├── WSTest.vdb // VDB which contains web service model
└── WSTest.war // generated JBossWS-CXF War

Steps to Reproduce:
0. add user/user in teiid-security-users.properties
1. add datasource in standalone.xml

                <datasource jndi-name="java:/WSTest" pool-name="WSTest" enabled="true">
                    <connection-url>jdbc:teiid:WSTest</connection-url>
                    <driver>teiid</driver>
                    <pool>
                      <min-pool-size>100</min-pool-size>
                      <max-pool-size>100</max-pool-size>
                      <use-strict-min>true</use-strict-min>
                    </pool>
                    <security>
                        <user-name>user</user-name>
                        <password>user</password>
                    </security>

2. unjar WSTest.vdb, change the path to accounts.csv in SampleJDV/sandbox/WSTest_Source.xmi, rejar WSTest.vdb.
3. deploy WSTest.vdb
4. deploy WSTest.war
5. run jmeter, and open SOAP_TEST2.jmx
6. run test on jmeter

Actual results:


Expected results:


Additional info:

Comment 3 Hisanobu Okuda 2014-05-28 01:01:13 UTC
Created attachment 899807 [details]
reproducer kit

Comment 6 JBoss JIRA Server 2014-06-23 19:35:57 UTC
Ted Jones <tejones> updated the status of jira TEIIDDES-2224 to Resolved

Comment 8 JBoss JIRA Server 2014-10-28 11:59:36 UTC
Barry LaFond <blafond> updated the status of jira TEIIDDES-2224 to Reopened

Comment 9 JBoss JIRA Server 2014-12-11 14:49:49 UTC
Barry LaFond <blafond> updated the status of jira TEIIDDES-2224 to Resolved

Comment 10 JBoss JIRA Server 2015-02-12 10:19:07 UTC
Andrej Šmigala <asmigala> updated the status of jira TEIIDDES-2224 to Closed