MDB gets disconnected at random when the ear is undelpoyed and reployed

I have the following scenario:
          1. I create a domain
          2. I copy my application ear file to the following location
          ..\user_projects\domains\mydomain\app\myapp.ear
          3. I start the weblogic server
          4. Deploy myapp.ear
          5. By the nature of our application, based on the client's needs, we make a copy of myapp.ear under ..\user_projects\domains\mydomain\app\myclient\ear\myapp.ear and update the ear with new jars and connectors
          6. Without shutting down the server we undeploy the myapp.ear under ..\user_projects\domains\mydomain\app\myapp.ear and deploy the myapp.ear under ..\user_projects\domains\mydomain\app\myclient\ear\myapp.ear
          I run my tests everything works except the tests involving my MDB. When I run the tests the first time, the onMessage() of the MDB gets invoked and the test passes. But on subsequent re-runs of the same test, the MDB fails to respond at some point (it could be the 2nd or the 3rd ..). The onMessage is never invoked. The messages are being pushed on the queue but for some reason, the MDB is loosing its connection. The MDB is a myapp.ear which is deployed first. So when we undeploy the first myapp.ear the MDB gets deactivated and then gets redeployed when the second myapp.ear is deployed. The weird thing is if I restart the server, everything works fine but our clients want this to work without having to restart the server. Any help on this issue is much appreciated.
          Thanks
          Prashanth.

Hi Prashanth,
          There are a couple of things that you should check:
          1. When you deploy the new version, make sure the server log prints the message that the MDB has been deployed.
          2.Make sure the messages are being sent correctly. If the MDB is not working fine, the messages should still be sitting on the destination.
          Check what is the status of these messages....are they pending messages?
          Hope it helps!
          -Rais

