Atomikos Forum |
|
Hi,
unfortunately I'm a little pressed and I couldn't figure out how to report bugs. So I'm posting right here... I'm using Spring 3.0.5 and AtomikosTransactionEssentials 3.7.0. In my Applicationcontext I am setting the three properties that cannot be configured with jta.properties. (com.atomikos.icatch.file=<some-path>, com.atomikos.icatch.hide_init_file_path=true). For completness I also configured: com.atomikos.icatch.no_file=FALSE I'm using a userTransactionService just like this one (taken from http://www.atomikos.com/Documentation/SpringIntegration ): <bean id="userTransactionService" class="com.atomikos.icatch.config.UserTransactionServiceImp" init-method="init" destroy-method="shutdownForce"> <constructor-arg> <!-- IMPORTANT: specify all Atomikos properties here --> <props> <prop key="com.atomikos.icatch.service"> com.atomikos.icatch.standalone.UserTransactionServiceFactory </prop> </props> </constructor-arg> </bean> This results in wrong behaviour or NullPointerException (if com.atomikos.icatch.service is not defined in System-Properties). As I was taking a closer look, I found out, that in com.atomikos.icatch.config.UserTransactionServiceImp in function findProperties() line 217 only the existence of the property com.atomikos.icatch.no_file is checked and not its value, leading to this issue. If this property is not specified everything just works like desired. I think this issue is of minor importance. Greetings, Alex |