CORBA COMM FAILURE AND ORB

We are currently experiencing numerious and periodic CORBA COMM FAILUREs in prd. We are utilizing JDK 1.3 / CORBA and trying to submit to a C++ server object. When the web server starts up, it initializes the ORB using the ior and orb.init(). When the actual calls are made, we are narrowing to the server object and making the call. Problem is that periodically we get the CORBA COMM FAILURE when we make the call. During our investigation, we determined that the actual servers look to be running just fine and they are registared with the naming service. When this error occurs, we present the user with a communication failure message.
Our theory is that the ORB is caching the server objects and their connection paths. If the connection is broken for whatever reason, it throws a CORBA COMM FAILURE instead of trying to reconnect to the server object. Can anyone verify our theory? A detailed understanding of how the java ORB works would be very helpful.
Secondly, what is the best way to handle this exception. Should we shutdown the ORB and restart it? I am very apprehensive about this since users running on the other threads will be affected. Anyone familiar with orb.disconnect(Object ob) or orb.connect(Object ob)? Should I do these steps in my exception handling block to get the ORB to set up or cache a real server object?
In reading another discussion thread, I ran across someone using the objRef._non_existent() to get it to go. Anyone familiar with this method and understand the implications of its use?

If your server objects get recycled, which it sounds like might be happening, in general you are not guaranteed of getting the same IOR. If you have clients out there that have already narrowed on the server, and then the server gets recycled, you will need to go through the steps of narrowing on those objects again.
The nonexistent() does exactly what you expect it to do. If the referenced object does not exist, nonexistent() will return true, else false.
Hope this helps.

