facebook

Cannot debug with breakpoint in Weblogic 7.0 [Closed]

  1. MyEclipse Archived
  2.  > 
  3. Bugs
Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #197114 Reply

    shankara98
    Member

    I downloaded GA 2.5 and am trying out the example HelloWorld.jsp and HelloWorldServlet.

    I’m running Eclipse 2.1.1, Weblogic 7.0, Tomcat 4.1, and JDK 1.3.1_07.

    On Tomcat I could run the HelloWorldServlet in debug mode with breakpoints and it worked fine.

    On Weblogic I cannot seem to run the examples in debug mode with breakpoints. If I insert a breakpoint either in the jsp or in the servlet, it doesn’t stop at the breakpoint. The browser also seems to hang with no response. If i remove the breakpoint and try the example again, it seems to run fine. I have read other responses from Scott about watching out for the Debug perspective in Eclipse.

    I am also seeing this error (on the Eclipse console) when launching Weblogic:

    java.lang.IncompatibleClassChangeError
    at org.eclipse.jdt.internal.debug.core.model.JDIDebugTarget.findThread(JDIDebugTarget.java:775)
    at org.eclipse.jdt.internal.debug.core.model.JDIDebugTarget$ThreadStartHandler.handleEvent(JDIDebugTarget.java:1666)
    at org.eclipse.jdt.internal.debug.core.EventDispatcher.dispatch(EventDispatcher.java:136)
    at org.eclipse.jdt.internal.debug.core.EventDispatcher.run(EventDispatcher.java:214)
    at java.lang.Thread.run(Thread.java:479)

    I noticed this behavior in both Eclipse 2.1 and Eclipse 2.1.1

    Any help would be greatly appreciated.

    Thanks,

    Ashok

    #197116 Reply

    Scott Anderson
    Participant

    Ashok,

    This is a JDK interaction problem between your JDK and the Eclipse debug tooling. If you install JDK 1.4.1_03 and launch weblogic with that, you should be fine.

    –Scott
    MyEclipse Support

    #197131 Reply

    shankara98
    Member

    Scott,

    Per your suggestion I tried using JDK 1.4.2 with Eclipse 2.1 and Weblogic 7.0

    I’m still having the same problem with breakpoints, although the hot swapping is working fine.

    I’m still getting the same error stack trace when I launch Weblogic.

    One more thing I noticed is that when I stop Weblogic, the ‘Remove All Terminated’ button in eclipse is not enabled. This doesn’t happen when I’m working with Tomcat.

    Thanks,

    Ashok

    #197150 Reply

    Scott Anderson
    Participant

    Ashok,

    There are a couple of known problem using JDK 1.4.2 with the Eclipse debugger and has been posted on the Eclipse newsgroups. It’s much safer to stick with 1.4.1_03 until the kinks get shaken out.

    Update to this specific JDK and you should be fine, since this is the one we do all our testing on.

    –Scott
    MyEclipse Support

Viewing 4 posts - 1 through 4 (of 4 total)
Reply To: Cannot debug with breakpoint in Weblogic 7.0 [Closed]

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