[ start | index | login ]

RAD

Created by mpecher. Last edited by mpecher, 4 years and 121 days ago. Viewed 851 times. #9
[diff] [history] [edit] [rdf]
labels
attachments

Removed A Project That Was Still Tied To A Portal Test Server

Problem: 

  • Your Portal Test server fails to publish
  • You don't get the option to Add/Remove the project by right clicking on the Server.
  • Opening the Server Overview gives you the following message:"Some projects entries defined in the server configuration are not valid. Do you want the editor to fix the project entries automatically?" (It will not be fixed automatically)
  • If you look at the Server Overview > Properties, the deleted Project is still there.

Cause:

You probably removed the project from your RAD workspace while it was still tied to a RAD Portal Test Server.

Solution:

You need to manually delete the reference to the Project in the server config. Do this:
  1. In RAD look at the Server Overview > Properties, and determine what the offending projects are (ie. ones listed that are no longer in the workspace. eg. cbibApplicationEAR).
  2. Shutdown RAD.
  3. Navigate to your RAD workspace directory that holds the server config. These should be located in .plugins\com.ibm.wtp.server.core\configs
  4. Do a file system search for any file containing the project off the above directory (eg. cbibApplicationEAR)
  5. It will most likely return files such as memento.xml and deployment.xml files, which have the offending project in it.
  6. For memento.xml: remove the project in the map
  7. For deployment.xml: remove the <deployedObject> for that app
  8. Do the same for any other files (eg. server.xml etc).
  9. RAD may also have created temporary directories for these projects. Delete these as well (eg configs\<<date-stamp>>\cells\localhost\applications\cbibApplicationEAR)
  10. Start RAD. The server configuration should be valid now, and you should be able to publish.

no comments | post comment

Menu:
Java & J2EE
Development
Books

Help:
Help FAQ
Formatting


< September 2010 >
SunMonTueWedThuFriSat
1234
567891011
12131415161718
19202122232425
2627282930


Logged in Users: (0)
… and 25 Guests.



Disclaimer: Views and opinions are that of the individual author, and not that of Marand Custom Solutions. This site is an open forum for technical content, and the company accepts no liability for any content or view expressed.