axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Bjorn Harvold (JIRA)" <j...@apache.org>
Subject [jira] Commented: (AXIS2-2662) java.util.ConcurrentModificationException when issuing a request via REST
Date Tue, 29 May 2007 13:42:16 GMT

    [ https://issues.apache.org/jira/browse/AXIS2-2662?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12499799
] 

Bjorn Harvold commented on AXIS2-2662:
--------------------------------------

And the integration test:

public void testEchoXMLSync() throws Exception {
        URL wsdlrequestUrl =
                new URL(
                        "http://localhost:8080/services/EchoService/echoOMElement?value1=value1,value2=value2");

        HttpURLConnection connection = (HttpURLConnection) wsdlrequestUrl.openConnection();
        BufferedReader reader =
                new BufferedReader(
                        new InputStreamReader(connection.getInputStream()));
        connection.getResponseCode();
        String line = reader.readLine();
        while (line != null) {
            line = reader.readLine();
        }
    }

> java.util.ConcurrentModificationException when issuing a request via REST
> -------------------------------------------------------------------------
>
>                 Key: AXIS2-2662
>                 URL: https://issues.apache.org/jira/browse/AXIS2-2662
>             Project: Axis 2.0 (Axis2)
>          Issue Type: Bug
>         Environment: WinXp/Ubuntu, jdk15, FireFox, IE6, tomcat 5.5.20
>            Reporter: Charitha Kankanamge
>            Priority: Critical
>             Fix For: nightly
>
>         Attachments: Library.aar
>
>
> I was working with servicelifecycle sample and entered the following url to register
in the library.
> http://localhost:8080/axis2/services/Library/register?userName=foo&passWord=123
> The following exception was thrown.
> java.util.ConcurrentModificationException
> 	java.util.HashMap$HashIterator.nextEntry(HashMap.java:787)
> 	java.util.HashMap$KeyIterator.next(HashMap.java:823)
> 	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)
> Library.aar is attached here with.

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


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


Mime
View raw message