facebook

JSP debugging with MyEclipse 4 and Weblogic 8.1

💡
Our Forums Have Moved

For help with installation, bugs reports or feature requests, please head over to our new forums.
Genuitec Community on GitHub

  1. MyEclipse IDE
  2.  > 
  3. Java EE Development (EJB, JSP, Struts, XDoclet, etc.)
Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #236517 Reply

    jlu1202
    Member

    WinXP SP1, Eclipse 3.1, MyEclipse 4.0, Weblogic 8.1, jdk1.4.2_05.

    MyEclipse allows me to set breakpoints but does not appear to be stopping at the breakpoints I set.
    I have researched on MyEclipse site and the net and found some references to the need of having a weblogic.xml in WEB-INF which contains the following content.
    <!DOCTYPE weblogic-web-app PUBLIC “-//BEA
    Systems, Inc.//DTD Web Application 7.0//EN”
    http://www.bea.com/servers/wls700/dtd/weblogic700-web-jar.dtd”&gt;
    <weblogic-web-app>
    <description>WebLogic Descriptor</description>
    <jsp-descriptor>
    <jsp-param>
    <param-name>debug</param-name>
    <param-value>true</param-value>
    </jsp-param>
    </jsp-descriptor>
    </weblogic-web-app>

    To be pricise, the web project folder tree looks like the following:

    mywebapp
    source
    JRE System Library Container
    J2EE 1.4 Library Container
    assemble
    webApplication
    META-INF
    WEB-INF
    lib
    web.xml
    myweb.jsp

    I had to manually create weblogic.xml and had it placed under mywebapp\webApplication\Web-INF, and MyEclipse still would not stop at the breakpoints.

    Help is greatly appreciated!

    James

    #236530

    Scott Anderson
    Participant

    James,

    This project layout looks very odd, and is likely the source of the problem. Is this project a MyEclipse Web Project? What do you have set as your web root directory? Why isn’t web.xml inside WEB-INF which should be inside your web root directory? How did you deploy this?

    #236557

    jlu1202
    Member

    Scott,

    The indentation in my original message appears to be wiped out after the message is posted. mywebapp is the root of my web application. The problem seems to be corrected after fixing a few other things and redeploy. One clarification and one remaining questions.

    Clarificaton: For Weblogic 8.1, weblogic.xml needs to be manually generated.

    Question: For Weblogic 9.0, weblogic.xml is automatically generated and needs to be manually edited to include the necessary content for enabling JSP debugging.

    Thanks,

    James

    #236560

    Scott Anderson
    Participant

    James,

    Question: For Weblogic 9.0, weblogic.xml is automatically generated and needs to be manually edited to include the necessary content for enabling JSP debugging.

    Although this doesn’t read like a question, yes, weblogic.xml must contain all the JSP debug entries that you listed in your first post since it behaves the same in this regard as WLS 8.1.

Viewing 4 posts - 1 through 4 (of 4 total)
Reply To: JSP debugging with MyEclipse 4 and Weblogic 8.1

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