If you have set the publishing option to "Never publish automatically" in the server configuration editor,
when you make a change in your project, the project still automatically publishes to the local
application server inside Rational Application Developer.
The project will automatically publish even if you did not specify the Automatically publish option in the server configuration editor.
There are other places where publishing options are set by default that may override the server configuration editor publishing option. To truly stop all automatic publishing activities, all automatic publishing options should be disabled. The server configuration editor option applies to automatic publish when the application is already published to a started server and a change is made.
Diagnosing the problem
These is the information to be captured
1. From your workspace location, there is .metadata folder
2. Help->Performance->Generate diagnostic Information->WorkSpace and System Summary
3. Workspace log and server logs
4. Trace the server tool component with your scenario.
Note: the trace strings documented in the technote will be applicable to RAD 7555 as well.
Resolving the problem
Turning off automatic publishing
There are three places where the publishing option can be disabled.
To ensure that there is no automatic publishing, you may want to disable all the automatic publish options.
The publishing options from the server configuration editor
You should set to Never publish automatically
Publishing options from server configuration editor
The publishing options from the server configuration editor are the ones users typically use to disable incremental publish (i.e. to make publish manually when the server is started and the application is already published to the server).
However, there are other ways for publishing to occur.
Server Preference Page
Automatically publish to server when started option from preferences page
From the preferences page, the option selected above can also cause a publish. A scenario where this may come up is if the server is started, the user has made changes that require a republish, then suddenly the server connection fails (the server will go from stopped to started). In that case, a publish will occur. To avoid confusion, this option should be disabled to ensure automatic publishing will not occur when the server switches to a starting or started state.
Server View - Add and Remove Projects
In the Servers View, right click on the Server, select Add and Remove Projects
Add and remove dialog
The option for "If server is started, publish changes immediately" may be another place that causes confusion. When a module is added and the "If server is started, publish changes immediately" is enabled, the module will be published immediately (even if the automatic publish option is disabled in the server configuration editor). To disable this automatic publish, ensure the option "If server is started, publish changes immediately" is disabled.
To truly disable all automatic publishing, all three options should be disabled.
If the problem still exists, please follow the instructions in the Diagnosing your problem section to
capture the required information and contact IBM Rational Application Server Support for assistance.
Rate this page:
Copyright and trademark information
IBM, the IBM logo and ibm.com are trademarks of International Business Machines Corp., registered in many jurisdictions worldwide. Other product and service names might be trademarks of IBM or other companies. A current list of IBM trademarks is available on the Web at "Copyright and trademark information" at www.ibm.com/legal/copytrade.shtml.