facebook

jsp debugging Weblogic 8.1

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

    Emery
    Member

    Hi,

    I’m afraid I’m stuck again. The breakpoint is not being caught while debugging.

    Weblogic Server 8.1
    jdk: 1.4.1_03 and 1.4.2 tried
    Weblogic is set to launch in Debug mode
    MyEclipse 2.5 GA

    As you stated in another post, I’ve created the file weblogic.xml in the WEB-INF directory which looks like this:

    <!DOCTYPE weblogic-web-app PUBLIC “-//BEA Systems, Inc.//DTD Web Application 8.1//EN”
    http://www.bea.com/servers/wls810/dtd/weblogic810-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>

    I can double click to make a breakpoint, but there is no flag or checkmark.

    I don’t know where else to look.

    Thanks,

    Emery

    #198063 Reply

    Scott Anderson
    Participant

    I can double click to make a breakpoint, but there is no flag or checkmark.

    Don’t get discouraged just because there’s no checkmark initially. The checkmark only shows up after the Java class has been loaded by the external WebLogic JVM.

    Is the JSP you’re trying to set a breakpoint in a top-level JSP or a fragment (included JSP)? Breakpoints only function in top-level JSP’s since included JSP’s are inlined and as such don’t generate a class file. To debug an included JSP, set a breakpoint in the top level JSP that includes it and then step over the include line with the debugger.

    What type of deployment are you using? Our exploded deployer, packaged deployer, or your own? In the deployment directory under your weblogic domain, do you see the weblogic.xml file? Does it have the content you expect it to?

    I’d also recommend upgrading to v2.6.0 using the Eclipse Update Manager since several improvements in the deployer were made.

    –Scott
    MyEclipse Support

Viewing 2 posts - 1 through 2 (of 2 total)
Reply To: jsp debugging Weblogic 8.1

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