我正在尝试运行我的应用程序的两个实例以测试某些内容。但是两者都使用相同的事务日志路径。因此,一次只能运行一个实例。 如何更改事务日志路径?
我已经尝试覆盖jta.properties中的值
com.atomikos.icatch.log_base_name = APP_NAME-log
com.atomikos.icatch.output_dir = C:/Users/user.name/Documents/AppName/ItxIDE
com.atomikos.icatch.log_base_dir = C:/Users/user.name/Documents/AppName/ItxIDE
[org/springframework/boot/autoconfigure/transaction/jta/AtomikosJtaConfiguration.class]: Invocation of init method failed; nested exception is com.atomikos.icatch.SysException: Error in init: Log already in use? APP_NAME-log in C:\Users\Username~1\AppData\Local\Temp\/logs/tx\
at org.springframework.beans.factory.support.ConstructorResolver.createArgumentArray(ConstructorResolver.java:749)
at org.springframework.beans.factory.support.ConstructorResolver.instantiateUsingFactoryMethod(ConstructorResolver.java:467)
at...