Object binding problem which is not serializable clustered JNDI

Hello

I have an ApplicationLifecycleListener class that has a preStart() method that instantiates one object & JNDI binds.

This object is a reference to an object that is not Serializable (progress.message.jimpl.Connection).

When I bind it on a single server (without clusters), everything works fine, when I move to a clustered environment, I get the

java.io.NotSerializableException: progress.message.jimpl.Connection

I clear the weblogic.jndi.WLContext.REPLICATE_BINDINGS = 'false' to try and get around that, but no luck.

Please can someone explain why the exception occurs in a cluster but not in a single server environment?

Thank you very much

Mandy

Hi Mandy,.

As you have found the InitialContext as follows:

InitialContext ic = new world; Which is the best way to get the InitialContext when the Code is running on the same JVM (which means same WebLogic Server) when you try to link your objects... This means that the class of the Module Loader already has the class Employee Loaded inside. That is why your code is able to bind in the same WebLogic Server.

But when you go pass the Argument to the InitialContext as Context.PROVIDER_URL, then you could point the URL of another WebLogic Server... .then when we want to link an object to a remote JVM (WebLogic Server) in this case the object of Marshelled (serialized) be sent to the JVM (WebLogic JNDI tree)... As your employee class is not serializable if the process have will fail and will give you "java.io.NonSerializableException".

Rule of thumb as well: * "If you want your objects to pass to a distance JVM in this case the class must implement java.io.Serializable interface."

.
.
Thank you
Jay SenSharma
http://middlewaremagic.com/WebLogic (Middleware Magic Is Here)

Tags: Fusion Middleware

