MyEclipse: Cannot debug with breakpoint in Weblogic 7.0 [Closed]
shankara98 - Jul 24, 2003 - 06:19 PM
Post subject: Cannot debug with breakpoint in Weblogic 7.0 [Closed]
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:
I noticed this behavior in both Eclipse 2.1 and Eclipse 2.1.1
Any help would be greatly appreciated.
support-scott - Jul 24, 2003 - 07:14 PM
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.
shankara98 - Jul 24, 2003 - 10:01 PM
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.
support-scott - Jul 25, 2003 - 04:42 PM
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.
All times are GMT - 6 Hours
Powered by PNphpBB2
© 2003-2004 The PNphpBB GroupCredits