Uploaded image for project: 'JBoss Transaction Manager'
  1. JBoss Transaction Manager
  2. JBTM-3435

Disable verbose JacORB logging

    XMLWordPrintable

    Details

    • Type: Task
    • Status: Closed (View Workflow)
    • Priority: Blocker
    • Resolution: Done
    • Affects Version/s: 5.10.6.Final
    • Fix Version/s: 5.11.0.Final
    • Component/s: JTS
    • Labels:
      None
    • Release Notes Text:
      JacORB logging has been disabled
    • [QE] How to address?:
      ---
    • [QE] Why QE missed?:
      ---

      Description

      Some of the QA tests that use JacORB and JDK 11 fail [1] because JacORB is using a version of the sfl4j logger that needs updating for JDK 11. Since JacORB is no longer actively maintained that means we cannot use with jdk 11. It might be possible to configure a different logger but since we are seeing other issues with JacORB it's probably not worth the effort. At some point we will stop testing against this ORB.

       

      For now the plan is only enable logging for fatal errors. We could turn off logging completely but that may obscure fatal errors.

      [1]

      2021-02-24 23:56:27,462 err: Exception in thread "main" java.lang.NoSuchMethodError: 'java.lang.String org.slf4j.helpers.MessageFormatter.format(java.lang.String, java.lang.Object, java.lang.Object)'
      2021-02-24 23:56:27,462 err: at org.slf4j.impl.JDK14LoggerAdapter.debug(JDK14LoggerAdapter.java:227)
      2021-02-24 23:56:27,462 err: at org.jacorb.orb.etf.StreamConnectionBase.write(Unknown Source)
      2021-02-24 23:56:27,462 err: at org.jacorb.orb.giop.GIOPConnection.write(Unknown Source)
      2021-02-24 23:56:27,462 err: at org.jacorb.orb.CDROutputStream.write(Unknown Source)
      2021-02-24 23:56:27,462 err: at org.jacorb.orb.giop.ServiceContextTransportingOutputStream.write_to(Unknown Source)
      2021-02-24 23:56:27,462 err: at org.jacorb.orb.giop.RequestOutputStream.write_to(Unknown Source)
      2021-02-24 23:56:27,462 err: at org.jacorb.orb.giop.GIOPConnection.sendMessage(Unknown Source)
      2021-02-24 23:56:27,463 err: at org.jacorb.orb.giop.GIOPConnection.sendRequest(Unknown Source)
      2021-02-24 23:56:27,463 err: at org.jacorb.orb.giop.ClientConnection.sendRequest(Unknown Source)
      2021-02-24 23:56:27,463 err: at org.jacorb.orb.giop.ClientConnection.sendRequest(Unknown Source)
      2021-02-24 23:56:27,463 err: at org.jacorb.orb.Delegate.invoke_internal(Unknown Source)
      2021-02-24 23:56:27,463 err: at org.jacorb.orb.Delegate.invoke(Unknown Source)
      2021-02-24 23:56:27,463 err: at org.omg.CORBA.portable.ObjectImpl._invoke(ObjectImpl.java:475)
      2021-02-24 23:56:27,463 err: at com.arjuna.ArjunaOTS._ArjunaTransactionStub.is_top_level_transaction(_ArjunaTransactionStub.java:1255)
      2021-02-24 23:56:27,463 err: at com.arjuna.ats.jts.OTSManager.destroyControl(OTSManager.java:134)
      2021-02-24 23:56:27,463 err: at com.arjuna.ats.internal.jts.orbspecific.coordinator.ArjunaTransactionImple.destroyAction(ArjunaTransactionImple.java:2207)
      2021-02-24 23:56:27,463 err: at com.arjuna.ats.internal.jts.orbspecific.coordinator.ArjunaTransactionImple.commit(ArjunaTransactionImple.java:392)
      2021-02-24 23:56:27,463 err: at com.arjuna.ats.internal.jts.ControlWrapper.commit(ControlWrapper.java:244)
      2021-02-24 23:56:27,463 err: at com.arjuna.ats.internal.jts.orbspecific.CurrentImple.commit(CurrentImple.java:247)
      2021-02-24 23:56:27,463 err: at org.jboss.jbossts.qa.CurrentTests01.Test08.main(Test08.java:80)

        Attachments

          Activity

            People

            Assignee:
            mmusgrov Michael Musgrove
            Reporter:
            mmusgrov Michael Musgrove
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: