Trying to read from a socket character by character

Hi all,
I have a problem with reading from a socket character by character. In the code shown below I try and read each character, and then write it to a file. The information sent to a socket sent from a file, and EOF is marked with character of ascii code 28 (file separator). However using BufferedReader.read() I get -1 forever. Is it reading only the last character to have been sent to the socket?
As a side note, if I use readLine() (making sure the socket is sent a newline at end of msg) I can get the message fine. However, I want to be able to receive a message with 0 or many newlines in it (basically contents of a text file), so I want to avoid the readLine() method.
Any help at all is appreciated,
Colm
CODE SNIPPET:
try
serverSocket = new ServerSocket(listenToPort);
System.out.println("Server waiting for client on port " + serverSocket.getLocalPort());
while(true)
inSocket = serverSocket.accept();
System.out.println("New connection accepted " + inSocket.getInetAddress() + ":" + inSocket.getPort());
input = new BufferedReader(new InputStreamReader(inSocket.getInputStream()));
fileOutput = new BufferedWriter(new FileWriter(outputFilename));
System.out.println("Ready to write to file: " + outputFilename);
//receive each character and output it to file until file separator arrives
while(!eof)
inCharBuf = input.read();
System.out.print(inCharBuf);
//check for file separator (ASCII code 28)
if (inCharBuf == 28) eof = true;
//inChar = (char) inCharBuf;
fileOutput.write(inCharBuf);
System.out.println("Finished writing to file: " + outputFilename);
inSocket.close();
catch (IOException e)
System.out.println("IO Error with serverSocket: " + e);
System.exit(-1);
}(tabbing removed as it was messing up formatting)

My guess is that the code that is writing to the
socket did not flush it. You said in one case you
could read it (via readln) if the writer was writing
lines (writeln flushes, I believe). Are you writing
the exact same data to the socket in both tests?woo hoo, I hadn't flushed the buffers alright!
for anyone with similar problems, I was missing this from my write-to-socket method:
output.flush();
where output was the BufferedWriter I had created to write to the socket.
Thanks a lot for pointing it out!
Colm

