PLS help debug WebLogic

Dear Java gurus,
I am new to Java and JSP. What I've got is a web application running on WebLogic server consisting of a JSP login page and a JavaBean. How to setup the debugger to debug that code in the JavaBean? I have tried NetBeans, JBuilderX, Eclipse and build-in WebLogic tool and was unsuccessful. I could find any documentation on how to step-in my JSP or JavaBean either.
Please help, help will be highly appreciated.
Al.

Thank you, I thought that there is a way to setup NetBeans or JBuilder. I didnt have any luck with MyEclipse, it failed to install.

Similar Messages

  • Problem in creating ear file using weblogic 10....Pls help

    Hi,
    part of build.batwhere error occure::
    @echo off
    echo.
    echo -------------Hub 2.0 Core Build System-------------
    echo.
    echo.
    @set JAVA_HOME=C:\Program Files\Java\jdk1.5.0_13
    set JAVA_HOME=C:\Program Files\Java\jdk1.5.0_13
    set PATH=C:\Program Files\Java\jdk1.5.0_13\bin;%PATH%
    if "%JAVA_HOME%"=="" goto no_java_home
    if "%ANT_HOME%"=="" goto no_ant_home
    :anthomeset
    echo Using Ant at %ANT_HOME%
    goto dobuild
    :no_ant_home
    set ANT_HOME=C:\ant1.6.1
    set ANT_OPTS=-Xms1024m -Xmx2048m
    set CLEAR_ANT_HOME=yes
    echo ANT_HOME was not set - setting to %ANT_HOME% for current build
    goto dobuild
    :dobuild
    set BUILD_CLASSPATH=D:\Projects\Quadriga\Hub20\HUB\buildscripts\core\build\classes;D:\Projects\Quadriga\Hub20\HUB\buildscripts\estate\build\classes;D:\Projects\Quadriga\Hub20\HUB\buildscripts\application\build\classes;D:\Projects\Quadriga\Hub20\HUB\buildscripts\application\dist;
    set CLASSPATH=%CLASSPATH%;%JAVA_HOME%\lib\tools.jar;C:\bea\wlserver_10.0\server\lib\**/*.jar;D:\projects\Quadriga\Hub20\HUB\lib\bea.weblogic\**/*.jar;
    echo.
    echo CLASSPATH=%CLASSPATH%
    call %ANT_HOME%\bin\ant.bat -debug -buildfile buildscripts\application\build.xml %1
    if "%CLEAR_ANT_HOME%"=="yes" goto clear_ant
    goto end
    :no_java_home
    echo Please set the environment variable JAVA_HOME on your box.
    goto end
    :clear_ant
    set ANT_HOME=
    goto end
    :end
    set CLEAR_ANT_HOME=
    the error in console is:
    The ' characters around the executable and arguments are
    not part of the command.
    [java] Exception in thread "main" java.lang.NoClassDefFoundError: weblogic/
    utils/compiler/Tool
    [java] at java.lang.ClassLoader.defineClass1(Native Method)
    [java] at java.lang.ClassLoader.defineClass(ClassLoader.java:620)
    [java] at java.security.SecureClassLoader.defineClass(SecureClassLoader
    .java:124)
    [java] at java.net.URLClassLoader.defineClass(URLClassLoader.java:260)
    [java] at java.net.URLClassLoader.access$100(URLClassLoader.java:56)
    [java] at java.net.URLClassLoader$1.run(URLClassLoader.java:195)
    [java] at java.security.AccessController.doPrivileged(Native Method)
    [java] at java.net.URLClassLoader.findClass(URLClassLoader.java:188)
    [java] at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
    [java] at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:268)
    [java] at java.lang.ClassLoader.loadClass(ClassLoader.java:251)
    [java] at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:319)
    [java] at weblogic.appc.main(appc.java:14)
    [ant] Exiting D:\projects\Quadriga\Hub20\HUB\buildscripts\core\build.xml.
    BUILD FAILED
    D:\projects\Quadriga\Hub20\HUB\buildscripts\application\build.xml:104: The follo
    wing error occurred while executing this line:
    D:\projects\Quadriga\Hub20\HUB\buildscripts\core\build.xml:447: Java returned: 1
    at org.apache.tools.ant.ProjectHelper.addLocationToBuildException(Projec
    tHelper.java:539)
    at org.apache.tools.ant.taskdefs.Ant.execute(Ant.java:384)
    at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:275)
    at org.apache.tools.ant.Task.perform(Task.java:364)
    at org.apache.tools.ant.Target.execute(Target.java:341)
    at org.apache.tools.ant.Target.performTasks(Target.java:369)
    at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1216)
    at org.apache.tools.ant.Project.executeTarget(Project.java:1185)
    at org.apache.tools.ant.helper.DefaultExecutor.executeTargets(DefaultExe
    cutor.java:40)
    at org.apache.tools.ant.Project.executeTargets(Project.java:1068)
    at org.apache.tools.ant.Main.runBuild(Main.java:668)
    at org.apache.tools.ant.Main.startAnt(Main.java:187)
    at org.apache.tools.ant.launch.Launcher.run(Launcher.java:246)
    at org.apache.tools.ant.launch.Launcher.main(Launcher.java:67)
    Caused by: D:\projects\Quadriga\Hub20\HUB\buildscripts\core\build.xml:447: Java
    returned: 1
    at org.apache.tools.ant.taskdefs.Java.execute(Java.java:87)
    at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:275)
    at org.apache.tools.ant.Task.perform(Task.java:364)
    at org.apache.tools.ant.Target.execute(Target.java:341)
    at org.apache.tools.ant.Target.performTasks(Target.java:369)
    at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1216)
    at org.apache.tools.ant.helper.SingleCheckExecutor.executeTargets(Single
    CheckExecutor.java:37)
    at org.apache.tools.ant.Project.executeTargets(Project.java:1068)
    at org.apache.tools.ant.taskdefs.Ant.execute(Ant.java:382)
    ... 12 more
    --- Nested Exception ---
    D:\projects\Quadriga\Hub20\HUB\buildscripts\core\build.xml:447: Java returned: 1
    at org.apache.tools.ant.taskdefs.Java.execute(Java.java:87)
    at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:275)
    at org.apache.tools.ant.Task.perform(Task.java:364)
    at org.apache.tools.ant.Target.execute(Target.java:341)
    at org.apache.tools.ant.Target.performTasks(Target.java:369)
    at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1216)
    at org.apache.tools.ant.helper.SingleCheckExecutor.executeTargets(Single
    CheckExecutor.java:37)
    at org.apache.tools.ant.Project.executeTargets(Project.java:1068)
    at org.apache.tools.ant.taskdefs.Ant.execute(Ant.java:382)
    at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:275)
    at org.apache.tools.ant.Task.perform(Task.java:364)
    at org.apache.tools.ant.Target.execute(Target.java:341)
    at org.apache.tools.ant.Target.performTasks(Target.java:369)
    at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1216)
    at org.apache.tools.ant.Project.executeTarget(Project.java:1185)
    at org.apache.tools.ant.helper.DefaultExecutor.executeTargets(DefaultExe
    cutor.java:40)
    at org.apache.tools.ant.Project.executeTargets(Project.java:1068)
    at org.apache.tools.ant.Main.runBuild(Main.java:668)
    at org.apache.tools.ant.Main.startAnt(Main.java:187)
    at org.apache.tools.ant.launch.Launcher.run(Launcher.java:246)
    at org.apache.tools.ant.launch.Launcher.main(Launcher.java:67)
    Total time: 37 seconds
    Pls help me.....
    Thanks,
    Anindya

    hI,
    I ll send the bild.xml file:
    part of build.xml in 1st file:
    <target name="build-core" depends="init" unless="core.nobuild">
    <ant antfile="build.xml" dir="${buildscripts.home}/core" target="build-deployment-units" inheritAll="false"/>
    </target>
    part of build.xml of 2nd file:
    <!-- ================================================================= -->
    <!-- classpath settings -->
    <!-- ================================================================= -->
    <path id="lido.classpath">
    <fileset dir="${lib}/lido">
    <include name="*.jar"/>
    </fileset>
    </path>
    <path id="compile.classpath">
    <pathelement location="${lib}/jakarta.apache/log4j-1.2.9.jar"/>
    <pathelement location="${lib}/jakarta.apache/jakarta-regexp-1.2.jar"/>
    <pathelement location="${lib}/bea.weblogic/webservices.jar"/>
    <pathelement location="${lib}/bea.weblogic/weblogic.jar"/>
    <pathelement location="${lib}/bea.weblogic/wls-api.jar"/>
    <pathelement location="${lib}/bea.weblogic/api.jar"/>
    <pathelement location="${lib}/bea.weblogic/wljmsclient.jar"/>
    <pathelement location="${lib}/bea.weblogic/wljmxclient.jar"/>
    <pathelement location="${lib}/bea.weblogic/wlxbean.jar"/>
    <pathelement location="${lib}/bea.weblogic/wlutil.jar"/>
    <pathelement location="${lib}/bea.weblogic/xquery.jar"/>
    <pathelement location="${lib}/bea.weblogic/xqrl.jar"/>
    <pathelement location="${lib}/bea.weblogic/xmlx.jar"/>
    <pathelement location="${lib}/bea.weblogic/wsse.jar"/>
    <pathelement location="${lib}/bea.weblogic/wseeclient.jar"/>
    <pathelement location="${lib}/bea.weblogic/weblogic-container-binding.jar"/>
    <pathelement location="${lib}/bea.weblogic/classes12.zip"/>
    <pathelement location="${lib}/jdom.org/jdom.jar"/>
    <pathelement location="${lib}/java.sun/jmxtools.jar"/>
    <pathelement location="${lib}/mindterm/mindterm.jar"/>
    <pathelement location="${lib}/java.sun/jsse1.0.3/jcert.jar"/>
    <pathelement location="${lib}/java.sun/jsse1.0.3/jnet.jar"/>
    <pathelement location="${lib}/java.sun/jsse1.0.3/jsse.jar"/>
    <pathelement location="${lib}/mindterm/Qmindterm.jar"/>
    <pathelement location="${lib}/mindterm/java40.jar"/>
    <pathelement location="${lib}/mindterm/jtStubs.jar"/>
    <pathelement location="${lib}/junitee/junit.jar"/>
    <pathelement location="${lib}/junitee/junitee.jar"/>
    <pathelement location="${lib}/enterprisedt/ftp-1.2.2/ftp.jar"/>
              <pathelement location="${lib}/jakarta-commons/commons-collections-3.1.jar"/>
         <pathelement location="${lib}/xml-writer-0.2.jar"/>
         <fileset dir="${lib}/jaxb">
    <include name="*.jar"/>
    </fileset>
    <path refid="lido.classpath"/>
    </path>
    <path id="built.classpath">
    <pathelement location="${classes}"/>
    <path refid="compile.classpath"/>
    </path>
    <path id="jdos.classpath">
    <pathelement location="${classes}"/>
    </path>
    <taskdef classpathref="compile.classpath" name="wlappc" classname="weblogic.ant.taskdefs.j2ee.Appc"/>
    <java classname="weblogic.appc" fork="yes" failonerror="yes">
    <sysproperty key="weblogic.home" value="C:/bea/wlserver_10.0/server"/>
    <arg line="-keepgenerated -compiler javac ${dist}/${wl-entity-jarfile}.jar"/>
    <classpath>
    <path refid="built.classpath"/>
    </classpath>
    </java>
    eroor in console now:
    [java] Exception in thread "main" java.lang.NoClassDefFoundError: weblogic/
    descriptor/BeanUpdateListener
    [java] at java.lang.ClassLoader.defineClass1(Native Method)
    [java] at java.lang.ClassLoader.defineClass(ClassLoader.java:620)
    [java] at java.security.SecureClassLoader.defineClass(SecureClassLoader
    .java:124)
    [java] at java.net.URLClassLoader.defineClass(URLClassLoader.java:260)
    [java] at java.net.URLClassLoader.access$100(URLClassLoader.java:56)
    [java] at java.net.URLClassLoader$1.run(URLClassLoader.java:195)
    [java] at java.security.AccessController.doPrivileged(Native Method)
    [java] at java.net.URLClassLoader.findClass(URLClassLoader.java:188)
    [java] at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
    [java] at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:268)
    [java] at java.lang.ClassLoader.loadClass(ClassLoader.java:251)
    [java] at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:319)
    [java] at java.lang.Class.forName0(Native Method)
    [java] at java.lang.Class.forName(Class.java:164)
    [java] at weblogic.logging.MessageLogger.<clinit>(MessageLogger.java:45
    [java] at weblogic.logging.WLMessageLogger.log(WLMessageLogger.java:51)
    [java] at weblogic.j2ee.J2EELogger.logAppcFailedWithError(J2EELogger.ja
    va:5257)
    [java] at weblogic.application.compiler.Appc.runBody(Appc.java:174)
    [java] at weblogic.utils.compiler.Tool.run(Tool.java:158)
    [java] at weblogic.utils.compiler.Tool.run(Tool.java:115)
    [java] at weblogic.application.compiler.Appc.main(Appc.java:183)
    [java] at weblogic.appc.main(appc.java:14)
    [ant] Exiting D:\projects\Quadriga\Hub20\HUB\buildscripts\core\build.xml.
    BUILD FAILED
    D:\projects\Quadriga\Hub20\HUB\buildscripts\application\build.xml:103: Following
    error occured while executing this line
    D:\projects\Quadriga\Hub20\HUB\buildscripts\core\build.xml:460: Java returned: 1
    at org.apache.tools.ant.ProjectHelper.addLocationToBuildException(Projec
    tHelper.java:537)
    at org.apache.tools.ant.taskdefs.Ant.execute(Ant.java:385)
    at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:269)
    at org.apache.tools.ant.Task.perform(Task.java:364)
    at org.apache.tools.ant.Target.execute(Target.java:301)
    at org.apache.tools.ant.Target.performTasks(Target.java:328)
    at org.apache.tools.ant.Project.executeTarget(Project.java:1215)
    at org.apache.tools.ant.Project.executeTargets(Project.java:1063)
    at org.apache.tools.ant.Main.runBuild(Main.java:632)
    at org.apache.tools.ant.Main.startAnt(Main.java:183)
    at org.apache.tools.ant.launch.Launcher.run(Launcher.java:197)
    at org.apache.tools.ant.launch.Launcher.main(Launcher.java:56)
    Caused by: D:\projects\Quadriga\Hub20\HUB\buildscripts\core\build.xml:460: Java
    returned: 1
    at org.apache.tools.ant.taskdefs.Java.execute(Java.java:80)
    at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:269)
    at org.apache.tools.ant.Task.perform(Task.java:364)
    at org.apache.tools.ant.Target.execute(Target.java:301)
    at org.apache.tools.ant.Target.performTasks(Target.java:328)
    at org.apache.tools.ant.Project.executeTarget(Project.java:1215)
    at org.apache.tools.ant.taskdefs.Ant.execute(Ant.java:383)
    ... 10 more
    --- Nested Exception ---
    D:\projects\Quadriga\Hub20\HUB\buildscripts\core\build.xml:460: Java returned: 1
    at org.apache.tools.ant.taskdefs.Java.execute(Java.java:80)
    at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:269)
    at org.apache.tools.ant.Task.perform(Task.java:364)
    at org.apache.tools.ant.Target.execute(Target.java:301)
    at org.apache.tools.ant.Target.performTasks(Target.java:328)
    at org.apache.tools.ant.Project.executeTarget(Project.java:1215)
    at org.apache.tools.ant.taskdefs.Ant.execute(Ant.java:383)
    at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:269)
    at org.apache.tools.ant.Task.perform(Task.java:364)
    at org.apache.tools.ant.Target.execute(Target.java:301)
    at org.apache.tools.ant.Target.performTasks(Target.java:328)
    at org.apache.tools.ant.Project.executeTarget(Project.java:1215)
    at org.apache.tools.ant.Project.executeTargets(Project.java:1063)
    at org.apache.tools.ant.Main.runBuild(Main.java:632)
    at org.apache.tools.ant.Main.startAnt(Main.java:183)
    at org.apache.tools.ant.launch.Launcher.run(Launcher.java:197)
    at org.apache.tools.ant.launch.Launcher.main(Launcher.java:56)
    Total time: 14 seconds
    pls reply...

  • Pls help me in debugging the emial procedure

    Hi;
    I am trying to compike this procedure for sending a mail but am unable to rectify the errors..can u ppl pls help me?
    DECLARE
    m_body CLOB;
    mas_id number;
    mcust_id number;
    mcustomer_name varchar2(100);
    mproduct varchar2(15);
    minstance varchar2(10);
    mtoa varchar2(10);
    mton number;
    mpriority number;
    massesor1 varchar2(15);
    massesor2 varchar2(15);
    mreviewer1 varchar2(15);
    mreviewer2 varchar2(15);
    mDoa date;
    mstartdate date;
    mreviewdate date;
    mfinaldate date;
    mactualdate date;
    mssc varchar2(10);
    mpanno number;
    mtime varchar2(10);
    mcustinterview varchar2(10);
    minterviewdate date;
    mdev_by varchar2(100);
    mcust-feedback varchar2(4000);
    mSr_no number;
    mgar_id number;
    mpoc varchar2(30);
    BEGIN
    select ASSESMENT_ID, CUSTOMER_ID, CUSTOMER, PRODUCT, INSTANCE, TOA, TON, REL_PRIORITY, ASSESOR1, ASSESOR2, REVIEWER1, REVIEWER2, DOA, START_DATE, REVIEW_DUE_DATE, FINAL_DUE_DATE, ACTUAL_DEL_DATE, SSC , PA_NO, TIME_ENTRY, CUST_INTVW , INTVW_DATE , DEV_BY_ENG , CUST_FB , SR_NO , GAR_ID , POC from assesment into
    mas_id,mcust_id, mcustomer_name, mproduct,minstance, mtoa,mton, mpriority, massesor1,massesor2, mreviewer1, mreviewer2, mDoa,mstartdate, mreviewdate, mfinaldate, mactualdate, mssc, mpanno, mtime,mcustinterview, minterviewdate, mdev_by, mcust-feedback,mSr_no, mgar_id, mpoc, from ASSESMENT where
    CUSTOMER= :P17_CUSTOMER_ID;
    m_body := m_body || ' ' || mas_id || ' ' || mcust_id || ' ' || mcustomer_name || ' ' || mproduct || ' ' || minstance || ' ' || mtoa || ' ' || mton || ' ' || mpriority ||' ' || massesor1 || ' ' || massesor2 ||' ' || mreviewer1 || ' ' || mreviewer2 ||' ' || mDoa || ' ' || mstartdate || ' ' || mreviewdate || ' ' || mfinaldate ||' ' || mactualdate || ' ' || mssc ||' ' || mpanno || ' ' || mtime ||' ' || mcustinterview || ' ' || minterviewdate || ' ' || mdev_by || ' ' || mcust-feedback ||' ' || mSr_no || ' ' || mgar_id ||' ' || mpoc || utl_tcp.crlf ||utl_tcp.crlf;
    apex_mail.send( p_to => :P17_TO_ID,
    p_from => :P17_FROM_ID ,
    p_body => m_body, p_subj => 'Test mail');
    APEX_MAIL.PUSH_QUEUE;
    END;
    Thanks in advance
    Samiya
    Edited by: user10763992 on Jun 19, 2009 12:15 AM

    Rephrase the select statment;
    From:
    select ASSESMENT_ID, CUSTOMER_ID, CUSTOMER, PRODUCT, INSTANCE, TOA, TON, REL_PRIORITY, ASSESOR1, ASSESOR2, REVIEWER1, REVIEWER2, DOA, START_DATE, REVIEW_DUE_DATE, FINAL_DUE_DATE, ACTUAL_DEL_DATE, SSC , PA_NO, TIME_ENTRY, CUST_INTVW , INTVW_DATE , DEV_BY_ENG , CUST_FB , SR_NO , GAR_ID , POC from assesment into
    mas_id,mcust_id, mcustomer_name, mproduct,minstance, mtoa,mton, mpriority, massesor1,massesor2, mreviewer1, mreviewer2, mDoa,mstartdate, mreviewdate, mfinaldate, mactualdate, mssc, mpanno, mtime,mcustinterview, minterviewdate, mdev_by, mcust-feedback,mSr_no, mgar_id, mpoc, from ASSESMENT where
    CUSTOMER= :P17_CUSTOMER_ID;
    To:
    select ASSESMENT_ID, CUSTOMER_ID, CUSTOMER, PRODUCT, INSTANCE, TOA, TON, REL_PRIORITY, ASSESOR1, ASSESOR2, REVIEWER1, REVIEWER2, DOA, START_DATE, REVIEW_DUE_DATE, FINAL_DUE_DATE, ACTUAL_DEL_DATE, SSC , PA_NO, TIME_ENTRY, CUST_INTVW , INTVW_DATE , DEV_BY_ENG , CUST_FB , SR_NO , GAR_ID , POC into mas_id,mcust_id, mcustomer_name, mproduct,minstance, mtoa,mton, mpriority, massesor1,massesor2, mreviewer1, mreviewer2, mDoa,mstartdate, mreviewdate, mfinaldate, mactualdate, mssc, mpanno, mtime,mcustinterview, minterviewdate, mdev_by, mcust-feedback,mSr_no, mgar_id, mpoc from ASSESMENT where CUSTOMER= :P17_CUSTOMER_ID;
    Regards,
    Anasuya

  • How can i detect if my PC is not on Network..... Urgent Pls Help Soon !!!!!

    Hello Everyone,
    We all know whenever we try to connect to a PC which is not on network, we get UnKnownHostException etc..... by which we can detect that the corresponding PC is not an network(intranet/internet)
    But when i send a msg from my PC to my PC, it works fine even if the network is down. I hv provided my PC's IP address instead of using localhost or 127.0.0.1 which reduces the possibility that the msg will not be traversed thru the network.
    Any IDEA how this works.
    Is There any possible way by which i can detect that my PC is not on network or the PC to which i'm trying to connect is not on network .......
    Pls help me out, its really urgent as to be implemented in my Project
    Thanks In Advance
    Sahil Shaikh

    Hello Surtee
    I have developed a Messeging Service for the eCRM Apllication my company is developing and we r in the final stage of debugging.
    Now whenever a user sends a msg to a PC which is not on network, the messaging service automatically sends an Offline mssg to that PC. But know i want ot distinguish wheather the PC to which i'm sending the msg is not on network or am I not on network based on this i need to perform diff. actions, hence i wanted to know that how can i detect .......
    Pls see if u canhelp me out ......
    Thanks
    Sahil Shaikh

  • Error while using Javamail...pls help me...

    when i am using javamail for sending mail , i am getting error like,
    C:\jdk1.3\bin\mail>java MailSend
    [email protected] [email protected]
    javax.mail.SendFailedException: Sending failed;
    nested exception is:
    javax.mail.MessagingException:
    at javax.mail.Transport.send0(Transport.java:218)
    at javax.mail.Transport.send(Transport.java:80)
    at MailSend.Send(MailSend.java:56)
    at MailSend.main(MailSend.java:73)
    and i define properties like,
    mailProp.put("java", "java");
    where , "java" is my system name, and there is also mail server on my system. and my system is connected with proxy server..
    when i am trying
    mailProp.put("mail.smtp.host", "java");
    then i am getting same type of error...
    so, what is that ? pls help me to solve my error...

    Surely there's more information associated with that MessaginException than
    you've included here.
    Turn on session debugging and run your program again.
    http://java.sun.com/products/javamail/FAQ.html#debug

  • Am not able to run the java program - pls help

    1. I installed java in the below path
         c:\program files\java\jdk1.5.0
         c:\program files\java\jre1.5.0
    I set the path in
         User variable i. variable name: path
              ii. variable value: c:\program files\java\jdk1.5.0\bin
    when I compile it in command prompt-applying javac ? it performed successfully-shows
    options like ?g create all debug info, -g : new Generate no debug info etc.,
    But am not able to run the file. It shows error msg.
    2. I specified the same name for file name & class name.
    3. Java <class name>
         Exception in thread ?main?java.lang.NoclassDeffoundError: <class name>
    4. Java ?cp <class name>
         Unrecognized option: -cp.<classname>
         Could not create the Java Virtual Machine
    5. Java ?classpath . <classname>
         Exception in thread ?main?.java.lang.unsupported classversionError: <classname>
         <unsupported major.minor version 49.0
              at java.lang.classloader.defineclass0<native method>
              at java.lang.classloader.defineclass<unknown source>
                   --and many listed below?
    6. Java ?classpath c:\program files\java\jdk1.5.0\bin <class name>
         Exception in thread ?main?java.lang.NoclassDeffoundError: <class name>
    7. I re-installed the java, but still the problem continuing.
    pls help... its very urgent

    Is the java class you compiled/calling in the default package? If it is not, you will have to call it by the fully qualified name.
    e.g.
    package com.mycompany.myproject;
    public class MyClass {
        public static void main(String[] args) { }
    }This would be called as "Java com.mycompany.myproject.MyClass" and must contain a main method with signature as above.
    You would have to call this from folder where the compiled classes are located. If using package, you would call from directory at level of top most package so com folder in this example as Java will look at each package name in qualified name and try to traverse directories with those same names to get to .class file matching class name specified. To avoid this, your newly compiled .class files must also be in your classpath.
    Hopefully that helps.
    --Kevin                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       

  • CALL Transaction in background not working pls help URGENT

    hi i have writtin a bdc program which uses CALL TRSANCTION everything is working in foreground.
    if i schedule the program in background the call transaction does not work. any idea why?????????
    pls help its urgent

    hi
    good
    have you checked in the debug mode, if you have checked in the debug mode check wheather it is giving any error before data is displaying in the screen, if any error is displaying as a message than check that error why it is coming there.
    If no error is coming than check your flow of the bdc screen in the debug mode , there must be some prob, so that it is not working in the background.
    thanks
    mrutyun^

  • JScrollPane wont scroll .. pls help

    hi to all,
    I have a scrollpane that i am displaying a graph in, and they will be large graphs, 10000 nodes with about cardinality 10 for each node.
    I can generate the graph output no problems but my scrollbars dont allow me to scroll the pane, and i cant figure out why.
    I'm assuming that i should be doing something with the viewport once i add the graph, but i dont know what.
    can anyone pls help me,
    also can anyone suggest how i go about zooming in and out. im thinking its just resizng the viewport, but i need to work out why i cant scroll before i tackle that.
    package graphappz.ui;
    import java.awt.*;
    import java.awt.geom.*;
    import javax.swing.*;
    import graphappz.graph.Graph;
    import java.util.Iterator;
    import graphappz.graph.Vertex;
    import graphappz.graph.Edge;
    import java.awt.event.MouseListener;
    import java.awt.event.MouseEvent;
    public class GraphWindow
        extends JPanel {
      JEditorPane graphWindow;
      JScrollPane graphView;
      Dimension d = new Dimension();
      Point2D p = null;
      GraphViewer viewer;
      public GraphWindow() {
        graphWindow = new JEditorPane();
        graphWindow.setText("");
        viewer = new GraphViewer();
        graphView = new JScrollPane(viewer);
        graphView.setHorizontalScrollBarPolicy(JScrollPane.
                                               HORIZONTAL_SCROLLBAR_ALWAYS);
        graphView.setVerticalScrollBarPolicy(JScrollPane.
                                             VERTICAL_SCROLLBAR_ALWAYS);
        graphView.getViewport().setBackground(Color.white);
        graphView.setBorder(BorderFactory.createEtchedBorder());
        graphView.setToolTipText("Graph Output Display Window");
        repaint();
      public JScrollPane getGraphView() {
        return this.graphView;
      public Dimension getSize() {
        graphView.setPreferredSize(new Dimension(520, 440));
        return graphView.getPreferredSize();
      class GraphViewer
          extends JPanel {
        public void paintComponent(Graphics g) {
          super.paintComponent(g);
          int nodeWidth = 20;
          int nodeHeight = 20;
          if (graphappz.Main.graph != null) {
            Graph graph = graphappz.Main.graph;
            Iterator iter = graph.edgeIter();
            while (iter.hasNext()) {
              Edge e = (Edge) iter.next();
              Vertex v_0 = e.getv0();
              Vertex v_1 = e.getv1();
              if ( ( (v_0.getLayoutPosition() != null) ||
                    (v_1.getLayoutPosition() != null))) {
                Point2D.Double pos_0 = v_0.getLayoutPosition();
                Point2D.Double pos_1 = v_1.getLayoutPosition();
                // draw the edge
                g.setColor(Color.red);
                g.drawLine( (int) pos_0.x + (nodeWidth / 2),
                           (int) pos_0.y + (nodeHeight / 2),
                           (int) pos_1.x + (nodeWidth / 2),
                           (int) pos_1.y + (nodeHeight / 2));
                // draw the first node
                g.setColor(Color.blue);
                g.drawOval( (int) pos_0.x, (int) pos_0.y, nodeWidth, nodeHeight);
                g.fillOval( (int) pos_0.x, (int) pos_0.y, nodeWidth, nodeHeight);
                // draw the second node
                g.setColor(Color.blue);
                g.drawOval( (int) pos_1.x, (int) pos_1.y, nodeWidth, nodeHeight);
                g.fillOval( (int) pos_1.x, (int) pos_1.y, nodeWidth, nodeHeight);
                // draw the edge
                g.setColor(Color.black);
                g.drawString(v_0.getReference() + "", (int) pos_0.x + 5,
                             (int) pos_0.y + 14);
          else {
            graphappz.util.Debug.debugText.append("\n graph is null, can't draw it");
            //TODO: show new Alert_Dialog
        public GraphViewer() {
          this.setBackground(Color.white);
          this.addMouseListener(new MouseListener() {
            public void mouseClicked(MouseEvent e) {}
            public void mousePressed(MouseEvent e) {}
            public void mouseReleased(MouseEvent e) {}
            public void mouseEntered(MouseEvent e) {}
            public void mouseExited(MouseEvent e) {}
    }

    Scrollbars will appear when the preferred size of the panel is greater than the preferred size of the scrollpane.
    When you add components (JButton, JTextField...) to a panel then the preferred size can be calculated by the layout manager.
    When you draw on a panel the layout manager has no idea what the size of you panel is so you need to set the preferrred size yourself:
    panel.setPreferredSize(...);

  • Error in change Number ..pls Help Me..urjent

    <b>Hi all..
    when i run a transaaction ( Zasd) in PRD with change number 11784  the report works fine. But when i enter
    change number 11929 . iwill get error change order not found. but  when i use CC03 transactoin with this change number i saw the details for this number..
    pls suggest me what i do..i think  report is ok.is it right ????  what i do..pls help me..
    thanks in advance...
    the selection sereen is below....
    PARAMETERS: p_chgnr TYPE aennr.
    PARAMETERS: p_width TYPE int4 DEFAULT cv_maxmodels.
    PARAMETERS: p_anego TYPE c AS CHECKBOX DEFAULT co_true.
    get all engineering change details
      CREATE OBJECT go_engchange EXPORTING changeorder = p_chgnr.</b>

    Hello Papai
    In order to track down the problem I would suggest two things you should check with change number 11929:
    (1) Does your report actually pass the CREATE OBJECT statement or do the other select-parameters prevent that this change number is found?
    (2) If the class used for go_engchange can be publicly instantiated, then call the class builder (SE24) with the class and test it. In test mode you can create an instance using your change number as input.
    (3) If instantiation fails then repeat it in debugging mode. Sooner or later you must find the error source.
    Regards
      Uwe

  • Pls Help! Failed to access local Session bean in 7.0!

    Hi all,
    Heard that to deploy local bean in weblogic 7.0, I need to put my war
    file and ejb jar files in the ear file. My client servlet contains the
    following:
    AccessControlLocalHome accessControlLocalHome =
    (AccessControlLocalHome)ctx.lookup("AccessControlLocalHome");
    But it failed miserably with the exception
    javax.naming.LinkException: . Root exception is
    javax.naming.NameNotFoundExcept
    ion: Unable to resolve
    'app/ejb/AccessControlBean.jar#AccessControlBean/local-ho
    me' Resolved: 'app/ejb'
    Unresolved:'AccessControlBean.jar#AccessControlBean' ; r
    emaining name 'AccessControlBean.jar#AccessControlBean/local-home'
    Just got an idea that it might be my web.xml file. So I include the
    following in my web.xml file:
    <ejb-local-ref>
         <ejb-ref-name>ejb/AccessControlLocalHome</ejb-ref-name>
         <ejb-ref-type>Session</ejb-ref-type>
    <local-home>com.spear.ejb.simorder.VendorOrderSLBean.AccessControlLocalHome</local-home>
    <local>com.spear.ejb.simorder.VendorOrderSLBean.AccessControlLocal</local>
    <ejb-link>AccessControlBean.jar#AccessControlBean</ejb-link>
    </ejb-local-ref>
    But it gives the following error:
    Module Name: projects, Error: weblogic.j2ee.DeploymentException: Could
    not setup
    environment - with nested exception:
    [javax.naming.NameNotFoundException: Unable to resolve ejb-link.
    AccessControlBe
    an.jar#AccessControlBean is not in the context. The context includes
    the followi
    ng link bindings: {} Make sure the link reference is relative to the
    URI of the
    referencing module.]
    Pls help!
    Thanks!
    Innovest

    <ejb-link> should be
    <ejb-link> ../AccessControlBean.jar#AccessControlBean</ejb-link>
    innovest wrote:
    Hi all,
    Heard that to deploy local bean in weblogic 7.0, I need to put my war
    file and ejb jar files in the ear file. My client servlet contains the
    following:
    AccessControlLocalHome accessControlLocalHome =
    (AccessControlLocalHome)ctx.lookup("AccessControlLocalHome");
    But it failed miserably with the exception
    javax.naming.LinkException: . Root exception is
    javax.naming.NameNotFoundExcept
    ion: Unable to resolve
    'app/ejb/AccessControlBean.jar#AccessControlBean/local-ho
    me' Resolved: 'app/ejb'
    Unresolved:'AccessControlBean.jar#AccessControlBean' ; r
    emaining name 'AccessControlBean.jar#AccessControlBean/local-home'
    Just got an idea that it might be my web.xml file. So I include the
    following in my web.xml file:
    <ejb-local-ref>
    <ejb-ref-name>ejb/AccessControlLocalHome</ejb-ref-name>
    <ejb-ref-type>Session</ejb-ref-type>
    <local-home>com.spear.ejb.simorder.VendorOrderSLBean.AccessControlLocalHome</local-home>
    <local>com.spear.ejb.simorder.VendorOrderSLBean.AccessControlLocal</local>
    <ejb-link>AccessControlBean.jar#AccessControlBean</ejb-link>
    </ejb-local-ref>
    But it gives the following error:
    Module Name: projects, Error: weblogic.j2ee.DeploymentException: Could
    not setup
    environment - with nested exception:
    [javax.naming.NameNotFoundException: Unable to resolve ejb-link.
    AccessControlBe
    an.jar#AccessControlBean is not in the context. The context includes
    the followi
    ng link bindings: {} Make sure the link reference is relative to the
    URI of the
    referencing module.]
    Pls help!
    Thanks!
    Innovest

  • Pls help for Exception "Too Few Parameters : Expected 35"

    Hi,
    I am expericing with the exception
    "Too Few Parameters : Expected 35".
    What's wrong with it? The following is my code.
    try {                                                                                                                                                                                                                
    String DRIVER = ("sun.jdbc.odbc.JdbcOdbcDriver");               
    String URL = "jdbc:odbc:Industrial_One_DSN";
    String sql = "UPDATE BusinessRegistration " +
    "SET [Date] = ?, ISIC = ?, BizName = ?, BizAddress = ?, " +
    "OwnerName = ?, OwnerNRC = ?, Investment = ?, EstablishedYear = ?, " +
    "L_Male = ?, L_Female = ?, F_Male = ?, F_Female = ?, " +
    "OwnershipType = ?, Remarks = ?, IndustialZoneName = ?, Unit = ?, " +
    "Fuel = ?, FactoryType = ?, FactoryName = ?, Township = ? " +
    "MainProductName = ?, MainProductCountType = ?, " +
    "MainProductQuantity = ?, MainProductValue = ?, RMName = ?, " +
    "RMCountType = ?, RMQuantity = ?, RMValue = ?, EnergyName = ?, " +
    "MachinePower = ?, AmountGallon = ?, StateDiv = ?, BizSize = ?  " +
    "WHERE RegistrationID = ?";
    Class.forName(DRIVER);
    Connection con = DriverManager.getConnection(URL);
    PreparedStatement pstmt = con.prepareStatement(sql);
    int ilmale = Integer.parseInt(lmale);
    int ilfemale = Integer.parseInt(lfemale);
    int ifmale = Integer.parseInt(fmale);
    int iffemale = Integer.parseInt(ffemale);
    int impq = Integer.parseInt(mpq);
    int impv = Integer.parseInt(mpv);
    int irmq = Integer.parseInt(rmq);
    int irmv = Integer.parseInt(rmv);
    int iamountgallon = Integer.parseInt(amountgallon);
    pstmt.setString(1, date);
    pstmt.setString(2, isic);
    pstmt.setString(3, bizname);
    pstmt.setString(4, bizaddress);
    pstmt.setString(5, ownername);
    pstmt.setString(6, ownernrc);
    pstmt.setString(7, investment);
    pstmt.setString(8, eyear);
    pstmt.setInt(9, ilmale);
    pstmt.setInt(10, ilfemale);
    pstmt.setInt(11, ifmale);
    pstmt.setInt(12, iffemale);
    pstmt.setString(13, ownershiptype);
    pstmt.setString(14, remark);
    pstmt.setString(15, izn);
    pstmt.setString(16, unit);
    pstmt.setString(17, fuel);
    pstmt.setString(18, ft);
    pstmt.setString(19, fname);
    pstmt.setString(20, township);
    pstmt.setString(21, mpn);
    pstmt.setString(22, mpct);
    pstmt.setInt(23, impq);               
    pstmt.setInt(24, impv);
    pstmt.setString(25, rmname);
    pstmt.setString(26, rmct);
    pstmt.setInt(27, irmq);
    pstmt.setInt(28, irmv);
    pstmt.setString(29, ename);
    pstmt.setString(30, mpower);
    pstmt.setInt(31, iamountgallon);
    pstmt.setString(32, statediv);
    pstmt.setString(33, bizsize);
    pstmt.setInt(34, Integer.parseInt(rid));
    pstmt.executeUpdate();
    }I have got 35 fields in my db. But I wanna edit 34 fields only. I have no primary key in my table. Is't alright?
    pls help me.
    With thanks,
    WTDAHL

    I presume you are using SQL server, hence the [Date] in your SQL?
    I counted 34 question marks in your SQL statement, And 34 parameters supplied.
    Looks ok to me.
    You say you have no primary key? What is RegistrationId then?
    My suggestion for debugging: start smaller.
    Try updating it with only 5 fields, then 10 then 15 and build it up like that.
    Trying to debug 35 fields is a nightmare - you have to break it down to solve it.
    Good luck,
    evnafets

  • JAAS with TomCat 5.5  Unable to login.No error shown.PLS HELP ME:(

    Log of tomcat:
    Sep 28, 2006 3:21:49 PM org.apache.catalina.core.AprLifecycleListener lifecycleEvent
    INFO: The Apache Tomcat Native library which allows optimal performance in production environments was not found on the java.library.path: C:\Program Files\Apache Software Foundation\Tomcat 5.5\bin;.;C:\WINNT\system32;C:\WINNT;C:\WINNT\system32;C:\WINNT;C:\WINNT\system32\WBEM;C:\j2sdk1.4.2\bin;c:\mysql\bin;C:\apache-ant-1.6.5\bin;C:\Program Files\QuickTime\QTSystem\;C:\eclipse_ac\bin
    Sep 28, 2006 3:21:49 PM org.apache.coyote.http11.Http11BaseProtocol init
    INFO: Initializing Coyote HTTP/1.1 on http-8080
    Sep 28, 2006 3:21:49 PM org.apache.catalina.startup.Catalina load
    INFO: Initialization processed in 2547 ms
    Sep 28, 2006 3:21:50 PM org.apache.catalina.core.StandardService start
    INFO: Starting service Catalina
    Sep 28, 2006 3:21:50 PM org.apache.catalina.core.StandardEngine start
    INFO: Starting Servlet Engine: Apache Tomcat/5.5.17
    Sep 28, 2006 3:21:50 PM org.apache.catalina.core.StandardHost start
    INFO: XML validation disabled
    Sep 28, 2006 3:21:54 PM org.apache.catalina.startup.HostConfig deployWAR
    INFO: Deploying web application archive jaasLogin.war
    Sep 28, 2006 3:21:57 PM org.apache.struts.tiles.TilesPlugin initDefinitionsFactory
    INFO: Tiles definition factory loaded for module ''.
    Sep 28, 2006 3:21:57 PM org.apache.struts.validator.ValidatorPlugIn initResources
    INFO: Loading validation rules file from '/WEB-INF/validator-rules.xml'
    Sep 28, 2006 3:21:57 PM org.apache.struts.validator.ValidatorPlugIn initResources
    INFO: Loading validation rules file from '/WEB-INF/validation.xml'
    Sep 28, 2006 3:21:58 PM org.apache.coyote.http11.Http11BaseProtocol start
    INFO: Starting Coyote HTTP/1.1 on http-8080
    Sep 28, 2006 3:21:59 PM org.apache.jk.common.ChannelSocket init
    INFO: JK: ajp13 listening on /0.0.0.0:8009
    Sep 28, 2006 3:21:59 PM org.apache.jk.server.JkMain start
    INFO: Jk running ID=0 time=0/109 config=null
    Sep 28, 2006 3:21:59 PM org.apache.catalina.storeconfig.StoreLoader load
    INFO: Find registry server-registry.xml at classpath resource
    Sep 28, 2006 3:22:00 PM org.apache.catalina.startup.Catalina start
    INFO: Server startup in 10312 ms
    ===========================================================
    Notice that line i bolded and italic..Does it means that my loginModule is not loaded?how to i configure my login.config so that it will call the module or whatsoever?because it my loginModule is not being called.any solutions to configure JAAS?pls help me..im new to this..=))) i wrote my login.conf and put in the /conf folder of tomcat..what else must i do?=)))

    Sorry, I am not sure about that.
    Also, I don't see a particular line that was bolded in your original post.
    The way I ensured that my LoginModule was being called (aside from the fact that I was able to login) was debugging it in Eclipse and placing a breakpoint in the LoginModule code.
    You could try putting a System.out.println() statement in it to see if it is called.

  • Problem with Eclipse  -- pls help

    hi
    When i execute the application in debug mode with one break point :
    These are the errors i get and the compiler is not stopping at the break point .
    Pls help :
    Thread [main] (Suspended (exception ClassNotFoundException))     
         ClassLoader.findBootstrapClass(String) line: not available [native method]     
         Launcher$ExtClassLoader(ClassLoader).findBootstrapClass0(String) line: not available     
         Launcher$ExtClassLoader(ClassLoader).loadClass(String, boolean) line: not available     
         Launcher$AppClassLoader(ClassLoader).loadClass(String, boolean) line: not available     
         Launcher$AppClassLoader.loadClass(String, boolean) line: not available     
         Launcher$AppClassLoader(ClassLoader).loadClass(String) line: not available     
         Launcher$AppClassLoader(ClassLoader).loadClassInternal(String) line: not available

    If the compiler is not stopping at your breakpoint, then it probably means that the java code you're looking at and the compiled class file are out of synch. If you're getting a classnotfound, then your classfile most likely is either not there or is not where expected.
    Check the output folder in project's properties (which may or may not be the default), and see if your classfiles are actually there. Perhaps there is some error that is preventing your classfile from being generated (Eclipse sometimes won't even be able to compile), so check the problems dialog.
    Try refreshing your project, and if all else fails, restart Eclipse/delete & create the project again. That sometimes magically fixes things. Otherwise, welcome to the quirkiness of dealing with Eclipse!

  • Pls help me about Runtime.getRuntime().exec("java...")

    I have two applications. One is Client, the other is Platform.
    In the Platform, there are source files packaged into a library named ZtConfig.jar used by Client. If run Client and Platform, two applications can execute normally.
    But if Client is started by user from platform, there is something wrong.
    I noticed the error difficultly with finally catching exception.
    I was puzzled. It is so strange. Pls help me. I list some codes here.
    In Client where finally exception catched:
    import zt.config;
            try {
              xmlFileUrl = new java.net.URL(
                  "file:///e:/Client/src/config/nsr1000.xml");
            catch (IOException ex1) {
              FileLogger.error(ex1.getMessage());
            FileLogger.info("NSR1000Document.setIEDContent", xmlFileUrl.toString());
            try {
              xmlLoader = new XMLConfigLoader(xmlFileUrl);
            finally {
              FileLogger.error("NSR1000Document.setIEDContent",
                               "cannot new XMLConfigLoader object");
              return; // the following codes cannot execute, so have to return here.
    In the XMLConfigLoader, the constructor is
      public XMLConfigLoader(java.net.URL xmlFileUrl) {
        this.xmlFileUrl = xmlFileUrl;
        configDoc = null;
        builder = null;
        xmlDoc = null;
    Platform start Client application using the following code
      Runtime.getRuntime().exec(
                    "java -jar e:/Client/Client.jar");

    I've got it!
    Briefly, it is because classpath setting was overwritten by JBuilder.
    Firstly, I start Platform from JBuilder. In its messages window. The command is
    d:\j2sdk1.4.2_06\bin\javaw -classpath "JBPATH" zt.client.nsr1000.NSR1000App
    Now, classpath environment variable was changed to be JBPATH. While I start
    Client use Runtime.getRuntime().exec("java -jar Client.jar"), it will not run for classpath changed.
    Then, I configured all packages used by Client into JBuilder libraries, including
    Client.jar. And changed codes Runtime.getRuntime().exec("java -jar Client.jar") to be Runtime.getRuntime().exec("java -Xmx128m zt.client.nsr1000.NSR1000App")
    I also changed CLASSPATH windows system environment variable.
    I found this from command console, it can display exceptions. But from JBuilder, there is no exception that can be captured. So debug is difficult.

  • Pls help me about two java virtual machine

    have two applications. One is Client, the other is Platform.
    In the Platform, there are source files packaged into a library named ZtConfig.jar used by Client. If run Client and Platform, two applications can execute normally.
    But if Client is started by user from platform, there is something wrong.
    I noticed the error difficultly with finally catching exception.
    I was puzzled. It is so strange. Pls help me. I list some codes here.
    In Client where finally exception catched:
    import zt.config;
            try {
              xmlFileUrl = new java.net.URL(
                  "file:///e:/Client/src/config/nsr1000.xml");
            catch (IOException ex1) {
              FileLogger.error(ex1.getMessage());
            FileLogger.info("NSR1000Document.setIEDContent", xmlFileUrl.toString());
            try {
              xmlLoader = new XMLConfigLoader(xmlFileUrl);
            finally {
              FileLogger.error("NSR1000Document.setIEDContent",
                               "cannot new XMLConfigLoader object");
              return; // the following codes cannot execute, so have to return here.
            }In the XMLConfigLoader, the constructor is
      public XMLConfigLoader(java.net.URL xmlFileUrl) {
        this.xmlFileUrl = xmlFileUrl;
        configDoc = null;
        builder = null;
        xmlDoc = null;
      }Platform start Client application using the following code
      Runtime.getRuntime().exec(
                    "java -jar e:/Client/Client.jar");

    I've got it!
    Briefly, it is because classpath setting was overwritten by JBuilder.
    Firstly, I start Platform from JBuilder. In its messages window. The command is
    d:\j2sdk1.4.2_06\bin\javaw -classpath "JBPATH" zt.client.nsr1000.NSR1000App
    Now, classpath environment variable was changed to be JBPATH. While I start
    Client use Runtime.getRuntime().exec("java -jar Client.jar"), it will not run for classpath changed.
    Then, I configured all packages used by Client into JBuilder libraries, including
    Client.jar. And changed codes Runtime.getRuntime().exec("java -jar Client.jar") to be Runtime.getRuntime().exec("java -Xmx128m zt.client.nsr1000.NSR1000App")
    I also changed CLASSPATH windows system environment variable.
    I found this from command console, it can display exceptions. But from JBuilder, there is no exception that can be captured. So debug is difficult.

Maybe you are looking for