14 Replies Latest reply on Jul 19, 2006 3:25 PM by ianbrandt

    Cannot create debug-configuration

    hilwi

      Hello!

      Yesterday I have downloaded Eclipse 3.2 and the JBossIDE 1.6.0GA and installed it on my MacOS 10.4.7.

      I installed the JBossIDE via the update-manager of Eclipse and all seemed to go fine. When I now try to create a new debug-configuration for my JBoss-Server ("Run->Debug...") I have a list with the possible configuration-types that also contains the different JBoss-Servers from 2.4.x to 4.0.x. When I then right-click on JBoss 4.0.x and select "New" nothing happens. The same problem appears on all JBoss-Configurations. When I right-click on "JBoss AOP Application" or something else, the new-function works without any problems.

      What can I do now? I already have re-installed the JBossIDE with the same result.

      Is something missing? Is there any configuration-file where I could define a debug-configuraion for JBoss manually?

      I'm using JBoss 4.04GA

      Achim

        • 1. Re: Cannot create debug-configuration
          acxjbertr

          JBoss IDE 1.6.0.GA won't work with Eclipse 3.2. There is a new alpha version out available through Eclipse update. Per http://jboss.com/index.html?module=bb&op=viewtopic&t=62725 point your Eclipse update URL to http://download.jboss.org/jbosside/updates/development.

          Note, this version of JBoss IDE is different than previous versions. In my use of it, I haven't been able to perform debugging the way you described. You have to open a new "JBoss Server" view and do the debug server configuration there.

          Good luck!

          • 2. Re: Cannot create debug-configuration
            hilwi

            Hello!

            Thank you for your help! I have installed the development-version of the jboss-ide now but I can't find any JBoss-IDE-View to open. There are only two views for JBoss AOP.

            Where can I find this view?

            Achim

            • 3. Re: Cannot create debug-configuration
              rob.stryker

              There should be a jboss server's view under the "Servers" category. I'm not sure where the other jboss views are found.

              • 4. Re: Cannot create debug-configuration
                markus.wahl

                 

                "acxjbertr" wrote:

                Note, this version of JBoss IDE is different than previous versions. In my use of it, I haven't been able to perform debugging the way you described. You have to open a new "JBoss Server" view and do the debug server configuration there.


                i find the jboss server view, but i don't know what to do with it. i am new to debugging jboss (haven't done it at all in fact). what is the next step after i have located it in Window -> Show view -> Other ->Server -> JBoss Server View -> OK? do i start something now? do I need to install a jboss server on my computer, or is that included in the jboss ide?

                • 5. Re: Cannot create debug-configuration
                  markus.wahl

                  ok, it works much better when i install jboss. :-)

                  what i did is install JBoss 4.0.4 with ejb3 from http://labs.jboss.com/portal/jbossas/download.

                  then in eclipse: window -> Show View -> Other -> Server -> JBoss Server View -> OK -> right click -> New -> Server -> (hostname: localhost; server type: JBoss Inc -> JBoss AS 4.0) -> Next -> (Name: deefaul; home dir: dir where jboss was installed) -> Next. right click on "Jbossserver default" -> debug

                  so, i have now walked through chapters 1 to 10 of http://docs.jboss.com/jbosside/tutorial/build/en/html/ for JBossIDE-2.0.0.ALPHA-Bundle-win32.zip. the next chapter (11) is about deployment. i can not find the deployer section under JBOss-IDE of the eclipse preferences. only the xdoclet section.

                  acxjbertr and rob.stryker@jboss.com; do you know of a workaound for this as well?

                  • 6. Re: Cannot create debug-configuration
                    rob.stryker

                    There was a demo made over at: http://download.jboss.org/jbosside/demo/movies/JBossAS.htm

                    The UI has changed a bit but for the most part the demo is accurate.

                    • 7. Re: Cannot create debug-configuration
                      markus.wahl

                       

                      "rob.stryker@jboss.com" wrote:
                      There was a demo made over at: http://download.jboss.org/jbosside/demo/movies/JBossAS.htm


                      Rob, that was excelent. Thanks. Why didn't i know about this?

                      What I'm asking is really; what more profane knowledge is hidden away on the great jboss.org server? E g this movie of yours, could I have discovered it by myself, or is this jungle drum technique the only way? :)

                      thanx anyway

                      • 8. Re: Cannot create debug-configuration
                        rob.stryker

                        This particular video was posted on the jboss blogs, but I'm not sure it was linked anywhere else.

                        If you go to jboss.org and select JBoss Eclipse IDE, then Documentation, a page comes up with links to documentation and some demos, but I guess this demo wasn't added to the list or given it's own section.

                        I guess the key areas to look are the documentation section, the wiki (which you're welcome to contribute to ;) ), and then here in the forums. But you're right. We'll have to make more of an effort to ensure that resources remain available and accessible.

                        - Rob Stryker

                        • 9. Re: Cannot create debug-configuration
                          beamer908

                          Was anybody able to get this to work on a Mac? So far I have not been able to get a "Servers" category in my list of Views after trying to install it some 3 times on a fresh Eclipse 3.2 each time.

                          • 10. Re: Cannot create debug-configuration
                            rob.stryker

                            The Server category should come standard with eclipse webtools, wst package. This should be bundled with JBoss IDE without fail.

                            The category should be listed in Window -> Show View -> Other, and then a Server category should be visible.

                            • 11. Re: Cannot create debug-configuration
                              hilwi

                              I have the same problem on my Mac. I don't have the server-category either.

                              • 12. Re: Cannot create debug-configuration
                                hilwi

                                I didn't see your last post becase it was on the secon page of the topic - so sorry for my last post...

                                I now have installed WTP and now I can open the JBoss-View - thank you for your help!

                                • 13. Re: Cannot create debug-configuration
                                  hilwi

                                  Hello! It's me again with the next problem... :-)

                                  I have looked at your video you mentioned a few posts ago and saw that you deployed your ejb-jar to the server by clicking on "Run on server".

                                  I have imported a project created with JBoss IDE 1.5 and wanted to deploy my ejb-jars in the same way as you did in the demo but i only get the following error-message:

                                  No launchable artifact could be found in the selection.

                                  Is there any way to make this runnable with the new JBossIDE?

                                  • 14. Re: Cannot create debug-configuration
                                    ianbrandt

                                     

                                    "beamer908" wrote:
                                    Was anybody able to get this to work on a Mac? So far I have not been able to get a "Servers" category in my list of Views after trying to install it some 3 times on a fresh Eclipse 3.2 each time.


                                    I can add a server via the JBoss Servers or the plain Servers views on my Mac, but I can't actually debug anything. Anytime I hit a breakpoint Eclipse goes into a fast infinite loop.