Bug 779976 (SOA-2336)

Summary: CXF integration initialises endpoints multiple times
Product: [JBoss] JBoss Enterprise SOA Platform 5 Reporter: Kevin Conner <kevin.conner>
Component: JBossWSAssignee: Julian Coleman <jcoleman>
Status: CLOSED NEXTRELEASE QA Contact:
Severity: urgent Docs Contact:
Priority: urgent    
Version: 5.1.0.ER1   
Target Milestone: ---   
Target Release: 5.1.0 GA, 5.1.0.ER5   
Hardware: Unspecified   
OS: Unspecified   
URL: http://jira.jboss.org/jira/browse/SOA-2336
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2011-02-08 16:09:33 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:
Attachments:
Description Flags
juddiv3.war.new none

Description Kevin Conner 2010-09-22 04:59:35 UTC
project_key: SOA

The juddiv3.war consists of multiple services defined by individual WSDL files.

When the servlet is accessed for the first time it will cause the initialisation of the spring context, however this initialises all endpoints.  When a second servlet is accessed this process repeats.

The juddiv3.war consists of 11 services, which I believe results in 121 initialisations (11 * 11).

Comment 1 Kevin Conner 2010-09-22 05:00:19 UTC
juddiv3.war modified to workaround SOA-2335

Comment 2 Kevin Conner 2010-09-22 05:00:20 UTC
Attachment: Added: juddiv3.war.new


Comment 3 Kevin Conner 2010-09-22 05:07:44 UTC
To see the issue do the following

- deploy the attached jar
- access a service URL (http://127.0.0.1:8080/juddiv3/services/custody-transfer?wsdl) to see all service endpoints being initialised
- access a second service URL (http://127.0.0.1:8080/juddiv3/services/subscription-listener?wsdl) to see service endpoints being initialised again.
- repeat with other service URLs

It looks like each bus may initialise a spring configuration which consists of all endpoints within the deployment.


Comment 7 Darran Lofthouse 2010-10-05 19:46:38 UTC
Upstream this initialisation process has been refactored, initially a backport appears too large so a EAP specific fix may be required for this one.


Comment 8 Darran Lofthouse 2010-12-01 17:13:18 UTC
Please incorporate the jar in JBPAPP-5489

Comment 9 Julian Coleman 2010-12-03 11:56:06 UTC
Resolved with revision 7500 of:

  build-tools/builders/eap/post-patch/patch_wscxf_jar.xml

Commit message:

  SOA-2336
  Replace jbossws-cxf-server.jar with jar from JBPAPP-5489. 


Comment 10 Julian Coleman 2010-12-03 11:56:06 UTC
Labels: Added: rn-not-needed


Comment 11 Laura Bailey 2010-12-17 01:00:59 UTC
Release Notes Docs Status: Added: Not Required


Comment 13 Dana Mison 2011-01-05 00:14:34 UTC
Writer: Added: dlesage