facebook

MEB 10.0 Unable to Install breakpoint in EJB Module

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

    Jim Neumyer
    Participant

    We have a user who is trying to set breakpoints in an EJB module with MEB 10 on a WAS 7.0 server. He is seeing the following error message:

    Unable to install breakpoint in <Bean module> due to missing line number attributes. Modify compiler options to generate line number attributes.

    Reason:
    Absent Line Number Information

    We have tried the following with no success:

    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.)Is the server running in debug mode?
    a.Window -> preferences -> MyEclipse -> Servers -> Websphere -> Websphere 7.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

    #332297 Reply

    support-swapna
    Moderator

    Wimpy,

    Sorry that you are seeing this issue.

    Can you please do the following steps :

    1. Can you please update to MyEclipse Blue 10.6 which is the latest version? You can update the current 10.0 to 10.6 from the MyEclipse Configuration Center > Software > Updates Available > MyEclipse Enterprise Edition 10.6. Apply the changes , follow the wizard and restart the IDE when it prompts to.

    Alternatively you can download the MyEclipse Blue 10.6 installer from here :
    https://www.myeclipseide.com/index.php?name=Recommend_Us&req=Download&version=MEBlue

    You can choose to install 10.6 to a different location without uninstalling 10.0.

    2. Right click on the EAR > Properties > MyEclipse > EAR. Uncheck the option ‘Run EJBDeploy Tool’. If the EAR project has EJB 2.x as well, then you need to manually run the MyEclipse EJB Deploy tool. Right click on the EJB 2.x module > MyEclipse > Run EJB Deploy. Now try debugging.

    3. If you are seeing any issues, please copy paste the entire error message here along with the contents of the deployment.log.

    Let us know how it works for you.

    #332331 Reply

    Wimpy,

    Yes, the second step will work in MyEclispe blue 10.0 also.

    #332336 Reply

    Wimpy,

    Can you please check what EJB version is shown on project facets page (Right click on EJB project > properties > MyEclipse > Project Facets) ? If it is 3.0 or 3.1, then you need to open $workspace/EJBProject/.settings/org.eclipse.wst.common.project.facet.core.xml file and change <installed facet=”jst.ejb” version=”3.0″/> to <installed facet=”jst.ejb” version=”2.1″/>.

    Now you can see the option “Run EJB Deploy” option for EJB project.

    Let us know how it works for you.

Viewing 4 posts - 1 through 4 (of 4 total)
Reply To: MEB 10.0 Unable to Install breakpoint in EJB Module

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