- This topic has 5 replies, 3 voices, and was last updated 21 years, 2 months ago by support-michael.
-
AuthorPosts
-
John ZoetebierMemberConfiguration:
Operating Systems: SuSE Linux 8.2
Application Server: JBoss 3.2.1
Eclipse V2.1.1
MyEclipse V 2.6.2Problem description:
2 differnet projects:
StockTraderWeb
StockTraderEJBStockTraderWeb has a JSP page that links to a EJB beans using JNDI lookup.
Breakpoint set in EJB StockTraderBean.
Processing stops in bean.
When I click on PF6 to step over I get a message in a new window:
Source not found.
There is no source file attached to the class file StockTraderBean.class
Scott AndersonParticipantHow are you deploying? Are these projects part of StockTraderEAR? Are you using our deployer or your own? Exploded or packaged?
–Scott
MyEclipse Support
John ZoetebierMemberThe classes are generated with the builtin Xdoclet support.
To deploy I use the MyEclipse function “Add and Remove Project Deployment”
JSP page in Web project and EJB in EJB project.
I did not create the 2 projects as an enterprise project, but added them as 2 independent projects.
support-michaelKeymasterJohn,
Here are a few more questions to help us isolate this:
1) Is the webapp project a dependent of the ejb project in your workspace or are binary files copied from the ejb project to the webapp project?
2) When you do a step-over is the debugger technically stepping out of the bean class into a proxy class or other similar type of situation?
3) Can you set breakpoints in other areas of your project and step past them when execution halts? Specifically do other breakpoints set in both web and ejb tiers function properly.
Michael
MyEclipse Support
John ZoetebierMember1) Is the webapp project a dependent of the ejb project in your workspace or are binary files copied from the ejb project to the webapp project?
Under project preferences is TraderEJB checked as a dependent project.
No files are copied across.2) When you do a step-over is the debugger technically stepping out of the bean class into a proxy class or other similar type of situation?
A new window is shown with text:
==>
Source not found.
There is no source file attached to the class file StockTraderBean.class
==>3) Can you set breakpoints in other areas of your project and step past them when execution halts? Specifically do other breakpoints set in both web and ejb tiers function properly.
I have created a client application in TraderEJB.
When I run the client appication debugging is fine.
What’s more, whne I debug the JSP page afterwards, debuggin is fine as well.
If I however start with the JSP page, that is when the error occurs.
support-michaelKeymasterJohn,
Thanks for the feedback. I can say I’m stumped. Do you mind sharing your 2 projects with me for further research? If yes, please email a zip of the projects to my attention at support@myecilpseide.com.
Michael
MyEclipse Support -
AuthorPosts