Serialization back-doors?

Anyone know any good tips for speeding up serialization by customizing ObjectOutputStream / ObjectInputStream?
I want to keep serialization transparent to my domain objects (i.e, externalizable at the code level isn't acceptable).
Looking at the code for the two classes, I realised that I could do away with writing out ObjectStreamClasses - which gave a 30-40% gain.
(Im only serializing classes between multiple instances of the same application, so all the class versioning stuff isnt important to me).
However, Im still burning serious CPU on (de)serialization.
I thought of writing a custom stream, in conjuntion with load time weaving to write in the equivilent to externalizable implementations to all serialized classes at load time. My motivation was that I believed java serialization used reflection to set / get fields. On closer inspection though, it seems that the infamous java.misc.Unsafe class is used to set / get fields using native code.
Im wondering if anyone has found any other good tricks for stripping unnecessary stuff out of serialization in this context?

Not really transient...
My domain classes already have fields which dont need to be serialized marked as transient.
It could be that using externalizable would speed things up a fair bit. The problem is that I dont control the domain classes (off-shore developers etc etc), and I dont want to make it hard to write domain classes by forcing developers to do all the externalizable stuff: I'd like any solution to be largely transparent to the domain classes.
The context of the problem is significant here: Serialized data is short lived and is communicated between running instances of the same application using the same code base.
I've thus written extensions to ObjectOutputStream and ObjectInputStream which do away with writing class descriptors - yielding a good gain in throughput (Im really supprised that there's nothing about this on the web - its a cheap trick with good results).
So I suppose Im looking for more tricks like this which I might have missed :o)

