Why I need the same pof conf on client+srver if Coherence is used as cache?

Hi,
I have first defined my own pof-config.xml only on my client.
And Coherence wrote me a very ackward msg: "StreamCorruptedException unknown user type 6" !!!????
I have made another try, while defining my own pof-config.xml on my servers too !
Then, Coherence has worked smoothly, as expected.
QUESTION: as I use Coherence as a cache, using no index, no EP... I expect Coherence is not going to dig into my byte[] for the 'server' nodes.
Then, I expect only the clients have to serialize/deserialize, I expect they send the byte[], and the servers store only them, that is, without needing any pof config.
If it works as I have written, why Coherence is not working ("StreamCorruptedException unknown user type 6"), if I define my own pof-config.xml only on my client ?
Thanks.
Regards,
Dominique

Hi Dominique,
user4947403 wrote:
Hi Robert,
robvarga wrote:
Hi Dominique,
Coherence does not know what you will do with the data. It has to assume that you may want to send an entry-processor or entry aggregator or query the items with a filter, or you may simply want to get the item from the cache WITHIN the cluster not only via Extend. imho, I feel it as counter-intuitive.
I have expected something like: as far as no EP is run, no pof config is searched+if no pof config exists in order to deserialize when needed, raise an exception.
1. There is no such thing as no config. If you don't specify an explicit configuration, default configuration is used, which (depending on whether POF is globally enabled or not) is either a DefaultSerializer, or a ConfigurablePofContext loading stuff from pof-config.xml.
2. If some data travels across the proxy connection, it has to travel in the serialization format configured for the proxy service. If you put data into a cache, it has to travel on the network in the serialization format configured for the cache service of the cache. Period.
If this rule was not followed, Coherence would not know what serialization format any piece of data has. Therefore as mentioned below, if the proxy service serialization configuration differs from the cache service serialization configuration, data has to be de- and reserialized on the proxy.
Again, imagine the case if your logic were followed: Just because you used some service to put data into the cache, Coherence cannot know that you will use the same service to get the data back. If some code inside the cluster tried to deserialize it, it would fail as it has no idea, that it was serialized with the proxy serialization format. It actually doesn't even have an idea that the data came from the proxy, or even that there is a proxy. Also, if you used some other code to put data into the cache which is not coming via the proxy, you would have another piece of data sitting in the cache which was not serialized by the proxy serialization format. If you tried to retrieve that via the TCP*Extend, you could not deserialize it on the client as it is not in the serialization format used by the proxy. Moreover, the client does not even have any chance of even knowing what it was serialized with as the client does not even see the serialization configuration of services inside the cluster.
Because of this it has to ensure that it can deserialize it with the serializer configured for the cache service within the cluster, so not with the one used for TCP*Extend.Well, in my case, my client is a cluster node+localstorage=false => are the explanations you wrote ok for this case too ?
It does not matter how your cluster looks like at the moment when you consider consistency checks. Nothing prevents you to start another cluster node, therefore Coherence cannot be lenient in the service configuration consistency checks just before .
By the way, if you have only a single storage-disabled cluster node (and that means that no cache server node is running) and you tried to put something into a distributed cache then if the serialization error did not happen because you have correct configuration, then you would have received a Storage not configured error instead, as no cache server node is running to actually store your data.
So if you did not get any errors, then you were either putting the data into a replicated cache where being storage-disabled is not relevant as that is a distributed cache setting, or you had a cache server node running or you only believed that the node was storage disabled.
Best regards,
Robert

