facebook

JSP Debugging with WebLogic 7 & 8 [Closed]

  1. MyEclipse Archived
  2.  > 
  3. Documentation
Viewing 8 posts - 16 through 23 (of 23 total)
  • Author
    Posts
  • #231510 Reply

    inkinen
    Member

    riyad,

    first of all, thanks for your help!

    im running eclipse.exe with these arguments : “C:\eclipse\eclipse.exe -clean -vm C:\j2sdk1.4.2_08\bin\javaw.exe”
    configuration details says :

    eclipse.vm=C:\j2sdk1.4.2_08\bin\javaw.exe
    java.endorsed.dirs=C:\j2sdk1.4.2_08\jre\lib\endorsed
    java.ext.dirs=C:\j2sdk1.4.2_08\jre\lib\ext
    java.home=C:\j2sdk1.4.2_08\jre
    java.runtime.name=Java(TM) 2 Runtime Environment, Standard Edition
    java.runtime.version=1.4.2_08-b03
    java.specification.name=Java Platform API Specification
    java.specification.vendor=Sun Microsystems Inc.
    java.specification.version=1.4
    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_08
    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_08-b03

    im running weblogic with the same java vm (1.4.2_08-b03).

    #231513 Reply

    Riyad Kalla
    Member

    Ok that all looks good, what about the JDK you have configured to launch your app server?

    #231516 Reply

    inkinen
    Member

    im using the same (j2sdk1.4.2_08) jdk for the app server (weblogic 8.1 sp3)

    do you recommend using another version of the jdk? i have also tried the jdk that is shipped with bea weblogic. its version number is 1.4.2_04 .

    #231517 Reply

    Riyad Kalla
    Member

    Yes definately switch to using the JDK that shipped with WL, sometimes these companies modify the JDK’s they ship so it’s always suggested to use the one they include.

    #231525 Reply

    inkinen
    Member

    tried with the bea jdk and still the same error..

    im thinking of trying with a clean install of eclipse 3.1 instead, maybe that will help!

    otherwise i guess ill have to step through the generated servlet code from the jsps.

    #231558 Reply

    Riyad Kalla
    Member

    You might want to hold off for a week to upgrade to Eclipse 3.1, by then we will have released our 4.0 Milestone 2 release for Eclipse 3.1.

    #239664 Reply

    razam
    Member

    Hi:
    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.

    #239666 Reply

    Riyad Kalla
    Member

    Are you deploying using the deployment manager in MyEclipse? What is the Build ID of MyEclipse (Window > Preferences > MyEclipse) and the Build ID of Eclipse? (Help > About)

Viewing 8 posts - 16 through 23 (of 23 total)
Reply To: JSP Debugging with WebLogic 7 & 8 [Closed]

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