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

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

    XMLWordPrintable

Details

    • Bug
    • Status: Closed (View Workflow)
    • Minor
    • Resolution: Done
    • 4.11, 4.12
    • 4.13
    • Rosetta
    • None

    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

      Attachments

        Issue Links

          Activity

            People

              tcunning@redhat.com Thomas Cunningham
              karluqs_jira Carlos Oliveira (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: