- This topic has 1 reply, 2 voices, and was last updated 11 years, 10 months ago by support-swapna.
-
AuthorPosts
-
joyceewyParticipantI 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! JoyceAttachments:
You must be logged in to view attached files.
support-swapnaModeratorJoyce,
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 -
AuthorPosts