Hi Albert,
Can you make sure that you are using Axis2-1.3. A issue similar to this was
fixed on the Axis2 trunk before the Axis2-1.3 release (
http://issues.apache.org/jira/browse/AXIS2-2662).
I went through your stack trace it is identical to the one given in the JIRA
(which makes me think that you are using Axis2-1.2 and not 1.3). Also line
92 of BuilderUtil in the 1.3 source is a null check which confirms that your
not using 1.3. Please download Axis2-1.3 and give a try it should work for
you.
Thanks,
Keith.
On Nov 22, 2007 12:31 AM, albert quinn <[EMAIL PROTECTED]> wrote:
> Hi all :
>
> I'm developing a web service using the POJO approach. I have a
> method like this :
>
> class TestingClass {
> ...
> public String testing(String param1, String param2) {
> System.out.println("message");
> return param1 + " " + param2;
> }
> ...
> }
>
> I've coded a RPC client and it works fine. Then I've tried to call
> the service using REST like this :
>
>
> http://localhost:8080/axis2/services/TestingClass/testing?param1=hi¶m2=all
>
> Then it fails with this exception :
>
>
> java.util.ConcurrentModificationException
> java.util.HashMap$HashIterator.nextEntry(Unknown Source)
> java.util.HashMap$KeyIterator.next(Unknown Source)
> org.apache.axis2.builder.BuilderUtil.buildsoapMessage(
> BuilderUtil.java:92)
> org.apache.axis2.builder.XFormURLEncodedBuilder.processDocument(
> XFormURLEncodedBuilder.java:100)
> org.apache.axis2.transport.TransportUtils.createSOAPMessage(
> TransportUtils.java:130)
> org.apache.axis2.transport.http.util.RESTUtil.processURLRequest(
> RESTUtil.java:98)
>
> org.apache.axis2.transport.http.AxisServlet$ProcessRESTRequest.processURLRequest
> (AxisServlet.java:776)
> org.apache.axis2.transport.http.AxisServlet.doGet(AxisServlet.java
> :238)
> javax.servlet.http.HttpServlet.service(HttpServlet.java:689)
> javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
>
> I've searched in the Tomcat logs but I couldn't find more info. Any
> idea of what could be happening here?. Thanks in advance.
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>
--
Keith Chapman
WSO2 Inc.
Oxygen for Web Services Developers.
http://wso2.org/