axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Mike Rheinheimer (JIRA)" <j...@apache.org>
Subject [jira] Created: (AXIS2-2935) Set async callback ClassLoader to the original client's ClassLoader
Date Tue, 10 Jul 2007 18:06:05 GMT
Set async callback ClassLoader to the original client's ClassLoader
-------------------------------------------------------------------

                 Key: AXIS2-2935
                 URL: https://issues.apache.org/jira/browse/AXIS2-2935
             Project: Axis 2.0 (Axis2)
          Issue Type: Bug
          Components: jaxws
            Reporter: Mike Rheinheimer
            Assignee: Mike Rheinheimer
             Fix For: nightly


(All credit for this Jira goes to Nick Gallardo, including the below text, and attached patch.)

With some QoSes applied, the thread that JAX-WS gets to process the response on does not have
the appropriate ClassLoader
setup.  It has the same content, but is a different instance which results in a ClassCastException
when we try to unmarshall
the response content with JAXB.

The fix is to set the Thread's context ClassLoader to same one that was used to load the AsyncHandler
callback class.
That ensures we have both the right content and the right instance.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


---------------------------------------------------------------------
To unsubscribe, e-mail: axis-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-dev-help@ws.apache.org


Mime
View raw message