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 2009/06/17 16:02:07 UTC
[jira] Created: (AXIS2-4388) JAX-WS: ClassNotFoundException for
JAX-WS parameter
JAX-WS: ClassNotFoundException for JAX-WS parameter
---------------------------------------------------
Key: AXIS2-4388
URL: https://issues.apache.org/jira/browse/AXIS2-4388
Project: Axis 2.0 (Axis2)
Issue Type: Bug
Components: jaxws
Reporter: Rich Scheuerle
Assignee: Rich Scheuerle
If a JAX-WS web method contains a parameter that is an array, the following ClassNotFoundException may occur:
org.apache.axis2.jaxws.description.builder.DescriptionBuilderUtils forName Exception thrown from AccessController: java.lang.ClassNotFoundException:[com.xxxx.xxxxClass
...
org.apache.axis2.jaxws.description.builder.DescriptionBuilderUtils.loadClassFromComposite(DescriptionBuilderUtils.java:325)
...
Solution:
The problem is in the DescriptionBuilderUtils.reparseIfArray method. If the input representation of the class is not in a correct binary form, then it is corrected.
For example, sometimes a [my.Foo is input instead of the required [Lmy.Foo;
The new code will now correctly add the "L" and ";"
Kudos to Paul Mariduena for his work with the design and testing of this fix.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Updated: (AXIS2-4388) JAX-WS: ClassNotFoundException for
JAX-WS parameter
Posted by "Andreas Veithen (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/AXIS2-4388?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Andreas Veithen updated AXIS2-4388:
-----------------------------------
Fix Version/s: 1.6
> JAX-WS: ClassNotFoundException for JAX-WS parameter
> ---------------------------------------------------
>
> Key: AXIS2-4388
> URL: https://issues.apache.org/jira/browse/AXIS2-4388
> Project: Axis 2.0 (Axis2)
> Issue Type: Bug
> Components: jaxws
> Reporter: Rich Scheuerle
> Assignee: Rich Scheuerle
> Fix For: 1.6
>
> Original Estimate: 24h
> Remaining Estimate: 24h
>
> If a JAX-WS web method contains a parameter that is an array, the following ClassNotFoundException may occur:
>
> org.apache.axis2.jaxws.description.builder.DescriptionBuilderUtils forName Exception thrown from AccessController: java.lang.ClassNotFoundException:[com.xxxx.xxxxClass
> ...
> org.apache.axis2.jaxws.description.builder.DescriptionBuilderUtils.loadClassFromComposite(DescriptionBuilderUtils.java:325)
> ...
> Solution:
> The problem is in the DescriptionBuilderUtils.reparseIfArray method. If the input representation of the class is not in a correct binary form, then it is corrected.
> For example, sometimes a [my.Foo is input instead of the required [Lmy.Foo;
> The new code will now correctly add the "L" and ";"
> Kudos to Paul Mariduena for his work with the design and testing of this fix.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Resolved: (AXIS2-4388) JAX-WS: ClassNotFoundException for
JAX-WS parameter
Posted by "Rich Scheuerle (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/AXIS2-4388?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Rich Scheuerle resolved AXIS2-4388.
-----------------------------------
Resolution: Fixed
Committed Revision: 785647
> JAX-WS: ClassNotFoundException for JAX-WS parameter
> ---------------------------------------------------
>
> Key: AXIS2-4388
> URL: https://issues.apache.org/jira/browse/AXIS2-4388
> Project: Axis 2.0 (Axis2)
> Issue Type: Bug
> Components: jaxws
> Reporter: Rich Scheuerle
> Assignee: Rich Scheuerle
> Original Estimate: 24h
> Remaining Estimate: 24h
>
> If a JAX-WS web method contains a parameter that is an array, the following ClassNotFoundException may occur:
>
> org.apache.axis2.jaxws.description.builder.DescriptionBuilderUtils forName Exception thrown from AccessController: java.lang.ClassNotFoundException:[com.xxxx.xxxxClass
> ...
> org.apache.axis2.jaxws.description.builder.DescriptionBuilderUtils.loadClassFromComposite(DescriptionBuilderUtils.java:325)
> ...
> Solution:
> The problem is in the DescriptionBuilderUtils.reparseIfArray method. If the input representation of the class is not in a correct binary form, then it is corrected.
> For example, sometimes a [my.Foo is input instead of the required [Lmy.Foo;
> The new code will now correctly add the "L" and ";"
> Kudos to Paul Mariduena for his work with the design and testing of this fix.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.