-
Bug
-
Resolution: Done
-
Major
-
7.0.0.Final
-
None
-
-
-
Report the underlying cause of a failure to initialise the object store.
If the store initialisation code fails due to an java.lang.reflect.InvocationTargetException then the original cause is lost making it difficult to diagnose the underlying cause. See, for example, performance PR's 170 and 172 which failed because of "ClassNotFoundException: org.h2.jdbcx.JdbcDataSource" and "missing dependency on SLF4J artifact org.slf4j:slf4j-api", respectively. We report both of these failures in the same way with a message saying that the store initialisation failed without any reason, eg
Caused by: com.arjuna.ats.arjuna.exceptions.FatalError: ARJUNA012391: Could not initialize object store 'null' of type 'com.arjuna.ats.internal.arjuna.objectstore.hornetq.HornetqObjectStoreAdaptor' at com.arjuna.ats.arjuna.objectstore.StoreManager.initStore (StoreManager.java:145) at com.arjuna.ats.arjuna.objectstore.StoreManager.getActionStore (StoreManager.java:96)
This issue is asking for the underlying cause to be reported.