15412s
15412s

Reputation: 3728

server.xml changes being cleared when I restart tomcat from eclipse

When I restart/start Tomcat after changing files like server.xml, tomcat-users.xml the changes disappear. It looks like the files always get back to their default.

I'm using Tomcat 6.

What can I do to make the changes stay? Thanks!!

Upvotes: 0

Views: 3649

Answers (1)

Bruno
Bruno

Reputation: 122609

You should make these changes in the Servers project, which Eclipse WTP copies of the Tomcat configuration files. They will be copied into the Tomcat instance you run from within Eclipse. (More details in the WTP documentation.)

Upvotes: 4

Related Questions