문제

I am trying to setup Jaas and TomEE. So I created a TomEE installation using Generating a TomEE-Project with Maven and I am doing the required changes to catalina.sh and server.xml, but everytime I run TomEE, the changes I made into catalina.sh server.xml are lost. Why?

도움이 되었습니까?

해결책 2

I lost changes because, to start TomEE, I used the command

mvn package tomee:run

that overwrites the settings with the defaults

다른 팁

To complete the answer you can persist changes putting the config (tomee.xml, system.properties, ...) in src/main/tomee/conf.

Side note: another advantage is using:

mvn tomee:build

you can create a zip with tomee and your config.

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top