You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@geronimo.apache.org by "Jarek Gawor (JIRA)" <ji...@apache.org> on 2007/08/02 15:50:52 UTC

[jira] Assigned: (GERONIMO-3368) Axis2ClientConfigurationFactory not always being used in certain platforms

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

Jarek Gawor reassigned GERONIMO-3368:
-------------------------------------

    Assignee: Jarek Gawor  (was: Lin Sun)

> Axis2ClientConfigurationFactory not always being used in certain platforms
> --------------------------------------------------------------------------
>
>                 Key: GERONIMO-3368
>                 URL: https://issues.apache.org/jira/browse/GERONIMO-3368
>             Project: Geronimo
>          Issue Type: Bug
>      Security Level: public(Regular issues) 
>          Components: webservices
>    Affects Versions: 2.0
>            Reporter: Lin Sun
>            Assignee: Jarek Gawor
>             Fix For: 2.0
>
>         Attachments: G-3368.patch
>
>
> On Windows 2003 & Linux, GBean TomcatWebAppContext will be started before Axis2ConfigGBean. Class org.apache.axis2.jaxws.description.impl.DescriptionFactoryImpl will be loaded when the geronimo kernel starts TomcatWebAppContext, look at the following codes in DescriptionFactoryImpl:
>     private static ClientConfigurationFactory clientConfigFactory = ClientConfigurationFactory.newInstance();
> This will make class DescriptionFactoryImpl can not load Axis2ClientConfigurationFactory which is registered into MetadataFactoryRegistry in Axis2ConfigGBean. So DescriptionFactoryImpl still use the old ClientConfigurationFactory, not Axis2ClientConfigurationFactory.
> On Windows XP, GBean TomcatWebAppContext will be started after Axis2ConfigGBean so the client configurationcontext is working as expected.
> GBean TomcatWebAppContext and Axis2ConfigGBean have the same priority, it's not mandatory for geronimo kernel to start Axis2ConfigGBean firstly. The patch will set priority of Axis2ConfigGBean as GBeanInfo.PRIORITY_CLASSLOADER.

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