Pls help me in sending sequential responses for the different commands.

Hi all
pls help me in  sending sequential responses for the different commands. For example,i have to send the response1 for command1 then again host wll send the some other command ,say command 2  after receiving response 1,then again i have to respond to the corresponding command.i m using the pci-6221 card not tradition DAQcard.
regards,
nitin

Hi,
you need to be more specific. What is your setup?
Obviously, what you need is a command parser. Look this article for the basics. I know it is meant for RT but the concept is there.
Not sure it will help with so few infos: http://zone.ni.com/devzone/conceptd.nsf/webmain/CD63FD0F746B17A686256F090065F572
Dai
Dai
LV 7.1 - WIN XP - RT - FP

Similar Messages

  • Pls help me in write a join for the following code.

    can any one give me optimized code for the posted query..
    DATA :BEGIN OF BAPITABLE OCCURS 1,
           EDITELEM LIKE TOJTB-EDITELEM,
           FUNCTION LIKE SBAPIS-FUNCTION,
           SHORTTEXT    LIKE TFTIT-STEXT,
           END OF BAPITABLE.
              SELECT     EDITELEM  INTO (BAPITABLE-EDITELEM)
                                   FROM TOJTB
                                   WHERE APPLIC = APPLICATIONCODE
                                   AND MODELONLY = 'R'
                                   and ACTIVE = 'X'.
              SELECT FUNCTION INTO (BAPITABLE-FUNCTION)
                              FROM  SBAPIS
                              WHERE OBJECT = JEDITELEM.
             SELECT STEXT INTO (BAPITABLE-SHORTTEXT)
                          FROM TFTIT
                          WHERE SPRAS = 'EN' AND FUNCNAME = BAPITABLE-FUNCTION.
                         APPEND BAPITABLE.
                             ENDSELECT.
                   ENDSELECT.
           ENDSELECT.
    waiting for ur replies....
    RESHALI

    Hi
    i'm giving you a sample code please change according to your requiirement.
    I've taken required fields from 3 different tables and put them in one internal table.
    please see the following code.
    types : begin of ty_kna1,
             kunnr type kna1-kunnr,
             name1 type kna1-name1,
             vbeln type vbap-vbeln,
             erdat type vbak-erdat,
           end of ty_kna1.
    data : it_kna1 type table of ty_kna1,
           wa_kna1 type ty_kna1.
    data : it_fieldcat type slis_t_fieldcat_alv,
           wa_fieldcat type slis_fieldcat_alv.
    start-of-selection.
      select kkunnr kname1 v1erdat v2vbeln
      into corresponding fields of table it_kna1
      from ( ( kna1 as k
        inner join vbak as v1 on kkunnr = v1kunnr )
        inner join vbap as v2 on v1vbeln = v2vbeln )
        up to 100 rows.
    Reward if helpful
    Regards
    Lakshman

  • I want to send a response from the servlet and then call another servlet.

    Hi,
    I want to send a response from the servlet and then call another servlet. can this happen. Here is my scenario.
    1. Capture all the information from a form including an Email address and submit it to a servlet.
    2. Now send a message to the browser that the request will be processed and mailed.
    3. Now execute the request and give a mail to the mentioned Email.
    Can this be done in any way even by calling another servlet from within a servlet or any other way.
    Can any one Please help me out.
    Thanks,
    Ramesh

    Maybe that will help you (This is registration sample):
    1.You have Registration.html;
    2.You have Registration servlet;
    3.You have CheckUser servlet;
    4.And last you have Dispatcher between all.
    See the code:
    Registration.html
    <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
    <HTML>
      <HEAD>
        <TITLE>Hello registration</TITLE>
      </HEAD>
      <BODY>
      <H1>Entry</H1>
    <FORM ACTION="helloservlet" METHOD="POST">
    <LEFT>
    User: <INPUT TYPE="TEXT" NAME="login" SIZE=10><BR>
    Password: <INPUT TYPE="PASSWORD" NAME="password" SIZE=10><BR>
    <P>
    <TABLE CELLSPACING=1>
    <TR>
    <TH><SMALL>
    <INPUT TYPE="SUBMIT" NAME="logon" VALUE="Entry">
    </SMALL>
    <TH><SMALL>
    <INPUT TYPE="SUBMIT" NAME="registration" VALUE="Registration">
    </SMALL>
    </TABLE>
    </LEFT>
    </FORM>
    <BR>
      </BODY>
    </HTML>
    Dispatcher.java
    package mybeans;
    import javax.servlet.http.HttpServletRequest;
    import javax.servlet.http.HttpServletResponse;
    import javax.servlet.ServletException;
    import java.io.IOException;
    import javax.servlet.RequestDispatcher;
    import java.io.*;
    import javax.servlet.*;
    import javax.servlet.http.*;
    public class Dispatcher extends HttpServlet {
        protected void forward(String address, HttpServletRequest request,
                               HttpServletResponse response)
                               throws ServletException, IOException {
                                   RequestDispatcher dispatcher = getServletContext().
                                   getRequestDispatcher(address);
                                   dispatcher.forward(request, response);
    Registration.java
    package mybeans;
    import java.io.*;
    import javax.servlet.*;
    import javax.servlet.http.*;
    public class Registration extends Dispatcher {
        public String getServletInfo() {
            return "Registration servlet";
        public void doPost(HttpServletRequest request, HttpServletResponse response) throws ServletException, IOException {
            ServletContext ctx = getServletContext();
            if(request.getParameter("logon") != null) {          
                this.forward("/CheckUser", request, response);
            else if (request.getParameter("registration") != null)  {         
                this.forward("/registration.html", request, response);
    CheckUser.java
    package mybeans;
    import java.io.*;
    import javax.servlet.*;
    import javax.servlet.http.*;
    import java.sql.*;
    public class CheckUser extends Dispatcher {
        Connection conn;
        Statement stat;
        ResultSet rs;
          String cur_UserName;
        public static String cur_UserSurname;;
        String cur_UserOtchestvo;
        public String getServletInfo() {
            return "Registration servlet";
        public void service(HttpServletRequest request, HttpServletResponse response)
        throws ServletException, IOException {
            try{
                ServletContext ctx = getServletContext();
                Class.forName("oracle.jdbc.driver.OracleDriver");
                conn = DriverManager.getConnection("jdbc:oracle:oci:@eugenz","SYSTEM", "manager");
                stat = conn.createStatement(ResultSet.TYPE_SCROLL_SENSITIVE, ResultSet.CONCUR_UPDATABLE);
               String queryDB = "SELECT ID, Login, Password FROM TLogon WHERE Login = ? AND Password = ?";
                PreparedStatement ps = conn.prepareStatement(queryDB); 
               User user = new User();
            user.setLogin(request.getParameter("login"));
            String cur_Login = user.getLogin();
            ps.setString(1, cur_Login);
            user.setPassword(request.getParameter("password"));
            String cur_Password = user.getPassword();
            ps.setString(2, cur_Password);
         Password = admin");
            rs = ps.executeQuery();
                 String sn = "Zatoka";
            String n = "Eugen";
            String queryPeople = "SELECT ID, Surname FROM People WHERE ID = ?";
           PreparedStatement psPeople = conn.prepareStatement(queryPeople);
                      if(rs.next()) {
                int logonID = rs.getInt("ID");
                psPeople.setInt(1, logonID);
                rs = psPeople.executeQuery();
                rs.next();
                       user.setSurname(rs.getString("Surname"));
              FROM TLogon, People WHERE TLogon.ID = People.ID";
                       ctx.setAttribute("user", user);
                this.forward("/successLogin.jsp", request, response);
            this.forward("/registration.html", request, response);
            catch(Exception exception) {
    }CheckUser.java maybe incorrect, but it's not serious, because see the principe (conception).
    Main is Dispatcher.java. This class is dispatcher between all servlets.

  • Functional Administrator is not a valid responsibility for the current user

    Hi,
    I have sysatem administrator responsibility as I am DBA on PRD. I assign myself functional administartor responsiblity. Now when i access fucntioanl administrator responsiblity,
    I am getting error as
    Functional Administrator is not a valid responsibility for the current userPlease help as I need to look at SSHR page for the use who is getting error while laucnhing
    Employee Self Service >>> My Benefits Data >>> Financial Profile
    Error: the requested URL was not found, or cannot be served at this time
    Please help for how I can access functional administrator resp to work further on users issue

    Please post the details of the application release, database version and OS.
    Have you granted “Security Administrator” role to your user? If not, please do so and check then.
    Also, check Apache log files for any errors.
    Thanks,
    Hussein

  • I need help in activating apple id to for the find my iphone app

    i need help in activating apple id to for the find my iphone app

    What sort of help are you requesting from us, your fellow users? What exactly is the problem/issue?

  • IProcurement is not a valid responsibility for the current user. Please contact your System Administrator.

    Hi All,
    When I am trying to click on the 'iprocurement Home page' menu in the iprocurement responsibility getting the below error message in R12;
    "iProcurement is not a valid responsibility for the current user. Please contact your System Administrator."
    Can any one let me know how to resolve this?
    Regards
    Joseph

    Hi Joseph,
    I am assuming that the user actually has the iProcurement responsibility assigned to them. If so, try the following solution from note 1560400.1:
    1) Logon with System Administrator responsibility
    2) Navigate to Profile > System, click on User and enter the user name
    3) Search for profile 'Applications Start Page'. Delete the value set at user level and save
    4) Retry
    Regards,
    Cheryl

  • Open a command window and send some keystroke to the opened command window

    Hi All,
    I am trying to open command prompt and send some key stroke to that command prompt. Here I am using Robot to send keystroke. But the problem is, the keystrokes are not sent to the prompt. I guess I need to activate progamitically the command prompt to accept the keystrokes . Please find the code below ( as I did).
    try
    String command = "cmd.exe /c start";
    Process child = Runtime.getRuntime().exec(command);
    Robot robot = new Robot();
    Thread.sleep(5000);
    String lol = "indranil";
    for(int i=0;i<lol.length();i++)
    robot.keyPress(lol.charAt(i));
    int g = lol.length() - 1;
    robot.keyRelease(lol.charAt(g));
    catch (Exception e) {}
    I guess I am doing some mistake here while sending the keystroke/openning the command prompt. Can anyone please help me how can I open a command window and send some keystroke to the opened command window. I am in fix.
    Thanks,
    Indranil

    The first thing to do is read the API and examples for the Robot class.
    Also check out this thread with a similar discussion: [http://forums.sun.com/thread.jspa?threadID=5385677]
    The short spoonfed answer - keyPress() and keyReleaseI() do not take chars. Read up on KeyEvent

  • The other day I had downloaded the latest version of Firefox and now none of the icons for the different websites I normally go to are there?

    As I said, the other day I had downloaded the latest version of Firefox and after doing so none of the icons for the different websites that normally go to are no longer there. Websites such as MSNBC, MSN, Most visited, that entire strip is no longer visible. I tired resetting Firefox and still nothing. Can anyone tell me how to get them to appear again? It's a hassle every time that I want to go to one of those sites I have to type it in the search bar, instead of just clicking on it as I did before. Please keep in mind if you answer, that I'm still learning about these things called computers and not very well versed in some of the things that you experts know:) Thanks

    On Windows XP Firefox shows the menu bar by default and not the orange Firefox menu button that is shown when the menu bar is hidden.<br />
    The menu bar is the toolbar at the top that shows menu items like File, Edit, View, History, Bookmarks, Tools, Help.<br />
    You can press the F10 key or tap the Alt key to bring up the "Menu Bar" temporarily in case this bar is hidden (View > Toolbars or Firefox > Options).
    The Navigation Toolbar shows the Back and forward button and the input field where you type the address of a site that you want to visit (aka location bar) and also has a search bar where you can type items that you want to look up with a search engine (Google).
    See also:
    *https://support.mozilla.org/kb/how-do-i-get-firefox-button
    *https://support.mozilla.org/kb/Menu+bar+is+missing
    *https://support.mozilla.org/kb/Browsing+basics
    *https://support.mozilla.org/kb/Tabbed+browsing
    You can attach a screenshot in case you still have problems with the toolbars to show what you want to change.
    *http://en.wikipedia.org/wiki/Screenshot
    *https://support.mozilla.org/kb/how-do-i-create-screenshot-my-problem
    Use a compressed image type like PNG or JPG to save the screenshot.

  • DIM-00035 You have entered and invlaid option for the -EDIT command

    Hi Experts,
    I am creating oracle instance using oradim utility. I am using oracle 9.2 on windows 2003 server.
    I have installed oracle 9.2 and created ORCL database as part of installation. Now I have deleted ORCL database using DBCA. Now I try to create a new DB instance.
    I ran the below command:
    c:\>oradim -NEW -SID <sidname> -SRVC OracleService<SID> -INITPWD <password> -pfile <pfilepath>
    I am getting the below error:
    DIM-00035 You have entered and invlaid option for the -EDIT command
    Please help me why I am getting this error even though I am creating new service.
    Thanks.

    The definition for INITPWD is:
    -INTPWD password is the password for the new instance. This is the password for the user logged in with SYSDBA privileges. Option -INTPWD is not required. If you do not specify it, then operating system authentication is used, and no password is required.
    The passwords for SYS and SYSTEM are created later - when the database itself is created. Nevertheless the error message is strange, there is no -EDIT option in the command. Moreover -NEW and -EDIT are mutually exclusive.
    Werner

  • I am using Photoshop CC2014 15.00.  In the pop-up menu for the Fill command there is a place for Scripted patterns.  Within that part, the tree and the picture frame are grayed. Why?   I've seen demonstrations on how to use the feature but mine doesn't wo

    I am using Photoshop CC2014 15.00.  In the pop-up menu for the Fill command there is a place for Scripted patterns.  Within that part, the tree and the picture frame are grayed.
    Why?   I've seen demonstrations on how to use the feature but mine doesn't work.  I checked the updates and I have the current version.
    Thanks.      LM

    I am running CC 2014.2.1 and I've updated to Yosemite. Not seeing tree or frame as an option in the menu. Coworker still on Mavericks has it.

  • Touch typing/ergonomics: which fingers for the apple (command) key?

    I've been using Apples since I started using computers in the early nineties, but I only recently learned to touch type.
    On the PCs I have in the lab I use my little finger for the control key.
    Which fingers work best for the apple/command keys?
    I've looked on the web to no avail.

    Hi!
    I use my middle finger for the apple control key. I usually have my fingers on the touchpad about the time I want to use the apple key. I am a strange touch typer, however.
    Really, it is all based on what YOU are comfortable with. If you find it ackward, if 1,000,000 people say its right, its still wrong. Experiment.
    Touch typing is one of those beautiful, adjustable skills.
    Once you find one that is comfortable, just make certain that you keep doing the same thing, or you won't learn the keys perfectly.
    Good luck!

  • HT2188 list of software versions for the different iphone models

    where can i find a list of software versions for the different iphone models?

    Wikipedia has a list of the original and current iOS for each device
    http://en.wikipedia.org/wiki/List_of_iOS_devices

  • Sending Multiple response for a request

    Hi,
    I have a HTML form and have used a post method to send the details in the form to my web service. Inside my web service, I perform a validation with the data received and send back a error message if the data received is not proper.
    Suppose if the data is proper, I am querying a database and after all the processing is done,I am invoking a URL.
    I just want to know a couple of things.
    1.) In case the input data to my web service is fine, can I send back a response saying that the data receieved is proper and then continue with the other processing like querying the DB for the same request? I need to do the actual process also and then invoke a url in the end.
    2.) If not, in case the input data is proper and after all the processing is done, can I inovke the url by using sendRedirect func of the response object and also finally return the status for that particular request?
    Eg: public String FuncA(){
    //Some processing with input data
    try{
    servletResponse.sendRedirect(URL);
    return "Successfull"
    Will the above one work? Like am invoking a URl using redirect and then finally am returning a message back. Will both the things together work? Both the url to which it is returned as well as the url given in the redirectmethod() is different.
    Please provide some inputs.
    Thanks in advance.

    Hi,
    I am using REST webservice. Also, currently there is no session being maintained or any request object. Currently, the input to the webservice will be obtained as a string value. After some processing with the input, I have to invoke the URl as well return a message to the one that calls this webservice.

  • Hs_err_pid3108 error pls help me its really been there for a year now =(

    Here is the complete error file:
    # An unexpected error has been detected by Java Runtime Environment:
    # EXCEPTION_ACCESS_VIOLATION (0xc0000005) at pc=0x2309cfa0, pid=3108, tid=2896
    # Java VM: Java HotSpot(TM) Client VM (1.6.0_01-b06 mixed mode, sharing)
    # Problematic frame:
    # C 0x2309cfa0
    # If you would like to submit a bug report, please visit:
    # http://java.sun.com/webapps/bugreport/crash.jsp
    --------------- T H R E A D ---------------
    Current thread (0x07c48000): JavaThread "Thread-10" daemon [_thread_in_Java, id=2896]
    siginfo: ExceptionCode=0xc0000005, writing address 0x385d0800
    Registers:
    EAX=0x001f0900, EBX=0x00000109, ECX=0x2309cf98, EDX=0x0000dc00
    ESP=0x0a33ebb0, EBP=0x0a33f008, ESI=0x0000dc00, EDI=0x00000135
    EIP=0x2309cfa0, EFLAGS=0x00210246
    Top of Stack: (sp=0x0a33ebb0)
    0x0a33ebb0: 00000000 00000000 00000135 00000135
    0x0a33ebc0: 001f0900 001f0900 0000013d 10c50000
    0x0a33ebd0: 01590005 00730000 0000006e ffff6187
    0x0a33ebe0: 000030c3 ffff6187 00000083 ffff5e51
    0x0a33ebf0: 000006bc ffff5e51 ffff8000 0001c000
    0x0a33ec00: ffff8000 00000073 00000071 0f460000
    0x0a33ec10: 017c3332 01480000 01480000 0b0f8000
    0x0a33ec20: 0b0f8000 00000000 0b0f8000 00000002
    Instructions: (pc=0x2309cfa0)
    0x2309cf90: 01 00 00 00 ac 0a 00 00 01 00 00 00 88 e3 72 2b
    0x2309cfa0: 01 9c 02 00 23 3d 38 00 23 3d 38 00 23 3d 38 00
    Stack: [0x0a240000,0x0a340000), sp=0x0a33ebb0, free space=1018k
    Native frames: (J=compiled Java code, j=interpreted, Vv=VM code, C=native code)
    C 0x2309cfa0
    J ea.k(I)V
    J ea.a(ZZI)V
    J ea.a(IIIIIIIII)V
    J qb.a(Lse;Z)V
    J qb.a(IIIIII)V
    J pf.a(I)V
    J lb.b(B)V
    J client.a(I)V
    J v.g(I)V
    J v.run()V
    j java.lang.Thread.run()V+11
    v ~StubRoutines::call_stub
    --------------- P R O C E S S ---------------
    Java Threads: ( => current thread )
    0x0aad9400 JavaThread "Thread-16" daemon [_thread_blocked, id=2004]
    0x08994800 JavaThread "Thread-15" daemon [_thread_blocked, id=3856]
    0x089ae400 JavaThread "Thread-14" daemon [_thread_blocked, id=3464]
    0x08964000 JavaThread "Java Sound Event Dispatcher" daemon [_thread_blocked, id=3760]
    0x0899e000 JavaThread "Thread-11" daemon [_thread_blocked, id=404]
    =>0x07c48000 JavaThread "Thread-10" daemon [_thread_in_Java, id=2896]
    0x08adbc00 JavaThread "Thread-9" daemon [_thread_blocked, id=1592]
    0x0894bc00 JavaThread "AWT-EventQueue-2" [_thread_in_native, id=3192]
    0x08ae5c00 JavaThread "thread applet-loader.class" [_thread_blocked, id=3276]
    0x0894ac00 JavaThread "AWT-EventQueue-0" [_thread_blocked, id=3256]
    0x08946400 JavaThread "AWT-Shutdown" [_thread_blocked, id=2888]
    0x08940400 JavaThread "CacheCleanUpThread" daemon [_thread_blocked, id=3004]
    0x07d32c00 JavaThread "traceMsgQueueThread" daemon [_thread_blocked, id=3712]
    0x07d26400 JavaThread "AWT-Windows" daemon [_thread_in_native, id=3568]
    0x07d24400 JavaThread "Java2D Disposer" daemon [_thread_blocked, id=3092]
    0x07c70400 JavaThread "Low Memory Detector" daemon [_thread_blocked, id=3348]
    0x07c6b800 JavaThread "CompilerThread0" daemon [_thread_blocked, id=3596]
    0x07c6a400 JavaThread "Attach Listener" daemon [_thread_blocked, id=2756]
    0x07c69400 JavaThread "Signal Dispatcher" daemon [_thread_blocked, id=2764]
    0x07c65000 JavaThread "Finalizer" daemon [_thread_blocked, id=2460]
    0x07c60800 JavaThread "Reference Handler" daemon [_thread_blocked, id=3616]
    0x02949c00 JavaThread "main" [_thread_in_native, id=2308]
    Other Threads:
    0x07c57400 VMThread [id=3600]
    0x07c8ac00 WatcherThread [id=1144]
    VM state:not at safepoint (normal execution)
    VM Mutex/Monitor currently owned by a thread: None
    Heap
    def new generation total 6080K, used 4552K [0x20960000, 0x20ff0000, 0x210c0000)
    eden space 5440K, 73% used [0x20960000, 0x20d442e8, 0x20eb0000)
    from space 640K, 88% used [0x20f50000, 0x20fde068, 0x20ff0000)
    to space 640K, 0% used [0x20eb0000, 0x20eb0000, 0x20f50000)
    tenured generation total 80140K, used 69910K [0x210c0000, 0x25f03000, 0x26960000)
    the space 80140K, 87% used [0x210c0000, 0x25505930, 0x25505a00, 0x25f03000)
    compacting perm gen total 12288K, used 4386K [0x26960000, 0x27560000, 0x2a960000)
    the space 12288K, 35% used [0x26960000, 0x26da8998, 0x26da8a00, 0x27560000)
    ro space 8192K, 62% used [0x2a960000, 0x2ae5e4e8, 0x2ae5e600, 0x2b160000)
    rw space 12288K, 52% used [0x2b160000, 0x2b7a0e78, 0x2b7a1000, 0x2bd60000)
    Dynamic libraries:
    0x00400000 - 0x0049a000      C:\Program Files\Internet Explorer\iexplore.exe
    0x7c900000 - 0x7c9b6000      C:\WINDOWS\system32\ntdll.dll
    0x7c800000 - 0x7c8fe000      C:\WINDOWS\system32\kernel32.dll
    0x77f40000 - 0x77feb000      C:\WINDOWS\system32\ADVAPI32.dll
    0x77da0000 - 0x77e31000      C:\WINDOWS\system32\RPCRT4.dll
    0x77e40000 - 0x77e87000      C:\WINDOWS\system32\GDI32.dll
    0x7e390000 - 0x7e420000      C:\WINDOWS\system32\USER32.dll
    0x77be0000 - 0x77c38000      C:\WINDOWS\system32\msvcrt.dll
    0x00330000 - 0x003a6000      C:\WINDOWS\system32\SHLWAPI.dll
    0x7c9c0000 - 0x7d1e0000      C:\WINDOWS\system32\SHELL32.dll
    0x774a0000 - 0x775dd000      C:\WINDOWS\system32\ole32.dll
    0x61410000 - 0x61531000      C:\WINDOWS\system32\urlmon.dll
    0x770e0000 - 0x7716c000      C:\WINDOWS\system32\OLEAUT32.dll
    0x5dca0000 - 0x5dce4000      C:\WINDOWS\system32\iertutil.dll
    0x77bd0000 - 0x77bd8000      C:\WINDOWS\system32\VERSION.dll
    0x76330000 - 0x7634d000      C:\WINDOWS\system32\IMM32.DLL
    0x77390000 - 0x77493000      C:\WINDOWS\WinSxS\x86_Microsoft.Windows.Common-Controls_6595b64144ccf1df_6.0.2600.2982_x-ww_ac3f9c03\comctl32.dll
    0x5d4e0000 - 0x5d57a000      C:\WINDOWS\system32\comctl32.dll
    0x00a40000 - 0x00fe6000      C:\WINDOWS\system32\IEFRAME.dll
    0x76bb0000 - 0x76bbb000      C:\WINDOWS\system32\PSAPI.DLL
    0x771b0000 - 0x7727c000      C:\WINDOWS\system32\WININET.dll
    0x009a0000 - 0x009a9000      C:\WINDOWS\system32\Normaliz.dll
    0x5b190000 - 0x5b1c8000      C:\WINDOWS\system32\UxTheme.dll
    0x754d0000 - 0x75578000      C:\WINDOWS\system32\RASDLG.dll
    0x76d00000 - 0x76d18000      C:\WINDOWS\system32\MPRAPI.dll
    0x77c90000 - 0x77cc2000      C:\WINDOWS\system32\ACTIVEDS.dll
    0x76dd0000 - 0x76df5000      C:\WINDOWS\system32\adsldpc.dll
    0x6ff20000 - 0x6ff74000      C:\WINDOWS\system32\NETAPI32.dll
    0x76f20000 - 0x76f4d000      C:\WINDOWS\system32\WLDAP32.dll
    0x76ad0000 - 0x76ae1000      C:\WINDOWS\system32\ATL.DLL
    0x76e40000 - 0x76e4e000      C:\WINDOWS\system32\rtutils.dll
    0x71b80000 - 0x71b93000      C:\WINDOWS\system32\SAMLIB.dll
    0x778e0000 - 0x779d7000      C:\WINDOWS\system32\SETUPAPI.dll
    0x76ea0000 - 0x76edc000      C:\WINDOWS\system32\RASAPI32.dll
    0x76e50000 - 0x76e62000      C:\WINDOWS\system32\rasman.dll
    0x71a30000 - 0x71a47000      C:\WINDOWS\system32\WS2_32.dll
    0x71a20000 - 0x71a28000      C:\WINDOWS\system32\WS2HELP.dll
    0x76e70000 - 0x76e9f000      C:\WINDOWS\system32\TAPI32.dll
    0x76af0000 - 0x76b1e000      C:\WINDOWS\system32\WINMM.dll
    0x746a0000 - 0x746eb000      C:\WINDOWS\system32\MSCTF.dll
    0x20000000 - 0x202d5000      C:\WINDOWS\system32\xpsp2res.dll
    0x77b00000 - 0x77b22000      C:\WINDOWS\system32\apphelp.dll
    0x75250000 - 0x7527e000      C:\WINDOWS\system32\msctfime.ime
    0x5dff0000 - 0x5e01e000      C:\WINDOWS\system32\IEUI.dll
    0x76320000 - 0x76325000      C:\WINDOWS\system32\MSIMG32.dll
    0x4eb80000 - 0x4ed23000      C:\WINDOWS\WinSxS\x86_Microsoft.Windows.GdiPlus_6595b64144ccf1df_1.0.2600.2180_x-ww_522f9f82\gdiplus.dll
    0x47060000 - 0x47081000      C:\WINDOWS\system32\xmllite.dll
    0x76f90000 - 0x7700f000      C:\WINDOWS\system32\CLBCATQ.DLL
    0x77010000 - 0x770dd000      C:\WINDOWS\system32\COMRes.dll
    0x74670000 - 0x7469a000      C:\WINDOWS\System32\msimtf.dll
    0x77f10000 - 0x77f21000      C:\WINDOWS\system32\Secur32.dll
    0x60a30000 - 0x60a39000      C:\WINDOWS\system32\mslbui.dll
    0x779e0000 - 0x77a36000      C:\WINDOWS\System32\cscui.dll
    0x765a0000 - 0x765bd000      C:\WINDOWS\System32\CSCDLL.dll
    0x325c0000 - 0x325d2000      C:\Program Files\Microsoft Office\OFFICE11\msohev.dll
    0x61930000 - 0x61979000      C:\Program Files\Internet Explorer\ieproxy.dll
    0x7d1f0000 - 0x7d4ae000      C:\WINDOWS\system32\msi.dll
    0x75e30000 - 0x75ee0000      C:\WINDOWS\system32\SXS.DLL
    0x75d40000 - 0x75dd1000      C:\WINDOWS\system32\MLANG.dll
    0x10000000 - 0x1000e000      C:\Program Files\Adobe\Acrobat 7.0\ActiveX\AcroIEHelper.dll
    0x7c340000 - 0x7c396000      C:\WINDOWS\system32\MSVCR71.dll
    0x02950000 - 0x0296b000      C:\WINDOWS\system32\dla\tfswshx.dll
    0x02970000 - 0x0297f000      C:\WINDOWS\system32\tfswapi.dll
    0x029e0000 - 0x02a7b000      C:\WINDOWS\system32\dla\tfswcres.dll
    0x6d7c0000 - 0x6d839000      C:\Program Files\Java\jre1.6.0_01\bin\ssv.dll
    0x719d0000 - 0x71a10000      C:\WINDOWS\system32\mswsock.dll
    0x61200000 - 0x61259000      C:\WINDOWS\system32\hnetcfg.dll
    0x71a10000 - 0x71a18000      C:\WINDOWS\System32\wshtcpip.dll
    0x76970000 - 0x76a24000      C:\WINDOWS\system32\USERENV.dll
    0x77c40000 - 0x77c63000      C:\WINDOWS\system32\msv1_0.dll
    0x76d20000 - 0x76d39000      C:\WINDOWS\system32\iphlpapi.dll
    0x71cd0000 - 0x71cec000      C:\WINDOWS\system32\actxprxy.dll
    0x72240000 - 0x72245000      C:\WINDOWS\system32\sensapi.dll
    0x76f80000 - 0x76f86000      C:\WINDOWS\system32\rasadhlp.dll
    0x76ee0000 - 0x76f07000      C:\WINDOWS\system32\DNSAPI.dll
    0x7e830000 - 0x7eb8c000      C:\WINDOWS\system32\mshtml.dll
    0x03000000 - 0x03029000      C:\WINDOWS\system32\msls31.dll
    0x72ea0000 - 0x72f00000      C:\WINDOWS\system32\ieapfltr.dll
    0x76bf0000 - 0x76c1e000      C:\WINDOWS\system32\WINTRUST.dll
    0x77a40000 - 0x77ad5000      C:\WINDOWS\system32\CRYPT32.dll
    0x77ae0000 - 0x77af2000      C:\WINDOWS\system32\MSASN1.dll
    0x76c50000 - 0x76c78000      C:\WINDOWS\system32\IMAGEHLP.dll
    0x77650000 - 0x77671000      C:\WINDOWS\system32\NTMARTA.DLL
    0x63380000 - 0x633f7000      C:\WINDOWS\System32\jscript.dll
    0x58760000 - 0x58792000      C:\WINDOWS\system32\iepeers.dll
    0x72f70000 - 0x72f96000      C:\WINDOWS\system32\WINSPOOL.DRV
    0x76200000 - 0x76276000      C:\WINDOWS\system32\mshtmled.dll
    0x1b000000 - 0x1b00c000      C:\WINDOWS\system32\ImgUtil.dll
    0x1b060000 - 0x1b06e000      C:\WINDOWS\system32\pngfilt.dll
    0x72c90000 - 0x72c99000      C:\WINDOWS\system32\wdmaud.drv
    0x72c80000 - 0x72c88000      C:\WINDOWS\system32\msacm32.drv
    0x77bb0000 - 0x77bc5000      C:\WINDOWS\system32\MSACM32.dll
    0x77ba0000 - 0x77ba7000      C:\WINDOWS\system32\midimap.dll
    0x74900000 - 0x74a0e000      C:\WINDOWS\System32\msxml3.dll
    0x767a0000 - 0x767c7000      C:\WINDOWS\system32\schannel.dll
    0x0ffd0000 - 0x0fff8000      C:\WINDOWS\system32\rsaenh.dll
    0x68100000 - 0x68124000      C:\WINDOWS\system32\dssenh.dll
    0x74d10000 - 0x74d7b000      C:\WINDOWS\system32\USP10.dll
    0x6d6b0000 - 0x6d6d1000      C:\Program Files\Java\jre1.6.0_01\bin\npjpi160_01.dll
    0x6d4a0000 - 0x6d4bb000      C:\Program Files\Java\jre1.6.0_01\bin\jpiexp.dll
    0x6d250000 - 0x6d261000      C:\Program Files\Java\jre1.6.0_01\bin\deploy.dll
    0x71a50000 - 0x71a5a000      C:\WINDOWS\system32\wsock32.dll
    0x76f70000 - 0x76f78000      C:\WINDOWS\System32\winrnr.dll
    0x6d4f0000 - 0x6d514000      C:\Program Files\Java\jre1.6.0_01\bin\jpishare.dll
    0x05960000 - 0x05ba7000      C:\PROGRA~1\Java\JRE16~1.0_0\bin\client\jvm.dll
    0x6d310000 - 0x6d318000      C:\PROGRA~1\Java\JRE16~1.0_0\bin\hpi.dll
    0x6d770000 - 0x6d77c000      C:\PROGRA~1\Java\JRE16~1.0_0\bin\verify.dll
    0x6d3b0000 - 0x6d3cf000      C:\PROGRA~1\Java\JRE16~1.0_0\bin\java.dll
    0x6d7b0000 - 0x6d7bf000      C:\PROGRA~1\Java\JRE16~1.0_0\bin\zip.dll
    0x6d000000 - 0x6d1c3000      C:\Program Files\Java\jre1.6.0_01\bin\awt.dll
    0x736d0000 - 0x73719000      C:\WINDOWS\system32\ddraw.dll
    0x73b30000 - 0x73b36000      C:\WINDOWS\system32\DCIMAN32.dll
    0x6d2b0000 - 0x6d303000      C:\Program Files\Java\jre1.6.0_01\bin\fontmanager.dll
    0x6d480000 - 0x6d498000      C:\Program Files\Java\jre1.6.0_01\bin\jpicom.dll
    0x08c40000 - 0x08c7b000      C:\Program Files\Java\jre1.6.0_01\bin\regutils.dll
    0x30000000 - 0x302ee000      C:\WINDOWS\system32\Macromed\Flash\Flash9b.ocx
    0x76350000 - 0x7639a000      C:\WINDOWS\system32\comdlg32.dll
    0x69000000 - 0x6900e000      C:\WINDOWS\system32\Macromed\Common\SwSupport.dll
    0x6d570000 - 0x6d583000      C:\Program Files\Java\jre1.6.0_01\bin\net.dll
    0x6d220000 - 0x6d243000      C:\Program Files\Java\jre1.6.0_01\bin\dcpr.dll
    0x6d940000 - 0x6d94a000      C:\WINDOWS\System32\ddrawex.dll
    0x6d760000 - 0x6d76f000      C:\Program Files\Java\jre1.6.0_01\bin\unpack.dll
    0x6d590000 - 0x6d599000      C:\Program Files\Java\jre1.6.0_01\bin\nio.dll
    0x6d520000 - 0x6d544000      C:\Program Files\Java\jre1.6.0_01\bin\jsound.dll
    0x6d550000 - 0x6d558000      C:\Program Files\Java\jre1.6.0_01\bin\jsoundds.dll
    0x73e80000 - 0x73edc000      C:\WINDOWS\system32\DSOUND.dll
    0x73e50000 - 0x73e54000      C:\WINDOWS\system32\KsUser.dll
    0x6d450000 - 0x6d474000      C:\Program Files\Java\jre1.6.0_01\bin\jpeg.dll
    VM Arguments:
    jvm_args: -Xbootclasspath/a:C:\PROGRA~1\Java\JRE16~1.0_0\lib\deploy.jar;C:\PROGRA~1\Java\JRE16~1.0_0\lib\plugin.jar -Xmx96m -Djavaplugin.maxHeapSize=96m -Xverify:remote -Djavaplugin.version=1.6.0_01 -Djavaplugin.nodotversion=160_01 -Dbrowser=sun.plugin -DtrustProxy=true -Dapplication.home=C:\PROGRA~1\Java\JRE16~1.0_0 -Djavaplugin.vm.options=-Djava.class.path=C:\PROGRA~1\Java\JRE16~1.0_0\classes -Xbootclasspath/a:C:\PROGRA~1\Java\JRE16~1.0_0\lib\deploy.jar;C:\PROGRA~1\Java\JRE16~1.0_0\lib\plugin.jar -Xmx96m -Djavaplugin.maxHeapSize=96m -Xverify:remote -Djavaplugin.version=1.6.0_01 -Djavaplugin.nodotversion=160_01 -Dbrowser=sun.plugin -DtrustProxy=true -Dapplication.home=C:\PROGRA~1\Java\JRE16~1.0_0
    java_command: <unknown>
    Launcher Type: generic
    Environment Variables:
    CLASSPATH=.;
    PATH=C:\PROGRA~1\Java\JRE16~1.0_0\bin;C:\Program Files\Internet Explorer;;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\Program Files\Sonic\MyDVD;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\PROGRA~1\Sonic\MyDVD;;C:\DESKJET;.
    USERNAME=Giel
    OS=Windows_NT
    PROCESSOR_IDENTIFIER=x86 Family 15 Model 2 Stepping 9, GenuineIntel
    --------------- S Y S T E M ---------------
    OS: Windows XP Build 2600 Service Pack 2
    CPU:total 1 family 15, cmov, cx8, fxsr, mmx, sse, sse2
    Memory: 4k page, physical 523808k(60484k free), swap 1228812k(801124k free)
    vm_info: Java HotSpot(TM) Client VM (1.6.0_01-b06) for windows-x86, built on Mar 14 2007 00:24:02 by "java_re" with unknown MS VC++:1310
    Thanks for your help, it would be really nice if annyone could help me out here. I am encountering this problem for more then a year now, and nothing has been able to fix it. pls help me

    The stack trace from the hs_err log doesn't provide a ton of info on this. I would try running with the server compiler (add the option '-server' to your command line) to see if this is due to something in the client compiler. Aside from that, look at the Java SE 6 troubleshooting guide, it has a number of tips for getting more information:
    http://java.sun.com/javase/6/webnotes/trouble/index.html
    Best of all, if you have a (hopefully small) reproducible test case that you can provide to us (Sun), then please file a bug.

  • Please help: DataInputStream doesn't return response for remote device

    Hi all,
    Please advise what is my mistake.
    I am about to send a command to and get respond from my embedded kit (Arduino Wiznet Wifi Kit)
    I can send command and get respond through a Telnet.
    But i can only send command but not getting respond if i am about to write a java program to do the same thing with socket programming.
    Below is my code, please advise for my mistake.
    Many thanks!
    public static void startTCPCommunication(String ip) throws UnknownHostException, IOException{
         InetAddress thoseIp = InetAddress.getByName(ip);
         // IO streams
         DataOutputStream toServer;
         DataInputStream fromServer;
         String entered=""; // Declare & initialize a String to hold input.
         Scanner input=new Scanner(System.in); // Decl. & init. a Scanner.
         try {
              System.out.println("Socket created");
              Socket socket = new Socket(ip, 5000);
              // Create an input stream to receive data from the server
              fromServer = new DataInputStream(socket.getInputStream());
              // Create an output stream to send data to the server
              toServer = new DataOutputStream(socket.getOutputStream());
              while(true){
                   System.out.println("Please enter : ");
                   entered=input.nextLine(); // Get what the user types.
                   // Then say something trollish and use their name.
                   System.out.println("You have entered : " + entered + "!");
                   // Send the command to the server
                   toServer.writeUTF(entered);
                   System.out.println("Done with Send");
    // Get the response from server
                   String response = fromServer.readUTF();
                   System.out.println("Retruned : " + response);
         catch (IOException ex) {
         System.out.println("Unable to create socket.");
    The returned result only reaches System.out.println("Done with Send");
    The function stucked and not going to loop for second time.
    Please advise how can i modify my code and pin point my mistake please.
    Thanks a lot!

                       // Send the command to the server
                       toServer.writeUTF(entered);
                       System.out.println("Done with Send");
    // Get the response from server
                       String response = fromServer.readUTF();
                       System.out.println("Retruned : " + response);Check the Javadoc. writeUTF() doesn't send anything a Telnet server will understand, and a Telnet doesn't send anything that readUTF() will understand. They only understand each other. Use write(), and append a newline.

Maybe you are looking for