-
Bug
-
Resolution: Done
-
Minor
-
7.3.1.GA
If JBoss is started with a -D it will fail to start. The JDK has no problem allowing -D and returns this with a property name of "" , It would be good to skip if key is empty to prevent failing.
narayana-jts-idlj-5.9.6.Final-redhat-00001.jar/com/arjuna/common/util/propertyservice/AbstractPropertiesFactory.class
private Properties applySystemProperties(Properties inputProperties) {
Properties outputProperties = new Properties(inputProperties);
Enumeration enumeration = System.getProperties().propertyNames();
while (enumeration.hasMoreElements())
return outputProperties;
}
https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/lang/System.html#getProperty(java.lang.String)
09:40:28,876 ERROR [org.jboss.as.controller.management-operation] (ServerService Thread Pool -- 78) WFLYCTL0013: Operation ("add") failed - address: ([("subsystem" => "transactions")]): java.lang.RuntimeException: java.lang.RuntimeException: unable to load properties from jar:file:/tmp/jboss-eap-7.3/modules/system/layers/base/org/jboss/jts/main/narayana-jts-idlj-5.9.8.Final-redhat-00002.jar!/jbossts-properties.xml at com.arjuna.common.internal.util.propertyservice.BeanPopulator.getNamedInstance(BeanPopulator.java:90) at com.arjuna.common.internal.util.propertyservice.BeanPopulator.getDefaultInstance(BeanPopulator.java:53) at com.arjuna.ats.jta.common.jtaPropertyManager.getJTAEnvironmentBean(jtaPropertyManager.java:42) at org.jboss.as.txn.service.JTAEnvironmentBeanService.getValue(JTAEnvironmentBeanService.java:91) at org.jboss.as.txn.subsystem.TransactionSubsystemAdd.performRecoveryEnvBoottime(TransactionSubsystemAdd.java:489) at org.jboss.as.txn.subsystem.TransactionSubsystemAdd.performBoottime(TransactionSubsystemAdd.java:248) at org.jboss.as.controller.AbstractBoottimeAddStepHandler.performBoottime(AbstractBoottimeAddStepHandler.java:144) at org.jboss.as.controller.AbstractBoottimeAddStepHandler.performRuntime(AbstractBoottimeAddStepHandler.java:119) at org.jboss.as.controller.AbstractAddStepHandler.execute(AbstractAddStepHandler.java:159) at org.jboss.as.controller.AbstractOperationContext.executeStep(AbstractOperationContext.java:999) at org.jboss.as.controller.AbstractOperationContext.processStages(AbstractOperationContext.java:743) at org.jboss.as.controller.AbstractOperationContext.executeOperation(AbstractOperationContext.java:467) at org.jboss.as.controller.ParallelBootOperationStepHandler$ParallelBootTask.run(ParallelBootOperationStepHandler.java:384) at org.jboss.threads.ContextClassLoaderSavingRunnable.run(ContextClassLoaderSavingRunnable.java:35) at org.jboss.threads.EnhancedQueueExecutor.safeRun(EnhancedQueueExecutor.java:1982) at org.jboss.threads.EnhancedQueueExecutor$ThreadBody.doRunTask(EnhancedQueueExecutor.java:1486) at org.jboss.threads.EnhancedQueueExecutor$ThreadBody.run(EnhancedQueueExecutor.java:1348) at java.lang.Thread.run(Thread.java:748) at org.jboss.threads.JBossThread.run(JBossThread.java:485) Caused by: java.lang.RuntimeException: unable to load properties from jar:file:/tmp/jboss-eap-7.3/modules/system/layers/base/org/jboss/jts/main/narayana-jts-idlj-5.9.8.Final-redhat-00002.jar!/jbossts-properties.xml at com.arjuna.common.util.propertyservice.AbstractPropertiesFactory.getPropertiesFromFile(AbstractPropertiesFactory.java:107) at com.arjuna.common.util.propertyservice.AbstractPropertiesFactory.initDefaultProperties(AbstractPropertiesFactory.java:195) at com.arjuna.common.util.propertyservice.AbstractPropertiesFactory.getDefaultProperties(AbstractPropertiesFactory.java:62) at com.arjuna.common.util.propertyservice.PropertiesFactory.getDefaultProperties(PropertiesFactory.java:48) at com.arjuna.common.internal.util.propertyservice.BeanPopulator.getNamedInstance(BeanPopulator.java:86) ... 18 more Caused by: java.lang.IllegalArgumentException: key can't be empty at java.lang.System.checkKey(System.java:841) at java.lang.System.getProperty(System.java:714) at com.arjuna.common.util.propertyservice.AbstractPropertiesFactory.applySystemProperties(AbstractPropertiesFactory.java:124) at com.arjuna.common.util.propertyservice.AbstractPropertiesFactory.getPropertiesFromFile(AbstractPropertiesFactory.java:104) ... 22 more
- clones
-
JBTM-3337 Narayana startup fails when empty system property is provided
- Closed
- is incorporated by
-
JBEAP-19789 [GSS](7.3.z) Upgrade Narayana from 5.9.8.Final to 5.9.9.Final
- Closed