Similar Questions

  • I'm having a problem where Firefox keeps asking for my password to Amazon, even if I tell Firefox NOT to remember this password. In Firefox options, Amazon is clearly recognized as a site for which does not save passwords.

    I'm having a problem where Firefox keeps asking for my password to Amazon, even if I tell Firefox NOT to remember this password. In Firefox options, Amazon is clearly recognized as a site for which does not save passwords.

    Do not remove the navigation, search and download history on Firefox to clear the "Site preferences".

    Compensation of the "Site Preferences" clears all exceptions for cookies, images, windows pop up, installation of software and passwords.

  • Problems of updating Windows 7 x 64 (which have not been able to update more than one year)

    Hi all, I'm a newbie here.

    So, as the title says, I have not been able to do an update on my Vaio more than a year.

    All this started when I thought or could have a virus. I have everything backed up quickly & did a clean re-installation of my windows.

    Since re-install I couldn't update. I tried to do the updates manually - some work, but the important ones which do not. I contacted Microsoft Support. They went through my laptop a few times & they can't even solve the problem. However, they told me I have corrupted files in my system that allow me to make updates or reinstall my windows to factory settings (Yes, I thought)

    So my question is... How can I solve this problem? None...

    Anyone had this problem?

    Thanks, Denza.

    Please download no more than three copies of your files to dump in the form of files shared your onedrive with a link here

    The dump file will be created in c:\windows\minidump. You may need to change your settings in Windows to be able to view the file. To show hidden files type Folder Options in the search box above the Start button and select view advanced settings and check that the box "display files and folders" and 'Hide protected operating system files' are not checked. You may need to scroll down to see the second element. You should also make sure that the box before "Hide extensions of known file types" is not checked.

    What is your computer brand and model? If not a branded computer, what is your motherboard brand and model?

    Please download and run the display driver and download a copy of the report he produced on your OneDrive. To obtain a report all drivers Select Edition, select all followed by file, file format record selected Items.Text please.

    http://www.NirSoft.NET/utils/DriverView.html

    Please provide a copy of your system information file. Type the system information in the search box above the Start button and press the ENTER key (alternative is select Start, all programs, accessories, System Tools, system information). Select file, Export and give the file a name noting where it is located. Not to place the cursor in the body of the report before exporting the file. The system creates a new information file system each time system information is available. You must allow a minute or two before the file is completely filled before exporting a copy. Please download the file to your OneDrive, to share with everyone and post a link here. If the report is in one language other than English, please indicate the language.

    For assistance OneDrive see paragraph 9.3

    http://www.gerryscomputertips.co.UK/MicrosoftCommunity1.htm

  • When I download Apps, I get a download error 'undefined '.  I followed the instructions to delete the OOBE, which did not solve the problem.

    When I download Apps, I get a download error 'undefined '.  I followed the instructions to delete the OOBE, which did not solve the problem.

    Using creative cloud | Download error in the applications tab of Creative Cloud Desktop Application

    If you have found and deleted files oobe and who could not solve the problem, check your hosts file.

    help for that and other adobe.com sure common connection problems read, http://helpx.adobe.com/x-productkb/policy-pricing/activation-network-issues.html

  • Install the problem. I get the error output code: 1603 which is not listed on the help site

    Install the problem. I get the error output code: 1603 which is not listed on the help site. All of the solutions that is the meaning?

    Error 1603 http://helpx.adobe.com/creative-suite/kb/error-1603-install-cs3-cs4.html

  • Hi, I need to download the acrobat PDF after registration and cc payment, I get the new which is not available for mac ist... How can I solve this problem... I use only the mac...

    Hi, I need to download the acrobat PDF after registration and cc payment, I get the new which is not available for mac ist... How can I solve this problem... I use only the mac...

    If you had bought subscription Acrobat Standard / stand-alone product , you need to cancel the subscription / order and re - register / re - order subscription Acrobat Pro DC / stand-alone product.

  • Friendly name for the Group of experts which does not appear in the Extensions Menu

    We develop various panels for CS5 with ActionScript Extensions.

    We want only a single Extension, our main panel, appear in the windows > Extensions menu. Once this Panel is open, it would open other extensions, as requires it.

    The problem is, that the only way to remove a billboard in the Extensions menu must remove its "< menu / >" item from the manifest. However, if I do this, then when we call other extensions from the extension of the hand, the titale in the Panel diplaed is the "ExtensionID" in the manifest, which is not user firendly (for example, "com.mycopmany.mysystem.Employees.extension1"), when I wanted to only "employees" in the title.

    Any ideas what I can do?

    TIA,

    mlavie

    Here's how I put the name:

                private function preinit():void{
                    windowContainer = Object(this.parent.parent.parent.parent);
                    windowContainer.title = "My Fancy Title";
                }
    

    Substances

  • Windows says FireFox must be updated but cannot be because the two instances are running, which is not true. It happens everytime I open FireFox

    Windows says FireFox must be updated but cannot be because the two instances are running, which is not true. It happens everytime I open FireFox

    This has happened

    Each time Firefox opened

    == June 28 2010

    Firefox 3.6.6 came out on 26/06/2010 to solve problems that some were plagued with the new crash protection feature introduced in Firefox 3.6.4. NOTE: Version 3.6.5 has been used for another product, so there is a "jump" in the version numbers.

    You need to update to the latest version, Firefox 3.6.6.

  • Apple support has been unable to solve my problem with iTunes not responding do not. He started all of a sudden. A few weeks after I've upgraded to Windows 10. Reinstalles/uninstalled iTunes and nothing. Now, I can't even Apple support for help.

    All the sudden, iTunes has stopped responding. I click top and nothing. I spent over an hour with a Senior Engineer at Apple's Support, which does not give me a ticket number so now Apple can't even find the person I talked to. This person had to remember and it's been 2 weeks. I called Apple back Support and since they can't find a ticket number they told me that I have to wait until this person reminds me. This engineer had me remove and reinstall iTunes with all the other components that go with it, I run it as administrator, pretty much did all the troubleshooting I had done on my own. I have now to sit and wait, hoping that this senior engineer at Apple called me back. It's poor and poor support for iTunes. If anyone has any advice, please share.

    Thank you

    These can be things that you've already tried. Despite this, it might be interesting to try again. As another poster has said recently, though for another problem, "20th try was the charm.

    For general advice, see troubleshooting problems with iTunes for Windows updates.

    The steps described in the second case are a guide to remove everything related to iTunes and then rebuild what is often a good starting point, unless the symptoms indicate a more specific approach.

    Review the other boxes and other support documents list to the bottom of the page, in case one of them applies.

    More information area has direct links with the current and recent buildings if you have problems to download, must revert to an older version or want to try the version of iTunes for Windows (64-bit-for old video cards) as a workaround for problems with installation or operation, or compatibility with QuickTime software or a third party.

    Backups of your library and device should be affected by these measures but there are links to backup and recovery advice there.

    TT2

  • New processor good / 3 years dv3 1073 pavilion which will not start?

    My HP Pavilion dv3-1073 cl bought 3 years ago about quietly closes.  When the computer reboots, there is a black screen with flashing white brilliant strobe.  You can hear he's trying to stimulate but cannot. All of the keys on the touchpad are lit and caps, and num lock keys constantly turn on and turn off.  It is more under warranty, but hp support said needs a new processor at a cost of at least $400.  I really like this little computer, but wonder if a smart decision to spend this amount of $$ on a portable 3 year old.  Is the processor as the beginning of chess?

    Any advice would be welcome.

    Thanks for the replies - decided to take the word of the diagnosis HP not everything and it took a diagnosis of $50 for repair of Staples dept.for.   I just had a call from them saying they had my departure from the computer and are thinking that it was just a matter of Windows!   They tested the equipment and it looks correct.  They can get to reproduce the original problem which is good.  If it has the same problems within 30 days I can take it back.  I'll make a backup first thing!

  • Windows Update fails with error [error number: 0x800A0007]-which is not listed

    Windows update fails with error [error number: 0x800A0007]-which is not listed, so unable to update the system

    The other post:

    Thank you for your reply - but the problem persists - this is mopre complete info.
    The system starts well and runs - BUT I cannot now be updated because when I access "Windows Update" it always returns this error message.
    Also, none of the messages in your "appliesto" step 2 recommended link will be applied effectively.
    As far as I know - we have a standard system and I just ran again ONCE a full system virus etc check - all clean.
    Also your "Mr Fixit" was performed several times, but nothing changes.
    Because it enters the update process, and then always closes with this specific message (which as I said is NOT in your list of error messages), which SHOULD tell your software writers where is the problem.
    This is what is happening in the process of updating before it fails:
    Keep your computer up-to-date
    Check to see if you need updates for Windows, your programs, your hardware or your devices.

    Get updates of high priority (recommended)  

    Select among the priority and optional updates for Windows and other programs

    ... and it does not matter if I say "express" or "custom" - headed then:

    Checking for updates for your computer...

    but fails after a few seconds with the same message as follows:
    [Error number: 0x800A0007]
    The website has encountered a problem and cannot display the page you are trying to view. The options provided below may help you solve the problem.

    -However, it is the State of the system for more complete information for you:
     
    Name of the operating system Microsoft Windows XP Home Edition
    Version 5.1.2600 Service Pack 3 Build 2600
    Manufacturer of operating system Microsoft Corporation
    MISCHU06BLUE system name
    System manufacturer Compaq Presario 061
    ED865AA - ABA SR1610NX NA540 system model
    System Type X 86-based PC
    Processor x 86 family 15 model 47 Stepping 2 AuthenticAMD ~ 1790 Mhz
    Version/Date BIOS Phoenix Technologies, LTD 3.33, 17/08/2005
    SMBIOS Version 2.4
    Windows C:\WINDOWS directory
    System directory C:\WINDOWS\system32
    Boot Device \Device\HarddiskVolume2
    The local United States
    Hardware Abstraction Layer Version = "5.1.2600.5512 (xpsp.080413 - 2111).
    MISCHU06BLUE\Compaq_Owner user name
    Time zone Pacific Daylight Time
    Total physical memory 1 024,00 MB
    Available physical memory 468,50 MB
    Total virtual memory 2.00 GB
    Available virtual memory 1.96 GB
    Page file space 1.51 GB
    Paging file C:\pagefile.sys

    Please get us some help to solve this problem.
    What else can I provide?

    I didn't ask if it was a new issue or a new problem, I asked if she was the same computer?

    [This applies to your recent 'me, too' answer to another thread.]

  • Windows Update problem. Will not install the Silverlight security updates

    I'm running the 32-bit version of windows xp service Pack 3. Windows Update: KBs 2514842 and KBs251827 download, but not install I am also running enternet explorer 8. When silverlight trys to install I get a message that it is on a resourse which is not available. I installed Silverlight a few years ago and have not used them. When I try to uninstall also says he's on a resourse which is not available. I opened the Control Panel on my computer and it says that it is there, but I can't seem to load. also have problems with Quicktime with the same problems. Everything else seems ok. I have the free version of AVG antiviris and protection to the current Ad on my computer.

    Hello

    I see you're questions fcaing install KB 2514842 and Ko 251827 "and Quicktime updates.

    What is the full error message?

    Let's try the following and check:

    Step 1:

    You can try the steps from the following link and then check if install updates:

    How to clean a facility damaged Silverlight and then reinstall Silverlight

    http://support.Microsoft.com/kb/2608523

    Registry warning: Important this section, method, or task contains steps that tell you how to modify the registry. However, serious problems can occur if you modify the registry incorrectly. Therefore, make sure that you proceed with caution. For added protection, back up the registry before you edit it. Then you can restore the registry if a problem occurs. For more information about how to back up and restore the registry, click on the number below to view the article in the Microsoft Knowledge Base. How to back up and restore the in the Windows registry: http://support.microsoft.com/kb/322756

    Step 2:

    Due to QuickTime, you can check this link:

    http://support.Apple.com/kb/HT1925

    I hope that helps!

    If the problem persists, or you need help on Windows let us know.

  • Receiver error message: 'due to unidentiferd problem windows can not display fire wall settings' and windows cannot display the firewall settings.

    Original title: windows cannot display HELP fire wall settings

    I go to the control panel and click on firewall and I get this message "due to unidentiferd problem windows can not view fire wall settings.

    I want to check that it is on.  Any suggestions?

    I can't also on the wall of fire to the security settings in the control panel.

    Help

    Hi TomFlow,

    1. which edition of Windows XP you are using?

    2 did you a recent software or hardware changes to the system?

    Method 1:

    You can try to start the Fixit from link and check if it helps:

    Diagnose and automatically fix problems of Windows Firewall service

    Method 2:

    We can refer to the article and try the steps.

    You cannot start the Windows Firewall service in Windows XP SP2

    Important: The above article tells you how to edit the registry. However, serious problems can occur if you modify the registry incorrectly. Therefore, make sure that you proceed with caution. For added protection, back up the registry before you edit it. Then you can restore the registry if a problem occurs.

    For more information about how to back up and restore the registry, follow the steps from the link below:

    How to back up and restore the registry in Windows XP

    Method 3:

    You can also try the steps in the following article:

    You cannot enable or disable the Windows Firewall setting on a Windows XP Service Pack 2

  • I can't install or uninstall anything. It telling me that my computer is in safe mode (which is not the case) or my windows installer is not installed properly.

    The Windows Installer

    I have windows xp. I can't install or uninstall anything. It telling me that my computer is in safe mode (which is not the case) or my windows installer is not installed properly. I know that my Installer is 'stopped '. I tried all the steps on the Microsoft technical support. As well as other sites in an attempt to solve this problem. I tried to subscribe, unsubscribe, launches the present, which, in respect of the CDM, run something HIKEY... all, you name it. I tried to download the latest installer, that didn't work... What the devil is left to try?

    Hello

    -What you have done to try to solve the problem?
    -Did you change on your computer due to which the question has begun?

    I recommend you follow the steps in this article and see if the problem still occurs.

    How to solve the problems when you install or uninstall programs on a Windows computer.

  • Updated IE7 to IE8 and lost my network connection, get the error "network cable is unplugged" which is not

    After upgrade, network display icon with a red X through it indicating "network cable is unplugged" - which is not.  System Restore gave me back IE7, but without two of the toolbars (I've since found the fix for this - but too late).  Tried a system restore and now completely lost internet connection - IE will not launch.  Always get the message "network cable is unplugged".   I have reset the modem, but nothing works... should I ask Microsoft, HP, or my service provider (Rogers)?

    Thank you

    Christine

    Hello MsC_99

    Check the modem on the back of the system where the cable ether net branch. Think you that shed light on this subject? If this is not the case then you may have a problem with the NIC or ether net cable may have problems. If you do this then try uninstalling and reinstaling the NIC in Device Manager. If you don't see the network adapter in Device Manager then try booing the system BIOS and make sure that he is seen here. Let me know what you find. Thank you.

Maybe you are looking for