facebook

debugging jsps in Websphere

💡
Our Forums Have Moved

For help with installation, bugs reports or feature requests, please head over to our new forums.
Genuitec Community on GitHub

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

    micrito
    Member

    Hello, I’m having problems with the jsps’ debug in WebSphere.

    I try to put a interruption point and the execution doesn’t stop on it.

    Eclipse is standig a window with “_jspService” tag and executes but no code is available.

    I’m using Eclipse 3.0 with myEclipse 3.7M and WebSphere 5.1.

    What must i do to be able to debug the jsps?

    Thanks for your help.

    #213435

    Riyad Kalla
    Member

    What is the Build ID of Eclipse and MyEclipse that you are using? (Help > About), also what version of JDK are you using to launch Eclipse and websphere? Please use java -version to get the version info.

    #213526

    micrito
    Member

    Eclipse
    Version: 3.0.0
    Build id: 200402122000

    MyEclipse
    Version: 3.7.0
    Build id: 20040305-3.7.0

    jdk
    java version 1.4.2_04

    #213554

    Riyad Kalla
    Member

    First and foremost I would encourage you to upgrade to Eclipse 3.0 GA + MyEclipse 3.8.1 + MyEclipse Hotfixes, this is going to be the most stable/robust setup for you. The M-build of Eclipse you are using was very buggy and besides a few ‘strange’ issues you might run into, you never know if things you are troubleshooting are bugs, or actual errors in the software.

    Also, make sure you are using the IBM JDK that ships with WebSpehere to run it, you may also want to try and run Eclipse with the same JDK (eclipse.exe -vm c:\path\to\java.exe). The WebSpehere JDK is heavily modified and you likely aren’t going to have success running Websphere correctly without it. Also successful debugging seems to rely a lot on mostly compatible versions of JDK running the debugger (Eclipse) and running the server (Webspehere) which is why I suggest trying to use IBM’s JDK to run both, although it does sometimes work when they are different 1.4 VMs.

    #213591

    Scott Anderson
    Participant

    The real problem here is that we don’t support source level JSP debugging on WebSphere because IBM has their “own special” way of interacting with debuggers that is independent of the JSR-045 spec. For source-level JSP debugging on WebSphere, I believe *only* IBM’s WSAD does that.

    As far as upgrading your environment, this won’t affect this issue. However, the toolset is much better but if you do choose to try out the latest version I’d suggest you do a parallel installation so you can “check it out” without risk of disrupting your current development work.

    #213602

    Riyad Kalla
    Member

    Scott,
    Thank you for the correction, I do admit that my Websphere knowledge is minimal at best.

Viewing 6 posts - 1 through 6 (of 6 total)
Reply To: debugging jsps in Websphere

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