Strange object stream behavior - please help

I have implemented client/server code for a Web application that retrieves check images from a mainframe. The client (on my app server) sends request objects via an ObjectOutputStream to the server component (the image server), where the request is processed to produce a response object, which is then sent back across another ObjectOutputStream to the client. Usually the application works great, but every so often I get the following strange behaviour -
A request object gets to the server and is processed, but then the response object sits on the server and will not return to the client. However, as soon as another request object is sent to the server, the 1st response object immediately returns to the client. Then, the response object for the 2nd request hangs on the server, and so on and so on. The only way I have found to fix this is to reboot the entire machine (Windows NT). Simply restarting my server component will not help.
Usually this will only happen after I have stopped and restarted my server component and then not every time. However, today it seems to have started happening without any restart of the server component which has me very confused.
Any thoughts on what might be causing this strange behaviour would be greatly appreciated. I can post some of my code if absolutely necessary, but since it involves multiple different classes this would probably only serve to confuse.

Wild guess: Does your server do a flush() after
writing the response object?Yes - every time. Besides, as I wrote above, this behaviour doesn't occur all the time, just every so often.

Similar Messages

  • Very strange iTunes behavior, please help!

    Every once in a while, I will notice a song in my library that has a time listed that I know is shorter than the song's actual length (for example, a song I know to be 5 minutes+ will be listed in the library as 1:37). When I play the song, the time adjusts to the proper time, so that is not the problem. However, if I sync my iPod, iTunes will only sync the time listed (1:37 in the example) to the iPod! It seems to be 100% random in the songs it effects and time it changes it to. Please help me out!
    Edit: I also forgot to mention, it will make songs longer also, but that is not as much of a problem because it will go on the iPod, show the "longer" time and then just go to the next track once the actual music is over
    Message was edited by: zellin

    I only have a 'CD Info.cidb' file in the preferences.
    Couldn't hurt to drag them on the desktop too, I suppose.
    Just don't trash them yet.
    The article I referenced to, should have read as here
    Forgot 1 character and didn't check it with 'preview' (this one I did)
    M
    17' iMac fp 800 MHz 768 MB RAM   Mac OS X (10.3.9)   Several ext. HD (backup and data)

  • Class Cast problem when attempting to add Object in TreeSet, Please Help...

    hi friends,
    I have a TreeSet Object in which i add Object of type WeatherReport but when I trying to add my Second WeatherReport Object it throwing ClassCastException please Help Me in figure out the mistake that i did...
    /*code sample of my WeatherReport.class*/
    package com;
    class WeatherReport implements Serializable
    private String region;
    private String desc;
    private String temp;
    /*equvalent getter and setters come here*/
    /*in my jsp*/
    <%@ page import="com.WeatherReport"%>
    <%
    TreeSet<com.WeatherReport> ts=new TreeSet<com.WeatherReport>();
    while(condition)
    WeatherReport wp=new WeatherReport();
    /*setting data for all the Methods*/
    ts.add(wp);
    %>
    Error:
    java.lang.ClassCastException: com.WeatherReport
            at java.util.TreeMap.compare(TreeMap.java:1093)
            at java.util.TreeMap.put(TreeMap.java:465)
            at java.util.TreeSet.add(TreeSet.java:210)
            at org.apache.jsp.Weather_jsp._jspService(Weather_jsp.java:138)
            at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:97)
            at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
            at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:332)
            at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:314)
            at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:264)
            at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
            at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252)
            at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
            at org.netbeans.modules.web.monitor.server.MonitorFilter.doFilter(MonitorFilter.java:368)
            at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
            at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
            at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)
            at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178)
            at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126)
            at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105)
            at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107)
            at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148)
            at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:869)
            at org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:664)
            at org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527)
            at org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:80)
            at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:684)
            at java.lang.Thread.run(Thread.java:595)Edited by: rajaram on Oct 31, 2007 12:56 AM

    hi ChuckBing,
    Thank you very much, your suggestion helps me a lot...
    I change the WeatherReport Class as follows and its working now...
    public class WeatherReport implements Serializable,Comparable {
        private String location;
        private String temp;
        private String desc;
        public int compareTo(Object o) {
            if(o instanceof WeatherReport)
                WeatherReport wp=(WeatherReport)o;
                String l1=wp.getLocation();
                String l2=this.getLocation();
                return l2.compareTo(l1);
            return -1;
    }Once Again Thanks a lot ...
    Edited by: rajaram on Oct 31, 2007 9:11 PM

  • Very Strange problem!! Please help me!!!!!!

    Okay, my sister has a Pink ipod Nano 2nd gen, 4gb.
    It has worked well since December 2006, but this week has begun messing up!
    Last night it froze up. The *Clicker noise* heard when scrolling through menus etc. was playing uncontrollably when not even touching the touch wheel!
    I had to reset the ipod, hate doing that by the way.
    2nd. Now, the iPod will turn on, go straight to the last song played, and won't respond, the only way to get it to stop is by resetting it!
    I NEED HELP! please help me!!!!!!

    She can just re-sync her stuff back onto it and see if it now acts normally. If you still get the funky click wheel behavior, then she may have an actual hardware problem like a sticking contact and it would either have to be repaired (probably not worth it) or replaced.
    Patrick

  • Sending object over socket - please help (urgent)

    I have written a server/client application where server sends object to client.
    But on the client I've received the first message "@Line 1: Get ready!!!" TWICE but NEVER the second message "@Line 2: Please input Start".
    Please help me! Its urgent! I appreciate my much in advance.
    The source for Server:
    import java.net.*;
    import java.io.*;
    import java.util.*;
    import sendNode;
    public class TestSer {
         static sendNode sendNodeObj = new sendNode();
    static String inputLine;
         public static void main(String[] args) throws IOException {
    ServerSocket serverSocket = null;
    try {
    serverSocket = new ServerSocket(4444);
    } catch (IOException e) {
    System.err.println("Could not listen on port: 4444.");
    System.exit(1);
    Socket clientSocket = null;
    try {
    clientSocket = serverSocket.accept();
    } catch (IOException e) {
    System.err.println("Accept failed.");
    System.exit(1);
    OutputStream o = clientSocket.getOutputStream();
    ObjectOutput out=new ObjectOutputStream(o);
    BufferedReader in = new BufferedReader(
                        new InputStreamReader(
                        clientSocket.getInputStream()));
    sendNodeObj.sendMsg="@Line 1: Get ready!!!";
    sendNodeObj.typeNode=-1;
    out.writeObject(sendNodeObj);
    out.flush();
    sendNodeObj.sendMsg="@Line 2: Please input Start";
    sendNodeObj.typeNode=-2;
    out.writeObject(sendNodeObj);
    out.flush();
    inputLine = in.readLine();
    while (!inputLine.equalsIgnoreCase("Start")) {
         sendNodeObj.sendMsg="@Error, Please input Start";
    sendNodeObj.typeNode=-1;
    out.writeObject(sendNodeObj);
    out.flush();
    inputLine = in.readLine();
    out.close();
    in.close();
    clientSocket.close();
    serverSocket.close();
    The source code for Client :
    import java.io.*;
    import java.net.*;
    import java.util.*;
    import java.applet.Applet;
    import sendNode;
    public class TestCli extends Applet {
    static sendNode recNodeObj=null;
    public static void main(String[] args) throws IOException {
    BufferedReader stdIn = new BufferedReader(new InputStreamReader(System.in));
    Socket kkSocket = null;
    PrintWriter out = null;
    try {
    kkSocket = new Socket("127.0.0.1", 4444);
    out = new PrintWriter(kkSocket.getOutputStream(), true);
    } catch (UnknownHostException e) {
    System.err.println("Don't know about host.");
    System.exit(1);
    } catch (IOException e) {
    System.err.println("Couldn't get I/O for the connection to: taranis.");
    System.exit(1);
    InputStream i= kkSocket.getInputStream();
    ObjectInput in= new ObjectInputStream(i);
    try {
         recNodeObj = (sendNode)in.readObject();
    System.out.println(recNodeObj.sendMsg);
         recNodeObj = (sendNode)in.readObject();
    System.out.println(recNodeObj.sendMsg);
    if (recNodeObj.sendMsg.equalsIgnoreCase("@Line 2: Please input Start")) {
    out.println("Start");
    } catch (Exception e) {
    System.out.println(e.getMessage());
    System.out.println("receive error.");
    System.exit(1);
    out.close();
    in.close();
    stdIn.close();
    kkSocket.close();
    The object to be sent:
    import java.io.*;
    import java.net.*;
    import java.util.*;
    class sendNode implements Serializable {
    String sendMsg;
    int typeNode; // -1 no ObjectNode;
    // 1 right node, 2 base node, 3 left node;
    Object objectNode;

    You forgot to reset the OOS. ObjetOutputStream keeps a buffer of objects, so if you write the same object again with changes on it, you must reset the buffer.
    out.writeObject(sendNodeObj);
    out.flush();
    out.reset();

  • 3G live streaming..please help

    Hi, i'm a really REALLY new person to the java environment. i'm trying to do live video streaming over hphones for 3G. i've already have the system developed in php and now i need to stream it on mobile.. i was wondering on how to start of.. what do i need to install, what language (i figured it should be j2me but i'm not too certain as i am really realllly new to this) i really need ur help.. please oo please help me... thanx in advance. :)

    This is not something I know much about other than it's an ambitious place to start if you're new to java.
    Try searching google for: rtsp streaming in j2me
    And there are some examples here (see Transmitting Media over RTP):
    http://java.sun.com/products/java-media/jmf/2.1.1/solutions/index.html

  • HOW TO CREATE AUTHORISATION OBJECT IN ABAP PLEASE HELP

    HOW TO CREATE AUTHORISATION OBJECT IN ABAP PLEASE HELP

    You can Use Transaction code: RSSM
    Check the following link
    http://www.sap-img.com/bc042.htm
    In SU20 you will have to create a CLass.
    After saving this double click this and you will taken to another screen where you can create Auth Object.
    You can create authorization fields in SU21 or use existing ones.
    You can also do above thru tcode SE80 Edit -> Other Object. In one the tabs you will see Auth. Objects .

  • Strange File name appearance, PLEASE HELP!

    I have Mac OS X v 10.6.8; When I open any finder window, the below file name appears on all of them. I have deleted the item to "trash" it still shows when I open any finder window! I suspect it is some kind of virus, but I am not sure. I have NortonAntiVirus running on this machine. Please help!

    Niel, thanks very much, it solved my problem and I learned something today. I also learned that I need to learn more about Mac OS X; Happy New Year!

  • Object IO Stream ERROR  please help, urgent

    I am writing an applet + servlet to access MySQL database, the data are like order and order line,
    When I click Insert button, the data (both order and order line) insert properly,
    But when I want to reload them,
    I created a JFrame to show a list order _id , 
    When the user choose and click a JButton,
    It will call the applet to retrieve all data back,
    But the data were not recieved by servlet.
    Each time I want to access database, My applet will call the servlet and create new ObjectInputStream and ObjectOutputStream.
    The connection are below:
    public URLConnection getCon() {   
    URLConnection con = null;
    try {
    JOptionPane.showMessageDialog(null, urlSuffix);
    URL dataURL = new URL(protocol, host, port, urlSuffix);
    con = dataURL.openConnection();
    JOptionPane.showMessageDialog(null, "con = " + con);
    con.setRequestProperty("Content-Type",
    "application/x-java-serialized-object");
    con.setDoOutput(true);
    con.setUseCaches(false);
    catch (...) {      .....    }
    finally{
    return con;
    so It returns an URLConnection connecting to "urlSuffix" .
    Then I pass 2 String to the servlet , the mode and the sql
    Where mode is "INSERT" / "SELECT" idicating where should do next.
    When servlet recieve any data, it will put the value out to System.out,
    so suppose when it recieve "INSERT" , it will print "INSERT" into System.out
    To retrieve data,
    I used to create a new JFrame ,
    used the same method ,
    con.writeObject("SELECT");
    con.writeObject("SELECT * FROM TABLE");
    The order id were loaded, and let user to select the order from a JList,
    And THEN the user should click submit button,
    and call the Applet to retrieve data,
    //WHEN BUTTON CLICK call Applet.loadOrder( JList.selectedIndex())
    public void loadOrder(int i){
    con = getCon();
    ObjectOutputStream os = new ObjectOutputStream(con.getOutputStream);
    os.writeObject("SELECT");
    os.writeObject(sql)
    But the servlet gives no response to me (suppose it should print "SELECT" into System.out.
    The servlet cannot recieve any object,
    Why?
    I have try to use the JFrame to call INSERT< it works also, but not in retrieve data only

    flush() or close() the ObjectOutputStream. There are probably still bytes in the buffer.
    - Saish
    "My karma ran over your dogma." - Anon

  • IPhone locked to a stranger's icloud account- please help I am not a thief

    I had bought iPhone 5 from AT&T the day it was released. After using it for a year and half, I decided to gift it to my dad. I completely wiped the phone to it's factory settings and shipped it to my dad. After my dad received the phone, he took it to a local store to get a new screen protector and a case. After he returned back home, he tried to use the phone but surprisingly the phone was in a lost mode with a message showing it is currently linked to an Apple ID d…[email protected]. Initially he thought the apple id that was showing on the phone belonged to me and asked me to remove it from the device. However, the problem was the apple id didn’t belong to me. I tried to contact the the email address and the phone number that was showing on the screen but they turned out to be bogus. My dad went back to the store but the owner of the store denied doing anything like that. I did some research on Google and came across this discussion where a person is also having the exact same “locked to a stranger’s apple id” issue. At this point, I am not sure if it was the store owner who locked my device or it is a bug in the iCloud system of which Apple is not aware of? I called Apple Support but the rep was kind of rude and just dismissed the case. Then I went to the Apple store with the proof of purchase and the original box but was turned back to Apple Support. The second rep whom I spoke with was professional and sounded helpful but it has been a week and haven't heard back from him yet.
    I guess Apple is finding difficulty trying to decide who the true owner of the phone is? Me who have the proof of purchase or the stranger who has provided bogus email address and phone number? Looks like Apple is not willing to help me at all. Is filing a case at small claim court the only option left for me?

    I respect your opinion but I don’t agree with it. In the real world, you don't have to involve the police if you simply loose your keys or if it gets stolen. There is nothing a police can do because the car is never stolen and is just sitting at the mall's parking lot all the time. Remember, only the keys were stolen. In my phone's case, the phone was never stolen however I do agree that it was in a vulnerable position when I did the factory reset and removed my icloud account from it. If a device is in such a position then anybody who has the physical access to the device can lock the device with their icloud account. And this is exactly what happend to my phone and this is exactly what I have been trying to explain to Apple Support. I understand they cannot just trust me and unlock the phone for me, but I expect them to tell me what's the next step for me to take. What document or proof do they need from me to show that I am the true owner? I can try and get the police involved even though the device is never stolen, but I first need to know which city police should I get involved- is it the Dallas Police, my home town police or the stranger’s home town police? The email address and the phone number shown on the locked screen are totally bogus and they don’t exist at all. I don’t even know where this stranger lives. Apple Support is simply ignoring me presuming that I am the thief and not trying to resolve the issue at all.

  • How to parse XML to Java object... please help really stuck

    Thank you for reading this email...
    If I have a **DTD** like:
    <!ELEMENT person (name, age)>
    <!ATTLIST person
         id ID #REQUIRED
    >
    <!ELEMENT name ((family, given) | (given, family))>
    <!ELEMENT age (#PCDATA)>
    <!ELEMENT family (#PCDATA)>
    <!ELEMENT given (#PCDATA)>
    the **XML** like:
    <person id="a1">
    <name>
         <family> Yoshi </family>
         <given> Samurai </given>
    </name>
    <age> 21 </age>
    </person>
    **** Could you help me to write a simple parser to parse my DTD and XML to Java object, and how can I use those objects... sorry if the problem is too basic, I am a beginner and very stuck... I am very confuse with SAXParserFactory, SAXParser, ParserAdapter and DOM has its own Factory and Parser, so confuse...
    Thank you for your help, Yo

    Hi, Yo,
    Thank you very much for your help. And I Wish you are there...I'm. And I plan to stay - It's sunny and warm here in Honolulu and the waves are up :)
    A bit more question for dear people:
    In the notes, it's mainly focus on JAXB,
    1. Is that mean JAXB is most popular parser for
    parsing XML into Java object? With me, definitely. There are essentially 3 technologies that allow you to parse XML documents:
    1) "Callbacks" (e.g. SAX in JAXP): You write a class that overrides 3 methods that will be called i) whenever the parser encounters a start tag, ii) an end tag, or iii) PCDATA. Drawback: You have to figure out where the heck in the document hierarchy you are when such a callback happens, because the same method is called on EACH start tag and similarly for the end tag and the PCDATA. You have to create the objects and put them into your own data structure - it's very tedious, but you have complete control. (Well, more or less.)
    2) "Tree" (e.g. DOM in JAXP, or it's better cousin JDOM): You call a parser that in one swoop creates an entire hierarchy that corresponds to the XML document. You don't get called on each tag as with SAX, you just get the root of the resulting tree. Drawback: All the nodes in the tree have the same type! You probably want to know which tags are in the document, don't you? Well, you'll have to traverse the tree and ask each node: What tag do you represent? And what are your attributes? (You get only strings in response even though your attributes often represent numbers.) Unless you want to display the tree - that's a nice application, you can do it as a tree model for JTree -, or otherwise don't care about the individual tags, DOM is not of much help, because you have to keep track where in the tree you are while you traverse it.
    3) Enter JAXB (or Castor, or ...): You give it a grammar of the XML documents you want to parse, or "unmarshall" as the fashion dictates to call it. (Actually the name isn't that bad, because "parsing" focuses on the input text while "unmarshalling" focuses on the objects you get, even though I'd reason that it should be marshalling that converts into objects and unmarshalling that converts objects to something else, and not vice versa but that's just my opinion.) The JAXB compiler creates a bunch of source files each with one (or now more) class(es) (and now interfaces) that correspond to the elements/tags of your grammar. (Now "compiler" is a true jevel of a misnomer, try to explain to students that after they run the "compiler", they still need to compile the sources the "compiler" generated with the real Java compiler!). Ok, you've got these sources compiled. Now you call one single method, unmarshall() and as a result you get the root node of the hierarchy that corresponds to the XML document. Sounds like DOM, but it's much better - the objects in the resulting tree don't have all the same type, but their type depends on the tag they represent. E.g if there is the tag <ball-game> then there will be an object of type myPackage.BallGame in your data structure. It gets better, if there is <score> inside <ball-game> and you have an object ballGame (of type BallGame) that you can simply call ballGame.getScore() and you get an object of type myPackage.Score. In other words, the child tags become properties of the parent object. Even better, the attributes become properties, too, so as far as your program is concerned there is no difference whether the property value was originally a tag or an attribute. On top of that, you can tell in your schema that the property has an int value - or another primitive type (that's like that in 1.0, in the early release you'll have to do it in the additional xjs file). So this is a very natural way to explore the data structure of the XML document. Of course there are drawbacks, but they are minor: daunting complexity and, as a consequence, very steep learning curve, documentation that leaves much to reader's phantasy - read trial and error - (the user's guide is too simplicistic and the examples too primitive, e.g. they don't even tell you how to make a schema where a tag has only attributes) and reference manual that has ~200 pages full of technicalities and you have to look with magnifying glas for the really usefull stuff, huge number of generated classes, some of which you may not need at all (and in 1.0 the number has doubled because each class has an accompanying interface), etc., etc. But overall, all that pales compared to the drastically improved efficiency of the programmer's efforts, i.e. your time. The time you'll spend learning the intricacies is well spent, you'll learn it once and then it will shorten your programming time all the time you use it. It's like C and Java, Java is order of magnitude more complex, but you'd probably never be sorry you gave up C.
    Of course the above essay leaves out lots and lots of detail, but I think that it touches the most important points.
    A word about JAXB 1.0 vs. Early Release (EA) version. If you have time, definitively learn 1.0, they are quite different and the main advantage is that the schema combines all the info that you had to formulate in the DTD and in the xjs file when using the EA version. I suggested EA was because you had a DTD already, but in retrospect, you better start from scratch with 1.0. The concepts in 1.0 are here to stay and once your surmounted the learning curve, you'll be glad that you don't have to switch concepts.
    When parser job is done,
    what kind of Java Object we will get? (String,
    InputStream or ...)See above, typically it's an object whose type is defined as a class (and interface in 1.0) within the sources that JABX generates. Or it can be a String or one of the primitive types - you tell the "compiler" in the schema (xjs file in EA) what you want!
    2. If we want to use JAXB, we have to contain a
    XJS-file? Something like:In EA, yes. In 1.0 no - it's all in the schema.
    I am very new to XML, is there any simpler way to get
    around them? It has already take me 4 days to find a
    simple parser which give it XML and DTD, then return
    to me Java objects ... I mean if that kind of parser
    exists....It'll take you probably magnitude longer that that to get really familiar with JAXB, but believe me it's worth it. You'll save countless days if not weeks once you'll start developing serious software with it. How long did it take you to learn Java and it's main APIs? You'll either invest the time learning how to use the software others have written, or you invest it writing it yourself. I'll take the former any time. But it's only my opinion...
    Jan

  • I can't read a Object from file, Please help me

    i want to write a Object into File. this is code of Object
    class objStoreCus implements Comparable, Serializable
    String customerID = new String();
    String customerName = new String();
    String customerEmail = new String();
    objStoreCus(String cusID, String cusName, String cusEmail)
    customerID = cusID;
    customerName = cusName;
    customerEmail = cusEmail;
    objStoreCus(){}
    public int compareTo(Object o)
    objStoreCus oS = new objStoreCus();
    oS = (objStoreCus)o;
    return(customerEmail.compareTo(oS.customerEmail));
    private void writeObject(ObjectOutputStream s) throws IOException {
    s.defaultWriteObject();
    private void readObject(ObjectInputStream s) throws IOException, ClassNotFoundException {
    try
    s.defaultReadObject();
    }catch(IOException ie){throw new IOException();}
    catch(ClassNotFoundException cnt){throw new ClassNotFoundException();}
    And I was wrote above Object into File by this code :+
    FileOutputStream fos;
    ObjectOutputStream oos;
    FileInputStream fis;
    ObjectInputStream ois;
    public void writeObjToFile(objStoreCus obj)
    try
    fos = new FileOutputStream("Exrcise3.ex3", true);
    }catch(FileNotFoundException fnfe){}
    try
    oos = new ObjectOutputStream(fos);
    //ghi doi tuong vao file
    oos.writeObject(obj);
    //dong stream
    oos.close();
    fos.close();
    }catch(IOException ie){}
    But i can't read above Object from file. allway have a Exception occur "StreamCorruptedException".
    this is code read Object form file :
    *parameter is ArrayList will be store Object from file.
    public void readObjFromFile(ArrayList al)
    try
    fis = new FileInputStream("Exrcise3.ex3");
    }catch(FileNotFoundException fnfe){}
    try
    ois = new ObjectInputStream(fis);
    while(true)
    try
    objStoreCus osc = new objStoreCus();
    osc = (objStoreCus)ois.readObject();
    System.out.println(osc.customerEmail);
    }catch(Exception e)
    e.printStackTrace();
    //System.out.println();
    break;
    ois.close();
    fis.close();
    }catch(IOException ie){}
    }

    Problem lies in
    os = new FileOutputStream("Exrcise3.ex3", true);
    You are trying to append to that file, You should always use new file to serialize objects.
    os = new FileOutputStream("Exrcise3.ex3");
    Try with above line.

  • Very strange broadband question. Please help!

    Hi guys. A few days ago I was having problems with my telephone. We could not make or receive calls but our broadband was still working fine, just a little bit slower than usual. I filed a fault report with BT and the issue was resolved within 2 days and my telephone is now working fine but my broadband is now playing up. It is permanently slow, websites load increddibly slow and my download speeds are at a maximum of about 50 kb/sec. I'm on BT total broadband unlimited so it can't be me being limited for going over my monthly usuage.
                       The router is connected directly to the master socket and my computer is connected via ethernet port. The only other computer in the house is connected wirelessly and is also getting shockingly slow speeds. I've logged into the router and it is saying that my connection speed is 4mb/sec. I've also done BT's own speed test and that found a similar result. Here's a screen cap of the tests results. 
    If both tests are stating my line speed is currently around 4mb/ sec how is it that my broadband is so slow and my maximum download speed is 50kb/sec. Would really appreciate some help, thanks. 

    your problem is your profile is only 750 instead of 3500 which leads to lower throughput/download.
    if connection now ok then staying connected to the internet 24/7 for 3/5 days maybe sooner the profile will come back to normal
    If you like a post, or want to say thanks for a helpful answer, please click on the Ratings star on the left-hand side of the post.
    If someone answers your question correctly please let other members know by clicking on ’Mark as Accepted Solution’.

  • Java3D behavior - please help

    Does anybody know how I can make a java3d behavior that can modify 2 branchgroups from different scenegraphs, for example the ViewPlatform branchgroup, and the branchgroup of an object in the scenegraph????????
    thanks

    or maybe a more appropriate question would be:
    How can I read a branchgroup node from a behavior that is not attached to the same scenegraph as the branchgroup node I want to read????

  • Zen 6.5 NAL Object Push Mystery - Please help!

    I am a totally clueless about Novell and ZenWorks and can use some help from the forum community.
    We run Zen 6.5 and push down apps and icons to a large number of PCs that are used by patrons.
    For many years this all worked fine. But, since a few months ago we had an incredibly tough problem.
    From time to time, NAL Objects that are set to "run once" and have _not_ had their version change begin to push to the clients. For example, weeks ago we pushed a patch using a NAL object - this was set to run once and version is set to 0 and worked as expected. Yesterday, Zen started pushing the NAL objects to clients in the middle of the day (clients it had done weeks ago). There are numerous NAL objects for this patch job because we tie them to group and there are about 80 groups - many of the objects were pushed, not just one. If it were one, I would assume human error. Add to that that this has happened before with other NAL objects and I am super stumped.
    Is there any thing on the client side that would make it look like it is new to Zen? What else could be causing something like this?

    "Run Once" is a bit of a misnomer and does not work as most people expect.
    It is really "Run Once Per User Profile on Each Machine".
    It is not really run once on a give machine.
    Most folks really want it to push just once to the machine.
    To really make it run once per machine, you would need to include a
    System Requirement that checked something the app pushed like a reg key.
    You could even add your own reg key if you like.
    On 10/21/2010 8:36 PM, jayhaque wrote:
    >
    > I am a totally clueless about Novell and ZenWorks and can use some help
    > from the forum community.
    >
    > We run Zen 6.5 and push down apps and icons to a large number of PCs
    > that are used by patrons.
    > For many years this all worked fine. But, since a few months ago we had
    > an incredibly tough problem.
    >
    > From time to time, NAL Objects that are set to "run once" and have
    > _not_ had their version change begin to push to the clients. For
    > example, weeks ago we pushed a patch using a NAL object - this was set
    > to run once and version is set to 0 and worked as expected. Yesterday,
    > Zen started pushing the NAL objects to clients in the middle of the day
    > (clients it had done weeks ago). There are numerous NAL objects for this
    > patch job because we tie them to group and there are about 80 groups -
    > many of the objects were pushed, not just one. If it were one, I would
    > assume human error. Add to that that this has happened before with other
    > NAL objects and I am super stumped.
    >
    > Is there any thing on the client side that would make it look like it
    > is new to Zen? What else could be causing something like this?
    >
    >
    Craig Wilson - MCNE, MCSE, CCNA
    Novell Knowledge Partner
    Novell does not officially monitor these forums.
    Suggestions/Opinions/Statements made by me are solely my own.
    These thoughts may not be shared by either Novell or any rational human.

Maybe you are looking for

  • How can I delete a song from my iPhone?

    I am trying to delete a song from my iPhone music library.I delete it and then I eject my iPhone.When i reconnect it,the song is there again.

  • Group Messages Not Working between Android and iPhone Users on iOS7

    Hi there, I am a former iPhone user.  I recently converted both my line and my wife's line from the IPhone 5 to a Motorola X Android phone.  We kept our same phone numbers, but we completely switched from Verizon to AT&T.  I have noticed that text me

  • Svg code option

    svg code option is deactivated in svg options dialogbox. How i can activate?

  • ACE 4710 Appliance: init: failed to initialize modlock_init(): No such file or directo

    Hi, I have ACE 4710 Appliance, but it is failed and giving following error while login at console..... I am suspecting hardware issue..most probably with harddrive.... Please let me know if it can be recoverable of only replacement is the solution..

  • Problems in calculating querys

    I have a query for which data are in a infocubo and I pass the following: I have records of the type: City Stock Price New York 2 100 New York 1 50 And I want to make the value of the stock, but when you add the query by New York draws 450 proved tha