3 Replies Latest reply on Dec 9, 2004 2:23 PM by loopy

    Eclipse 'Deployment' | 'Deploy To...' does nothing

    ianmarshall

      I am running:

      Eclipse 3.0.1
      JBoss 3.2.6
      JBoss-IDE 1.4.0
      XDoclet 1.2.1
      MySQL 4.1.7
      J2SE 1.4.2_06


      In Eclipse, I start my JBoss-3.2.6 in debug mode. It starts successfully with the final console entry:

      15:49:34,063 INFO [Server] JBoss (MX MicroKernel) [3.2.6 (build: CVSTag=JBoss_3_2_6 date=200410140106)] Started in 29s:279ms

      I then highlight my .ear (app) file, right-click, and hover over the "Deployment" menu option. I see the menu options "Undeploy" and "Redeploy" disabled. I am happy with this; I have deployed nothing yet.

      The "Deploy To..." menu option is enabled however, and I click it. Nothing happens.

      I had no problem before using:

      JBoss 3.2.5
      JBoss-IDE 1.3.30
      MySQL 4.0.20d


      Does anyone know of something silly that I have done or omitted to do?

      Regards,

      Ian Marshall

        • 1. Re: Eclipse 'Deployment' | 'Deploy To...' does nothing
          loopy

          You need to set up a configuration for your server. Go into Debug (not the Debug => [yourappname]), but the proper debug. Create a new config here, and then you deploy, you should have the name of the configuration showing up on the list.

          • 2. Re: Eclipse 'Deployment' | 'Deploy To...' does nothing
            ianmarshall

            By "Go into Debug ... the proper debug" do you mean from Eclipse invoke the menu item "Run" | "Debug...", then from the "Debug" (create, manage, and run configurations) dialog select "JBoss 3.2.x" and click "New"?

            If so, I have created a new configuration with the following settings:

            "Home" tab: JBoss 3.2.x Home Directory: "D:\jboss-3.2.6"
            "Start" tab: Program arguments: ""; VM arguments: "-Xmx512M -Xincgc"
            "Shutdown" tab: Program arguments: "-S"; VM arguments: ""
            "Log Files" tab: [none]
            "Source" tab: 9 .jar files under "Default", and "org.jboss.ide.eclipse.jdt.core.classpath.j2ee-1.3"
            "Classpath" tab: the bootstrap entry: "JRE System Library [j2sdk1.4.2_06]"
            "JDK" tab: the Runtime JRE selected is "Workspace default JRE (j2sdk1.4.2_06)"


            but I had a similar debug configuration already.

            This starts JBoss seemingly successfully as detailed earlier, but still nothing happens when I click the "Deploy To..." menu option of my .ear (app) file.

            Under Eclipse, Window | Preferences | JBoss-IDE | Deployer results in the showing of an error dialog. Perhaps this indicates a problem which I have with my installation.

            Also, it looks like my choice of Source as "org.jboss.ide.eclipse.jdt.core.classpath.j2ee-1.3" should be for 1.4 instead.

            I have now reinstalled Eclipse and JBoss as per my earlier settings (using JBoss-IDE 1.3.30) since I need the "Undeploy" pop-up menu option to be enabled once I have deployed. This particular bug is listed but no one is down to fix this yet.

            Thank you for your help.

            • 3. Re: Eclipse 'Deployment' | 'Deploy To...' does nothing
              loopy

              No problem. Now, if only I could get someone to help me with my problem.... ;)