Uploaded image for project: 'Application Server 3  4  5 and 6'
  1. Application Server 3 4 5 and 6
  2. JBAS-4514

CLONE -Deadlock when logging trace

    XMLWordPrintable

Details

    • Bug
    • Status: Closed (View Workflow)
    • Major
    • Resolution: Done
    • None
    • 6.0.0.M3
    • None
    • None

    Description

      SourceForge Submitter: genman .

      This was caused when trace was enabled. I imagine it
      was caused by the classloader trying to load a class
      while it was being rendered to disk. Probably not
      a big issue, unless trace-logging is enabled.

      Java stack information for the threads listed above:
      ===================================================
      "SMPP-TIMER-0":
      at
      com.logica.smpp.util.ByteBuffer.getHexDump(ByteBuffer.java:379)
      at
      com.logica.smpp.util.ByteBuffer.toString(ByteBuffer.java:387)
      at
      org.apache.log4j.or.DefaultRenderer.doRender(DefaultRenderer.java:26)
      at
      org.apache.log4j.or.RendererMap.findAndRender(RendererMap.java:70)
      at
      org.apache.log4j.spi.LoggingEvent.getRenderedMessage(LoggingEvent.java:288)
      at
      org.apache.log4j.helpers.PatternParser$BasicPatternConverter.convert(PatternParser.java:395)
      at
      org.apache.log4j.helpers.PatternConverter.format(PatternConverter.java:56)
      at
      org.apache.log4j.PatternLayout.format(PatternLayout.java:495)
      at
      org.apache.log4j.WriterAppender.subAppend(WriterAppender.java:292)
      at
      org.apache.log4j.WriterAppender.append(WriterAppender.java:150)
      at
      org.apache.log4j.AppenderSkeleton.doAppend(AppenderSkeleton.java:221)

      • locked <0x473874c8> (a
        org.apache.log4j.ConsoleAppender)
        at
        org.apache.log4j.helpers.AppenderAttachableImpl.appendLoopOnAppenders(AppenderAttachableImpl.java:57)
        at
        org.apache.log4j.Category.callAppenders(Category.java:187)
      • locked <0x46829180> (a
        org.apache.log4j.spi.RootCategory)
        at
        org.apache.log4j.Category.forcedLog(Category.java:372)
        at
        org.apache.log4j.Category.debug(Category.java:241)
        at
        com.logica.smpp.debug.Log4JDebug.write(Log4JDebug.java:79)
        at
        com.logica.smpp.TCPIPConnection.send(TCPIPConnection.java:301)
        at
        com.logica.smpp.Transmitter.send(Transmitter.java:81)
        at com.logica.smpp.Session.send(Session.java:983)
        at com.logica.smpp.Session.bind(Session.java:452)
        at
        ...

      "SMSC-Accept-16910":
      at
      org.apache.log4j.Category.callAppenders(Category.java:185)

      • waiting to lock <0x46829180> (a
        org.apache.log4j.spi.RootCategory)
        at
        org.apache.log4j.Category.forcedLog(Category.java:372)
        at org.apache.log4j.Category.log(Category.java:864)
        at
        org.jboss.logging.Log4jLoggerPlugin.trace(Log4jLoggerPlugin.java:96)
        at org.jboss.logging.Logger.trace(Logger.java:113)
        at
        org.jboss.mx.loading.UnifiedClassLoader3.attempt(UnifiedClassLoader3.java:242)
        at
        org.jboss.mx.loading.UnifiedClassLoader3.loadClass(UnifiedClassLoader3.java:126)
      • locked <0x472e2f38> (a
        org.jboss.mx.loading.UnifiedClassLoader3)
        at
        java.lang.ClassLoader.loadClass(ClassLoader.java:255)
        at
        java.lang.ClassLoader.loadClassInternal(ClassLoader.java:315)
      • locked <0x472e2f38> (a
        org.jboss.mx.loading.UnifiedClassLoader3)
        at
        com.proteusmobile.smsgw.server.ServerService.listen(ServerService.java:187)
        at
        com.proteusmobile.smsgw.server.ServerService.access$3(ServerService.java:46)
        at
        com.proteusmobile.smsgw.server.ServerService$Listener.run0(ServerService.java:163)
        at
        com.proteusmobile.smsgw.server.ServerService$Listener.run(ServerService.java:154)
        at java.lang.Thread.run(Thread.java:536)

      Found 1 deadlock.

      Attachments

        Issue Links

          Activity

            People

              dlloyd@redhat.com David Lloyd
              penguine_jira chris effenberger (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: