Clone URL (Committers only):
https://cms.apache.org/redirect?new=anonymous;action=diff;uri=http://tomee.apache.org/tomee-and-eclipse.mdtext
Tim Haley
Index: trunk/content/tomee-and-eclipse.mdtext
===================================================================
--- trunk/content/tomee-and-eclipse.mdtext (revision 1463069)
+++ trunk/content/tomee-and-eclipse.mdtext (working copy)
@@ -127,5 +127,26 @@
....
</servlet>
+### EAR Deployment
+Since the existing Tomcat 7 server adaptor is designed to support a web
container, it does not directly support deploying an EAR project to the server.
+The workaround is to use the Export->EAR functionality:
+
+ 1. Stop the server if it is running.
+ 2. In the Servers tab, double click on your server to open up the Overview
page.
+ - Note the Server path in the Server Location section of the window.
+ It will be needed later.
+ 3. Locate your EAR project in **Project Explorer**.
+ 4. Right click on the project.
+ 5. Select **Export** from the context menu.
+ 6. Select **EAR file** from the sub-menu.
+ 7. In the Destination field, specify the Server path that was noted earlier
and append "/app".
+It should look something like:
"{*EclipseWorkspace*}\\.metadata\\.plugins\org.eclipse.wst.server.core\\tmp0\\apps\\*YourProject-TomEE*.ear"
+ 8. click Finish.
+ 9. Navigate to the {*Server path*}/apps directory and delete any expanded ear
directories from earlier deployments.
+ 10. Restart the server.
+
+
+
+
[1]: http://www.youtube.com/watch?v=Lr8pxEACVRI "Getting Started with Apache
TomEE"
\ No newline at end of file