Similar Messages

  • How to create a cube/ods/infoobjects etc..and also  why to create the same

    Dear Friends
    how to create a cube/ods/infoobjects etc..and also  why to create the same objects.
    thanks & Regards
    Ramana

    Hi Friend,
    Creating Infoobjects
    1. Go to RSA1 -> Modelling tab.
    2. Click on Infobjects.
    3. Create a new Infoarea.
    4. Now create Infoobject Catalog for Characterstics and Key Figures.
    5. Now create Char Infoobject under Char Catalog and Key figure Infoobject under Key Figure catalog.
    Creating Cubes:
    1. Right click the info area and choose create info cube.
    2. Select the type of cube you wish to create and comnfirm your selections.
    3. The next screen is where you actually define the cube.
    4. Now you will notice the difference.
    5. Place your cursur on key fig and right click and chose infio object direct input; chose your key fig for the cube.
    6. Similarly for the dimension; right click the dimension and chose inbfo object direct input, chose your chars and out them in dimension.
    7. Activate the cube.
    Creating a ODS is also the same.(in step 1 choose create ODS)
    Creating Multicube/Multiprovider
    1. Right click the info area - chose create multi provider.
    2. select the cubes , DSOs, info objects that you need for the multi provider.
    3. On the right side of the screen, you will see all the objects that you selected and open the key fig and dimension and drag the ones you need to define the multi provider.
    4. Identify the chars and key figs.
    5. Acvitate the mullti provider.
    Why we create them ?
    Infobjects : They are fields in R/3. As we require fields in R/3 tables we require infoobjects in BI.
    ODS : This actually is like a table in R/3.
    Cube : This contain the Key figures.(e.g Sales quantity, Amount etc)
    Hope it helps.
    Regards
    Hemant Khemani

  • I purchased songs from 2 different computers using itunes with the same apple id. I had 1 iPod I used for these but I just recently got an iPhone and I was wondering why it wasn't letting me put my purchased songs on my iPhone?

    I purchased songs from 2 different computers using itunes with the same apple id. I had 1 iPod I used for these but I just recently got an iPhone and I was wondering why it wasn't letting me put my purchased songs on my iPhone?

    You can transfer iTunes content from an iTunes library on a single computer only.
    Since these songs were purchased with the same iTunes account, you can download the song that is not in your iTunes library on the computer you will be syncing your iPhone with. Or you can download the song or songs direct on your iPhone.
    http://support.apple.com/kb/HT2519?viewlocale=en_US&locale=en_US

  • I am new to Firefox; how do I set up for auto fill for the various forms that need the same info time and time again; thanks.

    I am new to Firefox; how do I set up for auto fill for the various forms that need the same info time and time again; thanks.

    Make sure that you do not run Firefox in permanent Private Browsing mode.
    *https://support.mozilla.org/kb/Private+Browsing
    *Tools > Options > Privacy, choose the setting <b>Firefox will: Use custom settings for history</b>
    *Deselect: [ ] "Always use private browsing mode"
    *Select : [X] "Remember search and form history"
    See also:
    *https://support.mozilla.org/kb/Form+autocomplete
    <i>[locking thread due to the age]</i>
    If you have further questions then please start a new thread.
    *[[/questions/new start a new thread]]

  • For my ipad to recieve imessages does it need the same ID as my Itunes and facetime?

    for my ipad to recieve imessages does it need the same ID as my Itunes and facetime

    See:
    http://support.apple.com/kb/HT3529
    This is the iPhone forum, by the way.
    Regards.

  • Do I need the same ip address for my computer, router and printer?

    Do I need the same IP address for my computer, router and printer?
    I am trying to reset my router. I have had a lot of problems with "no connection" to my wireless printer. I reinstalled the software and it works for a while.
    Also, lose connection a lot on my laptop or it says I am a guest. My cable provider said it is my router.

    A typical convenient-sized "block" of addresses commonly used is just under 256 addresses. The router almost always is at location xx.yy.zz.1
    By default, DHCP will pass out addresses starting at the next address, xx.yy.zz.2 and keep going up toward 254.
    By convention, the Address at the end of the range ( xx.yy.zz.255 in this case) is a "magic" address used for broadcast messages, and must not be assigned to an actual device.
    To talk to each other easily, the Addresses must "match" in the first three octets of their address, and be different in the last octet, as the above examples do.
    When you produce a reference outside that range, such as asking for Apple's web page at:
    http://17.149.160.49
    It is sent to your Router, which acts as your "agent" in dealing with the Internet. The Router hides your computer's local address and uses its own Public address (provided automatically by your ISP) so send out packets on your behalf, and listen for the answering packets coming back.
    When you use a Router that you control, your computer cannot receive unsolicited queries from the Internet at large because the Router's Firewall discards them. Having a Router that you control means you already have the protection of its Firewall, and need not enable the Firewall built-into your Mac.

  • Calls listing,  why repetition of the same contact for each call ?

    Calls listing,  why repetition of the same contact for each call ?

    jasonnPOS,
    you seam to have had the exat same problem I am having now. Have you solved it?
    The link you send in your post :
    http://support.apple.com/kb/TS2326
    As I think you already noticed doesn't solve the problem it merly duplicates the numbers in each contact. One with +and country code and one without that...
    There has to be another solution...

  • Can I use an iPad and a ipad2 with the same iTunes in my computer? I want to use both

    Can I use an iPad and a ipad2 with the same iTunes in my computer? I want to use both. Want to give one to wife.do I need to open a new iTunes account for her?

    bashepard wrote:
    Can I use an iPad and a ipad2 with the same iTunes in my computer? I want to use both.
    Yes, No problem at all.
    Want to give one to wife.do I need to open a new iTunes account for her?
    No - you can share the same iTunes account (my wife and I share the same account). But when you sync the iPads, just remember to select the correct content for her iPad and the correct content for your iPad.

  • How to open the same applet over multiple clients.

    hi all,
    i am making a applet application .The same applet has to be opened at the same time at different client and the changes in the information upon the applet page must be reflected at all the clients how can i do that plz sujjest me.
    Thanks in advance.

    You would have to have all of the applets connect to a "server applet" on one of the computers. When the applet starts, you could give the choice to host or connect to another host using an ip address and port, using the ServerSocket and the Socket classes. However, this requires multiple threads running, but is quite possible. The server would need threads to accept clients, receive information, and send information (plus the built-in gui and event threads). The clients would need a thread to receive information from the server and update the applet page.

  • My wife and I got Iphone 4S same day 2 years ago. I used the same Apple ID for both. We do not use iCloud, but today after I updated my phone to IOS7 I keep getting her texts on my phone ans vice versa.

    My wife and I got Iphone 4S same day 2 years ago. I used the same Apple ID for both. We do not use iCloud, but today after I updated my phone to IOS7 I keep getting her texts on my phone ans vice versa. I turned off imessage in message settings. Seems to have stopped now? Never did this before IOS7. Will I have more troubble when her phone updates to IOS7? Is icloud going to be forced on me then?

    This is being caused by using the same Apple ID for iMessage on both phones.  To separate your messages, go to Settings>Messages>Send & Receive and do one of the following:
    Either uncheck the email address shown under "You can be reached by iMessage at" on both phones; or
    If you want to continue to receive iMessages at this email address, on one of the two phones, tap the Apple ID at the top, sign out, then sign back in using a different Apple ID.

  • HT4314 I have a iPad and iPhone with the same Apple ID, but on Game Center I have used the same id for both devices and they are two different profiles and I was wondering how to have one of the accounts on both devices.

    I have a iPad and iPhone with the same Apple ID, but on Game Center I have used the same id for both devices and they are two different profiles and I was wondering how to have one of the accounts on both devices.

    Hi Jamesdwills,
    Welcome to the Support Communities!
    If you are using the same Apple ID on both devices, the Game Center profile should be the same.
    Check out this information from the iPad User Guide.  Try signing out of the Game Center on both devices and then sign back in with the correct Apple ID:
    Using Game Center
    http://support.apple.com/kb/ht4314
    Game Center settings - iPad User Guide
    http://help.apple.com/ipad/7/#/iPad9a13d039
    Game Center settings
    Go to Settings > Game Center, where you can:
    Sign out (tap your Apple ID)
    Allow invites
    Let nearby players find you
    Edit your Game Center profile (tap your nickname)
    Get friend recommendations from Contacts or Facebook
    Specify which notifications you want for Game Center. Go to Settings > Notifications > Game Center. If Game Center doesn’t appear, turn on Notifications.
    Change restrictions for Game Center. Go to Settings > General > Restrictions.
    Cheers,
    - Judy

  • HT2731 Does using the same Apple ID on my iPhone and iPod touch use my phones data plan?

    Does using the same Apple ID on my iPhone and iPod touch use my phones data plan?

    If you are using the internet then it's eating away at your data plan, irrespective of your Apple ID.
    Here's an article about data plans:
    http://voip.about.com/od/voipbandwidth/a/What-Is-A-Data-Plan.htm

  • How do I do to use the same appleid on all my devices, I want to use the last one I have on my Ipad mini, do I deleta the one I have on my Iphone and reeinstall it with the Id I use on my Ipad..?

    how do I do to use the same appleid on all my devices, I want to use the last one I have on my Ipad mini, do I deleta the one I have on my Iphone and reeinstall it with the Id I use on my Ipad..?

    Hi john,
    Yes, you would sign out of iTunes & App Store: Settings>iTunes & App Store, click on the Apple ID, click on Sign Out. Then sign back on with the new Apple ID. Also, if you have an iCloud account with the other Apple ID, you would delete that iCloud account, and then sign on with your new ID: Settings>iCloud>Delete Account.
    Cheers,
    GB

  • After upgrading to ios6 my iphone will not open .xls files in emails with the default viewer. Is there a fix for this? The same emailed .xls files still open on my ipad using ios5 while viewing email like they did on my iphone prior to upgrading.

    After upgrading to ios6 my iphone will not open .xls files in emails with the default viewer. Is there a fix for this? The same emailed .xls files still open on my ipad using ios5 while viewing email like they did on my iphone prior to upgrading. I have no special software like numbers or anything else installed on either device. Just using the default viewer provided by apple for viewing email.

    The attachment is an .xls excel 97-2003 spreadsheet. I viewed the file in the email and did not edit it with any software. I can forward the file to anyone that is may want to check it out to see if they can help me. I was wondering if there was some way of forcing another ios6 install on my phone and maybe that would solve it.
    Is there anyone out there that is viewing .xls files in email using ios6 w/o any other software installed like numbers or any other add ons? I am not upgrading my ipad from ios5 to ios6 so I can still continue to view the emails on my ipad. Is there an email viewer .xls plug-in that will be availablle in the next ios6 update?

  • Good afternoon, I would like some information I have an ipod nano 6th generation and has the same one-year warranty is only 2 months of use, and it fell down and broke the glass of the display, I called technical assistance in Brazil and informed me that

    Good afternoon, I would like some information I have an ipod nano 6th generation and has the same one-year warranty is only 2 months of use, and it fell down and broke the glass of the display, I called technical assistance in Brazil and informed me that Brazil has no repair services for Apple, which was the basis of its price change in the exchange is not worth half the value of the product.
    I wonder how I do to change this device without the expense of 50% for the same product is in warranty?
    Thanks in advance.

    yes agree, plus a multinational seeing a product and has no technical assistance to do the maintenance then it's no use I buy a new product if it is damaged I will always be because it has no prejudice in this maintenance.
    sorry but even more products coming from China to Brazil in technical assistance.

Maybe you are looking for

  • Changes are not saved in DNG

    I've been experimenting a bit with saving changes made to Canon 20D Raw files to DNG, but without success. When I open the saved DNG file with Apple's Preview, it displays the file without the changes. (I've tried "Embed original raw file," and not d

  • XI Error JCO_SYSTEM_FAILURE.MAPPING: Queue stopped

    In SMQ2, i can see a queue stuck giving error: XI Error JCO_SYSTEM_FAILURE.MAPPING: Queue stopped when i click it...it leads me to a SXMB_MONI entry.. which corresponds to a IDOC to File scenario, where a message mapping fails giving the following er

  • Get name and type of data in an object?

    Hello, I would like to know if there is a way of getting the names and types of data encapsulated by a labview object? For example, lets say I make a simple object, called myObject to be unoriginal, with private data: myObjectName (string), myObjectV

  • I want Anna back

    Upgraded my N8-00 to Belle a few days ago and I have had all kinds of problems. How can I "downgrade" the phone to Anna?

  • How to define a new parameter

    Hi, I want to improve a search by defining a new parameter. This parameter will replace (1,2,3,4) which is show below. .. documentid IN (1,2,3,4) Is it possible to define such parameters in APEX/SQL? if so, how can I do it? (I have tried some possibl