facebook

Unable to step through a JSP while debugging

  1. MyEclipse IDE
  2.  > 
  3. General Development
Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #206850 Reply

    tvalletta
    Member

    I get the following red text in a blank window while attempting to debug a JSP:

    Source not found for __welcome._jspService(HttpServletRequest, HttpServletResponse) line: 296

    Vitals:
    +WindowsXP
    +Eclipse Platform (3.0M8) Version: 3.0.0 Build id: 200403261517
    +Eclipse was freshly installed for MyEclipse.
    +No other external plugins installed.
    +8 plugins begin with org.eclipse.pde.*
    +MyEclipse Web Development Tooling Version: 3.7.2 Build id: 200404091200-3.7.2GA
    +Using JDK 1.4.2_03 for Eclipse
    +Using JDK 1.4.2_03 for WebLogic8.1sp2

    Weblogic startup looks like this:
    <May 10, 2004 1:58:05 PM MDT> <Info> <WebLogicServer> <BEA-000377> <Starting WebLogic Server with Java HotSpot(TM) Client VM Version 1.4.2-b28 from Sun Microsystems Inc.>
    <May 10, 2004 1:58:05 PM MDT> <Info> <Configuration Management> <BEA-150016> <This server is being started as the administration server.>
    <May 10, 2004 1:58:05 PM MDT> <Info> <Management> <BEA-141107> <Version: WebLogic Server 8.1 SP2 Fri Dec 5 15:01:51 PST 2003 316284
    WebLogic XMLX Module 8.1 SP2 Fri Dec 5 15:01:51 PST 2003 316284 >
    <May 10, 2004 1:58:06 PM MDT> <Notice> <Management> <BEA-140005> <Loading domain configuration from configuration repository at C:\bea81sp2\user_projects\domains\mydomain\config.xml.>
    <May 10, 2004 1:58:10 PM MDT> <Notice> <Log Management> <BEA-170019> <The server log file C:\bea81sp2\user_projects\domains\mydomain\myserver\myserver.log is opened. All server side log events will be written to this file.>
    <May 10, 2004 1:58:13 PM MDT> <Notice> <Security> <BEA-090082> <Security initializing using security realm myrealm.>
    <May 10, 2004 1:58:13 PM MDT> <Notice> <WebLogicServer> <BEA-000327> <Starting WebLogic Admin Server “myserver” for domain “mydomain”>
    <May 10, 2004 1:58:17 PM MDT> <Warning> <HTTP> <BEA-101296> <Unable to load the default compiler class “com.sun.tools.javac.Main”. Using the default javac compiler to compile JSPs.>
    <May 10, 2004 1:58:25 PM MDT> <Warning> <EJB> <BEA-010212> <The EJB ‘PropertiesEJB(Application: JNDIToolEJB, EJBComponent: JNDIToolEJB)’ contains at least one method without an explicit transaction attribute setting. The default transaction attribute of Supports will be used for the following methods: remote[comparePropertyMap(java.util.HashMap), getPropertyFile(java.lang.String)] >
    May 10, 2004 1:58:43 PM com.sun.faces.config.ConfigureListener verifyObjects
    INFO: Application object verification completed successfully
    May 10, 2004 1:58:43 PM org.apache.struts.util.PropertyMessageResources <init>
    INFO: Initializing, config=’org.apache.struts.util.LocalStrings’, returnNull=true
    May 10, 2004 1:58:43 PM org.apache.struts.util.PropertyMessageResources <init>
    INFO: Initializing, config=’org.apache.struts.action.ActionResources’, returnNull=true
    May 10, 2004 1:58:44 PM org.apache.struts.util.PropertyMessageResources <init>
    INFO: Initializing, config=’application’, returnNull=true
    May 10, 2004 1:58:44 PM org.apache.struts.util.PropertyMessageResources <init>
    INFO: Initializing, config=’application-aarm’, returnNull=true
    <May 10, 2004 1:58:44 PM MDT> <Notice> <WebLogicServer> <BEA-000331> <Started WebLogic Admin Server “myserver” for domain “mydomain” running in Development Mode>
    <May 10, 2004 1:58:44 PM MDT> <Notice> <WebLogicServer> <BEA-000360> <Server started in RUNNING mode>
    <May 10, 2004 1:58:45 PM MDT> <Notice> <WebLogicServer> <BEA-000355> <Thread “ListenThread.Default” listening on port 8120, ip address *.*>

    The log file looks like this:
    !SESSION May 10, 2004 13:53:03.687 ———————————————
    java.version=1.4.2
    java.vendor=Sun Microsystems Inc.
    BootLoader constants: OS=win32, ARCH=x86, WS=win32, NL=en_US
    !ENTRY org.eclipse.osgi May 10, 2004 13:53:03.687
    !MESSAGE Bundle reference:file:c:/eclipse30M8/plugins/org.eclipse.debug.ui_3.0.0/ [19] was not resolved
    !ENTRY org.eclipse.osgi May 10, 2004 13:53:03.687
    !MESSAGE Bundle reference:file:c:/eclipse30M8/plugins/org.eclipse.jdt.debug_3.0.0/ [28] was not resolved
    !ENTRY com.genuitec.eclipse.easie.weblogic8 1 1 May 10, 2004 13:56:10.859
    !MESSAGE Error starting WebLogic: Security policy file

    I would also like to get rid of the message:
    <May 10, 2004 1:58:17 PM MDT> <Warning> <HTTP> <BEA-101296> <Unable to load the default compiler class “com.sun.tools.javac.Main”. Using the default javac compiler to compile JSPs.>
    …from the application server start up if that is possible.

    Thanks in advance,
    tvalletta

    #206857 Reply

    Riyad Kalla
    Member

    I would also like to get rid of the message:
    <May 10, 2004 1:58:17 PM MDT> <Warning> <HTTP> <BEA-101296> <Unable to load the default compiler class “com.sun.tools.javac.Main”. Using the default javac compiler to compile JSPs.>
    …from the application server start up if that is possible.

    Try and ‘append to classpath’ the tools.jar file from your JDK installation. You can do this from your Window > Preferences > MyEclipse > App Servers > WebLogic 8 > Paths panel.

    Also as far as debugging, does this link help: https://www.genuitec.com/forums/topic/jsp-debugging-with-weblogic-8-1-closed/&highlight=weblogic+debugging?

Viewing 2 posts - 1 through 2 (of 2 total)
Reply To: Unable to step through a JSP while debugging

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