RAD won't deploy class files to running websphere server (local development0

Berlin Brown picture Berlin Brown · Nov 12, 2010 · Viewed 8.8k times · Source

Environment: WinXP. RAD: Version: 7.5.3 (Eclipse 3.4.2) Websphere 6.1

I have two web projects on my local RAD environment and 4 or 5 sub jar projects. When I change classes in debug and regular start mode, the files don't get copied to the server for runtime.

So, normally I have to restart the server completely or add/remove the project all together.

I may make a change to Servlet.java

When I do "publish", the ear/application seems to restart, but my changes are not there. So I normally restart the server. This is a productivity killer.

Additional settings:

* Publish automatically turned off.
* Minimize resources. Use workspace.

What can I do to make sure that the classes get copied over.

My theories:

I have parent_first/application for the class loader/war settings. Is that an issue? Maybe I should remove the ear and add it back to websphere I did a clean on the server?

Answer

Archimedes Trajano picture Archimedes Trajano · Nov 18, 2010
  1. Delete your application from the server.
  2. Restart the server
  3. Go to the admin console and ensure the application is not listed in the list of applications, if it is then delete it.
  4. Restart the server
  5. Deploy/publish again.