facebook

Debug with EJB 2.0 project fails

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

    bongo666
    Member

    I have a web application that consists of 3 projects:

    myAppEAR
    myAppEJB
    myAppWAR

    The application is deployed to Websphere 7 (devleopers edition) using the deploy tool within MyEclipse Blue(MEB). If I start the server within MEB normally the application works OK.
    If I start the application in debug mode then breakpoints are recognised within the WAR project but not within the EJB project. Within the EJB I get the following error:

    
    Unable to install breakpoint due to missing line number attributes. Modify compiler options to generate line number attributes
    

    However the compile option is set to generate lines numbers for each project. I tried switching it on and off and on again to no avail.

    I’m using MEB Build id: 8.5-Blue-20100319

    I have had this working previously but have since had to reinstall both WAS and MEB and since then I’ve had no luck.

    Any help will be most appreciated.

    Nigel

    #315051 Reply

    bongo666
    Member

    Another thing I should mention is that if the appliaction is built using ANT and then deployed to WAS7 and the server started within MEB in debug mode, then debug works just fine.

    The problem with this approach is that it takes away the “hot deploy” ability. If any changes are make I have to re-run the ANT build and redeploy – very time comsuming, so I would really like to get the MEB eJB deploy sorted out.

    Nigel

    #315218 Reply

    bongo666
    Member

    No ideas anybody?

Viewing 3 posts - 1 through 3 (of 3 total)
Reply To: Debug with EJB 2.0 project fails

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