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 "Robert Lazarski (Jira)" <ax...@ws.apache.org> on 2023/04/04 13:56:00 UTC

[jira] [Commented] (AXIS-2950) java.util.ConcurrentModificationException - Axis 1.4.1

    [ https://issues.apache.org/jira/browse/AXIS-2950?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17708433#comment-17708433 ] 

Robert Lazarski commented on AXIS-2950:
---------------------------------------

The Github link with the commit referenced is not actually in 1.4.1. I understood your comment to imply that it is.

1.4.1 was released in 2006 - the last official release. The commit was in 2015. 

The Axis 1.x code has still been maintained since 2006 as Apache projects have board of director oversight and cannot ignore security issues. Along with that comes general bug fixes. 

There has been no Axis 1.x release since 2006 primarily because none of the remaining active committers seem to use it in their own projects.

The best course of action for Axis 1.x users at this moment is to compile the Github repo from source.

A release is possible with some community i.e. volunteer support to make it happen, if that ever materializes. It hasn't yet.

 

> java.util.ConcurrentModificationException - Axis 1.4.1
> ------------------------------------------------------
>
>                 Key: AXIS-2950
>                 URL: https://issues.apache.org/jira/browse/AXIS-2950
>             Project: Axis
>          Issue Type: Bug
>          Components: Basic Architecture
>    Affects Versions: 1.4.1
>            Reporter: Kuldeep Panchal
>            Priority: Major
>
> Axis version 1.4.1 was specifically provided for the issue of ConcurrentModificationException when Java 1.8 is used. The commit link for fixing that issue: [https://github.com/apache/axis-axis1-java/commit/d75ee4619c042ded4d3ee1f7b08e379f83572575]
> In our product, we were using axis 1.4 jar with Java 1.6, there was no issue. But when we upgraded Java to 1.8, we were getting this Exception so we upgraded the axis jar to 1.4.1 to resolve this issue.
> After we upgraded this axis jar to 1.4.1, frequency of getting this error of ConcurrentModificationException is reduced a lot but still we are getting some times.
> Could you please look into this issue as this is happening in the production.
>  
> Exception stacktrace:
> java.util.ConcurrentModificationException
>  java.util.ArrayList.sort(ArrayList.java:1464)
>  java.util.Collections.sort(Collections.java:175)
>  org.apache.axis.description.JavaServiceDesc.getOperationsByQName(JavaServiceDesc.java:527)
>  org.apache.axis.MessageContext.getPossibleOperationsByQName(MessageContext.java:243)
>  org.apache.axis.message.BodyBuilder.onStartChild(BodyBuilder.java:132)
>  org.apache.axis.encoding.DeserializationContext.startElement(DeserializationContext.java:1035)
>  com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.startElement(AbstractSAXParser.java:509)
>  com.sun.org.apache.xerces.internal.impl.XMLNSDocumentScannerImpl.scanStartElement(XMLNSDocumentScannerImpl.java:374)
>  com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl$FragmentContentDriver.next(XMLDocumentFragmentScannerImpl.java:2784)
>  com.sun.org.apache.xerces.internal.impl.XMLDocumentScannerImpl.next(XMLDocumentScannerImpl.java:602)
>  com.sun.org.apache.xerces.internal.impl.XMLNSDocumentScannerImpl.next(XMLNSDocumentScannerImpl.java:112)
>  com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl.scanDocument(XMLDocumentFragmentScannerImpl.java:505)
>  com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(XML11Configuration.java:842)
>  com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(XML11Configuration.java:771)
>  com.sun.org.apache.xerces.internal.parsers.XMLParser.parse(XMLParser.java:141)
>  com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.parse(AbstractSAXParser.java:1213)
>  com.sun.org.apache.xerces.internal.jaxp.SAXParserImpl$JAXPSAXParser.parse(SAXParserImpl.java:643)
>  com.sun.org.apache.xerces.internal.jaxp.SAXParserImpl.parse(SAXParserImpl.java:327)
>  org.apache.axis.encoding.DeserializationContext.parse(DeserializationContext.java:227)
>  org.apache.axis.SOAPPart.getAsSOAPEnvelope(SOAPPart.java:696)
>  org.apache.axis.Message.getSOAPEnvelope(Message.java:435)
>  org.apache.axis.server.AxisServer.initSOAPConstants(AxisServer.java:345)
>  org.apache.axis.server.AxisServer.invoke(AxisServer.java:279)
>  com.elitecore.aaa.core.server.axixserver.EliteWebServiceWorker.handleValidClientRequest(EliteWebServiceWorker.java:387)
>  com.elitecore.aaa.core.server.axixserver.EliteWebServiceWorker.handleRequest(EliteWebServiceWorker.java:97)
>  com.elitecore.aaa.core.server.axixserver.EliteWebServiceServer$RequestHandler.handle(EliteWebServiceServer.java:425)
>  com.sun.net.httpserver.Filter$Chain.doFilter(Filter.java:79)
>  sun.net.httpserver.AuthFilter.doFilter(AuthFilter.java:83)
>  com.sun.net.httpserver.Filter$Chain.doFilter(Filter.java:82)
>  sun.net.httpserver.ServerImpl$Exchange$LinkHandler.handle(ServerImpl.java:675)
>  com.sun.net.httpserver.Filter$Chain.doFilter(Filter.java:79)
>  sun.net.httpserver.ServerImpl$Exchange.run(ServerImpl.java:647)
>  java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
>  java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
>  java.lang.Thread.run(Thread.java:748)



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

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