You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-dev@axis.apache.org by "Rich Scheuerle (JIRA)" <ji...@apache.org> on 2010/11/05 19:46:45 UTC

[jira] Resolved: (AXIS2-4873) JAX-WS: JAXBContext is improperly obtained from cache

     [ https://issues.apache.org/jira/browse/AXIS2-4873?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Rich Scheuerle resolved AXIS2-4873.
-----------------------------------

    Resolution: Fixed

> JAX-WS: JAXBContext is improperly obtained from cache
> -----------------------------------------------------
>
>                 Key: AXIS2-4873
>                 URL: https://issues.apache.org/jira/browse/AXIS2-4873
>             Project: Axis2
>          Issue Type: Bug
>          Components: jaxws
>            Reporter: Rich Scheuerle
>            Assignee: Rich Scheuerle
>   Original Estimate: 24h
>  Remaining Estimate: 24h
>
> I discovered two problems in the JAXBUtils code (which creates and pools the JAXBContext objects for JAX-WS).
> The first problem is that the JAXBContext cache is searched in the createJAXBContext method with the original key even if "context/package loading" is disabled.
> The second problem is that the JAXBContext is created using the Context ClassLoader even if a specific ClassLoader was passed into the method.  (This normally will only cause a duplicate construction call, but this flow should be removed).
> I am currently testing these two small changes.

-- 
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: java-dev-unsubscribe@axis.apache.org
For additional commands, e-mail: java-dev-help@axis.apache.org