| Summary: | multiple instances of tomcat - synchronization of config files | ||
|---|---|---|---|
| Product: | [WebTools] WTP ServerTools | Reporter: | vychtrle <vychtrle> |
| Component: | wst.server | Assignee: | Larry Isaacs <larryisaacs> |
| Status: | CLOSED DUPLICATE | QA Contact: | Angel Vera <arvera> |
| Severity: | normal | ||
| Priority: | P3 | CC: | ccc |
| Version: | unspecified | ||
| Target Milestone: | --- | ||
| Hardware: | PC | ||
| OS: | Linux | ||
| Whiteboard: | |||
|
Description
vychtrle
The source of the problem is that I failed to notice an important behavioral change in server publishing in 3.2.x. In prior versions of WTP, a publish operation would always publish the "server" portion of the operation, regardless of whether changes had or had not occurred in the server's configuration files, e.g. server.xml, tomcat-users.xml, etc. In WTP 3.2.x and later, nothing happens in a publish operation if the server isn't marked as "dirty". Since there had not been a need to mark the server "dirty" for configuration changes, there is no resource listener trying to detect changes to the Tomcat configuration files. As a result, publish operations won't publish configuration changes unless some other change has marked the server as "dirty". Implementing a resource listener to do this has to be done carefully so as not to impact performance too much. Thus, it might be too big a change for WTP 3.2.x. I'll have to see once I find time to implement this for WTP 3.3. In the mean time, as noted in Bug 320687, manually forcing a full publish operation by right-clicking on the Tomcat server in the Servers view and selecting "Clean..." should synchronize the configuration files whenever changes are made. *** This bug has been marked as a duplicate of bug 320687 *** |