Similar Messages

  • Why do calls on my iPhone 5 keep getting disconnected at random intervals?

    My iPhone 5 is in a cover. Most of the time when I answer a call, it gets disconnected. Once, a person had to call me back 11 times! Is there something wrong with my iPhone? Why do calls (both outgoing and incoming) keep getting disconnected at random intervals?

    Hi, could be an error, if you back up your data and perform a reset to factory standard could sort it. But before doing this, explore the settings for sounds and vibration patterns see if there are different settings selected by mistake. hope this helps

  • I noticed that Phone call, is getting disconnected often while on the wheel.

    Any one have noticed this problem while using your iPhone:
    While you are travelling (on the wheel) and attending a phone call, while your the cell phone receives signal from telecom network tower to tower, your phone call get disconnected automatically. When you look at you phone, it shows there is no network and after sometime (about 2 to 4 Seconds) phone receives signal back.
    I am using iPhone 3GS model with iOS 6.1.3 (10B329). I thought this would be my phone problem but when I asked my friends and colleagues (they are using iPhone 5) and they said that even they are facing this issue.
    Another issue: Today we (a group) in a club house. We kept 3 iPhones, 1 Nokia phone and a Samsung phone in a line. iPhone receives only 1 network tower (3G) while both the phones (Nokia and Samsung) receives 4 towers out of 5.  Where we all use the same network provider (Corporate connection).
    Then what we 3 did is we Switched ON the Airplane Mode and after a while switched OFF this mode. After that iPhone start to receive the full signal.
    What is this PROBLEM in iPhone ? What about you (iPhone users) did you face this problem ?
    What is the solution ? Any answer ......

    It sounds like the vibration motor on your iPhone has failed and will no longer vibrate.

  • I'm uploading a photobook I made to be published.  I need assistance in getting it to apple.  The book is assembled and gets to the end of uploading when I get an error message, an error occurred while uploading.  I have been trying all night.  Help!

    I'm uploading a photobook I made to be published.  I need assistance in getting it to apple.  The book is assembled and gets to the end of uploading when I get an error message, an error occurred while uploading.  I have been trying all night.  Help!

    Welcome to the Apple Community.
    I have seen previous versions mentioned in a pop up message before on iCloud.com, but I'm not really sure at all how it would help, as I couldn't get it to do anything.
    The best advice I have at this time is to back up your work on your iOS device by regularly saving it to iTunes, if anything goes wrong you can then either load it into the numbers app again on the device or recover it via iTunes on your computer.
    My syncs are immediate, I never get chance to see if it works in the background, sorry.

  • How do i get an itunes library from a phone when the computer has crashed and it needs to go on a new computer

    How do i get an itunes library from a phone when the computer has crashed and it needs to go on a new computer

    1) ensure iTunes is authorized for your iTunes store account(s)
    2) connect your device and right-click or control-click it in the iTunes Source list, then choose transfer purchases from the shortcut menu that appears.
    3) sync the device
    iTunes will wipe the iPhone but, since you transferred your purchases in the previous step, your content will be in your library and you can re-populate the iPhone with it.
    above works for purchases from the iTunes store. for everything else, check out this post by Zevoneer.

  • When I want to zoom in or zoom out with the mouse wheel and CONTROL button the letters get larger but remain within the same size paragraph and any pictures remain the same. I want the entire page to zoom.

    <blockquote>Locking duplicate thread.<br>
    Please continue here: [[/questions/866940]]</blockquote>
    I want the entire page to zoom in and out when I use CONTROL + mouse wheel. Now the letters get larger but remain in the same size paragraph and also the pictures stay the same.

    It is indeed scandalous that Apple sells useless scanned music scores. There is a warning when you chose to download music tabs or notes but it doesn't say that the score lines are very small and cannot be zoomed. I spent $30 on two books but cannot really use them on my MBA as you cannot zoom except for the double click which only works page per page and is only a small improvement.
    The only way I can use the score more or less is on my ipad in landscape mode by increasing the font size to the max. The music score then becomes wider and you can read 2-3 lines per page without glasses.
    If you could transfer the file to the pdf  "side" of the library in ibooks the zoom would work..
    What does work is using the accessibility zoom mode option+command+= to zoom and then option+command+\ to smooth the picture but then your whole display desktop etc. are zoomed in.

  • Initially stating No authorization required using Adobe.  When I try to change it so I can transfer downloaded books by my Nook e-reader it I get an error message stating the Adobe user name and password is associated with another computer.  What gives?

    When I set up Adobe reader on my computer to be able to download books from a library and then transfer to my Nook e-reader, I initially stating No authorization required using Adobe.  When I try to change it so I can transfer downloaded books by my Nook e-reader it I get an error message stating the Adobe user name and password is associated with another computer.  What gives?

    This is pretty surprising and wierd that even Reader 10.1.1 is crashing on your system. It works pefectly for me.
    Would it be possible for you to get the crash dump, and upload it, so that I can have a look at the same.
    Download PROCDUMP from <http://technet.microsoft.com/en-us/sysinternals/dd996900.aspx> and extract it to a folder, say, c:\temp\procdump.exe
    Open cmd prompt and type "cd c:\temp".
    Launch the browser and open the PDF.
    Open task manager, sort processed by name. Two AcroRd32.exe instances  should have been launched. Note the PID (a small integer like 5588) corresponding to the AcroRd32.exe with the higher memory usage; this is the process that must be crashing. Note this PID.
    On the cmd window, type "procdump -e -ma 5588 c:\temp\01.dmp" (replace 5588 with the actual PID of the process noted in Step 4). Procdump will now wait for the aoolication to crash. If it throws a EULA, accept it.
    Perform your steps to cause the crash.
    Procdump will have created a dump file at "c:\temp\01.dmp". Zip it up (since it will be 100s of MBs otherwise) and share with me.
    Thanks in advance for all your help
    Ankit

  • TS1702 Safari has just stopped opening PDF docs, it shows the message that I get on my PC when the server is unavailable etc.  Foxbrowser opens them fine.  Thanks  I.M.

    Safari has just stopped opening PDF docs, it shows the message that I get on my PC when the server is unavailable etc.  Foxbrowser opens them fine.  Thanks  I.M.

    Hello kmanthie,
    I just sent you a private message. If you are not sure how to check your forum messages, this post has instructions.
    I worked on behalf of HP.

  • Lately, I've been getting a blue screen in the midst of working and have to do a cold reboot to end it. Seems to happen when I'm closing windows or quitting applications. Not always, but sporadically. What causes this? I'm using 10.6.8 on early 2011 MBP.

    Lately, I've been getting a blue screen in the midst of working and have to do a cold reboot to end it. Seems to happen when I'm closing windows or quitting applications. Not always, but sporadically. What causes this? I'm using 10.6.8 on early 2011 MBP. Thanks for any help/advice!

    You have 10.6 on that machine, I suggest you stick with it for performance, third party hardware and software reasons as long as possible.
    Consider 10.8 (not 10.7) when it's released, because 10.7 and 10.8 will require a new investment in software and newer third party hardware as it requires newer drivers the old machines won't have. (forced upgrade because of software, really nice of them)
    http://roaringapps.com/apps:table
    Far as your Safari problem do these things until it's resolved:
    1: Software Update fully under the Apple menu.
    2: Check the status of your plug-ins and update (works for all browsers) also install Firefox and see if your problems continue. You should always have at least two browsers on the machine just in case one fails.
    https://www.mozilla.org/en-US/plugincheck/
    Flash install instructions/problem resolution here if you need it.
    How to install Flash, fix problems
    3: Install Safari again from Apple's web site
    https://www.apple.com/safari/
    4: Run through this list of fixes, stopping with #16 and report back before doing #17
    Step by Step to fix your Mac

  • IOS software update was frozen when the electricity went off and it was disconnected from the wifi connection... my phone is froze into a black page with the apple logo in the center

    IOS software was froze when the electricity went off and it was disconnected from the wifi

    Reset the device:
    Press and hold the Sleep/Wake button and the Home button together for at least ten seconds, until the Apple logo appears.

  • Why am I getting two different conversations when the same person txts me and sends me an I message? I thought they should be in the same conversation?

    Why am I getting two different conversations when the same person txts me and sends me an I message? I thought they should be in the same conversation?

    I'm experiencing something similar. My conversations are kept together but if the screen is opened to a conversation and I receive a text from that person it doesn't show up on the screen. The message alert in the upper corner indicates a new text but I have to back out of the screen and go back in to read it.

  • ZBook 17 powers on automatically when the battery is removed and placed back

    Hi all,
    I am an IT engineer with a 15 years hands on experience and troubleshooting skills.
    2 of the laptops I own are ZBook 17.
    One is a UK import (F0V53ET, manufactured in October 2013) and the other is a US import (D5D93AV, manufactured in April 2014). Both of them are running the latest BIOS revision (v01.21).
    The strange problem I encountered is as follows:
    At the D5D93AV when the AC and the battery are removed (i.e. for upgrading the RAM), when the battery is placed back in, the system automatically powers on. Same applies if there is NO battery attached and the AC plug is attached.
    At the F0V53ET, this does not happen (and the normal is NOT to happen).
    What I tried to do so far to see if the problem is resolved at the D5D93AV:
    1) I upgraded the BIOS to the latest version (v01.21) at both the ZBooks.
    2) Ensured that BOTH the laptops have exactly identical BIOS settings.
    3) Ensured that turn on the machine while on AC is UNCHECKED.
    4) Ensured that there are no power on options enabled (like the timed power on, e.t.c.)
    5) Tried to disable settings like "USB charge, wake on USB" e.t.c.
    6) Tried to remove the CMOS battery, press the power button with no battery or AC to fully discharge, attach the CMOS battery after a minute to ensure the CMOS was cleared and placed everything back.
    7) Tried to replace the OS from Windows 8.1 Pro to Windows 7 Pro to see if it has an impact to the UEFI Bios settings (i.e. any conflict with Hybrid sleep e.t.c.).
    8) Tried to enable "Power on while on AC" to see if the system behavior changes. When the battery is attached and the AC is also attached, it will power on if the "Power on while on AC" is enabled (so this works as expected).
    9) The problem gets reproduced ONLY when there is either no battery and the AC is attached, or when the battery is attached without the AC (i.e. after reassembling the machine after a RAM upgrade). Then it powers on automatically.
    10) I also swapped the batteries between the 2 ZBooks but the issue with the US model is not resolved either. The battery works fine.
    It seems to be either a BIOS issue, or a Power Board issue (hardware fault). The UK model behaves as expected, while the US model seems to have these issues.
    Any ideas will be really useful.
    So far this is what I did not try yet (due to lack of time):
    11) To attach the US model to a docking station and see how it behaves.
    12) To disable or enable the Hybrid sleep from the Bios (instead of leaving this to AUTO).
    13) To replace the CMOS battery (swap them between the 2 Zbooks), although I don't think it might be the battery as the US unit is NEW with 12 hours of use.
    14) To completely remove (or swap) the Optical drives and see if the problem still persists. I know there are some really rare occassions that the Optical drive might be partially faulty and short circuiting. It may sound crazy, but I have seen and experienced this more than 3 times espexially at desktop machines.
    Any info or tips will be useful, although I am afraid I may have to escalate it to the 3rd line of HP as it is a really odd issue.

    Hello, @panoulix 
    To get your issue more exposure I would suggest posting it in the commercial forums since the HP ZBook 17 Mobile Workstation is a commercial product. You can do this at Notebook - HP ProBook, ZBook, EliteBook, Compaq, Slate/Tablet PC, Armada, LTE.
    The support page for your product may be helpful in the meantime:
    HP ZBook 17 Mobile Workstation.
    I hope this helps!
    Thank you for posting on the HP Forums.
    I worked on behalf of HP.

  • How do I keep emails from being deleted on my iPhone 6? Emails get deleted from phone when I startup desktop computer and they are downloaded from sever. Is POP3 no longer supported on IOS 8.1?

    How do I keep emails from being deleted on my iPhone 6? Emails get deleted from phone when I startup desktop computer and they are downloaded from sever. Is POP3 no longer supported on IOS 8.1?

    Have you seen this?
    Using a POP account with more than one device - Apple Support
    A better solution is if your email provider uses IMAP. IMAP sync email folders between multiple devices. Meaning any device will receive the email, all sent email can be seen on the devices. If you delete email from one device the email is deleted from all the other devices. Check with your email provider to see if they offer IMAP services.
    If they do not your choices are to 1) configure email on the PC to keep Mail on the mail server or 2) change email providers to something like Gmail or Outlook.com (as examples). FWIW I use Cox IMAP email and fully sync email between a Win 8.1 Update 1 laptop, a Win 7 desktop, an iPad 4, an iPhone 4 and an iPhone 5S.

  • How to get UTF-8 encoding when create XML using DBMS_XMLGEN and UTL_FILE ?

    How to get UTF-8 encoding when create XML using DBMS_XMLGEN and UTL_FILE ?
    Hi,
    I do generate XML-Files by using DBMS_XMLGEN with output by UTL_FILE
    but it seems, the xml-Datafile I get on end is not really UTF-8 encoding
    ( f.ex. cannot verifying it correct in xmlspy )
    my dbms is
    NLS_CHARACTERSET          = WE8MSWIN1252
    NLS_NCHAR_CHARACTERSET     = AL16UTF16
    NLS_RDBMS_VERSION     = 10.2.0.1.0
    I do generate it in this matter :
    declare
    xmldoc CLOB;
    ctx number ;
    utl_file.file_type;
    begin
    -- generate fom xml-view :
    ctx := DBMS_XMLGEN.newContext('select xml from xml_View');
    DBMS_XMLGEN.setRowSetTag(ctx, null);
    DBMS_XMLGEN.setRowTag(ctx, null );
    DBMS_XMLGEN.SETCONVERTSPECIALCHARS(ctx,TRUE);
    -- create xml-file:
    xmldoc := DBMS_XMLGEN.getXML(ctx);
    -- put data to host-file:
    vblob_len := DBMS_LOB.getlength(xmldoc);
    DBMS_LOB.READ (xmldoc, vblob_len, 1, vBuffer);
    bHandle := utl_file.fopen(vPATH,vFileName,'W',32767);
    UTL_FILE.put_line(bHandle, vbuffer, FALSE);
    UTL_FILE.fclose(bHandle);
    end ;
    maybe while work UTL_FILE there is a change the encoding ?
    How can this solved ?
    Thank you
    Norbert
    Edited by: astramare on Feb 11, 2009 12:39 PM with database charsets

    Marco,
    I tryed to work with dbms_xslprocessor.clob2file,
    that works good,
    but what is in this matter with encoding UTF-8 ?
    in my understandig, the xmltyp created should be UTF8 (16),
    but when open the xml-file in xmlSpy as UTF-8,
    it is not well ( german caracter like Ä, Ö .. ):
    my dbms is
    NLS_CHARACTERSET = WE8MSWIN1252
    NLS_NCHAR_CHARACTERSET = AL16UTF16
    NLS_RDBMS_VERSION = 10.2.0.1.0
    -- test:
    create table nh_test ( s0 number, s1 varchar2(20) ) ;
    insert into nh_test (select 1,'hallo' from dual );
    insert into nh_test (select 2,'straße' from dual );
    insert into nh_test (select 3,'mäckie' from dual );
    insert into nh_test (select 4,'euro_€' from dual );
    commit;
    select * from nh_test ;
    S0     S1
    1     hallo
    1     hallo
    2     straße
    3     mäckie
    4     euro_€
    declare
    rc sys_refcursor;
    begin
    open rc FOR SELECT * FROM ( SELECT s0,s1 from nh_test );
    dbms_xslprocessor.clob2file( xmltype( rc ).getclobval( ) , 'XML_EXPORT_DIR','my_xml_file.xml');
    end;
    ( its the same when using output with DBMS_XMLDOM.WRITETOFILE )
    open in xmlSpy is:
    <?xml version="1.0"?>
    <ROWSET>
    <ROW>
    <S0>1</S0>
    <S1>hallo</S1>
    </ROW>
    <ROW>
    <S0>2</S0>
    <S1>straޥ</S1>
    </ROW>
    <ROW>
    <S0>3</S0>
    <S1>m㢫ie</S1>
    </ROW>
    <ROW>
    <S0>4</S0>
    <S1>euro_€</S1>
    </ROW>
    </ROWSET>
    regards
    Norbert

  • My Macbook Pro (5,3) sporadically goes to sleep when the lid is open and in use.

    My Macbook Pro (5,3) sporadically goes to sleep when the lid is open and I am actively using it.  This problem happens both with OS X 10.7.2 and Windows 7 (64bit), so I don't think it's an OS issue.  Has anyone else encountered this? It's still covered under apple care... But I'd rather try to fix it myself before having to bring it in.
    Thanks!

    I wouldn't be surprised if this were the case - it does get hot.  However, this happens even when I first open it after having it in sleep mode for an entire night...  Do you know how to run the diag tool with OS X 10.7?

Maybe you are looking for

  • Drag and drop image from local files site list to page.

    Not working on all my documents. Must be some setting. Any ideas what is wrong?

  • TCP/IP matters

    Hi to all I was just wondering if it is necessary to close TCP/IP connection after an error(e.g connection lost) had occured. Is it ok if I just reopen another connection to the same IP and port without closing the existing connection(that connection

  • IBook repair recommendation- Apple?

    Hi- I have an iBook G4 that is broken- freezes on boot, sometimes before getting to the finder, sometimes once the finder has started, sometimes doesn't get to boot at all. Fails AHT with an error about the video RAM, but also won't work in target mo

  • Video pocast no sound

    I recently posted up my first video series on iTunes.  http://itunes.apple.com/us/podcast/retro-rumble-season-1/id502409270 Problem is when I play these videos in itunes I get no sound.  My source files (mov) work just fine on my PC. If I download th

  • DVD SP 4.0 on new iMac?

    Hi all, I waited and waited for FCPx and was sorley dissapointed that DVD Sp is no longer an option So... I managed to secure a retail boxed version of DVD SP 4.0 from ebay - old stock I guess but still original software. However it would not install