- This topic has 2 replies, 2 voices, and was last updated 19 years, 1 month ago by razam.
-
AuthorPosts
-
razamMemberHi:
I have MyEclipse IDE 4.0 with Eclipse IDE 3.1. I am using Weblogic 8.1 sp4 as an app server.
I am unable to install the breakpoints in the JSPs. The breakpoints are appearing as blue circle but does not include checkmark which means it has not been registered with the jvm. Based on the information I have gathered, Weblogic 8.1 does support JSR 045 and all it requires is configuration of weblogic.xml with the inclusion of following information:<jsp-descriptor>
<jsp-param>
<param-name>debug</param-name>
<param-value>true</param-value>
</jsp-param>
</jsp-descriptor>I have tried including the above information in the weblogic.xml but still its not working. Also, I am using the weblogic jdk to launch my eclipse ide as well running the weblogic server. Here is some config information from the eclipse ide:
*** Date: Tue Oct 18 16:31:37 EDT 2005
*** Platform Details:
*** System properties:
awt.toolkit=sun.awt.windows.WToolkit
catalina.base=/c:/Eclipse3.1/eclipse/plugins/org.eclipse.tomcat_4.1.30.1/
catalina.home=/c:/Eclipse3.1/eclipse/plugins/org.eclipse.tomcat_4.1.30.1/
catalina.useNaming=true
eclipse.application=org.eclipse.ui.ide.workbench
eclipse.buildId=M20050929-0840
eclipse.commands=-os
win32
-ws
win32
-arch
x86
-launcher
C:\Eclipse3.1\eclipse\eclipse.exe
-name
Eclipse
-showsplash
600
-exitdata
d3c_78
-clean
-vm
C:\bea\jdk142_05\bin\javaw.exe
eclipse.product=org.eclipse.sdk.ide
eclipse.startTime=1129666497814
eclipse.vm=C:\bea\jdk142_05\bin\javaw.exe
eclipse.vmargs=-Duser.language=en
-Xms128M
-Xmx512M
-XX:PermSize=64M
-XX:MaxPermSize=128M
-Dosgi.splashLocation=C:\Program Files\MyEclipse\eclipse\MyEclipseSplash.bmp
-jar
C:\Eclipse3.1\eclipse\startup.jar
eof=eof
file.encoding=Cp1252
file.encoding.pkg=sun.io
file.separator=\
java.awt.graphicsenv=sun.awt.Win32GraphicsEnvironment
java.awt.printerjob=sun.awt.windows.WPrinterJob
java.class.path=C:\Eclipse3.1\eclipse\startup.jar
java.class.version=48.0
java.endorsed.dirs=C:\bea\jdk142_05\jre\lib\endorsed
java.ext.dirs=C:\bea\jdk142_05\jre\lib\ext
java.home=C:\bea\jdk142_05\jre
java.io.tmpdir=C:\DOCUME~1\RMUZAF~1\LOCALS~1\Temp\
java.library.path=C:\bea\jdk142_05\bin;.;C:\WINNT\system32;C:\WINNT;C:\WINNT\SYSTEM32;C:\WINNT;C:\WINNT\SYSTEM32\WBEM;C:\bea\jdk142_05\bin;C:\Program Files\Oracle\bin;C:\Program Files\Oracle\jre\1.3.1\bin;C:\PROGRAM FILES\COMMON FILES\ADAPTEC SHARED\SYSTEM;C:\DMI\WIN32\BIN;C:\PROGRA~1\PVCS\VM\win32\bin;C:\apache-ant-1.6.2\bin;c:\Oracle9i\bin;c:\bea\weblogic81\server\bin
java.naming.factory.initial=org.apache.naming.java.javaURLContextFactory
java.naming.factory.url.pkgs=org.apache.naming
java.runtime.name=Java(TM) 2 Runtime Environment, Standard Edition
java.runtime.version=1.4.2_05-b04
java.specification.name=Java Platform API Specification
java.specification.vendor=Sun Microsystems Inc.
java.specification.version=1.4
java.util.prefs.PreferencesFactory=java.util.prefs.WindowsPreferencesFactory
java.vendor=Sun Microsystems Inc.
java.vendor.url=http://java.sun.com/
java.vendor.url.bug=http://java.sun.com/cgi-bin/bugreport.cgi
java.version=1.4.2_05
java.vm.info=mixed mode
java.vm.name=Java HotSpot(TM) Client VM
java.vm.specification.name=Java Virtual Machine Specification
java.vm.specification.vendor=Sun Microsystems Inc.
java.vm.specification.version=1.0
java.vm.vendor=Sun Microsystems Inc.
java.vm.version=1.4.2_05-b04
jnw.lic.type=Runtime
line.separator=Am I missing something?
Please help!Thanks.
Scott AndersonParticipantThe breakpoints are appearing as blue circle but does not include checkmark which means it has not been registered with the jvm.
They’re not registered until the first time the page is acccessed because it is the initial access that causes the page to be compiled into a class file and loaded by the remote JVM. After you access the page with a browser the first time, are the breakpoints then installed and hit? Are you sure you’re using our editor to set the breapoint (rt-click > Open With… > MyEclipse JSP Designer)? After you added the debugging lines to your weblogic.xml file did you shutdown weblogic and redeploy your application? Are you launching WebLogic in debug mode in the connector settings?
razamMemberThanks. Its working. I have actually been editing the wrong weblogic.xml file (of another project).
-
AuthorPosts