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 "Sagara Gunathunga (Created) (JIRA)" <ji...@apache.org> on 2011/11/18 00:29:57 UTC

[jira] [Created] (AXIS2-5188) In BeanUtil class deserialize method should use Service ClassLoader to load bean classes.

In BeanUtil class deserialize method should use Service ClassLoader to load bean classes. 
------------------------------------------------------------------------------------------

                 Key: AXIS2-5188
                 URL: https://issues.apache.org/jira/browse/AXIS2-5188
             Project: Axis2
          Issue Type: Bug
          Components: adb
    Affects Versions: 1.6.1
            Reporter: Sagara Gunathunga 
            Assignee: Sagara Gunathunga 
            Priority: Critical
             Fix For: 1.6.2, 1.7.0


BeanUtil class use following code to load classes.

beanClass = Loader.loadClass(beanClass.getClassLoader(), className);

Usually beanClass.getClassLoader() will return null and hence thread context ClassLoader is to used to load classes. In some cases this will result into ClassNotFoundException. Following service demonstrate such a exception. 

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

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


[jira] [Commented] (AXIS2-5188) In BeanUtil class deserialize method should use Service ClassLoader to load bean classes.

Posted by "Hudson (Commented) (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/AXIS2-5188?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13152563#comment-13152563 ] 

Hudson commented on AXIS2-5188:
-------------------------------

Integrated in Axis2 #1110 (See [https://builds.apache.org/job/Axis2/1110/])
    Fixed AXIS2-5188.

sagara : 
Files : 
* /axis/axis2/java/core/trunk/modules/adb/src/org/apache/axis2/databinding/utils/BeanUtil.java

                
> In BeanUtil class deserialize method should use Service ClassLoader to load bean classes. 
> ------------------------------------------------------------------------------------------
>
>                 Key: AXIS2-5188
>                 URL: https://issues.apache.org/jira/browse/AXIS2-5188
>             Project: Axis2
>          Issue Type: Bug
>          Components: adb
>    Affects Versions: 1.6.1
>            Reporter: Sagara Gunathunga 
>            Assignee: Sagara Gunathunga 
>            Priority: Critical
>             Fix For: 1.6.2, 1.7.0
>
>         Attachments: StructForObj.aar
>
>
> BeanUtil class use following code to load classes.
> beanClass = Loader.loadClass(beanClass.getClassLoader(), className);
> Usually beanClass.getClassLoader() will return null and hence thread context ClassLoader is to used to load classes. In some cases this will result into ClassNotFoundException. Following service demonstrate such a exception. 

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

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


[jira] [Resolved] (AXIS2-5188) In BeanUtil class deserialize method should use Service ClassLoader to load bean classes.

Posted by "Sagara Gunathunga (Resolved) (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/AXIS2-5188?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Sagara Gunathunga  resolved AXIS2-5188.
---------------------------------------

    Resolution: Fixed
    
> In BeanUtil class deserialize method should use Service ClassLoader to load bean classes. 
> ------------------------------------------------------------------------------------------
>
>                 Key: AXIS2-5188
>                 URL: https://issues.apache.org/jira/browse/AXIS2-5188
>             Project: Axis2
>          Issue Type: Bug
>          Components: adb
>    Affects Versions: 1.6.1
>            Reporter: Sagara Gunathunga 
>            Assignee: Sagara Gunathunga 
>            Priority: Critical
>             Fix For: 1.6.2, 1.7.0
>
>         Attachments: StructForObj.aar
>
>
> BeanUtil class use following code to load classes.
> beanClass = Loader.loadClass(beanClass.getClassLoader(), className);
> Usually beanClass.getClassLoader() will return null and hence thread context ClassLoader is to used to load classes. In some cases this will result into ClassNotFoundException. Following service demonstrate such a exception. 

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

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


[jira] [Commented] (AXIS2-5188) In BeanUtil class deserialize method should use Service ClassLoader to load bean classes.

Posted by "Sagara Gunathunga (Commented) (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/AXIS2-5188?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13152471#comment-13152471 ] 

Sagara Gunathunga  commented on AXIS2-5188:
-------------------------------------------

Fixed in r1203424.
                
> In BeanUtil class deserialize method should use Service ClassLoader to load bean classes. 
> ------------------------------------------------------------------------------------------
>
>                 Key: AXIS2-5188
>                 URL: https://issues.apache.org/jira/browse/AXIS2-5188
>             Project: Axis2
>          Issue Type: Bug
>          Components: adb
>    Affects Versions: 1.6.1
>            Reporter: Sagara Gunathunga 
>            Assignee: Sagara Gunathunga 
>            Priority: Critical
>             Fix For: 1.6.2, 1.7.0
>
>         Attachments: StructForObj.aar
>
>
> BeanUtil class use following code to load classes.
> beanClass = Loader.loadClass(beanClass.getClassLoader(), className);
> Usually beanClass.getClassLoader() will return null and hence thread context ClassLoader is to used to load classes. In some cases this will result into ClassNotFoundException. Following service demonstrate such a exception. 

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

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


[jira] [Updated] (AXIS2-5188) In BeanUtil class deserialize method should use Service ClassLoader to load bean classes.

Posted by "Sagara Gunathunga (Updated) (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/AXIS2-5188?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Sagara Gunathunga  updated AXIS2-5188:
--------------------------------------

    Attachment: StructForObj.aar
    
> In BeanUtil class deserialize method should use Service ClassLoader to load bean classes. 
> ------------------------------------------------------------------------------------------
>
>                 Key: AXIS2-5188
>                 URL: https://issues.apache.org/jira/browse/AXIS2-5188
>             Project: Axis2
>          Issue Type: Bug
>          Components: adb
>    Affects Versions: 1.6.1
>            Reporter: Sagara Gunathunga 
>            Assignee: Sagara Gunathunga 
>            Priority: Critical
>             Fix For: 1.6.2, 1.7.0
>
>         Attachments: StructForObj.aar
>
>
> BeanUtil class use following code to load classes.
> beanClass = Loader.loadClass(beanClass.getClassLoader(), className);
> Usually beanClass.getClassLoader() will return null and hence thread context ClassLoader is to used to load classes. In some cases this will result into ClassNotFoundException. Following service demonstrate such a exception. 

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

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