Uploaded image for project: 'XNIO'
  1. XNIO
  2. XNIO-348

Enhance XNIO error logging for notifier failure

    Details

      Description

      XNIO logging here can be vague:

      WARN |(XNIO-1 task-9)|[org.xnio.future]| XNIO001003: Running IoFuture notifier org.jboss.ejb.protocol.remote.RemoteEJBReceiver$1@40e800e3 failed
      java.lang.OutOfMemoryError: Java heap space
      at org.jboss.marshalling.util.IdentityIntMap.resize(IdentityIntMap.java:163)
      at org.jboss.marshalling.util.IdentityIntMap.put(IdentityIntMap.java:142)
      at org.jboss.marshalling.river.RiverMarshaller.doWriteObject(RiverMarshaller.java:919)
      at org.jboss.marshalling.river.RiverMarshaller.doWriteFields(RiverMarshaller.java:1082)
      at org.jboss.marshalling.river.RiverMarshaller.doWriteSerializableObject(RiverMarshaller.java:1040)
      at org.jboss.marshalling.river.RiverMarshaller.doWriteSerializableObject(RiverMarshaller.java:1019)
      at org.jboss.marshalling.river.RiverMarshaller.doWriteSerializableObject(RiverMarshaller.java:1019)
      at org.jboss.marshalling.river.RiverMarshaller.doWriteObject(RiverMarshaller.java:920)
      at org.jboss.marshalling.river.RiverMarshaller.doWriteFields(RiverMarshaller.java:1082)
      at org.jboss.marshalling.river.RiverMarshaller.doWriteSerializableObject(RiverMarshaller.java:1040)
      

      It'd help if there was more info besides the generic RemoteEJBReceiver$1@ so one could discern what this related to. For instance, if possible logging something more like 'method name of bean named Hello for appname modulename ejb-client distinctname'

      This customer is migrating from EAP 4.3, which had operations in a single thread. They liked this for the ease of correlating relevant events. With current logging from such forked XNIO tasks, making correlations to other threads or calls is harder.

        Gliffy Diagrams

          Attachments

            Issue Links

              Activity

                People

                • Assignee:
                  tmiyar Teresa Miyar Gil
                  Reporter:
                  tmiyar Teresa Miyar Gil
                • Votes:
                  0 Vote for this issue
                  Watchers:
                  2 Start watching this issue

                  Dates

                  • Created:
                    Updated:
                    Resolved: