2 Replies Latest reply on Jan 26, 2007 3:32 PM by kentzhou

    how to add a j2ee project to server for debugging when using

      I try to debug my J2EE application on JBoss 3.2.7. My scenario is:

      I have J2ee project, for example, named as myPorj
      I created a Server called JBoss 3.2.7 under JBoss Inc -> JBoss AS 3.2.

      Then in the package explore, I have folders as below:
      myProj
      Servers
      JBoss 3.2.7

      How can I add myProj to the server for debugging? I can start the Perspective JBOSS AS, but there is no way to add a project to the server!

      Help please.

        • 1. Re: how to add a j2ee project to server for debugging when u
          rob.stryker

          What kind of "J2EE Project" is this? Is it a webtools project? (Dynamic web project, ejb project, utility project, client project, ear project) or is it one of the jboss-declared projects?

          There's no way to add the old jboss projects to the server as of now, except by packaging them, executing the packaging config, and manually deploying to the server.

          For debugging, just start the server in debug mode, package the project, right click on the resultant jar / war / ear and run on server.

          • 2. Re: how to add a j2ee project to server for debugging when u

            Thanks for help.

            My project come from previous eclipse (3.1).
            When I start the server in debug mode in JBoss AS perspective(JBoss Server view). Then go the Java perspective and package the application into ear. Then right click on this ear, from popup menu Run As --> Run on Server, there is a Server Error popup window with the message as:

            The selection is not within a valid module.