I'm quite new to an EAR application. I'm trying to fix some issues in the code. I'm using ANT to build the application along with JBoss 5.1.0.GA. How can I do things like Run On Server, Debug On Server in eclipse?
When I right click on the Run on Server/Debug on Server. I get a server error pop-up saying: The selection did not contain any resources that can run on a sever.
How can I get it to work within eclipse?
You should debug your application remotely. See this question on how you set up a remote debugger with Eclipse and JBoss: