MyEclipse Forums
Post new topic   Reply to topic
View previous topic Printable version Log in to check your private messages View next topic
Author Message
bongo666
Post subject: Debug with EJB 2.0 project fails  PostPosted: Mar 08, 2011 - 04:30 AM



Joined: Feb 01, 2008
Posts: 14

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:

Code:

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
 
 View user's profile Send private message  
Reply with quote Back to top
bongo666
Post subject: RE: Debug with EJB 2.0 project fails  PostPosted: Mar 08, 2011 - 05:13 AM



Joined: Feb 01, 2008
Posts: 14

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
 
 View user's profile Send private message  
Reply with quote Back to top
bongo666
Post subject: RE: Debug with EJB 2.0 project fails  PostPosted: Mar 15, 2011 - 05:29 AM



Joined: Feb 01, 2008
Posts: 14

No ideas anybody?
 
 View user's profile Send private message  
Reply with quote Back to top
Display posts from previous:     
Jump to:  
All times are GMT - 6 Hours
Post new topic   Reply to topic
View previous topic Printable version Log in to check your private messages View next topic
Powered by PNphpBB2 © 2003-2004 The PNphpBB Group
Credits