]
Tom Cunningham commented on JBESB-3937:
---------------------------------------
Carlos' change here looks good. Fixed in on both the WebGatewayBuilders (there is
one for AS4/5 and one for AS6).
ESB is reading all XSDs for every web service on single .esb
------------------------------------------------------------
Key: JBESB-3937
URL:
https://issues.jboss.org/browse/JBESB-3937
Project: JBoss ESB
Issue Type: Bug
Security Level: Public(Everyone can see)
Components: Rosetta
Affects Versions: 4.11, 4.12
Environment: Windows 7 x64
Reporter: Carlos Oliveira
Assignee: Tom Cunningham
Priority: Minor
Fix For: 4.13
Hi,
On the following class org.jboss.soa.esb.listeners.deployers.mc.as6.WebGatewayBuilder at
method createWebserviceWars theres a creation of a map with all the schemas inside the
.esb deployed.
final Map<String, String> schemasMap = JBossDeployerUtil.getSchemas(esbArchive);
(line 151)
The problem is the fact that this map is inside the for-loop. I guess this map should be
created outside the loop.
I have a .esb with 78 web services and 352 .xsds. For every web service all the schemas
are read over and over again. I changed this code, recompiled and deployed. Now my startup
went down from 3 minutes to 1,5 minutes.
Regards,
Carlos
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: