Debugging in wsad

hi all
i am working on websphere studio application developer.
i wrote a Junit test calss for a systemaccessor which interact with DB2 database.
the test is failed.
i dont know debugging.
can any one tell me how to debug a test case in WSAD in detail please?
thanks in advance

Add a breakpoint where you want the program control to stop.
If the program is a server program , start your server in Debug mode instead of a regular start. Right click on the server gives u the option to start the server in Debug mode.
Then invoke the program and it will stop at the break point
Hope this helps

Similar Messages

  • Remote debugging with WSAD

    "Hi,

    Hi Scott,
    Yes my call to this is in a on submit after computations and validations page process. Below is the code in which I get the insufficient privileges error:
    BEGIN
      IF :DEBUG = 'YES' THEN
        dbms_debug_jdwp.connect_tcp('10.200.37.223',4000);
      END IF;
      species_upload.load_tsv_file(:APP_USER, :P302_SURVEY_BROWSE, 'survey');
      --null;
      IF :DEBUG = 'YES' THEN
        dbms_debug_jdwp.disconnect;
      END IF;
    END; I tried running it in SQL workshop in Apex as
    begin
       dbms_debug_jdwp.connect_tcp('10.200.37.223',4000);
    end;and I still get the insufficient privileges error message.
    My parsing schema is: SNHLIVE
    And the APEX user is: APEX_PUBLIC_USER I got this by doing select USER from dual in the SQL Commands in APEX.
    I have done the following:
    grant DEBUG ANY PROCEDURE to SNHLIVE
    grant DEBUG ANY PROCEDURE to APEX_PUBLIC_USER
    grant DEBUG ANY PROCEDURE to ANONYMOUS
    grant DEBUG CONNECT SESSION to SNHLIVE;
    grant DEBUG CONNECT SESSION to APEX_PUBLIC_USER;
    grant DEBUG CONNECT SESSION to ANONYMOUS
    grant DEBUG on SNHLIVE.species_upload TO SNHLIVE;
    grant DEBUG on SNHLIVE.species_upload TO APEX_PUBLIC_USER;
    grant DEBUG on SNHLIVE.species_upload TO ANONYMOUS;What I followed was David's article: Link: [http://www.oracle.com/technology/oramag/oracle/08-may/o38browser.html?_template=/ocom/print]
    Now i can get remote debugging work on the same database using SQL Plus and Java application but not in Apex.
    Any ideas why?
    Thanks in advance,
    Paul.

  • WSAD with weblogic

    Anyone know how to deploy through network to weblogic application server and remote debugging with WSAD
    Thanks

    Hello,
    Try the following in order afresh-
    1.Put the xerces.jar file before the weblogic.jar in the system classpath.This variable is set, by default, in the WL_HOME/server/bin/startWLS.cmd script where WL_HOME refers to the top-level directory of the WebLogic Platform.
    2.Configure your XML Registry to use the org.apache.xerces.jaxp for the DocumentBuilderFactory or SAXParserFactory factories.For details,you can refer http://e-docs.bea.com/wls/docs70/xml/xml_admin.html <https://gateway-us.wipro.com/wls/docs70/xml/xml_admin.html,DanaInfo=e-docs.bea.com+>.
    Now restart the server and deploy your application again.I hope this will work .
    You can also check the version of the xerces parcer you are using.The following two parsers are bundled with WebLogic Server 7.0:
    -a built-in parser based on Apache's Xerces 1.4.4 parser
    -WebLogic FastParser, a high-performance non-validating parser that you can use for small to medium sized XML documents
    also go through following URL, it explains about classloader in WebLogic server, and ways to package your application.
    http://e-docs.bea.com/wls/docs70/programming/classloading.html
    http://dev2dev.bea.com/products/wlserver/articles/musser.jsp
    Please refer to this, but especially -
    "PreferWebInfClasses Element"
    The WebAppComponentMBean contains a PreferWebInfClasses element. By default, this element is set to False. Setting this element to True subverts the classloader delegation model and makes it very easy to obtain the same class loaded into both the Web application and system classloader, which in turn makes it very easy to obtain a ClassCastException.
    Some users prefer to set this to True to override BEA implementations of various services (most commonly, XML processing classes such as XERCES).
    Regards,
    Kuldeep Singh.

  • Debug a jsp program in wsad

    Hi ,
    Plz tell me how to debug a jsp program in wsad and how to add a break point in it.

    Try a fresh install of JDeveloper 10.1.3.3
    And a new project with this JSP:
    <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
    "http://www.w3.org/TR/html4/loose.dtd">
    <%@ page contentType="text/html;charset=windows-1252"%>
    <html>
      <head>
        <meta http-equiv="Content-Type" content="text/html; charset=windows-1252"/>
        <title>untitled1</title>
      </head>
      <body>
      <% String a = "hello";
      if(a.equals("shay")){
      a="boo";
      %>
      </body>
    </html>breakpoints work for me.
    If they still don't work for you try running [jdev-root]\jdev\bin\jdev.exe and let us know if you see any errors on the command line window.

  • How to start weblogic in debug mode from BEA WebLogic Eclipse plugin

    I have a problem making weblogic work with eclipse3.1. I am using a BEA WebLogic plugin to handle weblogic (start/stop) from eclipse. However I want to debug my application and I am unable to figure out a way to start my weblogic in debug mode like we do in WSAD. I tried using some other plugins also but no luck. Please suggest me a plugin to handle this or any other way of debugging my application from eclipse. I am using weblogic 8.1.

    Hi,
    Dev Environment
    weblogic eclipse plugin 2.0 beta
    weblogic server 8.1
    eclipse 3.1.1
    Created a server that i would like to deploy my EJB so that i can put break points on my EJB in eclipse.
    How do i do it?
    I managed to deploy an ear (containing the ejb) directly to the weblogic installed folder and it deployed the ejb. But the breakpoint set in eclipse is not triggered. Of course in this case as weblogic server is running the .ear file deployed manually in the file system.
    Any help is appreciated.
    Mel

  • Debug an applet that has a run-time (logic) error how?

    hi,
    I have an applet that has a non-terminating loop in it...I found it after eye-balling my code.
    How would one debug an applet? I have bought sooooo many books on java, & NONE provide/identify a process for debugging applets. I use JTextPad & would appreciate a method i can use to debug applets....ppppllleezzzz

    TheStijn is correct about stepping thru code - you'd need a development environment. However, the better of these for use in a commercial environment are usually expensive (>$1000). The free ones are not so good (although given that WSAD is based on Eclipse and I think WSAD is pretty good, maybe you could go for Eclipse). They also take some time to get to grips with.
    You could instead litter your code with System.out.println() statements to see what it is doing. These can be viewed from the browser's Java console. On IE, you enable the console by doing Tools > Internet Options > Advanced. Scroll down to "Microsoft VM" and select "Java Console enabled". Then the console is visible (after re-starting IE) from the View menu (at the bottom).
    With Netscape (4.7), you do Communicator > Tools > Java Console. You can also view it on other browsers thru similar mechanisms. Hope this helps in the short-term.

  • WSAD 5.1.2

    We are using WSAD 5.1.2 and having issues with the server core dumping when the server is started in debug mode.
    Any ideas why this could be happening?
    We are unable to recreate the problem consistently but this happens when I try to inspect a object that has lots of data or when the code has a type cast that is not valid .
    i would expect to see a exception if there was a class cast exception but the server dumps and we have to restart the server this is killing lot of our development time.

    it could be a problem with some of the plugins. I would suggest remove it completely and reinstall it. Check if it works before you install any further plugins.

  • Prob running javamail through WSAD but executed easily on the command promp

    Sir i am also having a similar prob, but error log is different when i run the simplemail simply through command prompt it runs perfectly but when i run through the WSAD & websphhe ere app server the mail is not sent , hence the classpath is set since it is getting executed on the command prompt, i dont get it plz help.activation.jar, smtp.jar & mailapi.jar has been set
    The prog code is
         import javax.mail.*;
         import javax.mail.internet.*;
         import java.security.Security;
         import java.util.Properties;
         class SimpleMail {
         //public static void main(String[] args) throws Exception {
    String temp;
         void simplemail()
         try{
         //Security.addProvider(new com.sun.net.ssl.internal.ssl.Provider());
         Properties props = new Properties();
         props.setProperty("mail.transport.protocol", "smtp");
         props.setProperty("mail.smtp.quitwait", "false");
         props.setProperty("mail.host", "smtp.gmail.com");
         props.put("mail.smtp.auth", "true");
         props.put("mail.smtp.port", "465");
         props.put("mail.debug", "true");
         props.put("mail.smtp.socketFactory.port", "465");
         props.put("mail.smtp.socketFactory.class",
         "javax.net.ssl.SSLSocketFactory");
         props.put("mail.smtp.socketFactory.fallback", "false");
         Session session = Session.getDefaultInstance(props,
         new javax.mail.Authenticator() {
         protected PasswordAuthentication getPasswordAuthentication() {
              return new PasswordAuthentication("[email protected]","dadmom786");
         session.setDebug(true);
         Transport transport = session.getTransport();
         InternetAddress addressFrom = new InternetAddress("[email protected]");
         MimeMessage message = new MimeMessage(session);
    //     message.setSender(addressFrom);
    message.setFrom(addressFrom);
         message.setSubject("Testing javamail plain");
         message.setContent("This is a test from mudassar", "text/plain");
         message.addRecipient(Message.RecipientType.TO, new InternetAddress("[email protected]"));
         transport.connect();
         //transport.send(message);
         transport.close();
    } catch (Exception e) {
                             System.out.print("err"+e.getMessage());
         * @return
         public String getTemp() {
              return temp;
         * @param string
         public void setTemp(String string) {
              temp = string;
    log through WSAD(1111 2222 3333 etc are jus to check where d error is occuring)
    *** Starting the server ***
    ************ Start Display Current Environment ************
    WebSphere Platform 5.1 [BASE 5.1.0.3 cf30412.02] [JDK 1.4.1 b0344.02] running with process name localhost\localhost\server1 and process id 2836
    Host Operating System is Windows XP, version 5.1
    Java version = J2RE 1.4.1 IBM Windows 32 build cn1411-20031011 (JIT enabled: jitc), Java Compiler = jitc, Java VM name = Classic VM
    was.install.root = C:\Program Files\IBM\WebSphere Studio\Application Developer\v5.1.2\runtimes\base_v51
    user.install.root = C:\Program Files\IBM\WebSphere Studio\Application Developer\v5.1.2\runtimes\base_v51
    Java Home = C:\Program Files\IBM\WebSphere Studio\Application Developer\v5.1.2\runtimes\base_v51\java\jre
    ws.ext.dirs = C:\Program Files\IBM\WebSphere Studio\Application Developer\v5.1.2\runtimes\base_v51/java/lib;C:\Program Files\IBM\WebSphere Studio\Application Developer\v5.1.2\runtimes\base_v51/classes;C:\Program Files\IBM\WebSphere Studio\Application Developer\v5.1.2\runtimes\base_v51/classes;C:\Program Files\IBM\WebSphere Studio\Application Developer\v5.1.2\runtimes\base_v51/lib;C:\Program Files\IBM\WebSphere Studio\Application Developer\v5.1.2\runtimes\base_v51/lib/ext;C:\Program Files\IBM\WebSphere Studio\Application Developer\v5.1.2\runtimes\base_v51/web/help;C:\Program Files\IBM\WebSphere Studio\Application Developer\v5.1.2\runtimes\base_v51/deploytool/itp/plugins/com.ibm.etools.ejbdeploy/runtime;C:/Program Files/IBM/SQLLIB/java/db2java.zip;C:/Program Files/IBM/WebSphere Studio/Application Developer/v5.1.2/wstools/eclipse/plugins/com.ibm.etools.webservice_5.1.2/runtime/worf.jar
    Classpath = C:\Program Files\IBM\WebSphere Studio\Application Developer\v5.1.2\runtimes\base_v51/properties;C:\Program Files\IBM\WebSphere Studio\Application Developer\v5.1.2\runtimes\base_v51/properties;C:\Program Files\IBM\WebSphere Studio\Application Developer\v5.1.2\runtimes\base_v51/lib/bootstrap.jar;C:\Program Files\IBM\WebSphere Studio\Application Developer\v5.1.2\runtimes\base_v51/lib/j2ee.jar;C:\Program Files\IBM\WebSphere Studio\Application Developer\v5.1.2\runtimes\base_v51/lib/lmproxy.jar;C:\Program Files\IBM\WebSphere Studio\Application Developer\v5.1.2\runtimes\base_v51/lib/urlprotocols.jar;C:/Program Files/IBM/WebSphere Studio/Application Developer/v5.1.2/wstools/eclipse/plugins/com.ibm.etools.websphere.tools.common_5.1.1.1/runtime/wteServers.jar;C:/Program Files/IBM/WebSphere Studio/Application Developer/v5.1.2/wstools/eclipse/plugins/com.ibm.etools.websphere.tools.common_5.1.1.1/runtime/wasToolsCommon.jar
    Java Library path = C:\Program Files\IBM\WebSphere Studio\Application Developer\v5.1.2\runtimes\base_v51/bin;C:\Program Files\IBM\WebSphere Studio\Application Developer\v5.1.2\runtimes\base_v51/java/bin;C:\Program Files\IBM\WebSphere Studio\Application Developer\v5.1.2\runtimes\base_v51/java/jre/bin;C:\Program Files\IBM\WebSphere Studio\Application Developer\v5.1.2\eclipse\jre\bin;.;C:\Program Files\IBM\WebSphere Studio\Application Developer\v5.1.2\eclipse\jre\bin;C:\Program Files\IBM\WebSphere MQ\Java\lib;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\PROGRA~1\IBM\SQLLIB\BIN;C:\PROGRA~1\IBM\SQLLIB\FUNCTION;C:\PROGRA~1\IBM\SQLLIB\SAMPLES\REPL;C:\Program Files\IBM\WebSphere MQ\bin;C:\Program Files\IBM\WebSphere MQ\WEMPS\bin;C:\Program Files\Java\jdk1.5.0_06\bin
    ************* End Display Current Environment *************
    [4/6/08 3:45:03:875 IST] 3cb9bf56 ManagerAdmin I TRAS0017I: The startup trace state is *=all=disabled.
    [4/6/08 3:45:06:859 IST] 3cb9bf56 AdminInitiali A ADMN0015I: AdminService initialized
    [4/6/08 3:45:08:766 IST] 3cb9bf56 Configuration A SECJ0215I: Successfully set JAAS login provider configuration class to com.ibm.ws.security.auth.login.Configuration.
    [4/6/08 3:45:08:953 IST] 3cb9bf56 SecurityDM I SECJ0231I: The Security component's FFDC Diagnostic Module com.ibm.ws.security.core.SecurityDM registered successfully: true.
    [4/6/08 3:45:09:656 IST] 3cb9bf56 SecurityCompo I SECJ0309I: Java 2 Security is disabled.
    [4/6/08 3:45:09:688 IST] 3cb9bf56 SecurityCompo I SECJ0212I: WCCM JAAS configuration information successfully pushed to login provider class.
    [4/6/08 3:45:09:797 IST] 3cb9bf56 SecurityCompo I SECJ0240I: Security service initialization completed successfully
    [4/6/08 3:45:09:812 IST] 3cb9bf56 JMSRegistrati A MSGS0602I: WebSphere Embedded Messaging Client only has been installed
    [4/6/08 3:45:21:953 IST] 3cb9bf56 CacheServiceI I DYNA0048I: WebSphere Dynamic Cache initialized successfully.
    [4/6/08 3:45:24:109 IST] 3cb9bf56 JMXSoapAdapte A ADMC0013I: SOAP connector available at port 8880
    [4/6/08 3:45:24:281 IST] 3cb9bf56 SecurityCompo I SECJ0243I: Security service started successfully
    [4/6/08 3:45:24:281 IST] 3cb9bf56 SecurityCompo I SECJ0210I: Security enabled false
    [4/6/08 3:45:25:953 IST] 3cb9bf56 ApplicationMg A WSVR0200I: Starting application: IBMUTC
    [4/6/08 3:45:27:422 IST] 3cb9bf56 WebContainer A SRVE0161I: IBM WebSphere Application Server - Web Container. Copyright IBM Corp. 1998-2002
    [4/6/08 3:45:27:438 IST] 3cb9bf56 WebContainer A SRVE0162I: Servlet Specification Level: 2.3
    [4/6/08 3:45:27:453 IST] 3cb9bf56 WebContainer A SRVE0163I: Supported JSP Specification Level: 1.2
    [4/6/08 3:45:27:688 IST] 3cb9bf56 WebContainer A SRVE0169I: Loading Web Module: IBM Universal Test Client.
    [4/6/08 3:45:28:250 IST] 3cb9bf56 WebGroup I SRVE0180I: [IBM Universal Test Client] [UTC] [Servlet.LOG]: JSP 1.2 Processor: init
    [4/6/08 3:45:28:406 IST] 3cb9bf56 WebGroup I SRVE0180I: [IBM Universal Test Client] [UTC] [Servlet.LOG]: SimpleFileServlet: init
    [4/6/08 3:45:28:531 IST] 3cb9bf56 ApplicationMg A WSVR0221I: Application started: IBMUTC
    [4/6/08 3:45:28:531 IST] 3cb9bf56 ApplicationMg A WSVR0200I: Starting application: DefaultEAR
    [4/6/08 3:45:28:609 IST] 3cb9bf56 WebContainer A SRVE0169I: Loading Web Module: MakeURWish.
    [4/6/08 3:45:29:234 IST] 3cb9bf56 WebGroup I SRVE0180I: [MakeURWish] [finalpro] [Servlet.LOG]: JSP 1.2 Processor: init
    [4/6/08 3:45:29:906 IST] 3cb9bf56 WebGroup I SRVE0180I: [MakeURWish] [finalpro] [Servlet.LOG]: SimpleFileServlet: init
    [4/6/08 3:45:29:969 IST] 3cb9bf56 WebGroup I SRVE0180I: [MakeURWish] [finalpro] [Servlet.LOG]: InvokerServlet: init
    [4/6/08 3:45:29:984 IST] 3cb9bf56 WebContainer A SRVE0169I: Loading Web Module: MakeURWish.
    [4/6/08 3:45:30:109 IST] 3cb9bf56 WebGroup I SRVE0180I: [MakeURWish] [final_02_04_08] [Servlet.LOG]: JSP 1.2 Processor: init
    [4/6/08 3:45:30:406 IST] 3cb9bf56 WebGroup I SRVE0180I: [MakeURWish] [final_02_04_08] [Servlet.LOG]: SimpleFileServlet: init
    [4/6/08 3:45:30:406 IST] 3cb9bf56 WebGroup I SRVE0180I: [MakeURWish] [final_02_04_08] [Servlet.LOG]: InvokerServlet: init
    [4/6/08 3:45:30:406 IST] 3cb9bf56 ApplicationMg A WSVR0221I: Application started: DefaultEAR
    [4/6/08 3:45:30:531 IST] 3cb9bf56 HttpTransport A SRVE0171I: Transport http is listening on port 9,080.
    [4/6/08 3:45:32:656 IST] 3cb9bf56 HttpTransport A SRVE0171I: Transport https is listening on port 9,443.
    [4/6/08 3:45:32:703 IST] 3cb9bf56 RMIConnectorC A ADMC0026I: RMI Connector available at port 2809
    [4/6/08 3:45:32:781 IST] 3cb9bf56 WsServer A WSVR0001I: Server server1 open for e-business
    [4/6/08 3:45:36:047 IST] 57533f54 WebGroup I SRVE0180I: [MakeURWish] [final_02_04_08] [Servlet.LOG]: /index.jsp: init
    [4/6/08 3:45:53:422 IST] 53d3ff54 WebGroup I SRVE0180I: [MakeURWish] [final_02_04_08] [Servlet.LOG]: /jsp/CheckUser.jsp: init
    [4/6/08 3:46:39:406 IST] 57533f54 WebGroup I SRVE0180I: [MakeURWish] [final_02_04_08] [Servlet.LOG]: /jsp/Email.jsp: init
    [4/6/08 3:46:39:438 IST] 57533f54 SystemOut O 1111
    [4/6/08 3:46:39:469 IST] 57533f54 SystemOut O DEBUG: not loading system providers in <java.home>/lib
    [4/6/08 3:46:39:469 IST] 57533f54 SystemOut O DEBUG: not loading optional custom providers file: /META-INF/javamail.providers
    [4/6/08 3:46:39:484 IST] 57533f54 SystemOut O DEBUG: successfully loaded default providers
    [4/6/08 3:46:39:484 IST] 57533f54 SystemOut O
    DEBUG: Tables of loaded providers
    [4/6/08 3:46:39:484 IST] 57533f54 SystemOut O DEBUG: Providers Listed By Class Name: {com.sun.mail.smtp.SMTPTransport=javax.mail.Provider[TRANSPORT,smtp,com.sun.mail.smtp.SMTPTransport,Sun Microsystems, Inc], com.sun.mail.imap.IMAPStore=javax.mail.Provider[STORE,imap,com.sun.mail.imap.IMAPStore,Sun Microsystems, Inc], com.sun.mail.pop3.POP3Store=javax.mail.Provider[STORE,pop3,com.sun.mail.pop3.POP3Store,Sun Microsystems, Inc]}
    [4/6/08 3:46:39:484 IST] 57533f54 SystemOut O DEBUG: Providers Listed By Protocol: {imap=javax.mail.Provider[STORE,imap,com.sun.mail.imap.IMAPStore,Sun Microsystems, Inc], pop3=javax.mail.Provider[STORE,pop3,com.sun.mail.pop3.POP3Store,Sun Microsystems, Inc], smtp=javax.mail.Provider[TRANSPORT,smtp,com.sun.mail.smtp.SMTPTransport,Sun Microsystems, Inc]}
    [4/6/08 3:46:39:500 IST] 57533f54 SystemOut O DEBUG: not loading optional address map file: /META-INF/javamail.address.map
    [4/6/08 3:46:39:500 IST] 57533f54 SystemOut O 2222
    [4/6/08 3:46:39:500 IST] 57533f54 SystemOut O 3333
    [4/6/08 3:46:39:516 IST] 57533f54 SystemOut O
    DEBUG: getProvider() returning javax.mail.Provider[TRANSPORT,smtp,com.sun.mail.smtp.SMTPTransport,Sun Microsystems, Inc]
    [4/6/08 3:46:39:531 IST] 57533f54 SystemOut O 4444
    [4/6/08 3:46:39:531 IST] 57533f54 SystemOut O 5555
    [4/6/08 3:46:39:578 IST] 57533f54 SystemOut O 6666
    [4/6/08 3:46:39:641 IST] 57533f54 SystemOut O 7777
    [4/6/08 3:46:39:641 IST] 57533f54 SystemOut O 8888
    [4/6/08 3:46:40:734 IST] 57533f54 SystemOut O DEBUG SMTP: useEhlo true, useAuth true
    [4/6/08 3:46:40:734 IST] 57533f54 SystemOut O 9999
    [4/6/08 3:46:40:734 IST] 57533f54 SystemOut O DEBUG SMTP: useEhlo true, useAuth true
    [4/6/08 3:46:40:734 IST] 57533f54 SystemOut O
    DEBUG: SMTPTransport trying to connect to host "smtp.gmail.com", port 465
    [4/6/08 3:46:42:672 IST] 57533f54 SystemOut O DEBUG SMTP RCVD: 220 mx.google.com ESMTP 9sm13910420wfc.16
    [4/6/08 3:46:42:672 IST] 57533f54 SystemOut O DEBUG: SMTPTransport connected to host "smtp.gmail.com", port: 465
    [4/6/08 3:46:42:688 IST] 57533f54 SystemOut O DEBUG SMTP SENT: EHLO a-af17f82dcfd64
    [4/6/08 3:46:42:984 IST] 57533f54 SystemOut O DEBUG SMTP RCVD: 250-mx.google.com at your service, [59.95.2.209]
    250-SIZE 28311552
    250-8BITMIME
    250-AUTH LOGIN PLAIN
    250 ENHANCEDSTATUSCODES
    [4/6/08 3:46:42:984 IST] 57533f54 SystemOut O DEBUG SMTP Found extension "SIZE", arg "28311552"
    [4/6/08 3:46:42:984 IST] 57533f54 SystemOut O DEBUG SMTP Found extension "8BITMIME", arg ""
    [4/6/08 3:46:42:984 IST] 57533f54 SystemOut O DEBUG SMTP Found extension "AUTH", arg "LOGIN PLAIN"
    [4/6/08 3:46:42:984 IST] 57533f54 SystemOut O DEBUG SMTP Found extension "ENHANCEDSTATUSCODES", arg ""
    [4/6/08 3:46:42:984 IST] 57533f54 SystemOut O DEBUG SMTP: Attempt to authenticate
    [4/6/08 3:46:42:984 IST] 57533f54 SystemOut O DEBUG SMTP SENT: AUTH LOGIN
    [4/6/08 3:46:43:266 IST] 57533f54 SystemOut O DEBUG SMTP RCVD: 334 VXNlcm5hbWU6
    [4/6/08 3:46:43:266 IST] 57533f54 SystemOut O DEBUG SMTP SENT: aGFraW1kYmVzdEBnbWFpbC5jb20=
    [4/6/08 3:46:43:562 IST] 57533f54 SystemOut O DEBUG SMTP RCVD: 334 UGFzc3dvcmQ6
    [4/6/08 3:46:43:562 IST] 57533f54 SystemOut O DEBUG SMTP SENT: ZGFkbW9tNzg2
    [4/6/08 3:46:45:000 IST] 57533f54 SystemOut O DEBUG SMTP RCVD: 235 2.7.0 Accepted
    [4/6/08 3:46:45:000 IST] 57533f54 SystemOut O DEBUG SMTP SENT: QUIT
    [4/6/08 3:46:45:016 IST] 57533f54 SystemOut O yes

    Answered in the thread where you first posted this question:
    http://forum.java.sun.com/thread.jspa?threadID=5144455

  • Debugging in websphere studio application developer

    hi all
    i am working on websphere studio application developer.
    i wrote a Junit test calss for a systemaccessor which interact with DB2 database.
    the test is failed.
    i dont know debugging.
    can any one tell me how to debug a test case in WSAD in detail please?
    thanks in advance

    Check if the properties that specify the parser JAXP will use are well set:
    The javadoc for the newInstance() method of DocumentBuiderFactory says:
    Use the javax.xml.parsers.DocumentBuilderFactory system property.
    Use the properties file "lib/jaxp.properties" in the JRE directory. This configuration file is in standard java.util.Properties format and contains the fully qualified name of the implementation class with the key being the system property defined above.
    Use the Services API (as detailed in the JAR specification), if available, to determine the classname. The Services API will look for a classname in the file META-INF/services/javax.xml.parsers.DocumentBuilderFactory in jars available to the runtime.
    bye.
    Platform default DocumentBuilderFactory instance.

  • Debugging is not working in R/3 from WebDynpro-ABAP developed webpage input

    Dear Friends,
    We are facing a serious problem for debugging. Expecting valuable input for the same.
    Debugging is not working in R/3 from WebDynpro-ABAP developed webpage input in Production Server.
    The debugging (for WebDynpro-ABAP application) is working in Dev. Server for
    1st ] Within R/3
    Ex. debug for bapi within R/3. i.e. value enter as input in R/3 only.
    2nd ] From webpage to R/3
    Ex. Some input given on the internet web page developed through WebDynpro and external breakpoint set in R/3 it works. It directs to R/3 code through debugging.
    In Prod. Server the 1st case above is working but the 2nd case is not working.
    In Prod. Server the WebDynpro developed applications are running successfully through internet explorer webpage inputs. So running the application is not a problem in prod. Server but debugging of the same is the problem.
    The setting which are done in Prod. server are,
    1] RZ10 in parameters are set for port and host name.
    2.1] In SMICM check for ICM.
    2.2] Host file updated in Windows-System 32.
    3] In SICF following services are active,
    3.1] default_host/sap/bc/webdynpro
    3.2] default_host/sap/public/bc
    3.3] default_host/sap/public/bc/webdynpro/viewdesigner
    3.4] default_host/sap/bc/wdvd
    3.5] default_host/sap/public/icman
    3.6] default_host/sap/bc/gui/sap/its/webgui
    3.7] default_host/sap/public/ping
    3.8] default_host/sap/bc/error
    3.9] default_host/sap/bc/echo
    4] In SE80
    4.1] Internet services-System-are published
    4.2] Internet services-WEBGUI-are published
    4.3] Utilities-Setting-ABAP Editor-Debugging-Username & New Debugger set.
    4.4] Utilities-Setting-ABAP Editor-Editor-Front-End Editor(New) set.
    5] In Su01 for user profiles sap_all & sap_new is assigned and role  SAP_BC_WEBSERVICE_DEBUGGER is assigned.
    6] The support packages are also updated to latest level.
    7] Gone through following links but not getting any clues.
    http://help.sap.com/saphelp_nw70ehp1/helpdata/en/48/74d50bd1431b5ae10000000a42189c/frameset.htm
    http://help.sap.com/saphelp_nw04s/helpdata/EN/77/3545415ea6f523e10000000a155106/frameset.htm
    Thanks in Advance.
    Best Regards,
    Abhijit.

    No cross posting
    Read the "Rules of Engagament"
    Regards
    Juan

  • Firefox can't open normally without going through the "this is embarrassing" routine; nor does it close down properly; it also sticks frequently, i.e. screen freezes for a minute or more; should I uninstall and re-install to try and debug?

    Firefox can't open normally without going through the "this is embarrassing" routine; nor does it close down properly; I get the "end program" message and have to say "end now"it also sticks frequently, i.e. screen freezes for a minute or more; should I uninstall and re-install to try and debug?
    - I've used Firefox exclusively for around 2 years.
    - My outlook express has no problems
    - other programs seem unaffected; it seems peculiar to Firefox.
    - my main use is surfing the net, primarily entering competitions on line via specialist competition sites.
    - every day at some stage(s) I have to switch computer off as Firefox has got very slow/sticky/freezes.
    I'm not techy by any means, but I can only thing of un- and re-installing to hopefully start with a clean slate.

    Sounds like something is keeping Firefox from closing properly. See this: <br />
    https://support.mozilla.com/en-US/kb/Firefox+hangs#Hang_at_exit

  • ERROR while debugging a SELECT..ENDSELECT

    Hello All,
    We get an error while we go into the select..endselect loop during debugging. Because of this if we try to do some research on existing program with Select-endselect..it fails in the second pass of this loop.
    This problem was not there earlier, but after we upgraded from 4.6 to 4.7 this problem is bugging us..every day. Does any one have a clue why ?
    Thanks!!
    Regards,
    Vishal

    Hi,
      debugging a SELECT...ENDSELECT statements brings to a LUW commit work if no other work processes are available for debug.
    See OSS notes 675, 2104.
    From OSS note 675 **********************************
    Cause and prerequisites
    Chain of causes:
          1. There is a statement in one of the Select loops, that leads to a database Commit (or Rollback).
          2. A database Commit causes the database to lose the cursor.
          3. The system cannot automatically continue within Select loop after loss of cursor.
    Following statements lead to a database Commit:
        * All statements that cause a change of screen (CALL SCREEN, CALL DIALOG, CALL TRANSACTION, SUBMIT, I/W-Message)
        * BREAK-POINT/ Debugging
          . if no debug process free
          . always after regeneration (in order to release generation lock).
        * WAIT Here a work process is released and a Commit is executed.
        * COMMIT WORK/ROLLBACK WORK
    From OSS note 2104 **********************************
    Solution
    The "COMMITWORK" message appears in the ABAP debugger when programs
    orscreensrequireregeneration,or when not enough free capacity
    is available inthesystem (or else the debugger blocks a system
    process).
    Normallyonly one work process is released for debugging. This
    isgenerally insufficient ina developmentsystem, as processes
    can be blocked for other reasonstoo(background processing,
    CPI-C connections,andso on).
    The number of work processes made available for debugging can
    be configured using the profileparameter
                      rdisp/wpdbug_max_no
    Forexample:
                    rdisp/wpdbug_max_no = 10
    setsthe maximum number of work processes made available for
    debuggingto 10. It may be necessary to generally increase the
    numberofwork processesatthis time (parameter rdisp/wp_no_dia).
    In all other known cases, an error in the application program is
    involved.
    Regards, Manuel

  • DID YOU KNOW?: Debugging with BC4J Tester

    Did you know that in JDeveloper 3.2, you can run the BC4J tester in debug mode to exercise your business components and hit breakpoints at the same time?
    Just do the following:
    [list]
    [*]Expand the navigator node for your Application Module, revealing its XML and Java implementation files.
    [*]Right-mouse on the YourAppModImpl.java file, and select Debug...
    [list]
    By default, it will debug using the "local mode" connection configuration. If you want it to debug using a difference configuration, just change the configuration name that appears as the 2nd argument in the launchTester call in the main() method of the application module implementation file.

    grin Thanks, Steve.
    Does this mean that in JDev 5.0 we're going to see an animated Steven Muench head in a tiny window in the lower corner, occassionally tapping on the glass to offer us hints?

  • Error when starting Weblogic in debug mode

    Hi there
    Has anyone experienced any difficulties when starting weblogic in debug mode.
    More specifically, it cannot start correctly because it thinks that another instance
    is using the same port (definately not the case).
    Any clues/suggestions are greatly appreciated.
    Error log follows:
    <Mar 18, 2002 7:42:32 AM GMT+10:00> <Emergency> <WebLogicServer> <Unable to create
    a server socket for port: 8320. java.net.BindException: Address already in use
    Perhaps another process is using port 8320.>
    <Mar 18, 2002 7:42:32 AM GMT+10:00> <Notice> <WebLogicServer> <SSLListenThread
    listening on port 8321>
    <Mar 18, 2002 7:42:32 AM GMT+10:00> <Emergency> <WebLogicServer> <The WebLogic
    Server is no longer listening for connections. You should probably restart it.>
    <Mar 18, 2002 7:42:32 AM GMT+10:00> <Alert> <WebLogicServer> <Server shutdown
    has been requested by system>
    <Mar 18, 2002 7:42:32 AM GMT+10:00> <Alert> <WebLogicServer> <The shutdown sequence
    has been initiated.>
    <Mar 18, 2002 7:42:32 AM GMT+10:00> <Info> <WebLogicServer> <Server shutdown is
    commencing NOW and is irreversible.>
    <Mar 18, 2002 7:42:32 AM GMT+10:00> <Error> <Performance Pack> <Unable to load
    performance pack, using Java I/O.
    java.lang.ThreadDeath
    at java.lang.Thread.stop(Thread.java:581)
    at weblogic.t3.srvr.T3Srvr.die(T3Srvr.java:764)
    at weblogic.t3.srvr.T3Srvr.waitForDeath(T3Srvr.java:507)
    at weblogic.t3.srvr.T3Srvr.run(T3Srvr.java:171)
    at weblogic.Server.main(Server.java:35)

    Thanks for the suggestion.
    Unfortunatley the port is definately free/available during startup.
    Stephane Kergozien <[email protected]> wrote:
    Maark,
    Before starting your server, please could you check that the port is
    not used by one
    other process. You can use the netstat command to do this.
    Regards
    Stephane
    Mark wrote:
    Hi there
    Has anyone experienced any difficulties when starting weblogic in debugmode.
    More specifically, it cannot start correctly because it thinks thatanother instance
    is using the same port (definately not the case).
    Any clues/suggestions are greatly appreciated.
    Error log follows:
    <Mar 18, 2002 7:42:32 AM GMT+10:00> <Emergency> <WebLogicServer> <Unableto create
    a server socket for port: 8320. java.net.BindException: Address alreadyin use
    Perhaps another process is using port 8320.>
    <Mar 18, 2002 7:42:32 AM GMT+10:00> <Notice> <WebLogicServer> <SSLListenThread
    listening on port 8321>
    <Mar 18, 2002 7:42:32 AM GMT+10:00> <Emergency> <WebLogicServer> <TheWebLogic
    Server is no longer listening for connections. You should probablyrestart it.>
    <Mar 18, 2002 7:42:32 AM GMT+10:00> <Alert> <WebLogicServer> <Servershutdown
    has been requested by system>
    <Mar 18, 2002 7:42:32 AM GMT+10:00> <Alert> <WebLogicServer> <The shutdownsequence
    has been initiated.>
    <Mar 18, 2002 7:42:32 AM GMT+10:00> <Info> <WebLogicServer> <Servershutdown is
    commencing NOW and is irreversible.>
    <Mar 18, 2002 7:42:32 AM GMT+10:00> <Error> <Performance Pack> <Unableto load
    performance pack, using Java I/O.
    java.lang.ThreadDeath
    at java.lang.Thread.stop(Thread.java:581)
    at weblogic.t3.srvr.T3Srvr.die(T3Srvr.java:764)
    at weblogic.t3.srvr.T3Srvr.waitForDeath(T3Srvr.java:507)
    at weblogic.t3.srvr.T3Srvr.run(T3Srvr.java:171)
    at weblogic.Server.main(Server.java:35)--
    Regards,
    Stephane Kergozien
    BEA Support

  • Error in Starting the Applicaion in DEBUG mode.

    Hi all,
    I am trying to DEBUG the Jave application in NETWEAVER DEVELOPMENT STUDIO. I am getting the Error REMOTE VM NOT CONNECTED.
    If I am getting any tips to solve the error in DEBUG
    I can proceed further.
    Thanks in Advance.
    Regards,
    Ram

    Hi,
    did you follow the Debugging J2EE Applications tutorial located at http://help.sap.com/saphelp_nw04/helpdata/en/66/547f09281d464b951c9a3a6b06a12d/frameset.htm ? It tells you how to run your server node in debug node and debug the application from the developer studio.
    Message was edited by: Ivaylo Ivanov

Maybe you are looking for