Uploaded image for project: 'CXF'
  1. CXF
  2. CXF-2530

FastInfoset Thread blocked

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Blocker
    • Resolution: Fixed
    • 2.2.3
    • 2.2.4
    • None
    • Linux x86
      java version "1.6.0_16"
      Java(TM) SE Runtime Environment (build 1.6.0_16-b01)
      Java HotSpot(TM) Client VM (build 14.2-b01, mixed mode, sharing)
      Jboss 5.1.0.GA

    • Moderate

    Description

      For a normal webservice all is fine

      but when we use Fastinfoset into cxf:bus
      <bean id="fastinfoset" class="org.apache.cxf.feature.FastInfosetFeature"/>
      <cxf:bus>
      <cxf:features>
      <cxf:logging />
      <ref bean="fastinfoset"/>
      </cxf:features>
      </cxf:bus>

      we have got thread blocked and the java application didn't respond any more

      just see the dump stacktrace

      "http-0.0.0.0-8080-1" daemon prio=10 tid=0x094c3400 nid=0x18f4 waiting for monitor entry [0x82e8d000]
      java.lang.Thread.State: BLOCKED (on object monitor)
      at java.lang.String.intern(Native Method)
      at com.sun.xml.fastinfoset.util.NamespaceContextImplementation.getNamespaceURI(NamespaceContextImplementation.java:75)
      at org.apache.cxf.interceptor.WrappedOutInterceptor.handleMessage(WrappedOutInterceptor.java:74)
      at org.apache.cxf.phase.PhaseInterceptorChain.doIntercept(PhaseInterceptorChain.java:236)

      • locked <0x8c615120> (a org.apache.cxf.phase.PhaseInterceptorChain)
        at org.apache.cxf.interceptor.OutgoingChainInterceptor.handleMessage(OutgoingChainInterceptor.java:74)
        at org.apache.cxf.phase.PhaseInterceptorChain.doIntercept(PhaseInterceptorChain.java:236)
      • locked <0x8c62af20> (a org.apache.cxf.phase.PhaseInterceptorChain)
        at org.apache.cxf.transport.ChainInitiationObserver.onMessage(ChainInitiationObserver.java:104)
        at org.apache.cxf.transport.servlet.ServletDestination.invoke(ServletDestination.java:99)
        at org.apache.cxf.transport.servlet.ServletController.invokeDestination(ServletController.java:452)
        at org.apache.cxf.transport.servlet.ServletController.invoke(ServletController.java:196)
        at org.apache.cxf.transport.servlet.AbstractCXFServlet.invoke(AbstractCXFServlet.java:220)
        at org.apache.cxf.transport.servlet.AbstractCXFServlet.doPost(AbstractCXFServlet.java:153)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:637)
        at org.apache.cxf.transport.servlet.AbstractCXFServlet.service(AbstractCXFServlet.java:211)

      Attachments

        1. FullStackTrace.log
          33 kB
          Grégoire A.

        Activity

          People

            Unassigned Unassigned
            keo Grégoire A.
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: