For help with installation, bugs reports or feature requests, please head over to our new forums.
Genuitec Community on GitHub
- This topic has 11 replies, 5 voices, and was last updated 20 years, 10 months ago by
Riyad Kalla.
-
AuthorPosts
-
mmathiasMemberEclipse : 3.8
MyEclipse: 3.7
Weblogic 8.1
JDK 1.4.2I have an J2EE Application and has War and 2 EJB jar files. I can debug files from war file, But i cannot debug EJB which are in same ear file. It says EJB_Impl source not found and says Invalid class, But it shows variable values in debug window. Can you please point to to a documentation or tutorial as to How to Debug EJBs.
Thanks
August 24, 2004 at 8:03 am #213205
Scott AndersonParticipantEJB_Impl is the container-generated skeleton class for your EJB and there isn’t any source for it. I think what you’ve tried to do is step through a call from the client all the way to the server. This can’t be done with full source since the classes are generated in memory by the server. To debug your EJB, just set a breakpoint in the EJB method you’re trying to call and hit the “continue” button. Once the container finally gets to your class, your breakpoint will be hit and your source displayed.
August 24, 2004 at 3:32 pm #213323
mmathiasMemberI did exactly the same, it still does not show me the source. When it hits the breakpoint, ‘Class File Editor’ window shows up and says ‘Source Not Found, There is no source file attached to the class file MyEJB.class’.
Pleas advice what different step i need to do to make it work.
Thanks
August 24, 2004 at 9:17 pm #213376
Scott AndersonParticipantHow are you deploying? Our exploded or packaged options or your own mechanism? From the sound of problem, it looks like there isn’t any symbolic information in the class file. This can happen if you changed your workbench compiler settings or are deploying using your own Ant build, for example.
August 24, 2004 at 9:31 pm #213378
Nabil SuleimanParticipantI use XDoclet for my EJBs, and when I want a break point, I place it in the class I created, not the implemenations, not anything else. And run a test client and switch to the debug prospective.
August 25, 2004 at 12:12 pm #213472
mmathiasMemberI deploy it as a packaged ear file. The ear package has EJBs and Web. I can debug Web classes just fine. But not EJBs. I am using Eclipse to deploy too. I am not using any of external tools.
December 7, 2004 at 6:42 am #220644
herve.bourzeixMemberI am having the same issue , I deployed an exploded EAR in the applications dir of my domain . I can break in a servlet but not inside my own EJB code : I got :
Source not found for ExtractionManager_tul4y2_Impl(ExtractionManagerBean).start() line: 295
Thx
December 7, 2004 at 7:53 am #220646
Riyad KallaMemberCan you please post all the information we request in the [URL=http://www.myeclipseide.com/PNphpBB2+file-viewtopic-t-393.html]Posting Guidelines[/URL] thread at the top of this forum? That will give us some context so that we can determine if this is an installation issue, a configuration problem, or a bug. Thanks.
December 7, 2004 at 8:01 am #220650
herve.bourzeixMemberWhat operating system and version are you running?
WinXp SP1What Eclipse version and build id are you using? (Help > About Eclipse Platform)
Version: 3.0.1
Build id: 200409161125– Was Eclipse freshly installed for MyEclipse?
Yes– Are any other external plugins installed?
No– How many plugins in the <eclipse>/plugins directory are like org.eclipse.pde.*
8
What MyEclipse version are you using? (Help > About Eclipse Platform > Features)
Version: 3.8.2
What JDK version are you using to run Eclipse? (java -version)
java version “1.4.2_04”What JDK version are you using to launch your application server?
Version 1.4.2What steps did you take that resulted in the issue?
debug perspective / launch wl 8 / deploy / post to a servlet ( which is calling an EJB)What application server are you using?
Weblogic 8.1 SP3Are there any exceptions in the Eclipse log file? NO
December 7, 2004 at 8:04 am #220651
Riyad KallaMemberThank you herve. Is your entire app deployed under the WebLogic instance? (including the EJBs?) do you have the WL instance set to run in debug mode?
Also try and shut down your app server, remove your deployment, rebuild all your projects and redeploy. Did that help?
We have some enhancements comming for the source locater and remote debugging in the 3.8.3 release this week, so if that didn’t help I would ask that you wait and upgrade and see if 3.8.3 takes care of it.
December 7, 2004 at 8:45 am #220656
herve.bourzeixMemberWell , I deleted everything in the directory applications ( also .wldonotdelete ) and it just work perrfect !!!!!
thxDecember 7, 2004 at 10:02 am #220662
Riyad KallaMemberNice, I’m glad its working.
-
AuthorPosts