Similar Messages

  • Why does an ActiveX device cause comm failures while using Zetron 1700 and 1708?

    In lookout pocess we have installed NI's ActiveX pumps. We are using Zetron 1700 controller and Zetron 1708 RTU's. In the properties of the ActiveX item I used the Remote URL option to point it to the output of our RTU. There are times that when we click on the pump to turn it on we get a comm failure. Now if I take the same ActiveX item turn off the Remote URL and then go to the connections of the ModBus and bind that output to the ActiveX item there is will work everytime. What could the problem be???

    Joe,
    See here

  • TS1369 Tried to restore my ipod classic on a windows computer... there was some sort of failure and it is now stuck in "disk mode."  The ipod is no longer being recognized by itunes.

    Tried to restore my ipod classic on a windows computer... there was some sort of failure and it is now stuck in "disk mode."  The ipod is no longer being recognized by itunes.

    I am having the exact same problem.  My ipod has been stuck in disk mode for over two hours and now itunes is frozen.

  • I had a drive failure and lost the iWeb file along with other things.   I did manage to save a lot of user file documents but I don't see or   recognize the my iWeb site file. It was on a 15" G4 Titanium pb. I'm trying to find a way, using version 2.0.4

    I had a drive failure and lost the iWeb file along with other things. 
    I did manage to save a lot of user file documents but I don't see or 
    recognize the iWeb site file. It was on a 15" G4 Titanium pb.
    I'm trying to find a way, using version 2.0.4 of iWeb on a different 
    pb to recover the file into the iWeb app or a way to download the site into iWeb.
    There are 6 pages of images and text, and it 
    would be a task for me to recreate the whole thing again. I did 
    download the site but I don't know how or if I can get iWeb to see it and open it.
    Does anyone have any knowledge about this? The link to my site:
    <http://web.mac.com/danauerbach>
    Any suggestions will be most appreciated.
    dan auerbach
    [email protected]

    Unfortunately iWeb cannot read or import previously published files, only generate them.  You'll have to recreate your site from scratch.
    However, Chapter 2.3 on the iWeb FAQ.org site has tips on using some of the existing files, image, audio, video, etc., from the published site in the recreation of the site.
    OT

  • How to monitor OSD TS failure and get alert or report?

    How to monitor OSD TS failure and get some alert or generate an report?
    We have SCCM 2012 R2 CU1 with MDT 2013.
    I have checked the OSD reports in SCCM and everyone is emty, where do SCCM get data to the what to activate?
    (I thinking of "Task Sequence - Deployment Status" reports)
    I am not sure people read report manually or lock at the MDT monitor view. So best I think that generate an email or incident in Service Manager when an TS fails.
    We do have SCOM, SCSM, SCO.
    Is there anyone that can point what way or what option I have?
    /SaiTech

    Specifically you could use this Status Message Query syntax to monitor your Task Sequences for errors:
    select stat.*, ins.*, att1.*, att1.AttributeTime from SMS_StatusMessage as stat left join SMS_StatMsgInsStrings as ins on stat.RecordID = ins.RecordID left join SMS_StatMsgAttributes as att1 on stat.RecordID = att1.RecordID inner join SMS_StatMsgAttributes
    as att2 on stat.RecordID = att2.RecordID where att2.AttributeID = 401 and att2.AttributeValue = "DOJ200A1" and stat.SiteCode = "DOJ" and att2.AttributeTime >= ##PRM:SMS_StatMsgAttributes.AttributeTime## order by att1.AttributeTime desc
    Just replace DOJ200A1 with the Deployment ID of your Task Sequence and DOJ with your SiteCode.
    If you want to generate an alert if the TS fails then you could run a script that calls a utility (or similar) which sends a pre-configured email to a specified address (as an alternative to Torten's response). This could be placed in the built in error
    logging section of the SCCM integrated MDT Task Sequence when it fails which I assume you are using (right at the bottom, called Gather Logs and StateStore on failure).
    There are heaps of ways of generating an email from a TS and controlling error logging just do a search - as you have Service Manager you could even use your instance of Orchestrator and call a run book in your TS which does the email?
    Cheers
    Damon

  • Trying to restore my Mac OS  after a hard drive failure and my password is no longer recognized, however I can log in by double clicking on the Lion Icon? How can I reset my password

    I am trying to restore my Mac OS after a hard drive failure and my password is no longer recognized, however I can log in by double clicking on the Lion Icon? How can I reset my password

    First, make sure caps lock is not on.
    Another reason why your password might not be recognized is that the keyboard layout (input source) has been switched without your realizing it. At the login screen, you can cycle through the available layouts by pressing the key combinationcommand-space or command-option-space. See this support article.
    If the user account is associated with an Apple ID, and you know the Apple ID password, then maybe the Apple ID can be used to reset your user account password.
    Otherwise*, boot into Recovery mode. When the OS X Utilities screen appears, select
    Utilities ▹ Terminal
    from the menu bar. In the window that opens, type this:
    res
    Press the tab key. The partial command you typed will automatically be completed to this:
    resetpassword
    Press return. A Reset Password window opens. Close the Terminal window to get it out of the way.
    Select your boot volume ("Macintosh HD," unless you gave it a different name) if not already selected.
    Select your username from the menu labeled Select the user account if not already selected.
    Follow the prompts to reset the password. It's safest to choose a password that includes only the characters a-z, A-Z, and 0-9.
    Select
     ▹ Restart
    from the menu bar.
    You should now be able to log in with the new password, but your Keychain will be reset (empty.) If you've forgotten the Keychain password (which is ordinarily the same as your login password), there's no way to recover it.
    *Note: If you've activated FileVault, this procedure doesn't apply. Follow instead these instructions.

  • Music Files Deleted After Hard Disk Failure and First Sync After Hard Disk

    Hi,
    I recently had a hard disk failure and lost all of the data on my hard drive. I replaced the hard drive and reinstalled all of the software including iTunes. I am running Windows XP Home. The first time I plugged my iPod Nano into my computer after the hard drive replacement it synced to iTunes and since iTunes had no music files it deleted all of the music files on my Nano. How do I get them back and why on earth would iTunes do such a stupid thing??? My Nano contained many songs that I bought from iTunes and I want to get them back. I have found some third party software that will undelete the deleted files but it costs $69. I don't feel that I should have to pay to correct a defective feature in iTunes. Does Apple have an undelete utility? Can I redownload the songs that I purchased from iTunes?

    *The first time I plugged my iPod Nano into my computer after the hard drive replacement it synced to iTunes*
    When you connected did you get a message that your iPod was linked to another library, and then press Erase and Sync? When an iPod is set to update automatically and you connect to a computer with an empty iTunes and accept the message above it will erase the originals completely (as you have discovered). Also as you've seen, none of the recovery programs are particularly cheap so you have to decide if in your particular circumstances it's worth it to get your songs back. It may be if you have a lot of purchased tracks which you will have to pay to download again. If they came primarily from your CDs then it's most likely not as you can re-rip them.
    *Can I redownload the songs that I purchased from iTunes?*
    If you didn't make a back-up of your purchases to restore from then I'm sorry to say that the policy on lost purchases is that you have to pay to download them again:
    "Once a Product is purchased and you receive the Product, it is your responsibility not to lose, destroy, or damage the Product, and Apple shall be without liability to you in the event of any loss, destruction, or damage." iTunes Store: Purchased content can be downloaded only once
    You could try contacting the iTunes Music Store Customer Service and you might be able to persuade them to sanction a second free download. There have been occasional reports in the iTunes forum of this happening, however just be aware that they are not under any obligation to do so. If you click on any of the links on this page you'll find a space at the bottom to email your query: iTMS Customer Service

  • My iPhone just said "SIM failure" and now says Invalid SIM in the upper corner. What's this all about?

    My iPhone just said "SIM failure" and now says Invalid SIM in the upper corner. What's this all about?  Any ideas on how to resolve this.

    Looks like the Sim card had a catastrophic failure. Burnout, short somethng like that.
    You can try to take out the tray and reseat the sim card inside and see if that gets it back.
    Also try resetting the phone at least once by holding down the home and power buttons until the Apple Logo shows up.
    If none of this works you'll have to contact your cell carrier to get a new sim card, as it probably fried and is no longer functional.

  • COMMIT WORK AND WAIT does not work

    Hello,
    I know this question has been asked many times in various forums. But the fact remains that there is no definitive solution found for this problem which does not involve WAIT UP TO n SECONDS or SELECT until the DB commit has been completed.
    We have an IDoc based inbound interface for creating Project Defintion and WBS Elements. Here is how the code looks like in the processing function module:
    * Create Project Defintion
    CALL FUNCTION 'BAPI_PROJECTDEF_CREATE'
      EXPORTING
        project_definition_stru = lwa_proj_bapi
      TABLES
        e_message_table         = lt_messages.
    * If no errors
    CALL FUNCTION 'BAPI_TRANSACTION_COMMIT'
      EXPORTING
        wait = 'X'.
    * Other code
    * Create WBS Element (BAPI could not be used because not all fields are allowed to be updated)
    CALL TRANSACTION 'CJ11'
    Now while creating the WBS Element, transaction CJ11 returns an error that 'Project does not exist'. This is not correct because the same Project was successfully created in the previous step.
    It is clear that the problem is because of the delay in database commits.
    This happens only with few IDoc's and not all of them. And of course, the problem does not occur if I induce WAIT UP TO n SECONDS after BAPI_TRANSACTION_COMMIT. But this is not the best practice.
    The question is why BAPI_TRANSACTION_COMMIT does not wait even though we are forcing it to?
    Thanks in advance
    Sagar Acharya

    Suhas wrote:
    But i am baffled that although the COMMIT has happened earlier why is the data not updated in the DB ?
    Well, it's just a [COMMIT WORK|http://help.sap.com/abapdocu_70/en/ABAPCOMMIT.htm] and not a [COMMIT WORK AND WAIT|http://help.sap.com/abapdocu_70/en/ABAPCOMMIT.htm#@@AND%20WAIT@@COMMIT%20WORK@@]. Let me quote the ABAP help:
    If you do not specify the addition AND WAIT, the program does not wait until the update work process has executed it (asynchronous updating), but instead is resumed immediately after COMMIT WORK. However, if the addition AND WAIT is specified, program processing after COMMIT WORK will not continue until the update work process has executed the high-priority update function modules (synchronous updating).
    @Sagar Acharya: Well, I thought you were looking for an explanation why sometimes the project isn't created (and you only had posted coding that showed details for step 1) - I'm trying hard, but my mind reading skills are rather limited yet...
    So let's think about step 2 and 3: I assume that you made sure that your coding always references the correct WBS element. Again the commit (without wait) is done already via CJ11 (e.g. check form BUCHEN in SAPLCJWB). I'd expect though that the synchronous update mode should make this work. Since it doesn't, I'd try local update mode, which is what I'd choose in your case anyhow.
    Apart from that my mind is pretty blank, except for the usual silly things to check. E.g. are you sure you're coding is correct, you are handling all return messages and log them for inspection later (e.g. application log), you are certain that the WBS was actually created by the same IDoc that throws the fit (and IDoc was not reprocessed), etc.
    So maybe somebody else has better ideas...

  • (com.apple.collabd[15483]): Service setup event to handle failure and will not launch until it fires.

    Hello,
    I am fairly new at Xserve administration, but I got thrown in the fire and i need your help.
    My system.log is being hammered with this error:
    (com.apple.collabd[15483]): Service setup event to handle failure and will not launch until it fires.
    I did my research and it seems to be related to Wiki, but I disabled wiki and restarted and it is still coming up. Any advice would really help
    System Version: OS X 10.10.1 (build 14B25)
    Server Version: Server 4.0.3 (Build 14S350)

    Try deleting the preferences file

  • Verification Failure and potential counterfeit software

    I recently purchased a student license and DVD Adobe Creative Suite 6 Design Standard for Windows from www.srs.usg.edu, the supplier of software for my university.  After partially downloading, the installer said there was a verification failure and that "the product you are trying to install is not an Adobe Genuine Software and appears to be counterfeit. 
    The only issue I can think of is that I downloaded a free trial of Photoshop CS6 that is still on my computer.  I didn't uninstall it before trying to install my purchase because if it didn't work, I didn't want to be left without a program to finish my homework on.  If this is the solution, I can try that, but I would think I would've gotten a different notification if that were the error.
    Is there a solution?  Thank you

    The Genuine Software Failure error could be due to damaged installation media.  Please try downloading the trial of Creative Suite 6 Design Standard from http://www.adobe.com/cfusion/tdrc/index.cfm?product=design_standard.  You can then try the installation again with the freshly downloaded install files.

  • I had a hard disc failure and had to reload Design suite 6 from disc.  The program is now telling me I have 7 days to register the product or it will quit working.  The serial number is already registered.  It won't connect to the adobe site from the popu

    I had a hard disc failure and had to reload Design suite 6 from disc.  The program is now telling me I have 7 days to register the product or it will quit working.  The serial number is already registered.  It won't connect to the adobe site from the popup screen that comes up telling me I only have 7 days to register.  What do I do?

    Go to the Help menu in Photoshop and choose Activate. It should open a wizard allowing you to do this.
    If that fails, Contact Customer Care after clicking on one of the activation links. The more information you give them, the easier it will be for them to help you.
    Gene

  • IPhone 4s and Sim failure and No service issue

    Ok,
    Few days back I asekd questions regarding few other issues with iPhone 4s. here is it, https://discussions.apple.com/message/17068754#17068754
    Few gentlemen told me, to replace sim card. Here is what I did,
    1) I am from India. I was using Vodafone 3g micro sim. Everyday, 4-5 times in the ideal mode I got messages like Sim failure and invalid sim. I have to restart my iPhone everytime. Then only it was working.
    2) I posted the question, people said its my card problem
    3) I bought new BSNL 3G micro sim card for iPhone. I inserted the card and got 3G working.
    4) After 3 hours, I saw No service message. I waited for some time, i went to outside to see if it was a network issue. Nothing changed.
    5) I rebooted my iPhone, it immediaetly picked the network.
    6) After few hours, again it lost and said no service.
    7) I then didn't rebooted it.
    8) In the morning,  I saw Sim Failure and invalid sim message. Useless
    9) I now rebooted and Sim is working with 3G network.
    Now please ,
    is this iPhone issue? It is for sure. I am tired now. Battery is dying and with this Sim Failure and No service, I am totally disappointed.

    Hi Ahelpyguy...
    I read all your messages above , I am facing the same problem as u faced.
    My Iphone 4S and it was working fine (5.0) until i upgrade to 5.0.1(9A406).
    Now I am facing alot of network issues.  I get messages liek NO Sim , SIM FAILURE. 
    I even restored the sowftware from ITUNES but i am still facing the same problem.
    I was using Vodafone first but I heard that due to problem in micro sim reader of Iphone 4s i shd use a 128 K or 64 K sim.. Since only Airtel provided 64K sim ...I installed that in my phone. But still i am facing the same issue.
    I would appreciate if you can tell me whats Tweaked version of 5.0.1.
    the current software installed on my phone is 5.0.1 (9A406).
    Thanks
    Prateek

  • Multiple flat files with Comma delimiter and Pipe Delimiter in the sub folders.

    Hi,
    I have a directory C:\doc\Outcomes\Health  --(This is the main path). 
    In the path above i have multiple subfolders like 
    A
    B
    C
    D
    Folder A & B have 20 flat files each which are comma separated and pipe delimiter files. 
    Folder C&D have 20 excel files each.
    1) So, In SSIS while looping through the subfolders how do i limit to loop only excel files one time and flat files one time.
    2) In folder A&B, how do i loop only Pipe delimiter files (neglecting comma saperated files). I want to loop only pipe delimiter files while using for each loop container.
    Thanks 

    Both are txt files, but the data inside the files is saperated by ',' and '|'. ( comma and pipe)
    Thats ok 
    If delimiters are not consistent you can use this method
    http://visakhm.blogspot.in/2014/07/ssis-tips-handling-inconsistent-text.html
    Please Mark This As Answer if it solved your issue
    Please Mark This As Helpful if it helps to solve your issue
    Visakh
    My MSDN Page
    My Personal Blog
    My Facebook Page

  • COMMIT Performance and LUW concept in Function Calls

    Hi,
    I have a FM used in Web-Service comprising of around 8700 lines of code. It has, at several times, called different function modules.
    My Concern:
    At one point, a function module is used which creates an IBASE, which is further processed in the FM by updating its products. Earlier, BAPI_TRANSACTION_COMMIT was tried with WAIT= 'X' but the creation was not synchronous. Thus, code would not go further, as condition for ibase created failed. It means that "commit work and wait" inside the BAPI_TRANSACTION_COMMIT does not make the DB updation synchronous. Thus, a wait of 10 Seconds was put which seems to be working fine for last 6 months.
    1. What did not work with BAPI_TRANSACTION_COMMIT ?
    2. Does writing "commit work and wait" outside the FM BAPI_TRANSACTION_COMMIT different from writing it inside ?
    3. When we move to FM call in a program, we enter a new context. Does a new dialog step is created ?? If I fire a commit work in the called FM, will it also commit the DB changes in the calling program ?
    4. how much impact COMMIT WORK statement put on performance, especially when it is too frequently used, and when the data changed above is not accessed by the further code ?
    5. In what condition commit work/wait upto n seconds combination becomes necessary
    Regards,
    Chitwanjit Singh

    sometimes a perforance hit it worth the maintability factor.I disagree, strongly. The developer's Prime Directive is to make the user's experience a good one. Inflicting poorly performing code on the user in the name of maintinability is not on.
    Q: Why does the code have to be maintained so much?
    A: Because the users' keep complaining about how slow it runs....
    [SOAPBOX]
    Of course in the real world things get confused and it can be quite difficult to distinguish programmers' issues - encapsulation, flexibility, maintainability - from users' issues - correctness, completeness, performance.
    But the relative worth of these things is easy to assess. A highly-modular parameter driven architecture that delivers the wrong answer and takes an age to do it ain't worth jack. Even if it is so maintainable that it's easy to fix every bug in it.
    [SOAPBOX]
    "Whatever waits for us behind those doors, we have a better chance of survival if we stick together." Gladiator
    Cheers, APC

Maybe you are looking for

  • Delegation in ABAP OO possible?

    Hi I would like to use standard SAP standard object, but to extend some attribute and method without direct modification. BO delegation is perfect for this requirement, how about implementing object if it is ABAP OO? Thanks

  • Purchase requsition and Purchase order Price Changes

    Hi All, When purchase requsition(XXXXXXXX) is converted in to a purchase order through ME 59N(YYYYYYYYYY),after converting in to a purchase order i will change the purchase order price to a new value. How can i track the price changes for a purchase

  • How to Read payload..?

    Hello, I am not satisfied with the display of the messages in SXMB_MONI. I want to write a program that reads table SXMSPMAST (holding all processed messages) with selection criteria = application error. For those entries I want to read the correspon

  • I can't open final cut pro

    I can't open final cut pro. I tried many times but always same message. During reading audio filter "GSP-1101" then stop and error message shows. GSP-1101 is digitech guitar multi effect for.  I erase that app but still same. It says Process:        

  • Standard Compnent for Order Item Selection as Usage in own Component

    Hi all, is there any standard component that I can use to select items form orders or quotations? I can't use BTFOLLOWUP since this component updates the BOL by themselve - see component usage in BT115H_SLSO. I need something like this -> BTAdminH as