Uploaded image for project: 'JBoss Enterprise Application Platform'
  1. JBoss Enterprise Application Platform
  2. JBEAP-13077

(7.1.z) ClientCompatibilityUnitTestCase freeze with non-"en_US.UTF-8" locale settings

    XMLWordPrintable

Details

    Description

      Description of problem:
      ClientCompatibilityUnitTestCase freeze with non-"en_US.UTF-8" locale settings. These LANG are affected:

      • de_DE.UTF-8
      • es_ES.UTF-8
      • fr_FR.UTF-8
      • ja_JP.UTF-8
      • pt_BR.UTF-8
      • zh_CN.UTF-8

      These test methods are affected:

      • testCore100Final
      • testCore100FinalHttp
      • testCore101Final
      • testCore101FinalHttp

      Workaround: Add this line to createClient method od ClientCompatibilityUnitTestCase:

      classLoaderBuilder.addParentFirstClassPattern("org.jboss.as.protocol.logging.ProtocolLogger");

      This could relates with JBEAP-12673 or JBEAP-12818

      How reproducible:
      Always

      Steps to Reproduce:

      1. export LANG=de_DE.UTF-8
      2. mvn install -B -fae -Dmaven.test.failure.ignore=true -llr -Dts.basic -Djboss.dist=$JBOSS_DIST -Dtest=ClientCompatibilityUnitTestCase -DfailIfNoTests=false -DtestLogToFile=false

      Actual results:

      Exception in thread "Remoting "management-client" task-5" java.lang.NoClassDefFoundError: Could not initialize class org.jboss.as.protocol.logging.ProtocolLogger
      	at org.jboss.as.protocol.mgmt.ManagementChannelReceiver.handleMessage(ManagementChannelReceiver.java:103)
      	at org.jboss.remoting3.remote.RemoteConnectionChannel$5.run(RemoteConnectionChannel.java:463)
      	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
      	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
      	at java.lang.Thread.run(Thread.java:745)
      

      Expected results:
      No errors

      Attachments

        Issue Links

          Activity

            People

              rhn-engineering-lgao Lin Gao
              mkopecky@redhat.com Marek Kopecky
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Time Tracking

                  Estimated:
                  Original Estimate - 3 days
                  3d
                  Remaining:
                  Remaining Estimate - 3 days
                  3d
                  Logged:
                  Time Spent - Not Specified
                  Not Specified