Struggling with DataInputStream and Socket...

Hi all,
I have the following problem. I need two remote hosts to exchange some data using a socket: the client is running on a Linux box and sends both ASCII and binary data. The server is running within a Tomcat server and needs to parse the ASCII text and then stores the (following) binary data in a DBMS. I chose to use DataInputStream to read from the socket: however, when I use the readUTF() function in order to get the ASCII data (the very first data sent is a simple banner) I get a EOFException (after some time, the banner is basically never read).
DataInput Stream dis = new DataInputStream(new BufferedInputStream(client.getInputStream()));     
String line = dis.readUTF();
java.io.EOFException
     at java.io.DataInputStream.readFully(Unknown Source)
     at java.io.DataInputStream.readUTF(Unknown Source)
     at java.io.DataInputStream.readUTF(Unknown Source)
     at neptuneconsole.XXXyyyZZZ.run(XXXyyyZZZ.java:86)
     at java.lang.Thread.run(Unknown Source)
client is a socket instantiated by a ServerSocket that was created by SSLServerSocketFactory.
Any help will be REALLY appreciated!

mj4318 wrote:
readByte() itself does not block until some data are availableWhat does this mean? What does it return? If it returns -1, then you have reached the end of the stream - i.e. you have read everything the other end has written so far and the other end has closed the connection so it's never going to write anything more. If it's returning something other than -1, then that's the byte you've read from the connection.
This will really be a lot easier if you show us code.