Similar Messages

  • How do I find a "back door" program or process to re-start my cd drive?

    Hi all,
    I have an i Mac that I am attempting to update to a Panther in order to be able to install and use some of my more recent program purchases, including Quickbooks 6 and Turbotax Premium 2005, which require at least a 10.2.8 upgrade to install and run. Within the last week, my cdrw drive in my i Mac has died and we have tried everything we can think of to do or could find ideas for in Macos trouble-shooting books to try to get the upgrade to install. Because the drive isn't working, it would not boot directly under any method, including trying starting from shutoff holding the c, or the Control and c, to get it to boot; it would ask for my administrator password, then tell us to start; then back to the password...an endless cyle.
    When none of that worked, we tried loading the upgrade to Panther from my external drive Iomega CDRW but it put us into the same cycle; the man who set up my system (he lives out of state and cannot help us to set it up) said that the 10.1 operating system will allow us to only boot or install the upgrade from a working crdw drive in the i Mac itself.
    Because of my current financial situation being what it is, I cannot at this time afford to pay a Mac tech at $90.00/hour or more to work on it, that option is a very last choice on my list I need this upgrade to be able to install the Turbotax to bring in some income.
    I have been told by people who are computer techs at Intuit that there are back door programs available that will allow us to install or write a temporary program to re-start my cdrw drive in the i Mac for long enough to do the install and programs I need and for us to make sure everything is operating properly. Can anyone help me out with this? Any and all help will be greatly appreciated.
    Also, just a couple of minor questions:
    1. Am I able to install regular software programs, such as Turbotax, without issues, from my external cdrw?
    2. How do I get directly in contact with apple tech help (live help, chat) to get their input as well? I'm not sure how to get there.
    Thank you,
    Old Native Soul
    i Mac   Mac OS X (10.1.x)   Iomega CDRW 52x24x52, HP printers

    There are no "backdoor" programs that will make a defective optical drive work.
    If your iMac has a Firewire port you can use an external Firewire optical drive to boot the Panther Installer Disc provided the external optical drive is bootable. Otherwise, you will need to replace the internal optical drive. If your iMac does not have a Firewire port, then I believe you are out of luck unless you can get the Panther Installer Disc to boot from a USB external drive - doubtful at best.
    If you can't afford to have someone fix your computer, then you should consider fixing it yourself. You can find repair manuals here: http://www.whoopis.com/computer_repair/. You can buy a bare optical drive most anywhere on the internet. Other parts resources include www.welovemacs.com, www.applerescue.com, www.shreevesystems.com. You can also find user review information at www.xlr8yourmac.com.

  • Mail account cannot update because home directory is full. But I can not get into mail without freezing. Is there a back door entry?

    mail account cannot update because home directory is full. But I can not get into mail without freezing. Is there a back door entry?

    Do you mean that your startup disk is full?

  • Although I turned off WiFi, set as 'require admin password to turn on and off wifi, when I turn on my MacBook Pro, retina latest model, just got for a month, it turns on wifi automatically, is this a back door or virus or security hole? Thank you

    I have my all networks at 'Off' status in the system panel, never use Bluetooth either, also in the top status bar, and set as 'require admin password to turn on and off WiFi', but when I turn on my MacBookPro 15" retina newest model only one month old, it goes on to WiFi automatically by itself.
    Is this a back door? Security hole?
    The other day, I was taking a break for five minutes, when I came back, the Microsoft outlook is open for setting up an account, I never use outlook, it is there only because it comes with the office package. Also, iTunes was playing music, I don't use iTunes when I'm working. Both were not on before I left for the break.
    What is the problem?

    I have my all networks at 'Off' status in the system panel, never use Bluetooth either, also in the top status bar, and set as 'require admin password to turn on and off WiFi', but when I turn on my MacBookPro 15" retina newest model only one month old, it goes on to WiFi automatically by itself.
    Is this a back door? Security hole?
    The other day, I was taking a break for five minutes, when I came back, the Microsoft outlook is open for setting up an account, I never use outlook, it is there only because it comes with the office package. Also, iTunes was playing music, I don't use iTunes when I'm working. Both were not on before I left for the break.
    What is the problem?

  • How do I find out if I have back door port issues.

    I recently got to looking at my MacBook Pro and noticed that I had a couple of programs most likely put there by my kids that download movies and stuff. One was Limewire and there was another one called torrent something. I dont know a lot about them but have friends that are telling me that these programs will install some sort of back door access to my computer that will slow it down. I have recently deployed to the Middle East so our internet isn't fast to begin with so I cant be sure why it is running slower. I have since deleted the programs as I have no need for them. How do I tell if there are any of these back door programs and stop them. I am fairly new to the Mac world so I am just learning a lot of how they operate.
    Thanks for any guidance on this issue.

    Camelot wrote:
    Bit-torrent rubbish and limewire are usually used for downloading illegal material and much of the software downloaded is filled with malware
    That is a false statement.
    BitTorrent and Limewire can be exploited by malware authors, and there may be illegal content passing over the network, but to say that this is the usual case is a little too much. Your statement implies that by installing the software you immediately become a criminal and your machine gets infested with malware. That is not the case. There is a lot of legitimate traffic on such peer-to-peer networks.
    Downloading content via a torrent carries the same risks and responsibilities as downloading content from anywhere else. Consider how much you trust the source before installing/opening anything you download. The main issue, of course, is that you don't know who the source is, and that's the real concern.
    Not true
    Bit-torrent is not the same as simply downloading material. It is connecting to a large user-shared internet network, and usually allows other people to access your computer when you are a seed.
    And I maintain that most bit-torrent activities are for downloading "shared" files which are usually copyright protected. I have personally checked and verified this. If you believe that being able to download Leopard or Apple products via bit-torrent sites is legal, then we have our differences.
    I reference
    http://en.wikipedia.org/wiki/Legalissues_withBitTorrent
    and others.
    The claim is that the "sharing" is legal because it's user-to-user. So it's OK for someone to "share" the Leopard OS?
    I stand by my original statements 100%. I would take the opposite stand, Limewire and bit-torrent "can" be used legally, but for the most part when reality strikes home, they are not. Those who say it's OK to "share" files are either naive or are involved in the "sharing" but in any case, just look at what is being shared and that proves my point.
    Naturally, the fact that "sharing" is popular is why much malware is associated with the processes.
    This old link is a mere bagatelle of what goes on with file "sharing"
    http://www.neowin.net/news/main/08/05/07/malware-outbreak-blamed-on-file-swapped -mp3s-mpegs
    BTW, it's illegal to share copyrighted files no matter what, and it's illegal to own them unless they were legally purchased.
    Message was edited by: nerowolfe
    Message was edited by: nerowolfe

  • Cant start imac.  need a back door way to delete files

    My imac locked up and now I can't get it to start up.  I believe the problem is a lack of free disc space on the hard drive but I don't know how to delete files?  Does anyone know a back door way to get in and delete files (empty trash)?

    Boot from the Install Disc that came with the computer and then move data off to an external HD. If you are a typical user what is probably occupying a lot of your HD space is media such as iTunes library, iPhoto library and maybe iMovie library. I'd recommend moving those to an External HD. You can then easily access them after you are able to start normally on by following the directions in:
    iMovie: How to move the Library to an EHD
    iPhoto: How to move the Library to an EHD
    iTunes: How to move the library to an EHD
    Another possible solution is if you have a second Mac then boot the problem Mac in Target Disk Mode.

  • HP Deskjet Ink Advantage 2060 All-in-One Printer back/door open issue

    HP Deskjet Ink Advantage 2060 All-in-One Printer... i cant print and it mention back/door open... but i closed it... how to solve this? help me please...

    http://h10025.www1.hp.com/ewfrf/wc/document?docname=c00829896&cc=us&dlc=en&lc=en
    This might help you out. I am not HP, just like to help

  • I can't remember my administrator name and password.  How do I back door to find it?

    I can't remember my administrator name and password.  How do I back door to find it?

    http://support.apple.com/kb/ht1274

  • There is supposed to be a back door way to run Skype on a PB.

    "there is supposed to be a back door way to run Skype on a PB.
    All I have found is a port of a 'droid' app and only the chat feature works. You have to side load it into your PB.

    Yup.  I have looked high and low for a decent video chat option for cross platform chat and can find NOTHING.  Imo does not work correctly on upgraded os2 andreelportal is really poor quality.
    I love the PB.  I love thesize, it's speed, it's UI, but I can't get over its software limitations.  I'm going away in 3 weeks and need video chat.  So ilooked at my options last couple of days and unfortunately iam now on the verge of selling pb and getting an android tablet..............and giving up my bb handset for a galaxy s2.  the limitations of the pb has unfortunately highlighted the limitations of bb to me and unless things change inthenext few days with video chat options on pb, RIM have lost a loyal customers.  Sad, but the way of the world.

  • HT4993 Why did I see a pop up window on my iPhone 4S that said "Apple Back Door"?

    I went to Berlin, Germany and took my iPhone 4S. Before I left, I asked my carrier (Sprint) and the ignorant technician told me that if I wanted to use my phone for texting and calling locally in Germany, I just needed to go to any phone store and buy a sim card. Well, I did, and the sales technician in Germany was not well versed with iPhones, so he tried twice to put in a Vodophone sim card, but it wouldn't work, and a 4 digit blank pin number page appeared, which at that time, I realized my iPhone was LOCKED. Sprint failed to tell me that. In any event, I used the phone over wifi to acess FB and other apps, which worked okay. Sprint also failed to tell me that I could have used iMessage over wifi to text my friends in Germany who also had the 4S, shame on Sprint, they shouldn't put an 18 year old at the desk who doesn't know blank! This time, I was really upset with Sprint.
    But my question now, is when I opened a few apps, and it only happened twice, once in Germany at the Airport when I was about to leave, and once when I arrived back in the States, once I got off he plane and searched for a signal (I kept the iPhone in "airplane" mode all the time I was in Germany), a window quickly appeared and disappeared, but all I could see was on the top header of the white window, it said, "Apple Backdoor", and quickly turned as if was apage, and disappeared, and I still continued on. It didn't block anything I was trying to do on the phone, but I went to both Sprint and the Apple retail stores, and no one seems to have an answer, or even have said they never heard or seen such a window or app named "Apple Backdoor". Does anyone have any information on this? It is kind of making me suspicious of the technician in Germany, was he trying to access my iPhone's personal data (he took a long time)? Or was I being tracked by anyone, or perhaps government tracking because I was going overseas? I even tried to Google it, and all I come up with is something related to the FileApp Vault, which is about a Mac computer, not about an iPhone. There was an article written back in 2010, about the Indian Government exposing a flaw in the iPhones, accessing them through exactly what was worded "Apple Backdoor". Please, anyone, do you have any information on this, and do I need to take any precautions, or should I reinstall the new I OS 6 (the Apple technician at the retail store suggested it if I felt very uncomfortable).
    "Apple Backdoor" - what is it, what does it mean - only for iPhones, not macs or iPads?

    It's not a virus. It's a JavaScript scam that only affects your web browser, and only temporarily.
    Some of those scam pages can be dismissed very easily. Press command-W to close the tab or window. A huge box will pop up. Press the return key and both the box and the page will close. If that doesn't happen, continue.
    From the Safari menu bar, select
    Safari ▹ Preferences... ▹ Security
    and uncheck the box marked Enable JavaScript. Leave the preferences dialog open.
    Close the malicious window or tab.
    Re-enable JavaScript and close the preferences dialog.
    If the Preferences menu item is grayed out, quit Safari. Force quit if necessary. Relaunch it by holding down the shift key and clicking its icon in the Dock. From the menu bar, select
    Safari ▹ Preferences... ▹ Privacy ▹ Remove All Website Data
    to get rid of any cookies or other data left by the server. Open your Downloads folder and delete anything you don't recognize.

  • Serialization Back to Database

    Hi Every one, I am facing a little problem here that i cant seem to get past.
    I have done Serialization on my Database, i can Read the File into a Text Area. inside my View. I am using MVC in my program. What i am having a problem with is Trying to get this Object that i had Created with Serialization Into my Database as a Backup
    My Database Table is made up with the following
    ID (Int)
    FirstName (text)
    LastName (text)
    Address (text)
    PhoneNumber (int)
    bytes (blob)
    WRITE_OBJECT_SQL_PATIENT =
                             connection1.prepareStatement("INSERT INTO Patient(Id,FirstName,LastName,Address,PhoneNumber,bytes)" +
                                       "VALUES(?,?,?,?,?,?)");
         public ArrayList<Person> writeJavaObject(ActionEvent evt)
              ArrayList<Person> results = null; // ArrayList <Person>
              ResultSet resultSet = null; // ResultSet Set to Null
              try
                   // executeQuery returns ResultSet containing matching entries
                   resultSet = WRITE_OBJECT_SQL_PATIENT.executeQuery(); //ResultSet equals SelectAllPeople & Execute The Query Above
                   results = new ArrayList< Person >(); // Placing Entries into ArrayList
                   WRITE_OBJECT_SQL_PATIENT.setString( 1,"Patientid");
                   WRITE_OBJECT_SQL_PATIENT.setString( 2, "FirstName" );
                   WRITE_OBJECT_SQL_PATIENT.setString( 3, "LastName" );
                   WRITE_OBJECT_SQL_PATIENT.setString( 4, "Address" );
                   WRITE_OBJECT_SQL_PATIENT.setString( 5, "PhoneNumber" );
                   WRITE_OBJECT_SQL_PATIENT.setObject( 6, "object" );
              } // end try
              catch ( SQLException sqlException )
                   sqlException.printStackTrace();
                   close();
              } // end catch
              return results;
         }This is a Method that is calling the above code but i am getting Can not issue data manipulation statements with executeQuery().
         public static void LOADITEMactionPerformed(ActionEvent evt)
              results -
                            DBSQLQueries.writeJavaObject(evt);
         }

    I doubt that design will be usable over time. As an example of why - because data model entities are not always mappable in one to one relationships.
    And given that it looks like the connection/statement scope is outside the method it probably isn't thread safe either. And perhaps leaking connections.
    Other than that your question is a bit hard to understand. I can only suppose that when you attempt the write that it fails but you don't specify how. In other words you do not supply the exception and stack trace.
    But as a guess you are not using an updatable query.

  • Reinstalled, can't remember my login ID-secret back door entry??

    I have spent HOURS searching and "fixing" my powering up issue, had to reinstall, now I get to the screen calling for login and password. I haven't logged in since it was new, 4+ years ago and tried every variation of my name I can think of. Is there a work around for this? I'm ready to cry.....Thanks for any help. Pam

    I fixed it! I signed in again as system administrator, opened the Mac HD icon on the desk top and my userid was in the users folder. I have no idea why it didn't show up in system preferences, accounts, but it didn't. I added it in the preferences, accounts, and it said one existed and did I want to use that one. Of course! Now all my stuff is back after an all day roller coaster. Thanks to everyone that viewed this string! Pam

  • Google Update 1.3.21.115 recently showed up in my Extensions. I don't know how this back-doored into Firefox. What is it? and should I disable it?

    No other details.

    "Adobe Flash Player Installer (update)" * is the accomplice to
    "Google Update 1.3.21.115" SNEAKING into Firefox.
    There is no OPTION-Box to Uncheck -- for preventing this Google auto-update access feature -- The Adobe Update just rams it in; no lube, saliva... nothing.
    WHY are there NEVER painless encounters with Adobe!

  • Usb laser printing, HD's with integral hubs, and open doors to network?

    Bought a N capable base station and an airport express this week as I have multiple minis and a macbook and wish to put my itunes onto a central drive and use wireless printing.
    Spent an “interesting” evening last night setting up, and I seem to have worked out how to use itunes via aliases etc.
    But – when I try to print, the dialogue box comes up, the laser printer (Samsung 2550) starts up, but fails to print.
    My set up is as follows – Iomega 320gb mini HD (powered) plugged into the USB on the base station and then the laser and my inkjet plugged into the USB sockets on the HD (its one of those which has an integral USB and FW hub built in).
    Now, as it was very late in the evening, I didn’t do any more trouble shooting, but am intrigued as to why the printer would not print. The log says that the print job has been completed, but nothing comes out. I disconnected the printers from the hd hub and then disconnected the HD. I then plugged the printer directly into the base station, but it still doesn’t work.
    Annoyingly enough, the printer worked fine the previous night when I was using it with the usb on the airport express alone (hadn’t bought the base station at this point).
    The computer(s) “see” the laser printer without difficulty, so I see no reason why it should not print using the base station.
    One thing which occurs to me is to plug a powered USB hub into the base station, and then separately plug the HD and the Laser into sockets on this hub, rather than using the integral hub of the HD. Again, I cant see why this should be necessary but I’ll give it a try.
    Any thoughts re this?
    One Last Thing…
    The main reason for buying the kit is to cover a “weak spot” in the house for wifi. Hence the idea was to connect my modem/router via Ethernet to the base station, and then use the airport express as a WDS to effectively re-broadcast the signal and hopefully provide maximum signal strength throughout the house.
    My question is – having used the airport utility to do this, am I right in presuming that the airport express then becomes effectively “invisible” and hence when I use my mini in the weak spot to log onto a network via airport, I should only see the SSID of my main base station (although in reality I will be accessing it via the airport express). I think this must be right because when I added the airport express the signal strength in the weak area of the house went to the max.
    My base station uses WAP protection but I don’t appear to have any protection set up on the airport express (which I realise is a router in its own right). Do I need to add protection to the airport express to prevent access to my overall network? In otherwords, is an unprotected airport express acting as a WDS, effectively an open back door to the network? Would a neighbour etc be able to pick up my network SSID being broadcast by the airport express and log onto that without the WAP password?
    Finally what is the difference between the airport express being a remote or a relay station. I would have thought that to act as a network extender, it should be set to relay, but the default appears to be remote. The Apple help sections don’t appear to distinguish between functionality, merely state the options.
    Any help/advice gratefully accepted
    Airport extreme, mac minis    

    I then plugged the printer
    directly into the base station, but it still doesn’t
    work.
    You need to get this to work first. Otherwise forget it to work with a Hub. Turn the printer on FIRST. Then turn on the base station.
    One thing which occurs to me is to plug a powered USB
    hub into the base station, and then separately plug
    the HD and the Laser into sockets on this hub, rather
    than using the integral hub of the HD. Again, I cant
    see why this should be necessary but I’ll give it a
    try.
    Direct connection and powered USB Hub are the only supported configurations by Apple. I've had no problem with attaching up to 7 separate devices on a $20 powered hub. Having a "integrated hub" like you describe may theoretically work, but it is not the same thing as a separate hub.
    My question is – having used the airport utility to
    do this, am I right in presuming that the airport
    express then becomes effectively “invisible” and
    hence when I use my mini in the weak spot to log onto
    a network via airport, I should only see the SSID of
    my main base station (although in reality I will be
    accessing it via the airport express).
    If you use WDS or "extend" the network, all base stations will still broadcast the SSID.
    My base station uses WAP protection
    You must mean WEP or WPA. There is no WAP protection.
    but I don’t
    appear to have any protection set up on the airport
    express (which I realize is a router in its own
    right). Do I need to add protection to the airport
    express to prevent access to my overall network? In
    other words, is an unprotected airport express acting
    as a WDS, effectively an open back door to the
    network? Would a neighbor etc be able to pick up my
    network SSID being broadcast by the airport express
    and log onto that without the WAP password?
    Yes, even if you turn SSID broadcast off, the SSID is broadcasted during the transactions and it will be easily detected using iStumbler. An yes you are letting a nice open back door for your neighbors.

  • Issue with POF serialization - Failure to deserialize an Invocable object: java.io.StreamCorruptedException

    Am running into following exception even after following all guidelines to implement POF. The main objective is to perform Distributed Bulk cache loading.
    Oracle Coherence GE 3.7.1.10 <Error> (thread=Invocation:InvocationService, member=1): Failure to deserialize an Invocable object: java.io.StreamCorruptedException: unknown user type: 1001
    java.io.StreamCorruptedException: unknown user type: 1001
      at com.tangosol.io.pof.PofBufferReader.readAsObject(PofBufferReader.java:3312)
      at com.tangosol.io.pof.PofBufferReader.readObject(PofBufferReader.java:2604)
      at com.tangosol.io.pof.ConfigurablePofContext.deserialize(ConfigurablePofContext.java:371)
      at com.tangosol.coherence.component.util.daemon.queueProcessor.Service.readObject(Service.CDB:1)
      at com.tangosol.coherence.component.net.Message.readObject(Message.CDB:1)
      at com.tangosol.coherence.component.util.daemon.queueProcessor.service.grid.InvocationService$InvocationRequest.read(InvocationService.CDB:8)
      at com.tangosol.coherence.component.util.daemon.queueProcessor.service.Grid.deserializeMessage(Grid.CDB:19)
      at com.tangosol.coherence.component.util.daemon.queueProcessor.service.Grid.onNotify(Grid.CDB:31)
      at com.tangosol.coherence.component.util.Daemon.run(Daemon.CDB:42)
      at java.lang.Thread.run(Thread.java:662)
    Following is the pof-config.xml
    <?xml version="1.0" encoding="UTF-8" ?>
    <pof-config xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
                xmlns="http://xmlns.oracle.com/coherence/coherence-pof-config"
                xsi:schemaLocation="http://xmlns.oracle.com/coherence/coherence-pof-config/1.1/coherence-pof-config.xsd">
      <user-type-list>
        <include>coherence-pof-config.xml</include>
        <user-type>
          <type-id>1001</type-id>
          <class-name>com.westgroup.coherence.bermuda.loader.DistributedLoaderAgent</class-name>
          <serializer>
            <class-name>com.tangosol.io.pof.PofAnnotationSerializer</class-name>     
            <init-params>
              <init-param>
                <param-type>int</param-type>
                <param-value>{type-id}</param-value>
              </init-param>
              <init-param>
                <param-type>java.lang.Class</param-type>
                <param-value>{class}</param-value>
              </init-param>
              <init-param>
                <param-type>boolean</param-type>
                <param-value>true</param-value>
              </init-param>
            </init-params>
          </serializer>
        </user-type>
         <user-type>
          <type-id>1002</type-id>
          <class-name>com.westgroup.coherence.bermuda.profile.lpa.LPACacheProfile</class-name>
          <serializer>
            <class-name>com.tangosol.io.pof.PofAnnotationSerializer</class-name>     
            <init-params>
              <init-param>
                <param-type>int</param-type>
                <param-value>{type-id}</param-value>
              </init-param>
              <init-param>
                <param-type>java.lang.Class</param-type>
                <param-value>{class}</param-value>
              </init-param>
              <init-param>
                <param-type>boolean</param-type>
                <param-value>true</param-value>
              </init-param>
            </init-params>
          </serializer>
        </user-type>
         <user-type>
          <type-id>1003</type-id>
          <class-name>com.westgroup.coherence.bermuda.profile.lpa.Address</class-name>
          <serializer>
            <class-name>com.tangosol.io.pof.PofAnnotationSerializer</class-name>     
            <init-params>
              <init-param>
                <param-type>int</param-type>
                <param-value>{type-id}</param-value>
              </init-param>
              <init-param>
                <param-type>java.lang.Class</param-type>
                <param-value>{class}</param-value>
              </init-param>
              <init-param>
                <param-type>boolean</param-type>
                <param-value>true</param-value>
              </init-param>
            </init-params>
          </serializer>
        </user-type>
         <user-type>
          <type-id>1004</type-id>
          <class-name>com.westgroup.coherence.bermuda.profile.lpa.Discipline</class-name>
          <serializer>
            <class-name>com.tangosol.io.pof.PofAnnotationSerializer</class-name>     
            <init-params>
              <init-param>
                <param-type>int</param-type>
                <param-value>{type-id}</param-value>
              </init-param>
              <init-param>
                <param-type>java.lang.Class</param-type>
                <param-value>{class}</param-value>
              </init-param>
              <init-param>
                <param-type>boolean</param-type>
                <param-value>true</param-value>
              </init-param>
            </init-params>
          </serializer>
        </user-type>
         <user-type>
          <type-id>1005</type-id>
          <class-name>com.westgroup.coherence.bermuda.profile.lpa.Employment</class-name>
          <serializer>
            <class-name>com.tangosol.io.pof.PofAnnotationSerializer</class-name>     
            <init-params>
              <init-param>
                <param-type>int</param-type>
                <param-value>{type-id}</param-value>
              </init-param>
              <init-param>
                <param-type>java.lang.Class</param-type>
                <param-value>{class}</param-value>
              </init-param>
              <init-param>
                <param-type>boolean</param-type>
                <param-value>true</param-value>
              </init-param>
            </init-params>
          </serializer>
        </user-type>
      </user-type-list>
      <allow-interfaces>true</allow-interfaces>
      <allow-subclasses>true</allow-subclasses>
    </pof-config>
    cache-config.xml
    <cache-config xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
      xmlns="http://xmlns.oracle.com/coherence/coherence-cache-config"
      xsi:schemaLocation="http://xmlns.oracle.com/coherence/coherence-cache-config http://xmlns.oracle.com/coherence/coherence-cache-config/1.1/coherence-cache-config.xsd">
       <defaults>
        <serializer>pof</serializer>
        </defaults>
      <caching-scheme-mapping>
      <cache-mapping>
      <cache-name>DistributedLPACache</cache-name>
      <scheme-name>LPANewCache</scheme-name>
      <init-params>
      <init-param>
      <param-name>back-size-limit</param-name>
      <param-value>250MB</param-value>
      </init-param>
      </init-params>
      </cache-mapping>
      </caching-scheme-mapping>
      <caching-schemes>
      <!-- Distributed caching scheme. -->
      <distributed-scheme>
      <scheme-name>LPANewCache</scheme-name>
      <service-name>HBaseLPACache</service-name>
      <serializer>
      <instance>
                 <class-name>com.tangosol.io.pof.ConfigurablePofContext</class-name>
                 <init-params>
                   <init-param>
                     <param-type>java.lang.String</param-type>
                     <param-value>pof-config.xml</param-value>
                   </init-param>
                 </init-params>
            </instance>
      </serializer>
      <backing-map-scheme>
      <read-write-backing-map-scheme>
      <internal-cache-scheme>
      <class-scheme>
      <class-name>com.tangosol.util.ObservableHashMap</class-name>
      </class-scheme>
      </internal-cache-scheme>
      <cachestore-scheme>
      <class-scheme>
      <class-name>com.westgroup.coherence.bermuda.profile.lpa.LPACacheProfile</class-name>
      </class-scheme>
      </cachestore-scheme>
      <read-only>false</read-only>
      <write-delay-seconds>0</write-delay-seconds>
      </read-write-backing-map-scheme>
      </backing-map-scheme>
      <autostart>true</autostart>
      </distributed-scheme>
      <invocation-scheme>
           <scheme-name>InvocationService</scheme-name>
           <service-name>InvocationService</service-name>
           <thread-count>5</thread-count>
           <autostart>true</autostart>
        </invocation-scheme>
      </caching-schemes>
    </cache-config>
    DistributedLoaderAgent (user type 1001)
    import java.io.IOException;
    import java.io.Serializable;
    import java.lang.annotation.Annotation;
    import org.apache.log4j.Logger;
    import com.tangosol.io.pof.PofReader;
    import com.tangosol.io.pof.PofWriter;
    import com.tangosol.io.pof.PortableObject;
    import com.tangosol.io.pof.annotation.Portable;
    import com.tangosol.io.pof.annotation.PortableProperty;
    import com.tangosol.net.AbstractInvocable;
    import com.tangosol.net.InvocationService;
    @Portable
    public class DistributedLoaderAgent extends AbstractInvocable implements PortableObject{
      private static final long serialVersionUID = 10L;
      private static Logger m_logger = Logger.getLogger(DistributedLoaderAgent.class);
      @PortableProperty(0)
      public String partDumpFileName = null;
      public String getPartDumpFileName() {
      return partDumpFileName;
      public void setPartDumpFileName(String partDumpFileName) {
      this.partDumpFileName = partDumpFileName;
      public DistributedLoaderAgent(){
      super();
      m_logger.debug("Configuring this loader ");
      public DistributedLoaderAgent(String partDumpFile){
      super();
      m_logger.debug("Configuring this loader to load dump file "+ partDumpFile);
      partDumpFileName = partDumpFile;
      @Override
      public void init(InvocationService service) {
      // TODO Auto-generated method stub
      super.init(service);
      @Override
      public void run() {
      // TODO Auto-generated method stub
      try{
      m_logger.debug("Invoked DistributedLoaderAgent");
      MetadataTranslatorService service = new MetadataTranslatorService(false, "LPA");
      m_logger.debug("Invoking service.loadLPACache");
      service.loadLPACache(partDumpFileName);
      }catch(Exception e){
      m_logger.debug("Exception in DistributedLoaderAgent " + e.getMessage());
      @Override
      public void readExternal(PofReader arg0) throws IOException {
      // TODO Auto-generated method stub
      setPartDumpFileName(arg0.readString(0));
      @Override
      public void writeExternal(PofWriter arg0) throws IOException {
      // TODO Auto-generated method stub
      arg0.writeString(0, getPartDumpFileName());
    Please assist.

    OK I have two suggestions.
    1. Always create and flush the ObjectOutputStream before creating the ObjectInputStream.
    2. Always close the output before you close the input. Actually once you close the output stream both the input stream and the socket are closed anyway so you can economize on this code. In the above you have out..writeObject() followed by input.close() followed by out.close(). Change this to out.writeObject() followed by out.close(). It may be that something needed flushing and the input.close() prevented the flush from happening.

Maybe you are looking for