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

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

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: Lin Sun
             Fix For: 2.0


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.


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

Posted by "Jarek Gawor (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/GERONIMO-3368?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12517313 ] 

Jarek Gawor commented on GERONIMO-3368:
---------------------------------------

I was able to replicate this problem if the web service and the service-ref client was deployed as two separate modules (but not if both were in one module). 
Fixes committed to trunk: revision 562146 and 2.0 branch: revision 562167


> 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.


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

Posted by "Jarek Gawor (JIRA)" <ji...@apache.org>.
     [ 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.


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

Posted by "Matt Hogstrom (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/GERONIMO-3368?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Matt Hogstrom closed GERONIMO-3368.
-----------------------------------


Closing as it has been resolved and committed.

> 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.


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

Posted by "Jarek Gawor (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/GERONIMO-3368?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Jarek Gawor resolved GERONIMO-3368.
-----------------------------------

    Resolution: Fixed

> 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.


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

Posted by "Lin Sun (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/GERONIMO-3368?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

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: 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: 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 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.