© Copyright International Business Machines Corporation 2006. All rights reserved. US Government Users Restricted Rights - Use, duplication or disclosure restricted by GSA ADP Schedule Contract with IBM Corp.
After you apply the Community Edition Deployment V1.1 facet to a J2EE project, this facet cannot be removed or uninstalled. This becomes a limitation when you try to switch the target in run time to another server, such as WebSphere® Application Server V6.1.
Workaround
- Select File > Export > J2EE > EAR file to export all projects targeted to the WebSphere Application Server Community Edition using the EAR export tool.
Tip: Do not export and import your EAR file using Project Interchange, otherwise you are going to experience the same problem.- Select File > Import > J2EE > EAR file to import the EAR file.
Tip: To avoid duplicate project names in the workspace, import the EAR file into a different workspace or rename the EAR and its child project using the import wizard.- In the Target runtime field of the import wizard, specify a new target server run time.
After retargeting a project's run time to WebSphere Community Edition Server V1.x, the project will not run successfully on the the server.
This happens because the Community Edition Deployment facet is not added to the project.
Workaround: For each project that you retarget WebSphere Community Edition Server v1.x, open the Properties window for the project and add the Community Edition Deployment facet. This facet is needed for projects to run successfully on the WebSphere Community Edition server.