-
Bug
-
Resolution: Done
-
Major
-
7.1.0.CR1
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:
- export LANG=de_DE.UTF-8
- 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
- relates to
-
WFCORE-3174 Ensure tests work with internationalized messages.
- Resolved