Similar Messages

  • I'm struggling with iOS6 and iTunes [new iPad Cellular]

    Last night I connect my new-ipad cellular and was informed to update iOS6. And yes, I did agree to update. After iTunes downloaded and it started updating software + firmware as usual. I think there should be no problem. After finishing updating firmware, I received a notification from iTunes: your ipad is restarting... But in the end, nothing happened. My iPad stayed silent. Power button and Home button have no effect now. I tried to plug ipad to my mac again and restart iTunes. The same notification, saying that my iPad is in recovery mode and I need to restore. This loop never ends. And my iPad doesn't work again.
    Please tell me what is the problem. if there is an issue of iOS6, software and firmware, please fix it NOW.
    I want my iPad back to work.
    All of my data was lost and I cannot use my iPad anymore. What a disaster!!!
    PLEASE HELP ME!!!

    Restart the Mac and hold down Command+Option+R. Choose to reinstall OS X. The version of OS X your Mac came with will be installed.

  • Struggling with SMTP and classic ASP application

    I have a classic ASP application that I'm moving from 2003 to 2012. On 2003 it used CDONTS to send email, as this is not supported I am converting it to CDOSYS as follows;
    Dim ObjSendMail
    Dim iConf
    Dim Flds
    Set ObjSendMail = Server.CreateObject("CDO.Message")
    Set iConf = Server.CreateObject("CDO.Configuration")
    Set Flds = iConf.Fields
    With Flds
    .Item(cdoSendUsingMethod) = 2
    .Item(cdoSMTPusessl) = 1
    .Item(cdoSMTPServer) = "xxxx.xxxx.net"
    .Item(cdoSendUserName) = "[email protected]"
    .Item(cdoSendPassword) = "xxxxxx"
    .Item(cdoSMTPServerPort) = 6000
    .Item(cdoSMTPconnectiontimeout) = 30
    .Update
    End With
    Set ObjSendMail.Configuration = iConf
    Set ObjSendMail.Configuration = iConf
    ObjSendMail.To = request.form("Supplier_Email")
    ObjSendMail.Subject = "order from "&buname
    ObjSendMail.From = request.form("copy")
    ' we are sending a text email.. simply switch the comments around to send an html email instead
    ObjSendMail.HTMLBody = request.form("email_body")
    'ObjSendMail.TextBody = "this is the body"
    ObjSendMail.Send
    However, it worked fine on 2003 but I get 
    CDO.Message.1 error '80040213'
    The transport failed to connect to the server. on the send.
    I think it's a problem with the SMTP configuration, but I don;t know how to check it.
    Any ideas?
    Regards
    Pete

    Hi,
    As this thread has been quiet for a while, we will mark it as ‘Answered’ as the information provided should be helpful. If you need further help, please feel free to reply this post directly so we will be notified to follow it up. You can also choose to unmark
    the answer as you wish.
    BTW, we’d love to hear your feedback about the solution. By sharing your experience you can help other community members facing similar problems. Thanks for your understanding and efforts.
    Best
    regards,
    Susie

  • In struggle with WRT160NL and 2X WAP4410N

    Hello,
    We have our Wireless network that loosing connection after 2 or 3 days of a normal functionning, we have to restart the APs each time.
    The configuration is for about 100 users and seams for me to be simple and usual as for this cases :
    router and 2 ap has the same ssid and pwd
    router has been configured on  chanel 6, the first ap on chanel 1 and the second one on chanel 11.
    router has an IP and a dhcp configured for 192.168.1. LAN, and  Wifi IP and active dhcp for the range of 172.30.1.50 - 172.30.1.250
    router has AP fonction also
    access points have 172.30.1.1 as GW and no dns configured on it
    i have already tryed to conf this as with repeaters but always the same issue.
    If somebody know any points for this please give an idea
    Thanks and regards
    Makar

    Makar,
    Have you updated your WAP4410N to latest firmware? The older firmware has problems with locking up and having to be rebooted. My AP has been successfully up now for 3 months without a reboot.
    Another questions: You said you tried to configure this as repeaters but always same issue, what was the configuration of that set up as well?
    Also have you check the location of each AP, making sure there not around any microwave admitting device or any large admitting EMI device. Many times this will cause problems you are experiencing.
    Thanks,
    Jasbryan

  • [iPhone] Really struggling with views and transitions.  Please Help.

    Hello All,
    First off let me apologize; I've been trying to do this on my own, reading the docs and guides and such, but I just can not get this to work. I feel like once I understand this scenario I'll be able to learn the rest on my own.
    Basically I have a simple sample project structured as follows:
    MyAppDelegate: typical delegate class
    MainViewController: View controller object associated with the main view
    TitleViewController: View controller object associated with the title screen view
    NextViewController: View controller object associated with the second view (after title screen)
    I currently have 3 nib files, one each associated with MainViewController,TitleViewController, and NextViewContoller
    the Title View has a button on it
    The desired flow of the application is as such:
    1) My AppDelegate initializes MyViewController when it loads
    2) MyViewController contains the two other view controllers (they are instance variables in the class)
    and loads in the TitleScreen View (via addsubview).
    This works fine, I am having trouble with the following:
    3) The button on the title screen is pushed telling MyViewController to transition the TitleView out and the NextView in
    I have tried modifying the code from the Transition View app but its just too complicated for me at present and I can't get it to work.
    Can a kind soul out there please provide detailed assistance...maybe the implementation code for those 4 objects I mentioned.
    Maybe we can make some kind of tutorial or guide so that other people will find it useful as a precursor to diving into the Transition View Sample App?
    I think it would be interesting to have two versions of this well; one that uses nib files for each view and one that does it all purely programatically. This would definitely help newbies like me see how the nib approach is handled behind the scenes.
    Again, I apologize for my ignorance...I really am trying. Thanks.

    hi scotopia,
    i've gone thru that helpless state too, so i'm going to help you as much as i can
    the way i did it is slightly different from yours.
    on top of
    myAppDelegate,
    MainViewController, titleViewController, nextViewController (view controllers class)
    i have titleView and nextView (view class)
    and i did not use addsubview.
    inside main view controller you will need to create the titleviewcontroller and nextviewcontroller.
    and inside both titleviewcontroller and nextViewController, u need to create the rootViewController and their respective view objects, i.e. titleView or nextView.
    inside titleView you define all your methods etc. that will take place in that screen. and place your button code here.
    i've managed to trace my footsteps, and found out that the metronome sample code will be easier to understand.
    i hope this helps.

  • Anyone struggling with gestures and font issuer since upgrading to Lion?

    I am really frustrated since "uprgrading " to Lion!!  I no longer have pinch and zoom functions except in safari! 
    wont work in any other program, including my desktop! I have tried resetting trackpad, restarting-- any other suggestions?
    I also can't adjust the font size anymore? In mail I can only adjust the side bar to small or large?  No controls over font in address book.
    Am I missing  a setting?

    Hi,
    Have you disable the adobe flash accerlator? or how about your wifi setting? is it a WPA? If yes, changed to WEP.
    Try
    Johnson mok

  • Need Urgent Help with Apache and PHP

    I have been struggling with apache and php for a week now and I finally broke down to post a message.
    I have apache 1.3 running on my mac mini g4 with 10.4.9 and I installed sql. I went to the entropy website and downloaded php5 to install without knowing I already had php4 on the machine. I installed 5 but could not get it to work. I then went back to httpd.conf and tried to install php4 by uncommenting out the loadmodule and addmodule lines. I restarted apache but php still did not work. I tested the phpinfo.php script but all I got was the script in Safari and not the actual page. At the moment, I have php4 and php5 on my machine but can't get either one to work. I am sure there is an easy fix but I don't know it. Please help.

    The problem is not terribly complicated, but Apache will not start with the entropy file in the folder
    /etc/httpd/users/
    Let me experiment on you. Rename the entropy file and then try to start Apache. To do this, open Terminal and paste this command:
    <pre>sudo mv /etc/httpd/users/+entropy.conf /etc/httpd/users/+entropy<pre>
    Now check the Apache configuration:
    <pre>apachectl configtest<pre>
    If it says "Syntax OK", start Apache:
    <pre>sudo apachectl start<pre>
    Since we only disabled the entropy file, you should be able to enable PHP5 with some more advanced configuring.

  • Scroll a list with touch and momentum

    Has anyone got example code for scrolling a long list (using the List component) on iOS and/or Android using touch and momentum? I have been struggling with it and not getting anything like what I am looking for - and am feeling decidely dumb right now.

    Mr.Backstrom,
    I have changed the list template overide to dhtml Tree. And now the list is being displayed as vertical unordered list with bullets. Is it possible to take off the bullets? Thank you for your time.
    Suma.

  • Problem with Java Proxy and Socket Connection

    Hi Gurus!!
    I have developed a Java Proxy that connects via socket with a Server Socket application. This Server Socket application accepts more than one connection at the same time.
    When I connect the first time from my Java Proxy, the connection is correctly established. When the first connection opened, if a try a second connection, this is not established.
    I use "new Socket(SocketServer,SocketPort);" to open the connection.
    I think that all time the Java Proxy is trying to open the same connection, and this is a problem.
    Is there a way to indicate to the server that is a new connection and that the existing connections remain?
    Anybody could help me, please?
    Thanks and regards,
    Manuel Míguez.

    Sorry!!!!i must give you more information.
    The error which i have when i push the submit button is
    HTTP Status 404 -
    type Status report
    message
    descriptionThe requested resource () is not available.
    GlassFish Server Open Source Edition 3.0.1
    My thought is that the error is in this line
    String connectionURL = "jdbc:mysql://localhost/mybooking";in mysql when i write this code then the table opens with no problems:
    mysql>show databases;
    mysql>usebooking;
    mysql>showtables;
    mysql>describe booking;Furthermore i have added in my web application the library mysql JDBC driver my-sql-connector-java-5.1.6.bin.jar
    Edited by: 813355 on Nov 22, 2010 1:50 AM
    Edited by: 813355 on Nov 22, 2010 2:00 AM

  • Problem in using socket streams with encryption and decryption

    Hi,
    I am developing a client/server program with encryption and decryption at both end. While sending a message from client it should be encrypted and at the receiving end(server) it should be decrypted and vice versa.
    But while doing so i got a problem if i use both encryption and decryption at both ends. But If i use only encryption at one (only outputstream) and decryption at other end(only inputstream) there is no problem.
    Here is client/server pair of programs in which i am encrypting the outputstream of the socket in client side and decrypting the inputstream of the socket in server side.
    serverSocketDemo.java
    import java.io.*;
    import java.net.*;
    import java.security.*;
    import java.security.spec.*;
    import javax.crypto.*;
    import javax.crypto.spec.*;
    import java.util.*;
    import java.util.zip.*;
    class serverSocketDemo
         public static void main(String args[])
              try
              {                    //server listening on port 2000
                   ServerSocket server=new ServerSocket(2000);
                   while (true)
                        Socket theConnection=server.accept();
                        System.out.println("Connecting from local address : "+theConnection.getLocalAddress());
                        System.out.println("Connection request from : "+theConnection.getInetAddress());
                        //Input starts from here
                        Reader in=new InputStreamReader(getNetInStream(theConnection.getInputStream()),"ASCII");
                        StringBuffer strbuf=new StringBuffer();
                        int c;
                        while (true)
                             c=in.read();
                             if(c=='\n' || c==-1)
                                  break;
                             strbuf.append((char)c);     
                        String str=strbuf.toString();
                        System.out.println("Message from Client : "+str);
                        in.close();               
                        theConnection.close();
              catch(BindException e)
                   System.out.println("The Port is in use or u have no privilage on this port");
              catch(ConnectException e)
                   System.out.println("Connection is refused at remote host because the host is busy or no process is listening on that port");
              catch(IOException e)
                   System.out.println("Connection disconnected");          
              catch(Exception e)
         public static BufferedInputStream getNetInStream(InputStream in) throws Exception
              // register the provider that implements the algorithm
              Provider sunJce = new com.sun.crypto.provider.SunJCE( );
              Security.addProvider(sunJce);
              // create a key
              byte[] desKeyDataDec = "This encryption can not be decrypted".getBytes();
              DESKeySpec desKeySpecDec = new DESKeySpec(desKeyDataDec);
              SecretKeyFactory keyFactoryDec = SecretKeyFactory.getInstance("DES");
              SecretKey desKeyDec = keyFactoryDec.generateSecret(desKeySpecDec);
              // use Data Encryption Standard
              Cipher desDec = Cipher.getInstance("DES");
              desDec.init(Cipher.DECRYPT_MODE, desKeyDec);
              CipherInputStream cin = new CipherInputStream(in, desDec);
              BufferedInputStream bin=new BufferedInputStream(new GZIPInputStream(cin));
              return bin;
    clientSocketDemo.java
    import java.io.*;
    import java.net.*;
    import java.security.*;
    import java.security.spec.*;
    import javax.crypto.*;
    import javax.crypto.spec.*;
    import java.util.*;
    import java.util.zip.*;
    class clientSocketDemo
         public static void main(String args[])
              try
                   Socket theConnection=new Socket("localhost",2000);
                   System.out.println("Connecting from local address : "+theConnection.getLocalAddress());
                   System.out.println("Connecting to : "+theConnection.getInetAddress());
                   //Output starts from here               
                   OutputStream out=getNetOutStream(theConnection.getOutputStream());
                   out.write("Please Welcome me\n".getBytes());
                   out.flush();
                   out.close();
                   theConnection.close();
              catch(BindException e)
                   System.out.println("The Port is in use or u have no privilage on this port");
              catch(ConnectException e)
                   System.out.println("Connection is refused at remote host because the host is busy or no process is listening on that port");
              catch(IOException e)
                   System.out.println("Connection disconnected");          
              catch(Exception e)
         public static OutputStream getNetOutStream(OutputStream out) throws Exception
              // register the provider that implements the algorithm
              Provider sunJce = new com.sun.crypto.provider.SunJCE( );
              Security.addProvider(sunJce);
              // create a key
              byte[] desKeyDataEnc = "This encryption can not be decrypted".getBytes();
              DESKeySpec desKeySpecEnc = new DESKeySpec(desKeyDataEnc);
              SecretKeyFactory keyFactoryEnc = SecretKeyFactory.getInstance("DES");
              SecretKey desKeyEnc = keyFactoryEnc.generateSecret(desKeySpecEnc);
              // use Data Encryption Standard
              Cipher desEnc = Cipher.getInstance("DES");
              desEnc.init(Cipher.ENCRYPT_MODE, desKeyEnc);
              CipherOutputStream cout = new CipherOutputStream(out, desEnc);
              OutputStream outstream=new BufferedOutputStream(new GZIPOutputStream(cout));
              return outstream;
    Here is client/server pair in which i use both encrypting outpustream and decrypting inputstream at both ends.
    serverSocketDemo.java
    import java.io.*;
    import java.net.*;
    import java.security.*;
    import java.security.spec.*;
    import javax.crypto.*;
    import javax.crypto.spec.*;
    import java.util.*;
    import java.util.zip.*;
    class serverSocketDemo
         private Cipher desEnc,desDec;
         serverSocketDemo()
              try
                   // register the provider that implements the algorithm
                   Provider sunJce = new com.sun.crypto.provider.SunJCE( );
                   Security.addProvider(sunJce);
                   // create a key
                   byte[] desKeyData = "This encryption can not be decrypted".getBytes();
                   DESKeySpec desKeySpec = new DESKeySpec(desKeyData);
                   SecretKeyFactory keyFactory = SecretKeyFactory.getInstance("DES");
                   SecretKey desKey = keyFactory.generateSecret(desKeySpec);
                   desEnc = Cipher.getInstance("DES");
                   desEnc.init(Cipher.ENCRYPT_MODE, desKey);
                   desDec = Cipher.getInstance("DES");
                   desDec.init(Cipher.DECRYPT_MODE, desKey);               
              catch (javax.crypto.NoSuchPaddingException e)
                   System.out.println(e);          
              catch (java.security.NoSuchAlgorithmException e)
                   System.out.println(e);          
              catch (java.security.InvalidKeyException e)
                   System.out.println(e);          
              catch(Exception e)
                   System.out.println(e);
              startProcess();
         public void startProcess()
              try
                   ServerSocket server=new ServerSocket(2000);
                   while (true)
                        final Socket theConnection=server.accept();
                        System.out.println("Connecting from local address : "+theConnection.getLocalAddress());
                        System.out.println("Connection request from : "+theConnection.getInetAddress());
                        Thread input=new Thread()
                             public void run()
                                  try
                                       //Input starts from here
                                       Reader in=new InputStreamReader(new BufferedInputStream(new CipherInputStream(theConnection.getInputStream(), desDec)),"ASCII");
                                       StringBuffer strbuf=new StringBuffer();
                                       int c;
                                       while (true)
                                            c=in.read();
                                            if(c=='\n'|| c==-1)
                                                 break;
                                            strbuf.append((char)c);     
                                       String str=strbuf.toString();
                                       System.out.println("Message from Client : "+str);
                                  catch(Exception e)
                                       System.out.println("Error caught inside input Thread : "+e);
                        input.start();
                        Thread output=new Thread()
                             public void run()
                                  try
                                       //Output starts from here
                                       OutputStream out=new BufferedOutputStream(new CipherOutputStream(theConnection.getOutputStream(), desEnc));
                                       System.out.println("it will not be printed");
                                       out.write("You are Welcome\n".getBytes());
                                       out.flush();
                                  catch(Exception e)
                                       System.out.println("Error caught inside output Thread : "+e);
                        output.start();
                        try
                             output.join();
                             input.join();
                        catch(Exception e)
                        theConnection.close();
              catch(BindException e)
                   System.out.println("The Port is in use or u have no privilage on this port");
              catch(ConnectException e)
                   System.out.println("Connection is refused at remote host because the host is busy or no process is listening on that port");
              catch(IOException e)
                   System.out.println("Connection disconnected");          
              catch(Exception e)
         public static void main(String args[])
              serverSocketDemo server=new serverSocketDemo();          
    clientSocketDemo.java
    import java.io.*;
    import java.net.*;
    import java.security.*;
    import java.security.spec.*;
    import javax.crypto.*;
    import javax.crypto.spec.*;
    import java.util.*;
    import java.util.zip.*;
    class clientSocketDemo
         private Cipher desEnc,desDec;
         clientSocketDemo()
              try
                   // register the provider that implements the algorithm
                   Provider sunJce = new com.sun.crypto.provider.SunJCE( );
                   Security.addProvider(sunJce);
                   // create a key
                   byte[] desKeyData = "This encryption can not be decrypted".getBytes();
                   DESKeySpec desKeySpec = new DESKeySpec(desKeyData);
                   SecretKeyFactory keyFactory = SecretKeyFactory.getInstance("DES");
                   SecretKey desKey = keyFactory.generateSecret(desKeySpec);
                   desEnc = Cipher.getInstance("DES");
                   desDec = Cipher.getInstance("DES");
                   desEnc.init(Cipher.ENCRYPT_MODE, desKey);
                   desDec.init(Cipher.DECRYPT_MODE, desKey);               
              catch (javax.crypto.NoSuchPaddingException e)
                   System.out.println(e);          
              catch (java.security.NoSuchAlgorithmException e)
                   System.out.println(e);          
              catch (java.security.InvalidKeyException e)
                   System.out.println(e);          
              catch(Exception e)
                   System.out.println(e);
              startProcess();
         public void startProcess()
              try
                   final Socket theConnection=new Socket("localhost",2000);
                   System.out.println("Connecting from local address : "+theConnection.getLocalAddress());
                   System.out.println("Connecting to : "+theConnection.getInetAddress());
                   Thread output=new Thread()
                        public void run()
                             try
                                  //Output starts from here               
                                  OutputStream out=new BufferedOutputStream(new CipherOutputStream(theConnection.getOutputStream(), desEnc));
                                  out.write("Please Welcome me\n".getBytes());
                                  out.flush();
                             catch(Exception e)
                                  System.out.println("Error caught inside output thread : "+e);
                   output.start();     
                   Thread input=new Thread()
                        public void run()
                             try
                                  //Input starts from here
                                  Reader in=new InputStreamReader(new BufferedInputStream(new CipherInputStream(theConnection.getInputStream(), desDec)),"ASCII");          
                                  System.out.println("it will not be printed");
                                  StringBuffer strbuf=new StringBuffer();
                                  int c;
                                  while (true)
                                       c=in.read();
                                       if(c=='\n' || c==-1)
                                            break;
                                       strbuf.append((char)c);     
                                  String str=strbuf.toString();
                                  System.out.println("Message from Server : "+str);
                             catch(Exception e)
                                  System.out.println("Error caught inside input Thread : "+e);
                   input.start();
                   try
                        output.join();
                        input.join();
                   catch(Exception e)
                   theConnection.close();
              catch(BindException e)
                   System.out.println("The Port is in use or u have no privilage on this port");
              catch(ConnectException e)
                   System.out.println("Connection is refused at remote host because the host is busy or no process is listening on that port");
              catch(IOException e)
                   System.out.println("Connection disconnected");          
              catch(Exception e)
         public static void main(String args[])
              clientSocketDemo client=new clientSocketDemo();     
    **** I know that the CInput tries to read some header stuff thats why i used two threads for input and output.
    Waiting for the reply.
    Thank you.

    Do not ever post your code unless requested to. It is very annoying.
    Try testing what key is being used. Just to test this out, build a copy of your program and loop the input and outputs together. Have them print the data stream onto the screen or a text file. Compare the 1st Output and the 2nd Output and the 1st Input with the 2nd Input and then do a static test of the chipher with sample data (same data which was outputted), then do another cipher test with the ciphertext created by the first test.
    Everything should match - if it does not then follow the steps below.
    Case 1: IO Loops do not match
    Case 2: IO Loops match, but ciphertext 1st run does not match loop
    Case 3: IO Loops match, 1st ciphertext 1st run matches, but 2nd run does not
    Case 4: IO Loops match, both chiphertext runs do not match anything
    Case 5: Ciphertext runs do not match eachother when decrypted correctly (outside of the test program)
    Problems associated with the cases above:
    Case 1: Private Key is changing on either side (likely the sender - output channel)
    Case 2: Public Key is changing on either side (likely the sender - output channel)
    Case 3: Private Key changed on receiver - input channel
    Case 4: PKI failure, causing private key and public key mismatch only after a good combination was used
    Case 5: Same as Case 4

  • I have continuously over the last 6 months struggled with syncing my iphone and ipod with itunes  The app continually crashes during the picture import.  AND by the way it takes 10-15 minutes before it even attempts to import photos.  The screen says impo

    I have continuously over the last 6 months struggled with syncing my iphone and ipod with itunes  The app continually crashes during the picture import.  AND by the way it takes 10-15 minutes before it even attempts to import photos.  The screen says importing photoes but doesnt try to optimize or anything for 10 minutes.  I have a 3gs with 16Gb so its not a cheap phone.  I have 10Gb free.  I have 6600 photoes.  This is very frustrating and undermines my confidence in your products.  My ipod is an ipod 4 with 16Gb also.  It does the exact same thing to it.  The last time, I had to import photoes a few at the time and with it taking 10-15 minutes each time for 6600 photos it is a long frustrating process.  But it will import every photo a few at a time.  The error message is just that itunes has stopped working.  no hint as to why. AND of course, my phone is out of use for the entire time.  You guys must not want to believe ur phones are a necessary tool...or maybe you dont want the consumer to believe it is.  I have tried to find solutions on your website as well as through other 3rd party communities.  Ultimately they were of no use.  I stumbled onto my solution by accident since Im a bit of a computer geek...a semi-geek.

    I have this issue too, I went into my Windows event viewer. (should have looked at this a year ago when this started)
    it said this
    Faulting application name: iTunes.exe, version: 11.0.2.26, time stamp: 0x51253247
    Faulting module name: ntdll.dll, version: 6.1.7601.17725, time stamp: 0x4ec49b8f
    Exception code: 0xc0000374
    Fault offset: 0x000ce6c3
    Faulting process id: 0x14d4
    Faulting application start time: 0x01ce194399f166ba
    Faulting application path: C:\Program Files (x86)\iTunes\iTunes.exe
    Faulting module path: C:\Windows\SysWOW64\ntdll.dll
    Report Id: 0eb3c37f-8537-11e2-9351-50465d6737de
    basically whenever I try to sync my ipod touch 4G 64GB it crashes iTunes when it begins the pictures. if im lucky ill get 4-5 on there before it stops responding. its not my system or anything im running win7x64 8GB DDR3 ram (Corsair XMS3) AMD FX Eight core processor.
    It is silly that iTunes cannot add pictures to apple devices. it shatters whatever incline I may have to buy apple products. knda like the Airport Extreem router my dad bought the new firmware, caused my router to not function... why release firmware that breaks a product. -_- <-- off topic but still

  • I mistakenly wiped my mac ox from my macbook and i'm struggling with getting it fixed or getting a new one to install.

    i mistakenly wiped my mac ox from my macbook and i'm struggling with getting it fixed or getting a new one to install. Can anyone help me?  thanks
    <Email Edited By Host>

    Restart the Mac and hold down Command+Option+R. Choose to reinstall OS X. The version of OS X your Mac came with will be installed.

  • I have a dynamic table that calculates the sum of all rows, no issue.  I'm struggling with pulling out a subtotal though.  I would like to have a check box in each row  that flags those rows and gives the sum of their total.  Any help would be greatly app

    I have a dynamic table that calculates the sum of all rows, no issue.  I'm struggling with pulling out a subtotal though.  I would like to have a check box in each row  that flags those rows and gives the sum of their total.  Any help would be greatly appreciated.

    Here's something I threw together rq. The script is in the change event for the checkbox in the table. (Of course, you'll have to modify it to suit the names of your fields.)
    var rows = xfa.resolveNodes("tblAmounts.Row1[*]");
    var subtotal=0;
    for (i=0; i<rows.length; i++) if (rows.item(i).cbAdd.rawValue == 1) subtotal = subtotal + rows.item(i).nfAmount.rawValue;
    nfSubtotal.rawVlaue=subtotal;

  • HT1766 Hello there, started to sinc my iPad 3 to my iPhone 5 with iCloud and a lot off the items did copy over, I was connected to a power supply but for some reason it's still missing half the items and I am struggling to retrieve them can you help pleas

    Hello there, started to sinc my iPad 3 to my iPhone 5 with iCloud and a lot off the items did copy over, I was connected to a power supply but for some reason it's still missing half the items and I am struggling to retrieve them can you help please.
    Thank you Callum Gordon

    Well the term "hotlined" I have never heard before. In any case many states (like NY) just passed regulatory powers to the State Public Service Commission of which it may be called something different in your state. You could file a complaint with them. Or file a complaint with your state attorney generals office, they also take on wireless providers.
    The problem here is the staff you speak to are poorly trained, in days gone by it took one call to them and they pulled up your account and see the error and had the authority to remove any errors. They did not remove legitimate account actions, but used their heads instead of putting a customer off or worse lying to the customer.
    Its a shame you have to go through what you going through.
    Good Luck

  • Difficulties with using DataInputStream and DataOutputStream

    Hello all,
    I need help for understanding what I'm doing wrong here:
    (pass and user are byte[] encrypted with RSA) the problem is that i can;t read what i wrote. :(
    f = new DataOutputStream (new FileOutputStream("file.txt"));
                        f.write(pass);
                        f.write(user);
                        f.flush();
                        f.close();
                        System.out.println ("write pass"+pass);
                        System.out.println ("write user"+user);
                         f2 = new DataInputStream (new FileInputStream("file.txt"));
                        System.out.println("Available bytes"+f2.available());
                        byte [] ru = new byte[64];
                        f2.read(ru,0,64);
                        byte [] rp = new byte[64];
                        f2.read(rp);
                        f2.close();
                        System.out.println( "read user"+ru);
                        System.out.println( "read pass"+rp);//output
    write pass[B@2a4983
    write user[B@406199
    Available bytes128
    read user[B@1b09468
    read pass[B@1df5a8f                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               

    So you didn't manage to figure it out for yourself - http://forum.java.sun.com/thread.jspa?threadID=5155256&messageID=9587510#9587510 !
    P.S. You need to think more about what you are trying to do and you need to read the Javadoc for DataInputStream and DataOutputStream .
    Message was edited by:
    sabre150

Maybe you are looking for

  • How do I stop iPhoto from automatically deleting photos from my camera after import?

    I'm using iPhoto 11 version 9.2.3 and importing photos from a Panasonic Lumix DMC-FS35 via USB. From what I can gather, iPhoto should prompt me after an import as to whether I want to delete the imported photos from the camera or not. Instead, I get

  • Call R/3 BADI from CRM

    Hello Experts, I have to implement some BADIs in R/3 which will get executed through CRM. What are the various options of calling the BADI in R/3 from CRM? The BADIs are used for sales order processing, invoicing, etc.... Thanks Ricky

  • ILife 08- problem with Podcast and Blog links on landing page

    Hello I have iLife 08, running OS 10.4.11. The Podcast and Blog links on my iWeb landing page appear but don't do anything. All was working fine one week ago. They load, and when you mouse over it the links looks like they are going to work but don't

  • 23" HD Cinema Display ADC - New Power Mac DVI

    Is it necessary to get an adaptor that supplies power, like the DVator, or will a simple cable adaptor do the same job? Thanks.

  • Process having dynamic subqery in for loop cursor

    I created a process that puts all retrieved rows into a collection. Users can select on quite a few columns, say unit, last_name, shift, etc. When the query is built based on users' inputs, I can't get it working using a For Loop Cursor (code 3.). Bu