Hi, you copy your ear in <tomee>/apps then set environment variables JPDA_ADDRESS=5005 and JPDA_SUSPEND=y. Finally in eclipse add to the JVM args: -agentlib:jdwp=transport=dt_socket,server=y,suspend=n,address=5005.
Start tomee, create a remote debug configuration in eclipse on port 5005 and you are done. PS: tomee mvn plugin is easier since it got the goal tomee:debug but it only works if you use mvn. *Romain Manni-Bucau* *Twitter: @rmannibucau <https://twitter.com/rmannibucau>* *Blog: **http://rmannibucau.wordpress.com/*<http://rmannibucau.wordpress.com/> *LinkedIn: **http://fr.linkedin.com/in/rmannibucau* *Github: https://github.com/rmannibucau* 2013/6/3 pierrepinon <[email protected]> > Hello, > > I added Tomcat 7 Server Runtime Environment for debug my EAR and webapps > but > it seems impossible to deploy EAR directly from Eclipse. > > I read "http://tomee.apache.org/tomee-and-eclipse.html" but it's only for > WAR. > > Is there a solution to deploy my EAR and debug my application in Eclipse. > > I haven't found any documentation for that. > > Thanks. > > > > -- > View this message in context: > http://openejb.979440.n4.nabble.com/Tomee-Plus-and-EAR-debugging-in-Eclipse-tp4663415.html > Sent from the OpenEJB User mailing list archive at Nabble.com. >
