facebook

Debugging under JBoss3.2.3

  1. MyEclipse IDE
  2.  > 
  3. General Development
Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #203754 Reply

    wattyp
    Member

    Hi all,

    Can someone explain to me / point me in the right direction on how to set up myEclipse for remote debugging on JBoss. I seem to be missing some fundamental steps on how to do this…for example, as i start jboss from myeclipse, should I launch it in a *debug* mode? If so, how? Do I need to set any parameters to attach to the running process? How do I set my breakpoints?

    btw I can deploy normal EARs/WARs without any probs

    thanks,

    Paul.

    Win XP
    myEclipse 2.7rc2 / 2.1.2
    Jboss 3.2.3

    #203758 Reply

    Riyad Kalla
    Member

    Hey Paul,
    Yes you want to launch JBoss from MyEclipse in debug mode, ‘how?’ you say? Well just click here:
    Windows>Prefs>MyEclipse>Applcaition Servers>JBoss 3>Launch

    and select “Debug Mode”

    Also click the JDK node, and make sure you have configured a JDK you want JBoss to be run with. after that, you are pretty much home free. Just make sure that the JBoss server connector is enabled (root of the JBoss 3 prefs node, “Enabled”) and now you can use the server control dropdown to manipulate the server.

    However, keep in mind that to use proper debugging support your servlet container that JBoss is using needs to support the JSR45 spec, which right now is Tomcat 5. I believe that the way you get this to happen is to use nightly builds of JBoss 3.2.4 that is using Tomcat 5.

    A few people have mentioned that they got JBoss/Tomcat 4.1 actually debugging fine, but just as a warning it may not work for you.

Viewing 2 posts - 1 through 2 (of 2 total)
Reply To: Debugging under JBoss3.2.3

You must be logged in to post in the forum log in