Capture the command executed by Eclipse

I have a Hibernate appps. It runs on Eclipse IDE (in class files format), it works fine. But when I packages it to jar file, and run it using command prompt, it hit error.
+{color:#0000ff}java.lang.NoClassDefFoundError: org/hibernate/Session+
at com.flextronics.fftester.Client.main(Client.java:103)
Caused by: java.lang.ClassNotFoundException: org.hibernate.Session
at java.net.URLClassLoader$1.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at sun.misc.Launcher$AppClassLoader.loadClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at java.lang.ClassLoader.loadClassInternal(Unknown Source)
+... 1 more{color}+
My question is, how to capture the command executed by Eclipse, so that I cna re-use it on command prompt?

Hi DrLaszloJamf , thanks and trying. One quick question: Can i specify path name instead of particular jar filename, from a simple test, I found the hibernate library path does not work. I need to specify the jar file, then only it works.
You specify classes to include in the Class-Path header field in the manifest file of an applet or application. The Class-Path header takes the following form:
Class-Path: jar1-name jar2-name directory-name/jar3-name.And If this one is true, that mean either we can use classpath externally or embedded in manifest, right?
By using the Class-Path header in the manifest, you can avoid having to specify a long -classpath flag when invoking Java to run the your application.Edited by: gkheng on Jul 21, 2008 7:42 PM

Similar Messages

  • When executing the command: "sudo make install" the terminal just hangs

    Hi everyone,
    I'm following along with this tutorial: http://maxpowerindustries.com/2009/09/27/how-to-install-and-configure-squid-on-m ac-os-x/ and I'm on Step 7: Install squid with the following command: sudo make install . After the command executes the terminal just hangs and doesn't return to normal. Any ideas what Im doing wrong?
    Thanks Seán

    I would not be looking at 2009 instructions knowing that current build instructions, release notes, and other information were present, either online, or within the source distribution. In the preceding hyperlink, you will note that build instructions for OS X (any version) are simply omitted. Dependencies are discussed, such as needing the automake tools.
    I would take a closer look at current build requirements (including arguments to ./configure), and build log — as an underlying reason why install hangs in your terminal.

  • To capture the selected rows along with edited field contents in alv report

    Dear All,
             I do have requirement where, in alv report output one field is editable and need to save the content of the edited field along with the selected rows.
             For example If there are 10 records displayed in the alv output with 20 fields.
    Out of this 20 fields one field (say XYZ) is editable. Also i have already created a new pushbutton (say ABC) on alv output. Now in the alv output if we maintain some value in the field (XYZ ) for the 2nd and 4th record and select this two records, and when clicked on the pushbutton (ABC) it has to update the DB table.
          I am using the Func Module  'REUSE_ALV_GRID_DISPLAY'. 
          Your early reply with sample code would be appreciated.
    Thanks in Advance.

    HI Naveen ,
    There is an import parameter "i_callback_program" in the function module,
    plz pass the program name to it.
    Capture the command by passing a field of type sy-ucomm to "I_CALLBACK_USER_COMMAND ".  Check the returned command and
    and program a functionality as desired.
    u can try the event double_click or at line selection. there u can use READLINE command to c if the line has been selected.
    In case it is , process the code segment.
    Regards
    Pankaj

  • How to capture the SSAS server response to an XMLA command issued in VB Script

    Hi all,
    I have an SSIS package that contains a VB script task that sends XMLA commands to my SSAS server.  (I am using a script task and not the DDL task because there is lengthy logic required to build the XMLA command and send it to the appropriate
    server.)
    The problem I have is that while I have been able execute the XMLA command against the SSAS server, I am not able to capture the full response from the server.  Warnings are not being captured and other data is missing.  My code currently is as
    follows:
    Dim cn As New AdomdClient.AdomdConnection
    Dim cmd As New AdomdClient.AdomdCommand
    Dim returnValue As Object
    cn.ConnectionString = "Data Source=MyServer;Initial Catalog=MyDB;Provider=MSOLAP.5;Integrated Security=SSPI;"
    cn.Open()
    cmd.Connection = cn
    cmd.CommandText = fileReader
    On Error Resume Next
    returnValue = cmd.Execute()
    MsgBox(Err.Description)
    cn.Close()
    Note that "fileReader" is the string containing the XMLA command.
    If the xmla processes a dimension, and there are duplicate keys (for which it is set to error and stop), Management Studio give the response shown below, which includes the warning indicating there are duplicate keys:
    <return xmlns="urn:schemas-microsoft-com:xml-analysis">
    <results xmlns="http://schemas.microsoft.com/analysisservices/2003/xmla-multipleresults">
    <root xmlns="urn:schemas-microsoft-com:xml-analysis:empty">
    <Exception xmlns="urn:schemas-microsoft-com:xml-analysis:exception" />
    <Messages xmlns="urn:schemas-microsoft-com:xml-analysis:exception">
    <Warning WarningCode="1092550658" Description="Errors in the OLAP storage engine: A duplicate attribute key has been found when processing: Table: 'MyDim', Column: 'MyCol', Value: 'XYZ'. The attribute is 'MyAttr'." Source="Microsoft SQL Server 2012 Analysis Services" HelpFile="" />
    <Error ErrorCode="3238002695" Description="Internal error: The operation terminated unsuccessfully." Source="Microsoft SQL Server 2012 Analysis Services" HelpFile="" />
    However, in the VB script it captured in Err.description just some of the error: "Errors in the OLAP storage engine: An error occurred while the "MyAttr" attribute of the "MyDim" was being processed".
    Is there anyway to capture in the VB Script the full XML error as it appears in Management Studio?
    Help would be much appreciated!
    Thanks
    Guy

    Another method for executing XMLA is using Microsoft.AnalysisServices.Xmla;
    C# code will look like below:
    using Microsoft.AnalysisServices.Xmla;
      XmlaClient clnt = new XmlaClient();
                      string strOut = "", strMsg="";
                      string strXmla = File.ReadAllText(strXmlaFileName);
      clnt.Connect(strServer);
                      clnt.Execute(strXmla, "", out strOut, false, true);
                      clnt.Disconnect();
                      //check status
                      //Create the XmlDocument.
                      XmlDocument doc = new XmlDocument();
                      doc.LoadXml(strOut);
                      //display Error
                      XmlNodeList elemList = doc.GetElementsByTagName("Error");
                      for (int i = 0; i < elemList.Count; i++)
                          Console.WriteLine(elemList[i].Attributes["Description"].Value);
                          strMsg += elemList[i].Attributes["Description"].Value + "\r\n" ;
                          ++intExitCode;
                      //display warnings
                      elemList = doc.GetElementsByTagName("Warning");
                      for (int i = 0; i < elemList.Count; i++)
                          Console.WriteLine("Warning:" + elemList[i].Attributes["Description"].Value);
                          strMsg += elemList[i].Attributes["Description"].Value + "\r\n" ;
    Hope this helps.
    Arun

  • Capturing the output of a os command line

    I need to capture the output of a os command line executed from one java program and I don't know how can do it.
    For example:
    Runtime.getRuntime().exec("hostid");

    Your suggestion worked very well, just in case that this could interest somebody, this is the complete solution
    Thanks for your help
    import java.io.*;
    public class HostID
    public static void main(String args[]){
    try{
    InputStream in = (Runtime.getRuntime().exec("hostid")).getInputStream();
    byte[] arreglo= new byte[200];
    int cantidad = in.read(arreglo);
    System.out.println(new String(arreglo,0,cantidad));
    } catch (IOException ioe){System.out.println(ioe.getMessage());}
    }

  • 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

  • Capturing the values of screen elements on click of execute button

    Hello folks,
    Is there a way to capture the values entered in the screen on click of the execute button?
    What I want to do is, I have a selection screen where-in a user can fill the input fields (parameters and select-options). Now when the user clicks on the execute button, the values of all the screen elements (no matter if they are filled or empty) should be stored in variable, so that I can use these values again when I am calling this program from another program.
    I want to do something similar to saving a variant, but this save should happen on click of Execute button and user need not require to explicitly save these values as variant.
    Hope I am clear enough to put my query in front of you all.
    It would be a great thing if you could help me.
    Need your help.
    Thanks in advance.

    Hi,
    You need something like this
    REPORT A.
    TABLES: sflight.
    PARAMETERS: pa_scarr   TYPE sflight-carrid.
    SELECT-OPTIONS so_conn FOR  sflight-connid.
    DATA: BEGIN OF it_selscr_values OCCURS 0.
            INCLUDE STRUCTURE rsparams.
    DATA END OF it_selscr_values.
    START-OF-SELECTION.
      CALL FUNCTION 'RS_REFRESH_FROM_SELECTOPTIONS'
        EXPORTING
          curr_report     = sy-repid
        TABLES
          selection_table = it_selscr_values.  "here you have all parameters' values from selection screen
    "later in some other program you can use this table to call report A filling its selection screen with these default values like
    SUBMIT a WITH SELECTION-TABLE it_selscr_values.
    Regards
    Marcin

  • Just installed Lion and the Magic TrackPad and I am having a problem with one click commands.  I have to hit the pad fairly hard with one finger to get it to accept the command.  Is this normal, is there another way that I am suppose to execute commands?

    Just installed Lion and the Magic TrackPad and I am having a problem with one click commands.  I have to hit the pad fairly hard with one finger to get it to accept the command.  Is this normal, is there another way that I am suppose to execute commands?

    No you just need to turn on Tap to Click. Go into System Preferences - Trackpad and click the Point to Click tab and select the first box which will say Tap to Click and you should be in business.

  • How to Capture the user command value instead of ucomm and pfkey from syst

    Hi,
    How to capture the value of enter key in the enhancements.
    Iam getting the sy-ucomm value as space. Please let me know the better solution ASAP.
    regards
    Nagendra

    Hello,
    If is a module pool program, take a look to the variable defined to receive the user-command (you can see this in the screen painter).
    Regards.

  • TS3391 iMovie 11 is not working. I try to open it and it says it is generating thumbnails for one of my previous projects. All the commands are gray. I have to force it to quit. I just want to capture clips to start a new project.

    iMovie 11 is not working. I try to open it and it says it is generating thumbnails for one of my previous projects. All the commands are gray. I have to force it to quit. I just want to capture clips to start a new project. I googled the problem and there were discussions about deleting files in various folders and renaming clip extensions. I don't like the solutions I saw there and I am not sure they will work.

    Nobody replied so I called Apple. They seemed to think they could fix the problem but I had to agree to pay about $20 first. I told them to put it down as a complaint. I only want to use the software I bought. I can't see that it is my fault it is malfunctioning. I guess I will have to pay. It doesn't seem right.

  • On Word I was copying a sentence, but the command has not been executed and the timer is constantly circling. It has been circling for over 10 minues. How do I get out of this?

    On Word I was copying a sentence, but the command has not executed and the timing cursor has been circling for over 10 minutes. How do I get out of this?

    You probably will need to force-quit Word. Go to the Apple menu, choose "Force Quit", locate and select Word in the list of applications and click the "Force Quit" button. You will of course most likely lose any changes you made to the document since you last saved it (or it was auto-saved, if you have that option turned on in Word).
    Regards.

  • How do I execute a returned sql string from a function on the command line?

    Hi,
    I have written a pl/sql function that will dynamically create a sql select statement. I need to be able to execute this statement from the command line. e.g from sqlplus
    Say my function is called "sql_create" and it returns "select * from customer"
    How do I execute the returned value from the command line?" Is it possible?
    SQL> select sql_create from dual;
    SQL_CREATE
    select * from customer
    SQL>
    So I try:
    SQL> exec execute immediate 'select sql_create from dual';
    SQL>
    I don't get an error but I don't get the result set either.
    Is there a command I can use instead of execute immediate?
    thanks,
    Susan
    Edited by: Susan123456 on Jul 2, 2009 1:21 AM

    depends on the frontend. Most frontends (like Java and .Net) know how to handle REF CURSORS. Instead of returing a "string" which represents a query, return a ref cursor
    SQL> ed
    Wrote file afiedt.buf
      1  create function sql_q return sys_refcursor
      2  is
      3     rc sys_refcursor;
      4  begin
      5     open rc for select * from emp;
      6     return rc;
      7* end;
    SQL> /
    Function created.
    SQL> var r refcursor
    SQL>
    SQL> exec :r := sql_q
    PL/SQL procedure successfully completed.
    SQL> print r
         EMPNO ENAME      JOB              MGR HIREDATE         SAL       COMM     DEPTNO
          7369 SMITH      CLERK           7902 17-DEC-80        900                    20
          7499 ALLEN      SALESMAN        7698 20-FEB-81       1700        300         30
          7521 WARD       SALESMAN        7698 22-FEB-81       1350        500         30
          7566 JONES      MANAGER         7839 02-APR-81       3075                    20
          7654 MARTIN     SALESMAN        7698 28-SEP-81       1350       1400         30
          7698 BLAKE      MANAGER         7839 01-MAY-81       2950                    30
          7782 CLARK      MANAGER         7934 09-JUN-81       2551                    10
          7788 SCOTT      ANALYST         7566 19-APR-87       3100                    20
          7839 KING       PRESIDENT            17-NOV-81       5100                    10
          7844 TURNER     SALESMAN        7698 08-SEP-81       1600          0         30
          7876 ADAMS      CLERK           7788 23-MAY-87       1200                    20
         EMPNO ENAME      JOB              MGR HIREDATE         SAL       COMM     DEPTNO
          7900 JAMES      CLERK           7698 03-DEC-81       1050                    30
          7902 FORD       ANALYST         7566 03-DEC-81       3100                    20
          7934 MILLER     CLERK           7782 23-JAN-82       1400                    10

  • Runtime.exec not executing the command !

    Hi all,
    I'm connecting to Progress Db thru JDBC trying to execute a stored procedure
    which has a statement
    Runtime.exec("ksh -c aa") where aa is aunix script which i'm trying to run from java snippet .
    when i run this code as a seperate java program it executes the script
    "aa" but thru JDBC connection it does not execute the command
    what could be the reason ???
    thanx in advance,
    Nagu.

    Hi Rick,
    "aa" is the shell script which is lying in the user DIR .
    It is returning a non-zero value. what kind of permissions be there for to execute the Shell command?
    Regards,
    Nagarathna.

  • A known good working Universal Flash Drive fails on different PC when using the capture image command

    I have a UFD

    Hi,
    The information here didn't help much in resolving the issue, as Mr. Arnav Sharma suggested, could you please have a share with the full error messages?
    What is the image capture command that you are using?
    Do we followed any guides to capture the image? If yes, would you please have a share with that?
    Besides, here are some articles for reference:
    Walkthrough: Create a Bootable Windows PE RAM Disk on a USB Flash Disk
    How to Build a Bootable USB Drive? or How to Install an Operating System from a USB Device?
    Best regards
    Michael Shao
    TechNet Community Support

  • Execute the command "arp -a" and save the list of ip & MAC adresses

    Hey all ,
    I was looking for a code where i can execute the command "arp -a" in CMD to get a list of all MAC and ip adresses
    connected on the network and save them for further use is this possible or not .. please if possible if any 1 can supply me with the code i would be grateful ... thnks for ur time
    Best Regards,
    MIG()ZZZZ

    the list of ip and mac of connected computers to the networkThere really isn't a way of doing this because in TCP/IP 'connected' doesn't have a well-defined meaning, so there is no such thing as 'the list' either. If it's a Windows LAN you might find something in Samba that will do it, I don't know.
    What's it all for? There are also IP broadcast and multicast facilities, could be what you're really looking for.

Maybe you are looking for

  • 8.5.1 install on Mandrake 7.0 (RH 6.1 plus)

    I managed to get 8.1.5 installed on a machine with 64 MB ram and Mandrake 7.0, a RedHat 6.1 derivative (2.2.14) and I thought I'd share what things I had to do. Basically, I used jre116_v5, and ran the runIns.sh script in install/linux instead of the

  • Putting Word Count in Pages Document

    Is there a way to insert a document's current word count directly into the body of the document? In other words, is there a way to do the equivalent of "Insert Page Number" or "Insert Page Count" for word count?

  • Problem in Changing Purchase Organisation of Service PO

    hi all, i have a req to update the PO's ( change the Pur.Org  of PO ) . i'm able to change all types Po's except Service Po's. i'm using BAPI_PO_CHANGE in my prog. in ME22N also Pur.Org is showing in Display mode for Service PO's , where these condit

  • Logging in to newly downloaded games?

    I just downloaded Roblox and it wants me to log in.  When I enter my game center user ID and password it says user id or password isn't correct.  Help, what am I doing wrong??  I've used my apple ID email and my gamecenter nick name as the user id an

  • Using SQL in Query in 3.0.0

    I'm very happy to see this feature added to 3.0.0 along with methodQL. This should alleviate a lot of the issues with trying to use only JDOQL, especially when the desired SQL statemetn is well understood. Thanks for adding this! Ben