Renaming Tomcat server configurations
With IBM® Rational® Application Developer for WebSphere® Software configured to create server resources in the workspace, if the name of a Tomcat server configuration is changed in the Tomcat server editor, the change does not affect the physical file name. This can make it difficult to distinguish between configurations when trying to edit the XML files directly
This is a defect in the Web Tools Platform (part of the open source Eclipse project which is the base of Rational Application Developer).
See related information section for details on the defect.
Resolving the problem
Manually rename the server configuration files:
When you create a Tomcat server, the default name is "Tomcat v4.1 Server", and 3 elements are generated:
- Tomcat v4.1 Server Configuration.config-data
- Tomcat v4.1 Server.server
- Tomcat v4.1 Server Configuration.config
Changing the server name in the server editor only changes the name in the "Servers" view. In order to change the file names, manually rename the above 3 elements.
To rename it to "MyTomcatConfig", rename the 3 elements as:
- MyTomcatConfig Configuration.config-data
- MyTomcatConfig Configuration.config
Note: If you do not follow this naming convention, there might be some errors when you attempt to open the server editor.
More support for:
Rational Application Developer for WebSphere Software
Software version: 6.0, 22.214.171.124, 126.96.36.199
Operating system(s): Linux, Windows
Reference #: 1215743
Modified date: 2008-09-10