Uploaded image for project: 'Axis2'
  1. Axis2
  2. AXIS2-5203

JAX-WS Message Receiver Adds a new URL class loader to TCCL per each request.

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Critical
    • Resolution: Won't Fix
    • None
    • None
    • jaxws
    • None
    • any

    Description

      In Current JAX-WS Message Receiver its adds a new URL class Loader instance as TCCL for each request. This becomes a major performance hit as it cause to create XMLOutputFactory at Axiom level for each response from the server.

      And also this may cause OOM situation since at AXIOM level it cache the XMLOutput factories per class Loader by default. So in this case the Hash map entries that's used for this cache will get accumulated.

      thanks,
      Charith

      Attachments

        1. AXIS2-5203.diff
          3 kB
          Charith Wickramarachchi

        Issue Links

          Activity

            People

              Unassigned Unassigned
              charith Charith Wickramarachchi
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: