facebook

Source not found in class using JBoss 3.2.1

  1. MyEclipse IDE
  2.  > 
  3. General Development
Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #198827 Reply

    Configuration:
    Operating Systems: SuSE Linux 8.2
    Application Server: JBoss 3.2.1
    Eclipse V2.1.1
    MyEclipse V 2.6.2

    Problem description:
    2 differnet projects:
    StockTraderWeb
    StockTraderEJB

    StockTraderWeb 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

    #198840 Reply

    Scott Anderson
    Participant

    How are you deploying? Are these projects part of StockTraderEAR? Are you using our deployer or your own? Exploded or packaged?

    –Scott
    MyEclipse Support

    #198842 Reply

    The 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.

    #198887 Reply

    support-michael
    Keymaster

    John,

    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

    #198901 Reply

    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?

    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.

    #198903 Reply

    support-michael
    Keymaster

    John,

    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

Viewing 6 posts - 1 through 6 (of 6 total)
Reply To: Source not found in class using JBoss 3.2.1

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