Similar Messages

  • When I try to install Itunes, I get this error: (translated from Norwegian) There was a network error while trying to read from the file: C: \ windows \ installer \ iTunes.msi I have tried many times to reinstall, but nothing helps, please help me.

    When I try to install Itunes, I get this error: (translated from Norwegian) There was a network error while trying to read from the file: C: \ windows \ installer \ iTunes.msi I have tried many times to reinstall, but nothing helps, please help me.

    (1) Download the Windows Installer CleanUp utility installer file (msicuu2.exe) from the following Major Geeks page (use one of the links under the "DOWNLOAD LOCATIONS" thingy on the Major Geeks page):
    http://majorgeeks.com/download.php?det=4459
    (2) Doubleclick the msicuu2.exe file and follow the prompts to install the Windows Installer CleanUp utility. (If you're on a Windows Vista or Windows 7 system and you get a Code 800A0046 error message when doubleclicking the msicuu2.exe file, try instead right-clicking on the msicuu2.exe file and selecting "Run as administrator".)
    (3) In your Start menu click All Programs and then click Windows Install Clean Up. The Windows Installer CleanUp utility window appears, listing software that is currently installed on your computer.
    (4) In the list of programs that appears in CleanUp, select any iTunes entries and click "Remove", as per the following screenshot:
    (5) Quit out of CleanUp, restart the PC and try another iTunes install. Does it go through properly this time?

  • Sockets: How do I know how much I can read from a socket?

    Hi everyone,
    I've opened a socket connection to a cisco router and want to read some of its databases. These are the main part of my code:
    Socket so = new Socket(routerIP, routerPort);
    BufferedReader br = new BufferedReader(
    new InputStreamReader(so.getInputStream()));
    BufferedWriter bw = new BufferedWriter(
    new OutputStreamWriter(so.getOutputStream()));
    // user/password entered.
    bw.write("show ip alias\r\n");
    bw.flush();
    while ((in = br.readLine()) != null) {
    System.out.println(in);
    so.close();
    The problem occurs in the "while" loop at the end of the code. The last line that the router is sending doesn't have a \r\n at the end and therefore my readLine command waits indefinitly.
    Well, I guess I can change that command with a simple read but still it won't be general. I'm looking for a command like "available" in socketImpl that tells me the number of bytes that I can read from the server beforehand.
    Any solutions?????????????
    Thanks,
    Ali.

    Ok, that much I know from the router. It supports
    telnet. So, basically if a telnet client can tell when
    it has read all the data coming from the router and
    when it has to wait for user to input the data, I have
    to be able to do so too.Hi, telnet does not know that it has read all the data coming from the router or from you; It waits for data from both sources (the router and you), and then retransmits that data to (you or the router respectively.)
    telnet must be sending and receiving data byte by byte
    cause what we type is displayed on the screen if the
    server echos the characters back to the client.
    Any suggestions, anyone knows of a simple telnet
    source?True. In particular, telnet does not care whether there is any carriage return or linefeed characters. It just retransmits whatever it gets from the source to the destination, except that it looks for particular escape sequences from the data source, such as the sequence for shutting out echo when you enter passwords.
    In your case, I am not sure what you want to achieve. I think you are trying to find the end-of-data but the end-of-data is not unambiguously terminated by an end-of-line. Maybe you need to find some other character or even strings for that purpose. You may even need to process the whole data received in order to determine the end of it.
    However, if you just want just that answer from the router and no more, you can send your logout after your query, so that after the router replies your queries, it also closes the connection and your BufferedReader.readLine() will return.

  • Reading from a socket that requires an EOF.

    I'm trying to send a request and get a response from a socket.
    The server only seems to send the response once it gets an EOF. The only way I can seem to get an EOF is to close my output stream. However, when I close my output stream before reading from the input stream I get a "java.net.SocketException: Socket closed" exception.
    Is there a way to send an EOF signal in the output stream? Am I doing something wrong?
            Socket sock = new Socket(this.getHost(), this.getPort());
            DataOutputStream os = new DataOutputStream(sock.getOutputStream());       
            DataInputStream is = new DataInputStream(sock.getInputStream());
            BufferedReader reader = new BufferedReader(new InputStreamReader(is, "UTF-8"));
            String responseString = new String();
            if (sock != null && os != null && is != null) {
                os.writeBytes(request);
                String responseLine;
                while ((responseLine = reader.readLine()) != null) {
                    responseString += responseLine;
            } //endif
            os.close();
            is.close();
            sock.close();

    Thanks for the reply. Is there no way around that? I don't have direct control over the server.
    I don't understand why I can't close the socket's input stream and still read from its output stream.
    Edited by: philgmo on Feb 18, 2008 3:20 PM

  • How to get server data without reading from the socket stream?

    My socket client checks for server messages through
                while (isRunning) { //listen for server events
                    try {
                            Object o = readObject(socket); //wait for server message
                                tellListeners(socket, o);
                    } catch (Exception e) {
                        System.err.println("ERROR SocketClient: "+e);
                        e.printStackTrace();
                    try { sleep(1000); } catch (InterruptedException ie) { /* ignore */ }
                }//next client connectionwith readObject() being
        public Object readObject(Socket socket) throws ClassNotFoundException, IOException {
            Object result = null;
    System.out.println("readObject("+socket+") ...");
            if (socket != null && socket.isConnected()) {
    //            ObjectInputStream ois = new ObjectInputStream(socket.getInputStream());
                ObjectInputStream ois = new ObjectInputStream(new DataInputStream(socket.getInputStream()));
                try {
                    result = ois.readObject();
                } finally {
    //                socket.shutdownInput(); //closing of ois also closes socket!
        //            try { ois.close(); } catch (IOException ioe) { /* ignore */ }
            return result;
        }//readObject()Why does ois.readObject() block? I get problems with this as the main while loop (above) calls readObject() as it's the only way to get server messages. But if i want to implement a synchronous call in adition to this asynchronous architecture (call listeners), the readObject() call of the synchronous method comes to late as readObject() call of the main loop got called before and therefore also gets the result of the (later) synchronous call.
    I tried fideling around with some state variables, but that's ugly and probably not thread safe. I'm looking for another solution to check messages from the server without reading data from the stream. is this possible?

    A quick fix:
    - Add a response code at the beginning of each message returned from the server indicating if the message is a synchronous response or a callback (asynch);
    - Read all messages returned from the server in one thread and copy callback messages in a calback message queue and the synch responses in an synch responses queue;
    - Modify your synchronous invocation to retrieve the response from the responses queue instead from the socket. Read the callback messages from the corresponding queue instead from the socket.
    Also take a look at my website. I'm implementing an upgraded version of this idea.
    Catalin Merfu
    High Performance Java Networking
    http://www.accendia.com

  • Error when trying to read from a dictionary

    Hi there, I am trying to retrieve a piece of information using the 'get an item from a dictionary' action.  
    I've set up the action to read from a dictionary which stores information just retrieved using the call http web service action, but now I need an item in that dictionary.  I've parsed through the string returned from the http call and noticed that
    the information I want is under the route 'value/modified' which is what I entered, only without the single quotes...
    but my workflow gets suspended and following is the error message I get:
    RequestorId: 0de36620-da97-6e20-0000-000000000000. Details: An unhandled exception occurred during the execution of the workflow instance. Exception details: System.InvalidOperationException: Looking up a value using a key is not supported on an instance
    of 'Microsoft.Activities.Dynamic.DynamicArray'. at Microsoft.Activities.Dynamic.DynamicItem.TryGetValue(String key, DynamicItem& value) at Microsoft.Activities.Dynamic.DynamicValueBuilder.PathSegmentFactory.ObjectPathSegment.Get(DynamicItem obj) at Microsoft.Activities.Dynamic.DynamicValueBuilder.PathSegmentFactory.ObjectPathSegment.Get(DynamicItem
    obj) at Microsoft.Activities.GetDynamicValueProperty`1.Execute(CodeActivityContext context) at System.Activities.CodeActivity`1.InternalExecute(ActivityInstance instance, ActivityExecutor executor, BookmarkManager bookmarkManager) at System.Activities.Runtime.ActivityExecutor.ExecuteActivityWorkItem.ExecuteBody(ActivityExecutor
    executor, BookmarkManager bookmarkManager, Location resultLocation) Exception from activity GetDynamicValueProperty<String> Sequence Microsoft.SharePoint.WorkflowServices.Activities.AppOnlySequence Then If Project Number Generation Sequence Flowchart
    Sequence New Project.WorkflowXaml_6f5894a5_7f8f_480f_8b7b_6cc37164f328
    I got lost somewhere along the message....but I'm seeing that DynamicValue is not supported??I must be doing something wrong...please let me know what it is...
    the uri I used:
    https://vanguardengineering.sharepoint.com/Lists/getbytitle('Client List')/items?$format=jason&$filter=Title eq [%Current Item:Client%]
    snapshot of my workflow:
    P.S. I realize now that I've posted this question in the wrong discussion board....my apologies and please move me as you see appropriate...
    thank you!
    Fan

    Use a BitTorrent client instead of a ddl (direct download link). This way it's less prone to errors, because it's checked while it's being downloaded.
    Either that, or check its MD5 against the one from the Download page.
    There's also this: https://wiki.archlinux.org/index.php/Be … ion_medium
    Note: The quality of optical drives and the discs themselves varies greatly. Generally, using a slow burn speed is recommended for reliable burns. If you are experiencing unexpected behaviour from the disc, try burning at the lowest speed supported by your burner.
    Last edited by DSpider (2012-11-16 15:13:55)

  • URL stream throws exception when trying to read from input stream

    Hi guys,
    I tried reading from an input stream which returned a 401. Actually, the server side returns 401 whenever the application server cannot fulfill the client's request, however the 401 contains a message which I will like to read.
    I have tried this with mozilla and the return message is properly displayed even at 401. How can I read this message?

    Oracle home is pointing to wrong location.When we made the change to corrent location.Then we rebuilt the jar file started the managed server it is working fine.

  • Can any1 tell me whats wrong.. trying to read from file..

    import java.io.FileReader;
    import java.io.FileWriter;
    import java.io.PrintWriter;
    import java.util.StringTokenizer;
    import java.util.Scanner;
    public class AccountClient {
        public static void main(String[] args) {
            Scanner in = new Scanner(System.in);
            Account[] accountList = new Account[10];
                  int accountNumber = 0;
                  String accountType = "";
                  String clientName = "";
                  String socialSNumber = "0";
                  double intBalance = 0;
                  double intCheck = 0;
                  double intSave = 0;
                  int theAccountNumber = 0;
                  String theAccountType = "";
                  String theClientName = "";
                  String clientSocialSNumber = "";
                  double clientIntBalance = 0;
                  double theIntCheck = 0;
                  double theIntSave = 0;
                  int counter = 0;
                  String theSpacer;
                  String x="";
            try {
                FileReader infile = new FileReader("input.txt");
                Scanner fin = new Scanner(infile);
                fin.useDelimiter("\t");
                while (fin.hasNextLine()) {
                    accountNumber = fin.nextInt();
                    accountType = fin.next();
                    clientName = fin.next();
                    socialSNumber = fin.next();
                    intBalance = fin.nextDouble();
                    intCheck = fin.nextDouble();
                    intSave = fin.nextDouble();
                    if(accountType.equalsIgnoreCase("checking") || accountType.equalsIgnoreCase("interest checking")) {
                        accountList[counter] = new CheckingAccount(accountNumber, accountType, clientName, socialSNumber, intBalance, intCheck);
                        counter ++;
                    else
                        if (accountType.equalsIgnoreCase("saving")) {
                            accountList[counter] = new SavingAccount(accountNumber, accountType, clientName, socialSNumber, intBalance, intSave);
                            counter++;
                    PrintWriter fout = new PrintWriter("output.txt");
                    for(int i = 0; i < counter; i++) {
                        theAccountNumber = accountList.getAccountNumber();
    theAccountType = accountList[i].getAccountType();
    theClientName = accountList[i].getName();;
    clientSocialSNumber = accountList[i].getSSNumber();
    clientIntBalance = accountList[i].getInitialBalance();
    if (accountType.equalsIgnoreCase("interest checking")) {
    theIntCheck = accountList[i].getIntRate();
    else
    if (accountType.equalsIgnoreCase("saving")) {
    theIntSave = fin.nextDouble();
    x = accountList[i].toString(theAccountNumber);
    theSpacer = accountList[i].space(x.length());
    fout.print(theAccountNumber + theSpacer);
    theSpacer = accountList[i].space(theAccountType.length());
    fout.print(theAccountType + theSpacer);
    theSpacer = accountList[i].space(theClientName.length());
    fout.print(theClientName + theSpacer);
    theSpacer = accountList[i].space(clientSocialSNumber.length());
    fout.print(clientSocialSNumber + theSpacer);
    x = accountList[i].toString(clientIntBalance);;
    theSpacer = accountList[i].space(x.length());
    fout.print(clientIntBalance + theSpacer);
    if (accountType.equalsIgnoreCase("interest checking")) {
    x = accountList[i].toString(theIntCheck);;
    theSpacer = accountList[i].space(x.length());
    fout.print(theIntCheck + theSpacer);
    theSpacer = accountList[i].space(3);
    fout.print("n/a" + theSpacer);
    else
    if (accountType.equalsIgnoreCase("saving")) {
    theSpacer = accountList[i].space(3);
    fout.print("n/a" + theSpacer);
    x = accountList[i].toString(theIntSave);
    theSpacer = accountList[i].space(x.length());
    fout.print(theIntSave + theSpacer);
    fout.close();
    catch (Exception e) {
    System.out.println("error"); e.printStackTrace();
    //PrintWriter fout = new PrintWriter("output.txt");

    its supposed to read from the input file and print to the output file, but right now its throwing an exception for whatever reason. when i trace it, i get this and im not sure what its telling me
    java.util.NoSuchElementException
         at java.util.Scanner.throwFor(Scanner.java:817)
         at java.util.Scanner.next(Scanner.java:1431)
         at java.util.Scanner.nextDouble(Scanner.java:2335)
         at AccountClient.main(AccountClient.java:45)
         at __SHELL5.run(__SHELL5.java:6)
         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
         at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
         at java.lang.reflect.Method.invoke(Method.java:585)
         at bluej.runtime.ExecServer$3.run(ExecServer.java:858)
    java.util.NoSuchElementException
         at java.util.Scanner.throwFor(Scanner.java:817)
         at java.util.Scanner.next(Scanner.java:1431)
         at java.util.Scanner.nextDouble(Scanner.java:2335)
         at AccountClient.main(AccountClient.java:45)
         at __SHELL6.run(__SHELL6.java:6)
         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
         at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
         at java.lang.reflect.Method.invoke(Method.java:585)
         at bluej.runtime.ExecServer$3.run(ExecServer.java:858)
    java.util.NoSuchElementException
         at java.util.Scanner.throwFor(Scanner.java:817)
         at java.util.Scanner.next(Scanner.java:1431)
         at java.util.Scanner.nextDouble(Scanner.java:2335)
         at AccountClient.main(AccountClient.java:45)
         at __SHELL7.run(__SHELL7.java:6)
         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
         at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
         at java.lang.reflect.Method.invoke(Method.java:585)
         at bluej.runtime.ExecServer$3.run(ExecServer.java:858)

  • Stop blocking read from a socket but still preserve it

    Hello, I have a thread waiting for a socket input...in case I wanted to stop it I need a way to stop blocking receive, but not something like close() or shutdownInput() because I don't want to close the socket but simply shut down the thread...any ideas?

    It sounds like you need to set a socket read timeout: see Socket.setSoTimeout(), but exiting the thread and leaving the socket to another thread doesn't sound right. Normally the thread is dedicated to looking after that socket.

  • Getting UTL FILE error trying to read from User_TUNE_MVIEW

    I am trying to set up a materialized view using the dbms_advisor.tune_mview which works and populates the user_tune_mview table. Supposedly I am supposed to be able to extract the suggested SQL from that table by
    a) logging on as sysdba and
    i) create directory MYDIR as 'C:\';
    ii) grant read,write on directory mydir to grantee (in my case aradmin)
    b) logging back on as aradmin (the user) and running,
    c)
    exec_dbms_advisor.create_file(dbms_advisor.get_task_script('TASK_Number'),
    'MYDIR','FIXME.txt');
    the last step does not work:
    instead I get a cascade of errors other people must have also encountered which are:
    ORA-29283: invalid file operation
    ORA-06512: at "SYS.UTL_FILE", line 475
    ORA-29283: invalid file operation
    ORA-06512: at "SYS.PRVT_ADVISOR", line 140
    ORA-06512: at "SYS.DBMS_ADVISOR", line 527
    ORA-06512: at line 2
    Since this is a called oracle package I am at a loss and hope that someone else ran into this and solved it.
    thanks in advance.

    What version pof the database are you using and what documentation are you reading regarding exec_dbms_advisor. I can not find anything.
    This may be related:
    Oracle Server Performance Technical Forum
    Thread Status: Active
    From: [email protected] 09-Nov-05 07:59
    Subject: Broken SQL Access Advisor
    RDBMS Version: 10.2.0.1.0
    Operating System and Version: MS Windows XP SP2
    Error Number (if applicable): ORA-13600
    Product (i.e. SQL*Loader, Import, etc.): SQL Access Advisor
    Product Version:
    Broken SQL Access Advisor
    When I try to create SQL Access Advisor task
    VARIABLE task_id NUMBER;
    VARIABLE task_name VARCHAR2(255);
    EXECUTE :task_name := 'MYTASK';
    EXECUTE DBMS_ADVISOR.CREATE_TASK ('SQL Access Advisor', :task_id, :task_name);
    I get this error
    begin DBMS_ADVISOR.CREATE_TASK ('SQL Access Advisor', :task_id, :task_name); end;
    ORA-13600: error encountered in Advisor
    ORA-13635: The value provided for parameter ADJUSTED_SCALEUP_GREEN_THRESH cannot be converted to a number.
    ORA-06512: at "SYS.PRVT_ADVISOR", line 3902
    ORA-06512: at "SYS.DBMS_ADVISOR", line 102
    ORA-06512: at line 1
    From: Joze Senegacnik 09-Nov-05 21:59
    Subject: Re : Broken SQL Access Advisor
    Ivo,
    I think you have encountered a bug. I get the same error on my 10.2. The ADJUSTED_SCALEUP_GREEN_THRESH parameter is defined in SYS.WRI$_ADV_DEF_PARAMETERS table having value 1.25. The other similar parameter OVERALL_SCALEUP_GREEN_THRESH has value of 1.5 (this one also causes a procedure crash). Both should be converted to a number type but obviously can't be. If you change their values to 1 and 2 respectively then the procedure successfully completes. Therefore I suspect that this is a bug and the best idea is to log a TAR. If you will not do it, I'll log it.
    Regards, Joze
    From: Joze Senegacnik 10-Nov-05 07:16
    Subject: Re : Broken SQL Access Advisor
    Ivo,
    Hmmmm..., in my previous post I overlooked the fact that the problem is the NLS setting for decimal point. If you set NLS_LANG=american_america.us7ascii then things work correctly. I would expect that Oracle would do a proper NLS handling inside their package.
    The other possibility is to properly set nls_numeric_characters parameter and then run your code.
    alter session set nls_numeric_characters='.,';
    Sorry for misleading information in my previous post.
    Regards, Joze
    From: [email protected] 10-Nov-05 07:24
    Subject: Re : Broken SQL Access Advisor
    That's it! There is a problem with decimal point, while we use comma (',') in Czech as decimal point, and therefore the conversion of '1.25' to number is unsuccessful...
    I'm not sure, if this a bug (looks like not-very-clever feature), if you think so, please create a TAR.
    Thanks for your help.
    From: Joze Senegacnik 10-Nov-05 07:41
    Subject: Re : Re : Broken SQL Access Advisor
    I don't consider this behaviour a bug. However, I would expect that Oracle would use proper NLS settings internally in the package.
    Regards, Joze

  • Why does the integratio​n time setting of Keithley 2000 (number of PLC) changes to medium (1PLC) from fast (10 PLC) and slow (0.1 PLC) settings, when I tried to read from Keithley?

    Dear All,
    I am trying to change the NPLC (the integration time) of Keithley 2000 and take voltage readings. Whenever I change the settings to fast or slow and then run the VI, the NPLC changes to medium. Could you kindly tell me what is causing this? Thank you and I look forward to receiving your replies.
    Regards

    For the NPLC setting, the higher the number, the longer it takes to get a reading.  So 10 PLC is much slower than 0.1 PLC. 
    See if you can set the NPLC setting from the front panel.  Then try changing the vi to set NPLC only, then read it back to see if it matches your setting.  Sometimes changing ranges will automatically set the NPLC depending on the range chosen.  So you have to send the range command before sending the NPLC command.  This may be what is happening.
    - tbob
    Inventor of the WORM Global

  • I receive an error message on HP Pavilion Dv6 when trying to read from an sdhc memory card.

    HP Pavilion Dv6 A6y00UA#ABA
    Windows 7 64-bit
    When I insert the memory card, I am presented with the scan disk message asking to scan and fix the "<memory card name> (D"  If I click on "Scan and Fix", select either one check box or both check boxes (doesn't matter) it will scan the card and close out.  When I then try to WRITE a folder to the memory card, doesn't matter which card I try, it sits there for a while thinking and then gives an error:
    "File Too Large: The file '<%1 NULL:NameDest>' is too large for the destination file system."
    If I try to read a photo from a card put there by my camera I get the message:
    You need to format the disk in drive D: before using it.
    or
    Please insert a disk into SDHC (D.
    or
    any number of random errors.
    I've updated the Intel chipset drivers, right clicked and updated the Realtek Card reader drivers using Windows Update.
    HELP!!!

    This forum is about making podcasts. The best place to ask would be in either the iTunes for Windows or iTunes for Mac forum as appropriate.

  • Web Service Task - XML Task - values are empty while trying to read from XPATH. Can someone help me on this ?

    Hi,
    I have to fetch Emp details (emp code, last name, first name ...etc) from a WSDL.
    for this i have created HTTP connection -> created Web Service Task -> created XML Tasks for those emp code, last name, first name ... etc for each -> set a
    breakpoint over post execution -> verified & found that the variables are blank though my
    results variable has some XML data generated.
    please see some screenshots as below & suggest me how to get is succeed & put the values in database table:

    Thanks a lot in advance !!! :) 
    best regards,
    Venkat

  • Access Violation when trying to read from Open Hub in BW

    Hi,
    Can someone help me out. I use BODS version 14.1.1.210. I have setup the connection to BW source and imported metadata for my OpenHub - no problem.
    Then created DTP and processchain to load Open hub data in BW.
    Made dataflow in BODS with Open Hub Tables as source and maintained processchain to be executed. When executing BODS job I get the following error:
    6800 10580 JOB 17-03-2014 13:10:34 Job <Test_OpenHub> is terminated due to error <170101>.
    6800 10580 SYS-170101 17-03-2014 13:10:34 |Session Test_OpenHub|Data flow Test Openhub
    6800 10580 SYS-170101 17-03-2014 13:10:34 System Exception <ACCESS_VIOLATION> occurred. Process dump option is off. Process is not dumped.
    6800 10580 SYS-170101 17-03-2014 13:10:34 Call stack:
    6800 10580 SYS-170101 17-03-2014 13:10:34 (null)
    6800 10580 SYS-170101 17-03-2014 13:10:34 Registers:
    6800 10580 SYS-170101 17-03-2014 13:10:34 RAX=00000000747E1648  RBX=0000000000209AB8  RCX=0000000000209AB8  RDX=0000000000000160  RSI=000000000231DAC0
    6800 10580 SYS-170101 17-03-2014 13:10:34 RDI=0000000008BEBAC0  RBP=0000000000000000  RSP=00000000002099C0  RIP=000000007477730A  FLG=0000000000010206
    6800 10580 SYS-170101 17-03-2014 13:10:34 R8=0000000000000000   R9=00000000FFFFFFFF  R10=0000000000620064  R11=0000000008C93600  R12=000000000033D390
    6800 10580 SYS-170101 17-03-2014 13:10:34 R13=0000000081D6FEC0  R14=000000000020A008  R15=000000000020A030
    6800 10580 SYS-170101 17-03-2014 13:10:34 Exception code: C0000005 ACCESS_VIOLATION
    6800 10580 SYS-170101 17-03-2014 13:10:34 Fault address:  000000007477730A 01:000000000002630A
    6800 10580 SYS-170101 17-03-2014 13:10:34 C:\Windows\WinSxS\amd64_microsoft.vc80.crt_1fc8b3b9a1e18e3b_8.0.50727.4940_none_88df89932faf0bf6\MSVCP80.dll
    6800 10580 SYS-170101 17-03-2014 13:10:34 ==========================================================
    6800 10580 SYS-170101 17-03-2014 13:10:34 Collect the following and send to Customer Support:
    6800 10580 SYS-170101 17-03-2014 13:10:34 1. Log files(error_*, monitor_*, trace_*) associated with this failed job.
    6800 10580 SYS-170101 17-03-2014 13:10:34 2. Exported ATL file of this failed job.
    6800 10580 SYS-170101 17-03-2014 13:10:34 3. DDL statements of tables referenced in this failed job.
    6800 10580 SYS-170101 17-03-2014 13:10:34 4. Data to populate the tables referenced in the failed job. If not possible, get the last few rows (or sample of them) when
    6800 10580 SYS-170101 17-03-2014 13:10:34 the job failed.
    6800 10580 SYS-170101 17-03-2014 13:10:34 5. Core dump, if any, generated from this failed job.
    6800 10580 SYS-170101 17-03-2014 13:10:34 ==========================================================
    Any good ideas?

    Hello Erik,
    not sure about it, but did you see this post some hours after yours?
    DS 4.1 job aborts with Access Violation
    Also, did you check ST22 to see if it generates any dump?
    And if you're able to check the BODS log files, it might me helpful. They're located at %LINK_DIR%\log directory. Check the names with the execution of the job.
    Hope it helps!
    Regards.
    Bruna Dupim

  • Getting an error message when launching Premiere Elements 11 trying to read from a disk.

    Why is this message popping up? Clicking a few times thru Cancel or Continue lets you start working , butr the message appears again thru the use of the application.

    Thank you for that info.
    When you did the installation from the download, did you also install SmartSound?
    There also seems to be a little "glitch" WITH the installation of SmartSound, and it has been pointed out that one needs to go to the SmartSound Web site, download and install a patch for Sonicfire Pro (now the SmartSound module for the PrE plug-in).
    The reason that I keep mentioning SmartSound is that several users have reported the same, or very similar error messages, if their installation of SmartSound has not completed 100%. There could well be other issues, that might cause the error, but I've now seen about 3, which DID relate to SmartSound. I would investigate that first, to either clear the error, or eliminate SmartSound as a possible cause.
    Good luck,
    Hunt

Maybe you are looking for

  • How to fetch  old  and  new value  from of a   field(non-key)  from LOGDATA

    Hello SDNers, i  m fecthing LOgdata  from  dbtlog table[in  our  case  the  log  is  not  getting  Updated  in CDHDR  and CDPOS table] i  m  using  the  same  logic  as  it  is  used  in  RSVTPROT but  the  problem  is "  IT  is  fetching  OLD  and 

  • How to remove Windows Sign-in with Password upon Startup

    hi. Can anyone help me? Whenever we buy a new laptop, my husband always told me to "just leave it blank" , referring to the Microsoft Windows sign in with blank box for typing in a password. "This way you don't have to type your password everytime yo

  • Ethernet port is erratic

    When I try plugging in an ethernet cable to my ethernet port, it generally doesn't work. Sometimes I can move it around a little while simultaneously pressing refresh on my browser, and it will work... but this isn't very often. This was the case a f

  • Selling an Ipod Nano

    I'm selling my Nano to a friend, but I don't have my startup disk anymore. Would he need the CD to install it on his computer?

  • Using ID Point for Repacking - no putaway strategy allowed

    Hi All, I have a business requirement to have an ID Point servicing inventory that is putaway to one specific storage type. HUM is active and when the goods are received at 902 they are potentially packed on a pallet. The pallet is moved to the ID po