Bug 779976 (SOA-2336) - CXF integration initialises endpoints multiple times
Summary: CXF integration initialises endpoints multiple times
Keywords:
Status: CLOSED NEXTRELEASE
Alias: SOA-2336
Product: JBoss Enterprise SOA Platform 5
Classification: JBoss
Component: JBossWS
Version: 5.1.0.ER1
Hardware: Unspecified
OS: Unspecified
urgent
urgent
Target Milestone: ---
: 5.1.0 GA,5.1.0.ER5
Assignee: Julian Coleman
QA Contact:
URL: http://jira.jboss.org/jira/browse/SOA...
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2010-09-22 04:59 UTC by Kevin Conner
Modified: 2011-02-08 16:09 UTC (History)
0 users

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2011-02-08 16:09:33 UTC
Type: Bug


Attachments (Terms of Use)
juddiv3.war.new (71.96 KB, application/octet-stream)
2010-09-22 05:00 UTC, Kevin Conner
no flags Details


Links
System ID Private Priority Status Summary Last Updated
Red Hat Issue Tracker SOA-2336 0 None None None Never

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



Note You need to log in before you can comment on or make changes to this bug.