Skip navigation
mdEvghenii
Currently Being Moderated

HTTP thread blocking

May 17, 2013 12:08 AM

I have a flex application that uses livecycle and java WS.

While application is working I get one thread taking a lock on a flex.data.SequenceManager object then never releasing it. I suspect that it is somekind of a core process(not invoked by a user, because user functionality remains ok) but I can be wrong.

 

i only have the thread stack to define the cause

 

the thread holding the lock (in runnable state):

 

java.util.Collections.eq(Unknown Source)

java.util.Collections.access$000(Unknown Source)

java.util.Collections$SingletonMap.get(Unknown Source)

java.util.AbstractMap.equals(Unknown Source)

flex.data.ItemIdentity.equals(ItemIdentity.java:257)

flex.data.ItemIdentity.equals(ItemIdentity.java:257)

java.util.HashMap.get(Unknown Source)

flex.data.SequenceManager.findMostDisplacedItemIndex(SequenceManager.j ava:3012)

flex.data.SequenceManager.createSequence(SequenceManager.java:2848)

flex.data.SequenceManager.manageSequence(SequenceManager.java:819)

flex.data.SequenceManager.manageSequence(SequenceManager.java:787)

flex.data.DataService.serviceMessage(DataService.java:588)

flex.messaging.MessageBroker.routeMessageToService(MessageBroker.java: 1406)

flex.messaging.AsyncMessageBroker.routeMessageToService(AsyncMessageBr oker.java:571)

flex.messaging.endpoints.AbstractEndpoint.serviceMessage(AbstractEndpo int.java:1005)

flex.messaging.endpoints.amf.MessageBrokerFilter.invoke(MessageBrokerF ilter.java:103)

flex.messaging.endpoints.amf.LegacyFilter.invoke(LegacyFilter.java:158 )

flex.messaging.endpoints.amf.SessionFilter.invoke(SessionFilter.java:4 4)

flex.messaging.endpoints.amf.BatchProcessFilter.invoke(BatchProcessFil ter.java:67)

flex.messaging.endpoints.amf.SerializationFilter.invoke(SerializationF ilter.java:165)

flex.messaging.endpoints.BaseHTTPEndpoint.service(BaseHTTPEndpoint.jav a:293)

flex.messaging.MessageBrokerServlet.service(MessageBrokerServlet.java: 364)

javax.servlet.http.HttpServlet.service(HttpServlet.java:803)

org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Appli cationFilterChain.java:290)

org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFi lterChain.java:206)

com.adobe.workspace.events.RemoteEventClientLifeCycle.doFilter(RemoteE ventClientLifeCycle.java:152)

org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Appli cationFilterChain.java:235)

org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFi lterChain.java:206)

org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFil ter.java:96)

org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Appli cationFilterChain.java:235)

org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFi lterChain.java:206)

org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperVa lve.java:230)

org.apache.catalina.core.StandardContextValve.invoke(StandardContextVa lve.java:175)

org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(Security AssociationValve.java:179)

org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve .java:84)

org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.ja va:128)

org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.ja va:104)

org.jboss.web.tomcat.service.jca.CachedConnectionValve.invoke(CachedCo nnectionValve.java:157)

org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValv e.java:109)

org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java :241)

org.apache.coyote.http11.Http11Processor.process(Http11Processor.java: 844)

org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.proces s(Http11Protocol.java:580)

org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:447 )

java.lang.Thread.run(Unknown Source)

 

 

The thread that is blocked by a flex.data.SequenceManager object:

 

flex.data.SequenceManager.createSequence(SequenceManager.java:2417)

flex.data.SequenceManager.manageSequence(SequenceManager.java:819)

flex.data.SequenceManager.manageSequence(SequenceManager.java:787)

flex.data.DataService.serviceMessage(DataService.java:588)

flex.messaging.MessageBroker.routeMessageToService(MessageBroker.java: 1406)

flex.messaging.AsyncMessageBroker.routeMessageToService(AsyncMessageBr oker.java:571)

flex.messaging.endpoints.AbstractEndpoint.serviceMessage(AbstractEndpo int.java:1005)

flex.messaging.endpoints.amf.MessageBrokerFilter.invoke(MessageBrokerF ilter.java:103)

flex.messaging.endpoints.amf.LegacyFilter.invoke(LegacyFilter.java:158 )

flex.messaging.endpoints.amf.SessionFilter.invoke(SessionFilter.java:4 4)

flex.messaging.endpoints.amf.BatchProcessFilter.invoke(BatchProcessFil ter.java:67)

flex.messaging.endpoints.amf.SerializationFilter.invoke(SerializationF ilter.java:165)

flex.messaging.endpoints.BaseHTTPEndpoint.service(BaseHTTPEndpoint.jav a:293)

flex.messaging.MessageBrokerServlet.service(MessageBrokerServlet.java: 364)

javax.servlet.http.HttpServlet.service(HttpServlet.java:803)

org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Appli cationFilterChain.java:290)

org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFi lterChain.java:206)

com.adobe.workspace.events.RemoteEventClientLifeCycle.doFilter(RemoteE ventClientLifeCycle.java:152)

org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Appli cationFilterChain.java:235)

org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFi lterChain.java:206)

org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFil ter.java:96)

org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Appli cationFilterChain.java:235)

org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFi lterChain.java:206)

org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperVa lve.java:230)

org.apache.catalina.core.StandardContextValve.invoke(StandardContextVa lve.java:175)

org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(Security AssociationValve.java:179)

org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve .java:84)

org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.ja va:128)

org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.ja va:104)

org.jboss.web.tomcat.service.jca.CachedConnectionValve.invoke(CachedCo nnectionValve.java:157)

org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValv e.java:109)

org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java :241)

org.apache.coyote.http11.Http11Processor.process(Http11Processor.java: 844)

org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.proces s(Http11Protocol.java:580)

org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:447 )

java.lang.Thread.run(Unknown Source)

 

can anybody, by any chance, understand what kind of a process is being called from this trace?

 
Replies
  • Currently Being Moderated
    May 17, 2013 11:13 AM   in reply to mdEvghenii

    That looks like that issue with the Java version.  It was discussed on the Apache Flex mailing list several months ago.

     
    |
    Mark as:

More Like This

  • Retrieving data ...

Bookmarked By (0)

Answers + Points = Status

  • 10 points awarded for Correct Answers
  • 5 points awarded for Helpful Answers
  • 10,000+ points
  • 1,001-10,000 points
  • 501-1,000 points
  • 5-500 points