Uploaded image for project: 'JBoss ESB'
  1. JBoss ESB
  2. JBESB-3937

ESB is reading all XSDs for every web service on single .esb

    Details

    • Type: Bug
    • Status: Closed (View Workflow)
    • Priority: Minor
    • Resolution: Done
    • Affects Version/s: 4.11, 4.12
    • Fix Version/s: 4.13
    • Component/s: Rosetta
    • Labels:
      None
    • Environment:

      Windows 7 x64

      Description

      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

        Gliffy Diagrams

          Attachments

            Issue Links

              Activity

                People

                • Assignee:
                  tcunning Thomas Cunningham
                  Reporter:
                  karluqs Carlos Oliveira
                • Votes:
                  0 Vote for this issue
                  Watchers:
                  2 Start watching this issue

                  Dates

                  • Created:
                    Updated:
                    Resolved: