- This topic has 8 replies, 3 voices, and was last updated 19 years, 11 months ago by
Scott.
-
AuthorPosts
-
ScottMemberI have read many threads on this topic and none have helped.
I’m running MyEclipse Version3.8.4+QF2-BetaFor3.1M6 with WebLogic 7.0.6 and JDK 1.4.2_07 on Windows XP.
I’m trying to debug JSPs and the system does not stop at the breakpoint in the JSP. I implemented the weblogic.xml file as noted below.
any suggestions?
META-INF/weblogic.xml:
<!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”>
<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>July 26, 2005 at 8:53 am #233623
Riyad KallaMemberMy first suggestion is to ditch that old release of Eclipse and download Eclipse 3.1 GA and MyEclispe 4.0 Milestone 2 for Eclipse 3.1.
Secondly, what JDK are you using to actually run WebLogic?
July 26, 2005 at 9:01 am #233626
ScottMemberok, i’ll try the upgrade. the last threads noted even older version of each so i anticipated no issues.
i tried the JDK that came with weblogic, 1.3 and also 1.4, neither worked. i’m setting that up in Preferences / MyEclipse / Application Server / Weblogic 7 / JDK
July 26, 2005 at 9:24 am #233639
Riyad KallaMemberUsing 1.3 to run WebLogic is a known issue, we suggest 1.4.1 to actually run the App server while using 1.4.2_08 or 1.5.0_04 to run Eclipse (you use the -vm argument for Eclipse and point directly at the javaw.exe file)
July 27, 2005 at 2:08 pm #233782
ScottMemberI decided to go for the upgrade and am now a bit disgruntled. I couldn’t simply install the upgrades over the existing implementations of Eclipse and MyEclipse. I had to uninstall them both and then install new. With that I also had to reconfigure MyEclipse to the weblogic and JDK implementations. In itself not that time consuming, more of an annoyance.
As I had anticipated, the JSP debugging did not work. I found it confusing how an email thread from a year plus ago noted it would work yet I had to upgrade first.
I’ll continuie different combinations of the JDK to see if I can get it working. With the JDK of 1.3.x in the production environment, I can’t compile with 1.4. It has to be 1.3. any other suggestions would be appreciated.
maybe I’m out of luck?
July 27, 2005 at 6:41 pm #233802
Riyad KallaMemberFor JSP debugging you will need to use 1.4.1 to run WebLogic, there was a serious issue with the debugger in 1.3 that kept it from working correctly.
July 28, 2005 at 7:37 am #233825
ScottMemberi sent the JRE to j2sdk1.4.2_07 along with configuring Weblogic 7 to this JDK also. i then set a breakpoint within a scriplet in JSP. starting the web app and loading the page, the breakpoint was not hit. page displayed fine.
July 28, 2005 at 12:07 pm #233852
Scott AndersonParticipantMETA-INF/weblogic.xml:
That file has to go in WEB-INF/weblogic.xml, not META-INF in order to enable debugging.
July 28, 2005 at 12:13 pm #233854
ScottMemberthat was it! thanks!
i thought it was odd that META-INF was noted in a prior email thread.
-
AuthorPosts