geronimo-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Lin Sun (JIRA)" <>
Subject [jira] Updated: (GERONIMO-3368) Axis2ClientConfigurationFactory not always being used in certain platforms
Date Thu, 02 Aug 2007 13:31:53 GMT


Lin Sun updated GERONIMO-3368:

    Attachment: G-3368.patch

Patch contributed by Yun Feng Ma.  Able to get some load testing running with this patch.

> Axis2ClientConfigurationFactory not always being used in certain platforms
> --------------------------------------------------------------------------
>                 Key: GERONIMO-3368
>                 URL:
>             Project: Geronimo
>          Issue Type: Bug
>      Security Level: public(Regular issues) 
>          Components: webservices
>    Affects Versions: 2.0
>            Reporter: Lin Sun
>            Assignee: Lin Sun
>             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

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

View raw message