facebook

Unable to Set Breakpoints in EJBs, WebSphere v6.0

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

    joyceewy
    Participant

    I have an EAR project written using J2EE1.4. I run it (through MyEclipseBlue) using a local WebSphere v6.0 application server. I’m trying to debug and have no issues setting breakpoints anywhere EXCEPT in the EJBs. When I set the breakpoint in the EJB, I get the attached error as soon as I start the server in debug mode. I get the error for every EJB that I try to set a breakpoint in. If I ignore the error, I can run my app but it totally ignores the EJB breakpoints. I tried unchecking the “Run EJBDeploy tool” option, as suggested in another post. This did not correct the issue.

    My version of MyEclipseBlue is v8.6.1 Blue. I’m not able to upgrade at this time (without a long delay), because I’d need to get infrastructure approval. Can someone please help me get this working in my current version? Also, if I do get to upgrade (eventually), will the latest version of MyEclipseBlue still work with WebSphere v6.0?

    I should mention that I am not using ANT. I am doing all compiling and building from within MyEclipseBlue. I should also mention that I do have the line numbers enabled in my EJB project (Add line number attributes is checked), and they appear in my EJBs.

    Please help!
    Thanks! Joyce

    Attachments:
    You must be logged in to view attached files.
    #334446 Reply

    support-swapna
    Moderator

    Joyce,

    Sorry that you are seeing this issue. The ‘Run EJB Deploy Tool’ option is for Websphere 6.1/Websphere 7. The latest version of MyEclipse (10.7) has support for Websphere 6.0.

    I strongly recommend switching to the latest version of MyEclipse i.e 10.7, to take advantage of over 4-5 years of development time and enhancements we made since 8.6 release.

    You can check to see if these steps help resolve your issue :

    1)Make sure the Add line numbers attribute is set for the project and general compile preferences.

    2)Unchecking the Add line numbers attribute, click apply, re-enable it, click apply and try again

    3) Make sure the server running in debug mode.
    a.Window -> preferences -> MyEclipse -> Servers -> Websphere -> Websphere 6.0
    b.Select your profile and hit “Edit”
    c.Hit next twice
    d.Are you using a JDK or JRE (if you are using a JRE, try switching to a JDK)?

    4) If you are running in debug mode on a JDK:
    a.Go to your workspace directory outside of MEB and go to .metadata\.plugins\org.eclipse.core.runtime\.settings
    b.Open org.eclipse.jdt.core.prefs with ultraedit
    c.Add this line to the bottom of the file
    org.eclipse.jdt.core.compiler.debug.lineNumber=generate

Viewing 2 posts - 1 through 2 (of 2 total)
Reply To: Unable to Set Breakpoints in EJBs, WebSphere v6.0

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