APAR status
Closed as program error.
Error description
Error Message: java.util.MissingResourceException: Can't find resource for bundle java.util.PropertyResourceBundle, key com.ibm.security.jgss.i18n.exception.UnableLocRealm . Stack Trace: Exception in thread "main" org.apache.kafka.common.KafkaException: Failed to construct kafka producer at org.apache.kafka.clients.producer.KafkaProducer.<init>(KafkaProd ucer.java:433) at org.apache.kafka.clients.producer.KafkaProducer.<init>(KafkaProd ucer.java:298) at com.ibm.tpf.KafkaTest.main(KafkaTest.java:28) Caused by: org.apache.kafka.common.KafkaException: javax.security.auth.login.FailedLoginException: Login error: java.util.MissingResourceException: Can't find resource for bundle java.util.PropertyResourceBundle, key com.ibm.security.jgss.i18n.exception.UnableLocRealm at org.apache.kafka.common.network.SaslChannelBuilder.configure(Sas lChannelBuilder.java:160) at org.apache.kafka.common.network.ChannelBuilders.create(ChannelBu ilders.java:146) at org.apache.kafka.common.network.ChannelBuilders.clientChannelBui lder(ChannelBuilders.java:67) at org.apache.kafka.clients.ClientUtils.createChannelBuilder(Client Utils.java:99) at org.apache.kafka.clients.producer.KafkaProducer.newSender(KafkaP roducer.java:441) at org.apache.kafka.clients.producer.KafkaProducer.<init>(KafkaProd ucer.java:422) ... 2 more Caused by: javax.security.auth.login.FailedLoginException: Login error: java.util.MissingResourceException: Can't find resource for bundle java.util.PropertyResourceBundle, key com.ibm.security.jgss.i18n.exception.UnableLocRealm at com.ibm.security.jgss.i18n.I18NException.throwFailedLoginExcepti on(Unknown Source) at com.ibm.security.auth.module.Krb5LoginModule.a(Unknown Source) at com.ibm.security.auth.module.Krb5LoginModule.b(Unknown Source) at com.ibm.security.auth.module.Krb5LoginModule.login(Unknown Source) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessor Impl.java:90) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethod AccessorImpl.java:55) at java.lang.reflect.Method.invoke(Method.java:508) at javax.security.auth.login.LoginContext.invoke(LoginContext.java: 788) at javax.security.auth.login.LoginContext.access$000(LoginContext.j ava:196) at javax.security.auth.login.LoginContext$5.run(LoginContext.java:7 21) at javax.security.auth.login.LoginContext$5.run(LoginContext.java:7 19) at java.security.AccessController.doPrivileged(AccessController.jav a:770) at javax.security.auth.login.LoginContext.invokeCreatorPriv(LoginCo ntext.java:719) at javax.security.auth.login.LoginContext.login(LoginContext.java:5 93) at org.apache.kafka.common.security.authenticator.AbstractLogin.log in(AbstractLogin.java:60) at org.apache.kafka.common.security.kerberos.KerberosLogin.login(Ke rberosLogin.java:103) at org.apache.kafka.common.security.authenticator.LoginManager.<ini t>(LoginManager.java:61) at org.apache.kafka.common.security.authenticator.LoginManager.acqu ireLoginManager(LoginManager.java:111) at org.apache.kafka.common.network.SaslChannelBuilder.configure(Sas lChannelBuilder.java:149) ... 7 more .
Local fix
N/A
Problem summary
An exception thrown from Config.java results in a java.util.MissingResourceException: "Can't find resource for bundle java.util.PropertyResourceBundle, key com.ibm.security.jgss.i18n.exception.UnableLocRealm". The issue is caused by the incorrect definition of the UNABLE_LOC_REALM exception tag in GeneralKeys.java when it should be defined in ExceptionKeys.java. Also, the reference in Config.java should be ExceptionKeys.UNABLE_LOC_REALM, instead of GeneralKeys.UNABLE_LOC_REALM.
Problem conclusion
Moved definition of UNABLE_LOC_REALM exception tag from GeneralKeys.java to ExceptionKeys.java, and changed reference in Config.java from GeneralKeys.UNABLE_LOC_REALM to ExceptionKeys.UNABLE_LOC_REALM. The associated Hursley RTC Problem Report is: 143422 The associated Austin CMVC defect is: 118250 The fix was delivered for Java 8 SR6 FP11 The associated JAR file is ibmjgssprovider.jar, build level 20200413 . This APAR will be fixed in the following Java Releases: 8 SR6 FP11 (8.0.6.11) Except: 8 SR6 FP10 (8.0.6.10) on HP-UX 8 SR6 FP15 (8.0.6.15) on Solaris . Contact your IBM Product's Service Team for these Service Refreshes and Fix Packs. For those running stand-alone, information about the available Service Refreshes and Fix Packs can be found at: https://www.ibm.com/developerworks/java/jdk/
Temporary fix
Comments
APAR Information
APAR number
IJ24290
Reported component name
SECURITY
Reported component ID
620700125
Reported release
270
Status
CLOSED PER
PE
NoPE
HIPER
NoHIPER
Special Attention
NoSpecatt / Xsystem
Submitted date
2020-04-15
Closed date
2020-04-20
Last modified date
2020-09-15
APAR is sysrouted FROM one or more of the following:
APAR is sysrouted TO one or more of the following:
Fix information
Fixed component name
SECURITY
Fixed component ID
620700125
Applicable component levels
[{"Line of Business":{"code":"LOB36","label":"IBM Automation"},"Business Unit":{"code":"BU059","label":"IBM Software w\/o TPS"},"Product":{"code":"SSNVBF","label":"Runtimes for Java Technology"},"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"270"}]
Document Information
Modified date:
16 September 2020