How to reinitialize AURORA clientside orb?

Hi!
I'm having the same problem as others are with servlet (or other) clients to 8i EJB:s.
Once in a while a CORBA.COMM_FAILURE exception will be thrown when calling an EJB-method and all calls to EJB:s after that fail with CORBA.NO_IMPLEMENT.
This can always be fixed by restarting the clientside JVM so it is not an actual server problem (the server recovers anyway).
I tried to do a less intrusive recovery by recreating the InitialContext and looking up a new Home interface but that wont work. It also gives the CORBA.NO_IMPLEMENT exception.
This means that it is the clientside AURORA orb itself that is somehow locked in an incorrect state.
So how do I kill that ORB? The first creation of an initialContext apparently fires it up somehow so it must be killable
and possible to retart.
/Ulf

Hi Everett,
you are right, it would be kind of an ugly hack to talk IIOP instead of talking JMS. Me looking into this is more out of desperation because all attempts to accomplish the reconnect via the JMS API failed (see http://forum.java.sun.com/thread.jsp?forum=29&thread=352585&tstart=15&trange=15). If there would be a not-too-complicated Corba solution I would go for it anyway because -- let's face it -- once you have installed your application in a productive environment you are not going to change your j2ee implementation every other day. The code would then have to check if this particular RMI-IIOP implementation is there; if yes, do the corba specifics, if no, work on the JMS level only.
Cheers,
Gerret

Similar Messages

  • How to reinitialize an external hard disk drive which serves for Time Machine?

    How to reinitialize an external hard disk drive which serves for Time Machine?
    Thanks for your answer.

    Everything you need to know about initializing (formatting) is here.
    http://pondini.org/OSX/DU1.html
    Lots of useful information on TM is here in the same place.
    http://pondini.org/OSX/Home.html

  • Safari is slow, how to reinitialize

    safari is slow, how to reinitialize it under yosemite

    Please answer as many of the following questions as you can. You may already have answered some of them. In that case, there's no need to repeat the answers.
    Back up all data before making any changes.
    Have you restarted your router and your broadband device (if they're separate) since you first noticed the problem? If not, do that now and see whether there's any change.
    If your browser is Safari, then from the Safari menu bar, select
              Safari ▹ Preferences... ▹ Privacy ▹ Remove All Website Data
    and confirm. If the Downloads button (with the icon of a downward-pointing arrow) is showing in the toolbar, click it and then click Clear in the box that appears. The download history will be removed. Any change?
    If you're running OS X 10.9 or later, select the Advanced tab in the Preferences window and uncheck the box marked
              Stop plug-ins to save power
    Any change?
    Quit and relaunch the browser. Any change?
    Enable guest logins* and log in as Guest. Don't use the Safari-only “Guest User” login created by “Find My Mac.”
    While logged in as Guest, you won’t have access to any of your documents or settings. Applications will behave as if you were running them for the first time. Don’t be alarmed by this behavior; it’s normal. If you need any passwords or other personal data in order to complete the test, memorize, print, or write them down before you begin.
    Test while logged in as Guest. Same problem?
    After testing, log out of the guest account and, in your own account, disable it if you wish. Any files you created in the guest account will be deleted automatically when you log out of it.
    *Note: If you’ve activated “Find My Mac” or FileVault, then you can’t enable the Guest account. The “Guest User” login created by “Find My Mac” is not the same. Create a new account in which to test, and delete it, including its home folder, after testing.
    Are any other web browsers installed, and are they the same? What about other Internet applications, such as iTunes and the App Store?
    If other browsers and Internet applications are also affected, follow these instructions and test. Any change?
    If Parental Controls is active for any user, please turn it off and test. Any change?
    If only Safari is affected, launch the Activity Monitor application and enter "web" (without the quotes) in the search box. If a process named "Safari Web Content" is shown in red or is using more than about 5% of a CPU, select it and force it to quit by clicking the X or Quit Process button in the toolbar of the window. There may be more than one such process. Any improvement?
    Follow the instructions in this support article. Any change?
    Open the iCloud preference pane and uncheck the box marked Photos, if it's checked. Any change?
    Are there any other devices on the same network that can browse the Web, and are they affected?
    If you can test Safari on another network, is it the same there?
    If you connect to your router with Wi-Fi and you can also connect with Ethernet, do that and turn off Wi-Fi. Any difference?

  • How to reinitialize RME & CS database?

    HI,
    Please advice that how to reinitialze the RME & CS database. Do I have to perform in specific order. Please tell the all stesp require to reinitialze database.
    I am using lms 3.2.1.

    You asked how to reinitialize the RME AND CS databases...
    it is no problem to reinit the RME database alone but if you reinit the CS database (cmf) then you have to reinit ALL other databases as well! And you have to start with reinitialization of cmf, because other database write information into the cmf database (which is lost when you reinit the cmf database after it was written to it...)
    Marvin pointed you the Joes' doc, there is one sentance:
    Reinitializing a database will destroy ALL data associated with that database.  If you need to reinitialize the cmf database, you will lose ALL data in ALL LMS applications.
    also see this thread...
    https://supportforums.cisco.com/message/646290#646290
    for you this means, you are done with reinitialization of the RME database if this was the problem and you should NOT touch the CMF database.

  • How to reinitialize dbca mask before reload dbca

    Hi
    Huh ! I've a little problem with dbca.
    How to reinitialize previous choices ? it seems that dbca store on a file last user choices but i don't find it.
    My problem is that, on the search path during definition of ASM groups i've store /*.
    It was a very bad idea (sure), because dbca store this path and at the next restart it's impossible to access the next screen. the search in /* is too deep.
    Thanks in advance,
    Regards
    Den

    In $ORACLE_BASE/admin you should have a directory structure for the viton1 instance : create a similar directory structure for the viton2 instance.
    In the pfile subdirectory create the initviton2.ora file : you can copy it from initviton1.ora file and change all occurrences of viton1 to viton2.
    At OS prompt : export ORACLE_SID=viton2, then
    sqlplus /nolog
    conn / as sysdba
    startup nomount pfile=$ORACLE_BASE/admin/viton2/pfile/initviton2.ora
    then CREATE DATABASE.....

  • How to reinitialize class

    I have made a small game in java, and it works fine. But in the end when the user wins or loses he has the option to exit or to play again. So when he clicks on the button play again then I need somehow to reinitialize the class and to repaint all components! Can anyone tell me how I can do this or something like this?
    I have tried to dispose the frame and after disposing to create a new object but this does not function.

    Write a method called, say, "reinitialize", that sets all relevant states back to correct values before a game starts.

  • How can I know which orb im using?

    Hello all
    im trying to move from javaIDL to jacORB in my application
    I point my class path to the jacORB.jar and it is first in the list
    how can I be sure im using jacORB and not javaIDL ?
    Because the declaration is the same in the code. (import org.omg.CORBA.ORB;)

    You need to set ORB properties.
    Not fammiliar with JacORB but Orbix case looks like:
    Properties props = new Properties();
    props.put("org.omg.CORBA.ORBClass", "IE.Iona.OrbixWeb.CORBA.ORB");
    props.put("org.omg.CORBA.ORBSingletonClass", "IE.Iona.OrbixWeb.CORBA.singletonORB");
    orb = ORB.init(args, props);
    Anyway, check JacORB docs.
    found this:
    p.put("org.omg.CORBA.ORBClass", "org.jacorb.orb.ORB");
    p.put("org.omg.CORBA.ORBSingletonClass", "org.jacorb.orb.ORBSingleton");
    Message was edited by:
    algr

  • Two pages reuse a task flow -------how to reinitialize the task flow?

    Hi, i get a question.
    In general:
    In the navigation menu i have two commandlink that are "Service" and "Application". And when i click on each of the two command links, i go to a page.
    The detail:
    This two commandlinks use a same task flow-----that is : <af:commandNavigationItem...... definition of this two link' action attributes are just the same.
    What's more, the pages that i go to when i click on the link also use the same one, just show something different bansed on the paramaters when alick on the link. The parameters are defined in the <af:commandNavigationItem...... using <af:setPropertyListener..
    And the question is:
    when i click on the "Service" link and see the "Add service" page and then click "Application" it's still the "Add service" page, and otherwise is the same. i just can not jump freely through this tow link.
    I have debuged the code and find that, once i click "Service" link then i click "Application" link, the task flow won't reinitialize.
    Any one has some solutions?
    Thanks in advance.

    Reading the official doc will help.
    http://docs.oracle.com/cd/E15523_01/web.1111/b31974/taskflows_complex.htm#BABHIAAI

  • How to reinitialize the sel screen after displaying the output..?

    Hi All,
    I have a report program. In the selection screen, I will provide the input parameters and execute the program which displays the output on the screen. Now, if I come BACK to the selection screen, the values which I entered earlier will appear on the selection screen. My requirement is... If I come BACK from the output screen to the selection screen, the selection screen should be blank. I mean, all the values I entered earlier should be cleared. Could anyone please tell me how to do that.
    Thanks in advance.
    Best regards,
    Paddu.

    Hi Paddu,
    the selection screen will be reinitialized automatically. Only if the INITIALIZATION event or the parameters use SET/GET parameter IDs (addition MEMORY ID pid) the values will prevail.
    You may clear everything in INITIALIZATION event.
    Regards,
    Clemens

  • How to use ping with orb

    hi,
    i have an applet that registers with an orb, and a stub that mimicks a controller. the controller controls x number of machines, and has a file of the ip addresses of each machine. is it possible to use the applet to send ping messages to the controller to forward on to each machine to see if the machine is attached to the controller?
    kind regards
    vanessa

    What OS are your servers?
    If you are using Windows, you can have the applet call a ping() method on the server. The server's ping() meth could do a Runtime.getRuntime() and invoke the exec(String) to invoke "cmd ping xxxx.xxxx.xxxx.xxxx". It's a little bit of a pain if you want to read the response from the process though.
    If you aren't running windows or you don't care about the actual response you can have a ping() method on the server which opens up a socket to port 7 (the echo port, which just returns what ever you send it). I believe (you'll have to test) that you'll get an I/O error if the machine is turned off. I sorry but I don't know of a port for ping.
    Depending on what your planning, you could have each of the 'X' machines register with the controller at start up and then every so often the control calls a isStillConnected() meth which would return a message or a corba error if it's not alive. You'd also have to remove any dead entries.

  • How to reinitialize to default

    Hi, I am hoping someone can help me. I have written my test program and everything it should be doing it is.....except for reinitializing. Whatever was in the indicators when the test is started is automatically written into excel. Is this because I have yet to create my executable. Any help that anybody can give is greatly appreciated. I have attached the code.
    Thanks
    Chris Gallo
    Attachments:
    901 Test 7-8-08a.vi ‏1157 KB

    This has nothing to do with creating an executable. This has everything to do with race conditions.
    You have a single loop and two case structures which are independent. This means that as long as the operator control is not empty, both case structures will execute. The bottom case structure writes the values to Excel. It writes whatever values are there, even though they may not have been updated or initialized yet. It seems to me that you want to write to Excel once you've actually gotten the values. This means that you should have an additional case in your upper loop's state machine that is something like "Write Data", in which you place the code to write the data.
    Also, there's no point in having a separate case structure to handle "Begin Test" to reinitialize the indicators. You already have a state for "Begin Test", so just place initialization stuff in there.

  • How to Reinitialize Components

    Hallo, i need a little help. I have created my won component named myComponent1. I added this component to the state1 of my application. Now, my component works fine but i wish to rebuild it at all when i change to state2 and come back to state1 of my application. How can i destroy my component and rebuild it again resetting all variables to their initial values??
    Thx for help
    Max

    Depending on what the component needs to reset you implement your logic.
    private function reset():void
        this.var1 = ""; //reset a string
    //perform other logic here including visual resets (use component lifecycle
    methods to make it performant);
    protected function
    application1_currentStateChangeHandler(event:StateChangeEvent):void
        event.newState = "state2"
        //reset state 1
            reset();
    C

  • How to reinitialize iPhone password protected

    How can I reset an iPhone 3G I inherited but which is password protected?

    Connect to iTunes and Restore as a new phone. If it asks you to enter a password disconnect the phone, hold HOME and SLEEP until the screen goes blank, then release SLEEP and continue holding HOME. While holding connect to the dock cable and continue holding until iTunes recognizes the phone, which may take several minutes.

  • How to reinitialize Windows 8.1

        This computer is NEW. After first turning on system requires user's data - name, e-mail address etc. I've introduced e-mail address e.g. ADR1. My Internet Service Provider identifies me by ADR2.  I suspect that this difference is the reason of impossibility to get the link with WiFi network. How can I change theese initial data? Another account?
        Thank you for expected your advice.
         AD

    Malandr
    Welcome to the HP Community Forum.
    You could sign in as Bumbo Rabbit @ craymail.net and it would not make a bit of difference to your Internet provider when it comes to connecting your computer to the Internet.
    The Microsoft live account you might use as a login to your new computer is not relevant to your ISP.
    Your email could be anything, else we could never lug our computers around and connect them to different networks.
    You can certainly add another Admin account to your computer -- this is even a good idea:
    Create a User Account with Administrative Privileges – Windows 8-8.1
    Troubleshooting Your Wireless Network and Internet Connection Windows 8
    How to Manually Add a Wireless Profile in Windows 8
    Lots of ideas here:
    Windows 8.1 Wifi showing "limited" or "No Internet Access"
    Click the Kudos Thumbs-Up to say Thank You!
    And...Click Accept as Solution when my Answer provides a Fix or Workaround!
    I am pleased to provide assistance on behalf of HP. I do not work for HP. 
    Kind Regards,
    Dragon-Fur

  • How to reinitialize SpamAssassin?

    I seem to have messed up my SpamAssassin on a fresh (not upgraded) install of Leopard Server. Near as I can tell things went south when I tried to use "sa-learn".
    The symptom is that no mail gets delivered while the "scan for junk mail" filter is selected in the Mail service preferences. If I deactivate this setting and restart Mail thing delivery is fine.
    Is there a way I can just refresh the SpamAssassin install back to defaults? Or is there any sort of diagnostic tool or procedure?

    Check /var/log/amavis.log or clues why your content filter isn't running.
    Also, after checking "scan for junk mail" and saving, issue
    sudo ps U _amavisd
    to check amavisd is running.

Maybe you are looking for

  • Create an idex of terms...

    Dear All, I'm using Cap4 wanting to publish as swf files. I want to generate a list of terms (index?) that users could access during a module. I want this list of terms to be linked to pics/demos/animations. I realize I could just type the text of al

  • Problem with OID Connector

    I am having a problem with OIM 9.1.0 + OID I am install IOM 9.1.0 + Connector OID according to this guide: http://download.oracle.com/docs/cd/E11223_01/doc.904/e10436/deploy.htm , but to create a user via console Xellere see in the logs of my body OC

  • TS1702 ipad video app is not working

    The videos app that comes with ipad is not working

  • NI-IMAQdx driver in gigE interface camera

    I am using the NI-IMAQdx driver to controll a gigE interface camera (Prosilica GE-4900C).Camera's reselustion is 4872 x 3248 pixels When acquiring a raw data of a picture using : IMAQdxStartAcquisition function follows with IMAQdxGetImageData functio

  • Do I need ASM for logical standby server?

    I am using ASM in production, when I created physical standby for it, system asked me create ASM file system on it else it is not possible. My question is do I need ASM file system for logical standby too.? Thanks