I am running a J2SE application that uses Atomikos, which uploads numerous log files to it. I would like to move the location of these files to "/ tmp", but I cannot find the configuration property that I can set from my Spring XML configuration file.
Atomikos documentation refers to a property:
com.atomikos.icatch.output_dir
It seems that exactly what I need, but how to install from Spring without the jta.properties file? Here is my transaction manager configuration:
<bean id="transactionManager" class="org.springframework.transaction.jta.JtaTransactionManager"> <property name="transactionManager" ref="atomikosTransactionManager" /> <property name="userTransaction" ref="atomikosUserTransaction" /> </bean> <bean id="atomikosTransactionManager" class="com.atomikos.icatch.jta.UserTransactionManager" init-method="init" destroy-method="close"> <property name="forceShutdown" value="false" /> </bean> <bean id="atomikosUserTransaction" class="com.atomikos.icatch.jta.UserTransactionImp"> <property name="transactionTimeout" value="30" /> </bean>
spring logging configuration temporary-files atomikos
Hdave
source share