Asynchronous reserveFinally failed

We have implemented an NWDI (NW2004s SP10) server, the problem we experience is caused due to an old test configuration in the begin of the project. The default trace is full of the following errors:
asynchronous reserveFinally failed
I know where this error is comming from and how to solve it. The problem however is that the namereservation list shows four entries on the state FINALIZE_PENDING for a server 'http://FQDN:443'. And that is where our prolem lies... when you try to temporary add this URL to the nameserver list (on the URL https://FQDN/dtr/system-tools/administration/NameServerConfiguration) then you get the error message:
Name Server data is invalid. Error: Precondition invalid-name-reservation-data check failed.: CIM_ERR_FAILED: HTTP error: Invalid begin of response [expected: 'HTTP', found: '(']
So the problem is that it is pointing to an http URL on port 443 :S.....
Does anyone knows if it is possible to delete those namereservation entries? They are absolutely not necessary anymore but need to be removed since we are experiencing problems as long as these name reservations stay open...
Thanks in Advance,
Nico van der Linden

Well just to give an update (in case other people experience the same problems).
According to the there is an bug in all NWDS versions below SP12 with regards to using an SSL connection to the nameserver. Instead of reserving names for https://<fqdn> it registers them for http://<fqdn>:443 (so the http protocol instead of the https protocol). This caused all our name reservations to get stuck on the state Finalize_pending.
SAP recommended to use NWDS SP12 instead and confirmed that it was supported to use NWDS SP12 in combination with NWDI and portal on SP10. I downloaded NWDS SP12 and tried to connect to the DTR but I was not able to get an connection at all, no error and no response :S
So I went back to SAP and (again) they confirmed that this is caused due to an bug in NWDS in combination with SSL connections. The Namereservation problem is solved but instead they gave a free bug back with regards to SSL connections to the DTR........
SAP will provide an patch for NWDS SP12 to us, but we decided to stay on NWDS SP10 on the landscapes where the portal and NWDI are also on SP10 and just use HTTP connections for name reservations for a while. We enable https connections for the namereservations on all landscapes that are on SP12 and then we apply the patch that SAP will provided.
I would recommend everyone NOT to turn on SSL connections to the nameserver when you are on NWDS below SP12. All namereservations that were on an incorrect state had to be deleted with an SQL delete statement directly on the database tables since SAP does not provide another way for it. After that we also had to delete all our DC's and recreate them again to make the names reserved again....
Hope that this makes everything clear, otherwise just let me know.
Cheers,
Nico van der Linden

Similar Messages

  • Asynchronous Communication fails

    Hi,
    I am using Visual Basic.NET 2003 and measurement studio together with National Instruments NI-VISA(TM) Software for Windows. Version 3.0.
    Synchronous communication with GBIP instrument (ESG E4438C from Agilent) works fine but I have a problem with asynchronous I/O.
    I always get an error like "Unable to queue the asynchronous operation (usually due to the I/O completion event not being enabled or insufficient space in the session's queue)."
    What went wrong?
    Here is my code:
    Private Sub btGo_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles btGo.Click
    AxCWVisa.RsrcName = "visa://149.204.55.39:3537/GPIB0::19::INSTR"
    AxCWVisa.Open()
    AxCWVisa.WriteAsync("*idn?")
    End Sub
    Private Sub AxCWVisa_IOC
    ompletion(ByVal sender As Object, ByVal e As AxCWVisaLib._DCWVisaEvents_IOCompletionEvent) Handles AxCWVisa.IOCompletion
    MsgBox("IO completed")
    End Sub
    I have tried to Enable Events
    AxCWVisa.EnableEvent(CWVisaEventTypes.cwvisaEventIOCompletion)
    but all without success.
    Thank you for your help,
    Markus

    Hi Dan!
    Thank you for your answer.
    I have tried again the EnableEvent method but this fails. Here is my code:
    AxCWVisa.RsrcName = "visa://149.204.55.39:3537/GPIB0::19::INSTR"
    AxCWVisa.Open()
    AxCWVisa.EnableEvent(CWVisaEventTypes.cwvisaEventIOCompletion)
    After calling the EnableEvent method I get an exception with the following message:
    "Additional Information: Configuring Device
    The specified mechanism is not supported for the given event type."
    Since this is visaconnection across a network I have tried the asynchronous access at the local maschine - but with the same error message. So the network access should not be the problem.
    Using NISpy I get the following Info:
    1. viOpenDefaultRM (0x001AEC58)
    Process ID: 0x00000A40 Thread ID: 0x000009D8
    Start Time: 09:54:12.838 Call Duration: 00:00:00.421
    Status: 0 (VI_SUCCESS)
    2. viParseRsrc (0x001AEC58,"visa://149.204.55.39:3537/G...",1 (0x1),0 (0x0))
    Process ID: 0x00000A40 Thread ID: 0x000009D8
    Start Time: 09:54:13.259 Call Duration: 00:00:00.110
    Status: 0 (VI_SUCCESS)
    3. viClose (0x001AEC58)
    Process ID: 0x00000A40 Thread ID: 0x000009D8
    Start Time: 09:54:13.369 Call Duration: 00:00:00.000
    Status: 0 (VI_SUCCESS)
    4. viOpenDefaultRM (0x001AEC58)
    Process ID: 0x00000A40 Thread ID: 0x000009D8
    Start Time: 09:54:13.369 Call Duration: 00:00:00.000
    Status: 0 (VI_SUCCESS)
    5. viOpen (0x001AEC58,"visa://149.204.55.39:3537/G...",0 (0x0),0 (0x0),0x001DD1E0)
    Process ID: 0x00000A40 Thread ID: 0x000009D8
    Start Time: 09:54:13.369 Call Duration: 00:00:00.219
    Status: 0 (VI_SUCCESS)
    6. viSetAttribute (0x001DD1E0,0x3FFF001A,2000 (0x7D0))
    Process ID: 0x00000A40 Thread ID: 0x000009D8
    Start Time: 09:54:13.588 Call Duration: 00:00:00.000
    Status: 0 (VI_SUCCESS)
    7. viSetAttribute (0x001DD1E0,0x3FFF0005,5000 (0x1388))
    Process ID: 0x00000A40 Thread ID: 0x000009D8
    Start Time: 09:54:13.588 Call Duration: 00:00:00.000
    Status: 0 (VI_SUCCESS)
    8. viSetAttribute (0x001DD1E0,0x3FFF0007,0 (0x0))
    Process ID: 0x00000A40 Thread ID: 0x000009D8
    Start Time: 09:54:13.588 Call Duration: 00:00:00.000
    Status: 0 (VI_SUCCESS)
    9. viSetAttribute (0x001DD1E0,0x3FFF0177,-1 (0xFFFF))
    Process ID: 0x00000A40 Thread ID: 0x000009D8
    Start Time: 09:54:13.588 Call Duration: 00:00:00.000
    Status: 0 (VI_SUCCESS)
    > 10. viSetAttribute (0x001DD1E0,0x3FFF0021,9600 (0x2580))
    > Process ID: 0x00000A40 Thread ID: 0x000009D8
    > Start Time: 09:54:13.588 Call Duration: 00:00:00.000
    > Status: 0xBFFF001D (VI_ERROR_NSUP_ATTR)
    > 11. viSetAttribute (0x001DD1E0,0x3FFF00B3,2 (0x2))
    > Process ID: 0x00000A40 Thread ID: 0x000009D8
    > Start Time: 09:54:13.588 Call Duration: 00:00:00.015
    > Status: 0xBFFF001D (VI_ERROR_NSUP_ATTR)
    Any idea what went wrong?
    Thank you for your help!
    Markus

  • ProcessChain-asynchronous execution fails but synchronous execution pass

    Hello Experts,
    I am having a problem in the execution of our process chains in Prod. When executing thru rspc, Process chain stops at intermediate point & does not execute and status is red. When I execute it synchronously, it passes. Not sure why it is failing when running thru rspc. Looking at the logs in SM37, I only see logs for the non-synchronous executions and the status of the individual steps in PC is canceled and their log shows "Job or process BI_PROCESS_COMPRESS, waiting for event   is unknown" as the error for all steps. What is the difference b/w asynchronous and synchronous execution, and what could be the reason for the above problem. The process chains were running fine until recently.
    Some more info:
    In the rsprocess log, the actual_state has 'J- Framework error upon completion' and the PC runs has meta_api as blank (it was 'X' until recently).
    Thanks.

    Antonio,
    The code has some problem ...
    Change
    if (descriptor = tpacall(service_name,
    (char *)sendbuf,
    sendlen,
    0) == -1)
    To
    if ((descriptor = tpacall(service_name,
    (char *)sendbuf,
    sendlen,
    0) )== -1)
    It should be ok.
    Wayne
    <Antonio Rodriguez> wrote in message news:[email protected]..
    Hi,
    I have a problem with asynchronous messages. When my program calls
    tpacall() this function always returns 0. This is a invalid descriptor to
    tpgetrply() and my program fails. If I use TPGETANY flag then my program
    works well, but I would like to use the descriptor.
    Why tpacall function always returns 0? Can I know when the reply is
    available without calling tpgetrply function? While the reply isn't
    available, my program has to continue its execution. Does tpgetrply function
    block the program execution?
    My Tuxedo version is: BEA Tuxedo, Version 8.0, 32-bit, Patch Level 306
    I find enclosed some program code line
    Thanks,
    ANTONIO.
    int descriptor;
    FBFR32* sendbuf,recvbuf;
    long sendlen,recvlen;
    << call tpinit() >>
    << sendbuf = allocated with tpalloc() >>
    << recvbuf = allocated with tpalloc() >>
    if (descriptor = tpacall(service_name,
    (char *)sendbuf,
    sendlen,
    0) == -1)
    userlog("tpacall() fails");
    return -1;
    if (tpgetrply(&descriptor,
    (char**)&recvbuf,
    (long*)&recvlen
    ,0) == -1)
    userlog("tpacall() fails");
    return -1;
    tpfree(sendbuf);
    tpfree(recvbuf);
    << call tpterm() >>

  • How will I know, if the asynchronous message fails in XI? Acknowledgment?

    Hi guys,
    I have a FILE->XI->FILE scenario and sometimes the inbound message failsin XI (bad structure or whatever esle).. Is it possible to receive some message, that the original message failed?
    I have read topics about acknowledgments, but I didn't find it out, where to configure it.
    Could you give me some advice, how to set it up in my scenario?
    Thanx, Peter

    Peter,
    first go to the Integration Builder: Configuration
    access by, the design -> Environment -> Integration Builder(Configuration).
    1. Go to Scenarios
    2. Create a new Configuration Scenario by rightclick and NEW
    3. choose language and save
    4. on the left tree choose your created scenario
    5. choose Receiverdetermination
    6. Enter Service = sender System
    7. Choose Interface = your Interface File(Structure) from Design
    8. Choose Namespace if not filled
    9. create
    10. open the new Receiverdetermination
    11. tab"Configured Receivers" enter Service = receiving System and maybe a condition
    12. save
    13. Tab"Configuration Overview for Receiver Determination" open the new Receiver Service. The should be a text like "not defined".
    14. click at thew first symbol(Interface Determination) Dropdown and select new
    15. go on with create
    16. choose Inbound Interface and Mapping
    17. save and close
    18. Goto ReceiverAgreement and click at NEW from the symbol-line.
    19. go on with create
    20. enter sender Service and communication channel
    21. save, activate and good luck
    I hope it helps you to setup your communication.
    Feel free to contact me if you´re having problems.
    Gordon

  • Asynchronous reserve finally failed: missing name server configuration

    Hi,
    can anybody give me a hint why we get these errors?
    "asynchronous reserveFinally failed: missing name server configuration, no logon known -> operation will be retried name reservation : name server=http://sapcoe01.bbn.hp.com:50000/,  category=SAP_DevelopmentComponentName, name=hp.com/appl/tax, reservationKey=63415681, state=FINALIZE_PENDING"
    The development objects are listed in SLD with status PRERES. The Name Server location is configured in DTR with the logon data. The name server is also listed in the development configuration.
    Where else could be the cause for this error?
    Many thanks for any hints!

    Hi Martin,
    Here you can see the *_PENDING items: http://<host>:50000/dtr/sysconfig/support/NameReservationList
    And here you can configure the name server: http://<host>:50000/dtr/system-tools/administration/NameServerConfiguration
    The solution is to define your name server a second time with a slightly different URL. The first entry you already defined probably uses the fully qualified hostname, e.g. <i>http://<host>.mycompany.com:50000/sld/cimom</i>. Define the same name server again but <b>without the domain</b> and <b>without the /sld/cimom path</b>, e.g. <i>http://<host>:50000/</i>. Actually it should correspond to what's shown in the error message, e.g. "operation will be retried name reservation : name server=<b>http://<host>:50000/</b>,". When you click Save Configuration, the pending items in the queue will be processed. The only problem we have left is that "after some time" the 2nd entry we just defined dissapears and we need to configure it again (and again and again...)
    Kind regards,
    Sigiswald

  • Asynchronous Reserve Finally failed?

    Can someone explain to me why I continually see this error in the DTR log file:
    asynchronous reserveFinally failed: missing name server configuration, no logon known -> operation will be retried name reservation : name server=http://nwdiserver:55000/,  category=SAP_DevelopmentComponentName, name=example.com/test/test/dc, reservationKey=6505225, state=FINALIZE_PENDING
    The SLD has been configured to be a Name Server as well as a SLD.  The Supplier Bridge has been configured, and data has successfully been transferred.
    So what does this message really mean?

    I know that this may be a bit too late to reply to this thread, but somebody just pointed me out to this query and so I will try to clarify what is happening a bit more in detail.
    When you create some objects in the NetWeaver Developer Studio (NWDS) whose names need a reservation (like dictionary files, DC definitions, etc.), the NWDS sets up a special 'name reservation' property on such a file after adding it to DTR.
    The property tells DTR that a preliminary name reservation was done by the NWDS on the name server and after check-in, DTR is supposed to finalize the name reservation.  The property also tells DTR on which name server the name has to be reserved - since there could be multiple name servers in a landscape.  DTR records such an entry in its 'name-reservation queue' and marks it as being preliminarily-reserved.
    However, the property does not provide the authorization details of the name server to DTR i.e., DTR has no mechanism to connect to the name server until the administrator or CMS configures the name server in DTR with the appropriate credentials.
    The finalization itself is an asynchronous operation i.e., after the check-in is complete the name-reservation entry in DTR gets the new status of 'finalize-pending'.  A background task in DTR picks up such pending reservations, tries to see if the name server is registered with DTR and if so, contacts the name server and finalizes the name reservation. If the file was reverted, then the reservation gets the status 'revert-pending' and DTR reverts the preliminary reservation from the name server.
    If a developer has checked-in a file with a name reservation pointing to 'old-name-server' and in the meantime if the name server was relocated to 'new-name-server', then DTR does not have a mechanism to contact the old-name-server anymore.  And that is when you get the 'missing name server configuration' error.
    As you see in the error message, DTR does not yet give up on the reservation.  So, if you configure the old name server once again, then when the background task runs the next time, it will successfully reserve the name on the old-name server.
    Currently, there is no possibility to edit such name reservation entries in DTR's queue and change their URLs to point to the new name server.
    In a future release, this mechanism of finalization of reservations via DTR will be completely removed.  The reservations will be handled directly by the NWDS.
    Here is what I would suggest before you relocate your name servers:
    Use the <a href="http://host:port/dtr/sysconfig/support/NameReservationList">http://host:port/dtr/sysconfig/support/NameReservationList</a>
    URL to check if there are any entries in the REVERT_PENDING or FINALIZE_PENDING state.
    If so, wait for a few minutes for the background task to process these entries.  But make sure that the name server mentioned in the queue is indeed configured in DTR via the URL:
    <a href="http://host:port/dtr/system-tools/administration/NameServerConfiguration">http://host:port/dtr/system-tools/administration/NameServerConfiguration</a>.
    You can also check when the background task last ran via the following URL:
    <a href="http://host:port/dtr/sysconfig/scheduled_tasks.html">http://host:port/dtr/sysconfig/scheduled_tasks.html</a>
    (the task ID is 'ProcessNameReservationsTask').
    Only when there are no more reservations pending, then you should reconfigure the nameserver.
    If you did not take care for the above steps, then you need to add the name server configuration to DTR as Adrian explained.
    - Girish

  • JRE freeze when loading applet twice, through VSAT network

    Here is a good one for you guys I think ...
    ===========
    What I got:
    ===========
    I have a java web application, runing with Tomcat 5.5.
    I use a Apache HTTP Server 2.0.52 for my statiques ressources (html, etc ...), and the modjk connector 1.2.13 to forward all the dynamic requests from the client to the application server.
    One of my html pages contains a signed java applet.
    Basically, this applet control a scanner and send the scanned image to the web application server.
    This applet:
    - use some swing components
    - use the netscape.javascript.JSObject to call javascript functions
    - use the morena API (which include a native library) in order to control a TWAIN scanner
    - format the scanned image into a JPEG image
    - send the formatted image to the web server, using an HttpURLConnection
    (I use a servlet on server side to get the uploaded image)
    - wait for the server response, that tells my applet if the upload has been successfull or not
    Some additional infos:
    - I use morena 6.2.0.0
    - I use JRE 1.5.0.0.1 to run the applet
    - JRE on client side is configured as follow:
    - no applet caching
    - network parameters: "use the browser parameters"
    ==============
    My problem is:
    ==============
    - Through a LAN network, the applet works perfectly ...
    - Through an internet network (I use a VSAT / IDIRECT network), I can load and run my applet the first time
    but when I try to run my applet for the second time (without closing the browser), it just doesn't start, and the JRE crash
    (i.e. the java console freeze ..., just like if it was waiting for something ...)
    nothing happen after that, and I have to kill my JRE / Browser
    the funny stuff about it is that the applet works fine (even through VSAT network) when I don't upload the scanned image on the server
    load and run ok as many time as I want ...
    => seems that something's going wrong during the uploading process
    ==========================
    What I have already tried:
    ==========================
    1/ getting rid of the Java - Javascript communication (JSObject seems to have heaps of bugs ...)
    => no changes
    2/ be careful to close correctly my HttpURLConnection, with a HttpURLConnection.disconnect()
    => no changes
    3/ put the morena jars directly on the client side (in the lib/ext directory of the JRE):
    the morena API use a native library, and apparently, a native library can not be loaded by 2 different ClassLoader
    just to avoid any "java.lang.UnsatisfiedLinkError"
    as shown on http://forum.java.sun.com/thread.jspa?forumID=31&threadID=628889
    => no changes
    4/ have a closer look on the http apache server, just to get rid of the error
    "OS 64)The specified network name is no longer available. : winnt_accept: Asynchronous AcceptEx failed."
    as shown on the bug 21425 in http://issues.apache.org/bugzilla/show_bug.cgi?id=21425
    => no changes
    5/ use the upgrade version 1.5.0.6 of the JRE
    => no changes
    ==========
    ANY HELP ?
    ==========
    and as usual, I had to fix this problem for yesterday ... :)))
    Any ideas about that ?
    need more infos ?: just let me know
    ======================================================================================
    Here is the piece of code I use to upload the image from the client to the web server:
    ======================================================================================
    * Upload de cette image sur le serveur, apr�s passage au format JPEG
    * @param imageSelectionnee BufferedImage image � transf�rer
    * @throws ComposantNumerisationException exception pouvant etre lev� lors de l'upload
    public void uploadImage(BufferedImage imageSelectionnee)
        throws ComposantNumerisationException {
        // connexion http au server
        HttpURLConnection connexionServer = null;
        // flux de sortie, permettant d'envoyer les donn�es vers le serveur
        OutputStream fluxSortie = null;
        // parametres pour le libelle de l'exception
        ParametresProprietes parametres = null;
        // flux d'entr�e, pour lire la r�ponse du serveur
        BufferedReader fluxEntree = null;
        // r�ponse du serveur
        String reponseServeur = null;
        // image au format JPEG
        BufferedImage imageFormatJPEG = null;
        try {
            /* conversion de l'image au format JPEG */
            imageFormatJPEG = this.formatterImage(imageSelectionnee);
            /* ouverture d'une connexion vers le serveur */
            connexionServer = this.ouvrirConnexion(imageFormatJPEG);
            /* ecriture des donn�es dans le flux de sortie, vers le serveur */
            // cr�ation d'un outputStream
            fluxSortie = connexionServer.getOutputStream();
            // transfert des donn�es vers le serveur
            ImageIO.write(imageFormatJPEG, Constantes.TYPE_IMAGE, fluxSortie);
            fluxSortie.flush();
            /* lecture de la r�ponse du serveur */
            // cr�ation d'un flux de lecture sur le flux d'entr�e
            fluxEntree = new BufferedReader(new InputStreamReader(
                                                connexionServer.getInputStream()));
            // lecture de la r�ponse du serveur
            reponseServeur = fluxEntree.readLine();
            // v�rification du succes de l'upload, en fonction de la r�ponse du serveur
            if (!reponseServeur.startsWith("REPONSE")) {
                /* cas ou le message retour ne commence pas par "REPONSE":
                 * ce n'est pas la r�ponse de la servlet
                 *  => Tomcat nous a redirig� vers la page d'authentification */
                fenetreNumerisation.redirigerFenetreAuthentification();
            } else if (reponseServeur.compareTo("REPONSE:OK") != 0) {
                // la r�ponse du serveur indique qu'il y a eu un probl�me lors de l'upload
                throw new IOException(reponseServeur);
        } catch (IOException e) {
            // cr�ation des parametres pour ce libelle d'erreurs
            parametres = new ParametresProprietes();
            parametres.ajouterParametre("0", e.toString());
            throw new ComposantNumerisationException(
                    proprietes.getPropriete("ERREUR_UPLOAD", null),
                    proprietes.getPropriete("ERREUR_UPLOAD_TECH", parametres),
                    ComposantNumerisationException.ERREUR_NON_BLOCANTE);
        } finally {
            try {
                // fermeture de ce flux de sortie
                if (null != fluxSortie) {
                    fluxSortie.close();
                // fermeture du flux de lecture de la reponse
                if (null != fluxEntree) {
                    fluxEntree.close();
            } catch (IOException e) {
            // fermeture de la connexion
            if (null != connexionServer) {
                connexionServer.disconnect();
    * Ouverture d'une connexion vers la servlet d'upload de l'image
    * @param image BufferedImage image � transf�rer
    * @return HttpURLConnection une connexion http
    * @throws IOException exception IO
    * @throws ComposantNumerisationException exception
    private HttpURLConnection ouvrirConnexion(BufferedImage image)
        throws IOException, ComposantNumerisationException {
        // url du server
        URL urlServer = null;
        // connexion http au server
        HttpURLConnection connexionServer = null;
        // signature
        String signature = null;
        // g�n�ration de la signature de l'image � transf�rer
        signature = this.genererSignatureImage(image);
        // construction de l'url du serveur � appeler pour cet upload
        // en incluant un parametre pour transmettre la signature de l'image � transf�rer
        // + identifiant du passeport d'urgence courant
        urlServer = new URL(this.urlServeur + this.action +
                            "?" + Constantes.PARAM_SIGNATURE_IMAGE + "=" + signature +
                            "&" + Constantes.PARAM_IDDEMANDE + "=" + idDemande +
                            "&" + Constantes.PARAM_CODEMAJ + "=" + codeMaj +
                            "&" + Constantes.PARAM_TYPEDEMANDE + "=" + typeDemande);
        if (null == urlServer) {
            throw new IOException(proprietes.getPropriete(
                                "ERREUR_UPLOAD_CREATION_URL_SERVEUR", null));
        // ouverture d'une connexion http, gr�ce a cette url du server
        connexionServer = (HttpURLConnection) urlServer.openConnection();
        if (null == connexionServer) {
            throw new IOException(proprietes.getPropriete(
                    "ERREUR_UPLOAD_OUVERTURE_CONNEXION_SERVEUR", null));
        // param�trage de cette connexion
        // m�thode de transmission = POST
        connexionServer.setRequestMethod("POST");
        // autorisation de lire les donn�es venant du serveur
        connexionServer.setDoInput(true);
        // autorisation d'�crire des donn�es vers le serveur                         
        connexionServer.setDoOutput(true);
        // pas d'utilisation de caches
        connexionServer.setUseCaches(false);
        connexionServer.setDefaultUseCaches(false);
        // sp�cification du type des donn�es que l'on envoie vers le serveur
        connexionServer.setRequestProperty("content-type", "img/jpeg");
        return connexionServer;
    }=======================================================================================
    Here is the piece of code I use on server side to get the scaned image from the client:
    =======================================================================================
    * Lecture des donn�es en provenance de l'applet
    * @param request HttpServletRequest
    * @return ByteArrayOutputStream buffer contenant les donn�es lues
    * @throws TechnicalException exception
    * @throws FunctionalException si erreur fonctionnelle
    private ByteArrayOutputStream lireDonnees(HttpServletRequest request)
        throws FunctionalException, TechnicalException {
        // stream de sortie sur l'image
        ByteArrayOutputStream baos = null;
        // id du passeport d'urgence au format Integer
        // image issue de l'applet
        BufferedImage image = null;
        try {
            /* r�cup�ration de l'image */
            image = ImageIO.read(request.getInputStream());
            if (null == image) {
                logger.error(THIS_CLASS + Libelles.getLibelle("ERR-TEC-16", null));
                throw new TechnicalException(new ErreurVO("ERR-TEC-16",
                        null, "", true, false, false));
        } catch (IllegalArgumentException e) {
            logger.error(THIS_CLASS + Libelles.getLibelle("ERR-TEC-13", null));
            throw new TechnicalException(new ErreurVO("ERR-TEC-13",
                    null, "", true, false, false));
        } catch (IOException e) {
            logger.error(THIS_CLASS + Libelles.getLibelle("ERR-TEC-16", null));
            throw new TechnicalException(new ErreurVO("ERR-TEC-16",
                    null, "", true, false, false));
        return baos;
    * Ecriture de la reponse � envoyer � l'applet
    * @param response HttpServletResponse
    * @param erreur Message d'erreur
    * @throws IOException exception
    private void ecrireReponse(HttpServletResponse response, String erreur) throws IOException {
        // r�ponse � envoyer � l'applet
        String reponseServer = null;
        // flux de reponse
        PrintWriter fluxReponse = null;
        response.setContentType("text/html");
        // construction de la r�ponse � envoyer � l'applet
        if (null == erreur) {
            reponseServer = "REPONSE:OK";
        } else {
            /* cas ou il y a eu une exception lev�e lors de la reception des donn�es */
            reponseServer = "REPONSE:ERREUR:" + erreur;
        if (logger.isDebugEnabled()) {
            logger.debug(THIS_CLASS +
                    "Envoie de la r�ponse � l'applet, indiquant si l'upload s'est bien d�roul�: " +
                    reponseServer);
        //envoie de la r�ponse a l'applet
        fluxReponse = response.getWriter();
        fluxReponse.println(reponseServer);
        fluxReponse.close();
    }==============================================================================
    here is the traces I get when the applet doesn't work, through a VSAT network:
    ==============================================================================
    Java Plug-in 1.5.0_01
    Utilisation de la version JRE 1.5.0_01 Java HotSpot(TM) Client VM
    R�pertoire d'accueil de l'utilisateur = C:\Documents and Settings\assistw
    network: Chargement de la configuration du proxy d�finie par l'utilisateur ...
    network: Termin�.
    network: Chargement de la configuration du proxy � partir de Netscape Navigator ...
    network: Erreur lors de la lecture du fichier de registre : C:\Documents and Settings\assistw\Application Data\Mozilla\registry.dat
    network: Termin�.
    network: Chargement de la configuration proxy du navigateur ...
    network: Termin�.
    network: Configuration du proxy : Configuration du proxy du navigateur
    basic: Le cache est d�sactiv� par l'utilisateur
    c:   effacer la fen�tre de la console
    f:   finaliser les objets de la file d'attente de finalisation
    g:   lib�rer la m�moire
    h:   afficher ce message d'aide
    l:   vider la liste des chargeurs de classes
    m:   imprimer le relev� d'utilisation de la m�moire
    o:   d�clencher la consignation
    p:   recharger la configuration du proxy
    q:   masquer la console
    r:   recharger la configuration des politiques
    s:   vider les propri�t�s syst�me et d�ploiement
    t:   vider la liste des threads
    v:   vider la pile des threads
    x:   effacer le cache de chargeurs de classes
    0-5: fixer le niveau de tra�age � <n>
    basic: R�cepteur de modalit�s enregistr�
    basic: R�f�rence au chargeur de classes : sun.plugin.ClassLoaderInfo@b30913, refcount=1
    basic: R�cepteur de progression ajout� : sun.plugin.util.GrayBoxPainter@77eaf8
    basic: Chargement de l'applet...
    basic: Initialisation de l'applet...
    basic: D�marrage de l'applet...
    network: Connexion de http://rma_phileas/Client/html/composants/scanner/SAppletNumerisation.jar avec proxy=DIRECT
    network: Connexion http://rma_phileas/Client/html/composants/scanner/SAppletNumerisation.jar avec cookie ":::langueSettings:::=FR; :::menuSettings_gabaritMaquette:::=%3CSETTINGS%3E%3CVERSION%3EVersion%201.2-Utilisateur%3C/VERSION%3E%3CINDEX_ITEM1%3E0%3C/INDEX_ITEM1%3E%3CINDEX_ITEM2%3E0%3C/INDEX_ITEM2%3E%3CINDEX_ITEM3%3Enull%3C/INDEX_ITEM3%3E%3C/SETTINGS%3E; JSESSIONID=D064486FD6C7CC17E7B256B66965FFEE"
    security: Acc�s aux cl�s et au certificat dans le profil utilisateur Mozilla : null
    security: Chargement des certificats AC racine depuis C:\PROGRA~1\Java\JRE15~1.0_0\lib\security\cacerts
    security: Certificats AC racine charg�s depuis C:\PROGRA~1\Java\JRE15~1.0_0\lib\security\cacerts
    security: Chargement des certificats JPI depuis C:\Documents and Settings\assistw\Application Data\Sun\Java\Deployment\security\trusted.certs
    security: Certificats JPI charg�s depuis C:\Documents and Settings\assistw\Application Data\Sun\Java\Deployment\security\trusted.certs
    security: Chargement des certificats JPI depuis C:\PROGRA~1\Java\JRE15~1.0_0\lib\security\trusted.certs
    security: Certificats JPI charg�s depuis C:\PROGRA~1\Java\JRE15~1.0_0\lib\security\trusted.certs
    security: Chargement des certificats depuis la zone de stockage des certificats de session JPI
    security: Certificats charg�s depuis la zone de stockage des certificats de session JPI
    security: Recherche du certificat dans le magasin de certificats permanent JPI
    security: Recherche du certificat dans la zone de stockage des certificats de session JPI
    security: Obtenir l'objet de stockage des cl�s de la zone de stockage des certificats AC racine
    security: Obtenir l'objet de stockage des cl�s de la zone de stockage des certificats AC racine
    security: Recherche du certificat dans la zone de stockage des certificats AC racine
    security: D�terminer si le certificat peut �tre v�rifi� � l'aide des certificats de la zone de stockage des certificats AC racine
    ... [check certifications]
    sun.misc.Launcher$ExtClassLoader@92e78c
    <no principals>
    java.security.Permissions@157b46f (
    (java.lang.RuntimePermission stopThread)
    (java.security.AllPermission <all permissions> <all actions>)
    (java.io.FilePermission \C:\Program Files\Java\jre1.5.0_01\lib\ext\sunjce_provider.jar read)
    (java.util.PropertyPermission java.version read)
    (java.util.PropertyPermission java.vm.name read)
    (java.util.PropertyPermission java.vm.vendor read)
    (java.util.PropertyPermission os.name read)
    (java.util.PropertyPermission java.vendor.url read)
    (java.util.PropertyPermission java.vm.specification.vendor read)
    (java.util.PropertyPermission java.specification.vendor read)
    (java.util.PropertyPermission os.version read)
    (java.util.PropertyPermission java.specification.name read)
    (java.util.PropertyPermission java.class.version read)
    (java.util.PropertyPermission file.separator read)
    (java.util.PropertyPermission java.vm.version read)
    (java.util.PropertyPermission os.arch read)
    (java.util.PropertyPermission java.vm.specification.name read)
    (java.util.PropertyPermission java.vm.specification.version read)
    (java.util.PropertyPermission java.specification.version read)
    (java.util.PropertyPermission java.vendor read)
    (java.util.PropertyPermission path.separator read)
    (java.util.PropertyPermission line.separator read)
    (java.net.SocketPermission localhost:1024- listen,resolve)
    ... [check certifications]
    security: La v�rification du certificat � l'aide des certificats AC racine a �chou�
    security: Aucune information d'horodatage disponible
    basic: Modalit� empil�e
    basic: Modalit� d�sempil�e
    basic: Utilisateur s�lectionn� : 0
    security: L'utilisateur a accord� les droits d'acc�s au code pour cette session seulement
    security: Ajout du certificat dans la zone de stockage des certificats de session JPI
    security: Certificat ajout� dans la zone de stockage des certificats de session JPI
    security: Enregistrement des certificats dans la zone de stockage des certificats de session JPI
    security: Certificats enregistr�s dans la zone de stockage des certificats de session JPI
    ... [check certifications]
    sun.plugin.security.PluginClassLoader@10fe2b9
    <no principals>
    java.security.Permissions@fe315d (
    (java.lang.RuntimePermission accessClassInPackage.sun.audio)
    (java.lang.RuntimePermission stopThread)
    (java.security.AllPermission <all permissions> <all actions>)
    (java.util.PropertyPermission java.version read)
    (java.util.PropertyPermission java.vm.name read)
    (java.util.PropertyPermission javaplugin.version read)
    (java.util.PropertyPermission java.vm.vendor read)
    (java.util.PropertyPermission os.name read)
    (java.util.PropertyPermission java.vendor.url read)
    (java.util.PropertyPermission java.vm.specification.vendor read)
    (java.util.PropertyPermission java.specification.vendor read)
    (java.util.PropertyPermission os.version read)
    (java.util.PropertyPermission browser.vendor read)
    (java.util.PropertyPermission java.specification.name read)
    (java.util.PropertyPermission java.class.version read)
    (java.util.PropertyPermission file.separator read)
    (java.util.PropertyPermission browser.version read)
    (java.util.PropertyPermission java.vm.version read)
    (java.util.PropertyPermission os.arch read)
    (java.util.PropertyPermission browser read)
    (java.util.PropertyPermission java.vm.specification.name read)
    (java.util.PropertyPermission java.vm.specification.version read)
    (java.util.PropertyPermission java.specification.version read)
    (java.util.PropertyPermission java.vendor read)
    (java.util.PropertyPermission path.separator read)
    (java.util.PropertyPermission http.agent read)
    (java.util.PropertyPermission line.separator read)
    (java.net.SocketPermission rma_phileas connect,accept,resolve)
    (java.net.SocketPermission localhost:1024- listen,resolve)
    ... [check certifications]
    sun.misc.Launcher$ExtClassLoader@92e78c
    <no principals>
    java.security.Permissions@bd09e8 (
    (java.lang.RuntimePermission stopThread)
    (java.security.AllPermission <all permissions> <all actions>)
    (java.io.FilePermission \C:\Program Files\Java\jre1.5.0_01\lib\ext\Smorena.jar read)
    (java.util.PropertyPermission java.version read)
    (java.util.PropertyPermission java.vm.name read)
    (java.util.PropertyPermission java.vm.vendor read)
    (java.util.PropertyPermission os.name read)
    (java.util.PropertyPermission java.vendor.url read)
    (java.util.PropertyPermission java.vm.specification.vendor read)
    (java.util.PropertyPermission java.specification.vendor read)
    (java.util.PropertyPermission os.version read)
    (java.util.PropertyPermission java.specification.name read)
    (java.util.PropertyPermission java.class.version read)
    (java.util.PropertyPermission file.separator read)
    (java.util.PropertyPermission java.vm.version read)
    (java.util.PropertyPermission os.arch read)
    (java.util.PropertyPermission java.vm.specification.name read)
    (java.util.PropertyPermission java.vm.specification.version read)
    (java.util.PropertyPermission java.specification.version read)
    (java.util.PropertyPermission java.vendor read)
    (java.util.PropertyPermission path.separator read)
    (java.util.PropertyPermission line.separator read)
    (java.net.SocketPermission localhost:1024- listen,resolve)
    scl:
    Morena - Image Acquisition Framework version 6.2.0.0.
    Copyright (c) Gnome s.r.o. 1999-2004. All rights reserved.
    Licensed to "XXX".
    network: Connexion de http://rma_phileas/Client/html/composants/scanner/META-INF/services/javax.imageio.spi.ImageInputStreamSpi avec proxy=DIRECT
    network: Connexion http://rma_phileas/Client/html/composants/scanner/META-INF/services/javax.imageio.spi.ImageInputStreamSpi avec cookie ":::langueSettings:::=FR; :::menuSettings_gabaritMaquette:::=%3CSETTINGS%3E%3CVERSION%3EVersion%201.2-Utilisateur%3C/VERSION%3E%3CINDEX_ITEM1%3E0%3C/INDEX_ITEM1%3E%3CINDEX_ITEM2%3E0%3C/INDEX_ITEM2%3E%3CINDEX_ITEM3%3Enull%3C/INDEX_ITEM3%3E%3C/SETTINGS%3E; JSESSIONID=D064486FD6C7CC17E7B256B66965FFEE"
    network: Connexion de http://rma_phileas/Client/html/composants/scanner/META-INF/services/javax.imageio.spi.ImageOutputStreamSpi avec proxy=DIRECT
    network: Connexion http://rma_phileas/Client/html/composants/scanner/META-INF/services/javax.imageio.spi.ImageOutputStreamSpi avec cookie ":::langueSettings:::=FR; :::menuSettings_gabaritMaquette:::=%3CSETTINGS%3E%3CVERSION%3EVersion%201.2-Utilisateur%3C/VERSION%3E%3CINDEX_ITEM1%3E0%3C/INDEX_ITEM1%3E%3CINDEX_ITEM2%3E0%3C/INDEX_ITEM2%3E%3CINDEX_ITEM3%3Enull%3C/INDEX_ITEM3%3E%3C/SETTINGS%3E; JSESSIONID=D064486FD6C7CC17E7B256B66965FFEE"
    network: Connexion de http://rma_phileas/Client/html/composants/scanner/META-INF/services/javax.imageio.spi.ImageTranscoderSpi avec proxy=DIRECT
    network: Connexion http://rma_phileas/Client/html/composants/scanner/META-INF/services/javax.imageio.spi.ImageTranscoderSpi avec cookie ":::langueSettings:::=FR; :::menuSettings_gabaritMaquette:::=%3CSETTINGS%3E%3CVERSION%3EVersion%201.2-Utilisateur%3C/VERSION%3E%3CINDEX_ITEM1%3E0%3C/INDEX_ITEM1%3E%3CINDEX_ITEM2%3E0%3C/INDEX_ITEM2%3E%3CINDEX_ITEM3%3Enull%3C/INDEX_ITEM3%3E%3C/SETTINGS%3E; JSESSIONID=D064486FD6C7CC17E7B256B66965FFEE"
    network: Connexion de http://rma_phileas/Client/html/composants/scanner/META-INF/services/javax.imageio.spi.ImageReaderSpi avec proxy=DIRECT
    network: Connexion http://rma_phileas/Client/html/composants/scanner/META-INF/services/javax.imageio.spi.ImageReaderSpi avec cookie ":::langueSettings:::=FR; :::menuSettings_gabaritMaquette:::=%3CSETTINGS%3E%3CVERSION%3EVersion%201.2-Utilisateur%3C/VERSION%3E%3CINDEX_ITEM1%3E0%3C/INDEX_ITEM1%3E%3CINDEX_ITEM2%3E0%3C/INDEX_ITEM2%3E%3CINDEX_ITEM3%3Enull%3C/INDEX_ITEM3%3E%3C/SETTINGS%3E; JSESSIONID=D064486FD6C7CC17E7B256B66965FFEE"
    network: Connexion de http://rma_phileas/Client/html/composants/scanner/META-INF/services/javax.imageio.spi.ImageWriterSpi avec proxy=DIRECT
    network: Connexion http://rma_phileas/Client/html/composants/scanner/META-INF/services/javax.imageio.spi.ImageWriterSpi avec cookie ":::langueSettings:::=FR; :::menuSettings_gabaritMaquette:::=%3CSETTINGS%3E%3CVERSION%3EVersion%201.2-Utilisateur%3C/VERSION%3E%3CINDEX_ITEM1%3E0%3C/INDEX_ITEM1%3E%3CINDEX_ITEM2%3E0%3C/INDEX_ITEM2%3E%3CINDEX_ITEM3%3Enull%3C/INDEX_ITEM3%3E%3C/SETTINGS%3E; JSESSIONID=D064486FD6C7CC17E7B256B66965FFEE"
    network: Connexion de http://rma_phileas/Client/flux/protected/uploadimage.do?signature=c07690c12904320a253cbdeeded59238&idDemande=7&codeMaj=1133967329473&typeDemande=PU avec proxy=DIRECT
    network: Connexion http://rma_phileas/Client/flux/protected/uploadimage.do?signature=c07690c12904320a253cbdeeded59238&idDemande=7&codeMaj=1133967329473&typeDemande=PU avec cookie ":::langueSettings:::=FR; :::menuSettings_gabaritMaquette:::=%3CSETTINGS%3E%3CVERSION%3EVersion%201.2-Utilisateur%3C/VERSION%3E%3CINDEX_ITEM1%3E0%3C/INDEX_ITEM1%3E%3CINDEX_ITEM2%3E0%3C/INDEX_ITEM2%3E%3CINDEX_ITEM3%3Enull%3C/INDEX_ITEM3%3E%3C/SETTINGS%3E; JSESSIONID=D064486FD6C7CC17E7B256B66965FFEE"
    basic: Arr�t de l'applet...
    basic: R�cepteur de progression supprim� : sun.plugin.util.GrayBoxPainter@77eaf8
    basic: Jonction du thread d'applet...
    basic: Destruction de l'applet...
    basic: Elimination de l'applet...
    basic: Sortie de l'applet...
    basic: Thread d'applet joint...
    basic: R�cepteur de modalit�s non enregistr�
    basic: Recherche d'informations...
    basic: Lib�ration du chargeur de classes : sun.plugin.ClassLoaderInfo@b30913, refcount=0
    basic: Mise en cache du chargeur de classes : sun.plugin.ClassLoaderInfo@b30913
    basic: Taille de cache du chargeur de classes courant : 1
    basic: Termin�...
    basic: R�cepteur de modalit�s enregistr�
    basic: R�f�rence au chargeur de classes : sun.plugin.ClassLoaderInfo@b30913, refcount=1
    basic: R�cepteur de progression ajout� : sun.plugin.util.GrayBoxPainter@1e16483
    basic: Chargement de l'applet...
    basic: Initialisation de l'applet...
    basic: D�marrage de l'applet...
    network: Connexion de http://rma_phileas/Client/html/composants/scanner/SAppletNumerisation.jar avec proxy=DIRECT
    network: Connexion http://rma_phileas/Client/html/composants/scanner/SAppletNumerisation.jar avec cookie ":::langueSettings:::=FR; :::menuSettings_gabaritMaquette:::=%3CSETTINGS%3E%3CVERSION%3EVersion%201.2-Utilisateur%3C/VERSION%3E%3CINDEX_ITEM1%3E0%3C/INDEX_ITEM1%3E%3CINDEX_ITEM2%3E0%3C/INDEX_ITEM2%3E%3CINDEX_ITEM3%3Enull%3C/INDEX_ITEM3%3E%3C/SETTINGS%3E; JSESSIONID=D064486FD6C7CC17E7B256B66965FFEE"

    A workaround would be: don't use IE9. You want a solution, not a workaround.
    I think at this juncture you are best of creating a new bug report and be sure to reference the old closed one. It doesn't look entirely related though, your symptoms are different from what is described in it (freeze VS a crash). You tried this on several systems right? Also on machines on a different network?
    http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=7072601

  • Re: Failover for SO's with context

    Right, delivery of events is not guaranteed by Forte, even though
    it is reasonable to rely on it in the case of two Forte servers on a LAN.
    I would not go towards a solution for securing events delivery by
    an acknowledgement mechanism (ack event or shared object notifier),
    because of increased complexity and performance overhead.
    On the other hand, a second simple security level can be provided by
    enabling
    your mirror/backup SO to be refreshed at will, by letting it get a
    snapshot
    of the current transient data to be mirrored, so you can :
    - Start your partitions in any order (The mirror partition will first
    task a
    snapshot of the transient data, then will register for mirror events)
    - Start and stop the mirror partition at will, without disrupting the
    application
    Then, if you do not trust events delivery, you can reinitialize your
    mirror
    periodically (say every 12 hours) to minimize the risks of losing
    transient
    data events.
    Again, this solution is suited to low volumes of transient data.
    I guess what Chad means by journaling is writing to a log file any
    event (in a large sense) happening on data from its initial value. Then
    if
    you need to restore state, you re-play the events from the initial value.
    This is a common solution in the banking area where you need to backup
    values but also events on the values. I do not know how this can be
    applied
    to a generic mechanism with Forte, but it may be a good way to explore,
    although probably more complex to implement with Forte than the
    Backup SO/ Events pattern.
    Hope this helps,
    Vincent Figari
    On Fri, 13 Feb 1998 10:39:03 -0600 Chad Stansbury
    <[email protected]> writes:
    Actually, since events (let alone distributed events) are not
    'guaranteed delivery' in Forte, I would hesitate to use events
    as a mechanism of mirroring your data - unless, of course, you
    really don't require an industrial strength failover strategy.
    This would also apply to asynchronous messaging (unless you
    are careful to register for exception events (which again, aren't
    guaranteed delivery) and have a mechanism to handle said
    asynchronous exception events. I also know that Forte will retry
    certain tasks when the service object it is sent to fails com-
    pletely (like a NIL object exception), but don't know enough
    about the internal workings of Forte to know under which conditions
    this will occur.
    I think that the most common method of a truly industrial-
    strength, guaranteed-delivery mechanisms is via journaling...
    which I know very little about, but is something that you should
    be able to look up and study if that's what you require.
    Again, if you don't care about the (admittedly small) chance
    of an asynchronous call failing, then the suggestions that
    Vincent has already made are good ones.
    From: [email protected]
    To: [email protected]
    Cc: [email protected]
    Sent: 2/13/98 9:13:17 AM
    Subject: Re: Failover for SO's with context
    Steven,
    The pattern choice between external resource vs SO is dependent on the
    type
    of transient data you want to backup. Probably the external resource
    is
    better
    suited to high volumes of data. We have implemented the 'Backup SO'
    pattern because our transient data volumes are rather low (which I
    guess
    must
    be the most common case for global, transient data).
    Whatever the choice you do :
    - Be sure to enforce encapsulation for updating the transient data, in
    order to
    guarantee that any modification to your transient data is duplicated
    on
    the backup
    SO or the external resource
    - About performances, the CPU cost is fairly low for your 'regular'
    application if you
    take care to :
    * use asynchronous tasks to update the external resource
    or
    * use events to notify the backup SO
    Now it is true that you will have a network overhead when using
    events,
    as your
    backup SO shall be isolated in a remote partition on a remote
    server.
    That is one good argument to select the Backup SO pattern for low
    volumes of
    transient data.
    If you choose the 'Backup SO' pattern, you will also have to be
    careful
    not sending
    any distributed reference to your Backup SO but only clones.
    Anyway, the backup SO pattern works fairly well for low volumes of
    data,
    but requires lots of testings and a good understanding of events and
    communication
    across partitions.
    Hope this helps,
    Vincent Figari
    On Fri, 13 Feb 1998 09:24:57 +0100 Steven Arijs <[email protected]>
    writes:
    We're going to implement a failover scenario for our application.
    Unfortunately, we also have to replicate the state of our failed
    service
    objects.
    I've browsed the Forte site and found a TechNote concerning this
    (TechNote 11074).
    In this TechNote they talk about a service object that is responsible
    for updating all backup service objects when needed.
    It seems to me that when I implement that way, I will be creating a
    lot
    of overhead, i.e. I will be doing a lot of stuff several times.
    What will be the effects on my performance ?
    The way with the least performance loss would be to use an external
    resource that is updated. But what if this external resource also
    fails
    Is there any one who has already implemented a failover scenario for a
    service objects with state ?
    Any help would be appreciated.
    Steven Arijs
    ([email protected])
    You don't need to buy Internet access to use free Internet e-mail.
    Get completely free e-mail from Juno at http://www.juno.com
    Or call Juno at (800) 654-JUNO [654-5866]
    You don't need to buy Internet access to use free Internet e-mail.
    Get completely free e-mail from Juno at http://www.juno.com
    Or call Juno at (800) 654-JUNO [654-5866]

    Right, delivery of events is not guaranteed by Forte, even though
    it is reasonable to rely on it in the case of two Forte servers on a LAN.
    I would not go towards a solution for securing events delivery by
    an acknowledgement mechanism (ack event or shared object notifier),
    because of increased complexity and performance overhead.
    On the other hand, a second simple security level can be provided by
    enabling
    your mirror/backup SO to be refreshed at will, by letting it get a
    snapshot
    of the current transient data to be mirrored, so you can :
    - Start your partitions in any order (The mirror partition will first
    task a
    snapshot of the transient data, then will register for mirror events)
    - Start and stop the mirror partition at will, without disrupting the
    application
    Then, if you do not trust events delivery, you can reinitialize your
    mirror
    periodically (say every 12 hours) to minimize the risks of losing
    transient
    data events.
    Again, this solution is suited to low volumes of transient data.
    I guess what Chad means by journaling is writing to a log file any
    event (in a large sense) happening on data from its initial value. Then
    if
    you need to restore state, you re-play the events from the initial value.
    This is a common solution in the banking area where you need to backup
    values but also events on the values. I do not know how this can be
    applied
    to a generic mechanism with Forte, but it may be a good way to explore,
    although probably more complex to implement with Forte than the
    Backup SO/ Events pattern.
    Hope this helps,
    Vincent Figari
    On Fri, 13 Feb 1998 10:39:03 -0600 Chad Stansbury
    <[email protected]> writes:
    Actually, since events (let alone distributed events) are not
    'guaranteed delivery' in Forte, I would hesitate to use events
    as a mechanism of mirroring your data - unless, of course, you
    really don't require an industrial strength failover strategy.
    This would also apply to asynchronous messaging (unless you
    are careful to register for exception events (which again, aren't
    guaranteed delivery) and have a mechanism to handle said
    asynchronous exception events. I also know that Forte will retry
    certain tasks when the service object it is sent to fails com-
    pletely (like a NIL object exception), but don't know enough
    about the internal workings of Forte to know under which conditions
    this will occur.
    I think that the most common method of a truly industrial-
    strength, guaranteed-delivery mechanisms is via journaling...
    which I know very little about, but is something that you should
    be able to look up and study if that's what you require.
    Again, if you don't care about the (admittedly small) chance
    of an asynchronous call failing, then the suggestions that
    Vincent has already made are good ones.
    From: [email protected]
    To: [email protected]
    Cc: [email protected]
    Sent: 2/13/98 9:13:17 AM
    Subject: Re: Failover for SO's with context
    Steven,
    The pattern choice between external resource vs SO is dependent on the
    type
    of transient data you want to backup. Probably the external resource
    is
    better
    suited to high volumes of data. We have implemented the 'Backup SO'
    pattern because our transient data volumes are rather low (which I
    guess
    must
    be the most common case for global, transient data).
    Whatever the choice you do :
    - Be sure to enforce encapsulation for updating the transient data, in
    order to
    guarantee that any modification to your transient data is duplicated
    on
    the backup
    SO or the external resource
    - About performances, the CPU cost is fairly low for your 'regular'
    application if you
    take care to :
    * use asynchronous tasks to update the external resource
    or
    * use events to notify the backup SO
    Now it is true that you will have a network overhead when using
    events,
    as your
    backup SO shall be isolated in a remote partition on a remote
    server.
    That is one good argument to select the Backup SO pattern for low
    volumes of
    transient data.
    If you choose the 'Backup SO' pattern, you will also have to be
    careful
    not sending
    any distributed reference to your Backup SO but only clones.
    Anyway, the backup SO pattern works fairly well for low volumes of
    data,
    but requires lots of testings and a good understanding of events and
    communication
    across partitions.
    Hope this helps,
    Vincent Figari
    On Fri, 13 Feb 1998 09:24:57 +0100 Steven Arijs <[email protected]>
    writes:
    We're going to implement a failover scenario for our application.
    Unfortunately, we also have to replicate the state of our failed
    service
    objects.
    I've browsed the Forte site and found a TechNote concerning this
    (TechNote 11074).
    In this TechNote they talk about a service object that is responsible
    for updating all backup service objects when needed.
    It seems to me that when I implement that way, I will be creating a
    lot
    of overhead, i.e. I will be doing a lot of stuff several times.
    What will be the effects on my performance ?
    The way with the least performance loss would be to use an external
    resource that is updated. But what if this external resource also
    fails
    Is there any one who has already implemented a failover scenario for a
    service objects with state ?
    Any help would be appreciated.
    Steven Arijs
    ([email protected])
    You don't need to buy Internet access to use free Internet e-mail.
    Get completely free e-mail from Juno at http://www.juno.com
    Or call Juno at (800) 654-JUNO [654-5866]
    You don't need to buy Internet access to use free Internet e-mail.
    Get completely free e-mail from Juno at http://www.juno.com
    Or call Juno at (800) 654-JUNO [654-5866]

  • DCR Server Down Error Message LMS 4.0.1

    Hi,
    I have a problem with my LMS 4.0.1! It was working fine till a couple of days ago. When I started it, all my equipment were missing and when i tried doing a Discovery Seach it launched a message saying that the DCR Server is Down.
    I checked under Services in my Server and everything involving CiscoWorks is running. Ive Restarted the Deamon and still no luck. DCHP Service is disabled.
    Have anyone had the same problem?? How can I fix it??
    I have LMS 4.0.1 in a Windows 2008 R2 Server.
    Ill be looking forward to a repply!
    Thank you!!
    Sincerely,
    Dante

    In the apache logs, I do see a Terminating on signal SIGTERM(15) and [warn] (OS 64)The specified network name is no longer available.  : winnt_accept: Asynchronous AcceptEx failed.
    1. Disable DEP (Windows Data Exectution Protection)
    2. Disable SSL if in use, stop LMS Daemon Manager then
    going to CSCOpx/MDC/Apache directory. Run the command from the CLI "CSCOpx/bin/perl.exe CSCOpx/bin/Apache/Config
    SSL.pl -disable".
    3. Ensure that you have enough resources allocated for the server, I did notice that you did not meet the system requirement for the hard drive space according to CiscoWorks Install logs.
    4. Run the hostname change script as well from "CSCOpx/bin/perl.exe CSCOpx/bin/hostnamechange.pl" and reboot the server after gracefully shutting down the LMS daemon manager.
    5. Post the updated screenshot of the services and pdshow after you have done the above steps along with the CSCOpx/log/syslog.log and CSCOpx/bin/pdshow output again.

  • BDOC Stored before update task error

    Hi Experts,
    I am using FM CRMXIF_PRODUCT_MATERIAL_SAVE to update one of the custom aatributes in COMMPR01.
    once i run this FM i see an entry of bdoc in SMw01 with the below error
    "BDOC stored before update task(intermediate state).
    I checked ST22 and i saw no dumps, i checked Sm13 and i didnt see any update tasks. Cananyone help me?
    Thanks!

    HI Divya,
    BDoc Message was not written to qRFC queue, yet. Search for update tasks in transaction
    SM13. The sender creates a BDoc message to post data to the receivers. The application
    calls the messaging flow.
    Detection:
    Check if there are any update terminations which occurred in the update task
    by using transaction SM13. Check if there are inbound messages related to
    that outbound message, double-click u2018Original BDocu2019 field to display the
    original inbound message. Typically the inbound message (s-BDoc in flow
    context SI1 or m-BDoc in flow context MI0) is already on a final state F02, i.e.
    the validation was successful but the asynchronous update failed. The
    original inbound message in final state might have been already reorganized.
    Solution:
    Solve the problem with the open update tasks and then execute them again
    in SM13. Check whether after succesful reexecution in SM13 the BDoc state
    has been changed.
    If not, or if you donu2019t find any open updates, but you do find a corresponding
    original message, proceed as following:
    · Variant 1: Try to reprocess the inbound message to check if the newly
    created outbound message has also status I04. If BDoc is processed, no
    retry of the failed BDoc is allowed. Set the message as deleted.
    Reprocessing the related inbound message is sometimes not possible,
    because the state is final. In this case copy the inbound message using
    transaction SMW19 and set the new state of the copied message to I01.
    Then you can reprocess it.
    · Variant 2: Use the solution from SAP notes 876855 (CRM 3.X) or 835761
    (CRM 4.0) to convert the inbound s-BDoc into an error state E09.
    Advantage is, that in this state the inbound message does not get
    reorganized. More important, it also allows you to restart the inbound
    processing after the error situation has been resolved. However, in that
    case you need to delete the already pending update tasks from the
    previous run in transaction SM13.
    When there are no open update tasks anymore, check whether the data
    changes according to the inbound BDoc message have actually been posted
    to the CRM online application tables. If the changes are present (i.e. a new
    application object was succesfully created), you should not use variant 2,
    because you might get a problem of posting the same data again (i.e. getting
    an "insert duplicate record" situation).
    For more info about error analysis. please refer to
    http://saptricks.com/wp-content/uploads/2010/05/BestPractice-BDoc-Analysis-V2.pdf
    Cheers, Satish

  • Asynchronous routing rules fails in soa suite 10.1.3.5.1 on wls 10.3.1

    Hi,
    I have been testing my 10.1.3.4 esb projects in soa suite 10.1.3.5.1 on wls 10.3.1 and these fails when I have an asynchronous routing rule,
    i made a simple test project with a jms dequeue adapter and a router with asynchronous routing rule to a file adapter.
    Thanks Edwin
    oracle.tip.esb.server.common.exceptions.BusinessEventRetriableException: Failed to enqueue deferred event "oracle.tip.esb.server.dispatch.QueueHandlerException: Publisher not exist for system "{0}"
         at oracle.tip.esb.server.dispatch.InitialEventDispatcher.deferEvent(InitialEventDispatcher.java:719)
         at oracle.tip.esb.server.dispatch.InitialEventDispatcher.processSubscriptions(InitialEventDispatcher.java:636)
         at oracle.tip.esb.server.dispatch.EventDispatcher.dispatchRoutingService(EventDispatcher.java:90)
         at oracle.tip.esb.server.dispatch.InitialEventDispatcher.dispatch(InitialEventDispatcher.java:172)
         at oracle.tip.esb.server.dispatch.BusinessEvent.raise(BusinessEvent.java:2011)
         at oracle.tip.esb.server.dispatch.BusinessEvent.raise(BusinessEvent.java:1470)
         at oracle.tip.esb.utils.EventUtils.raiseBusinessEvent(EventUtils.java:122)
         at oracle.tip.esb.utils.EventUtils.raiseBusinessEvent(EventUtils.java:68)
         at oracle.tip.esb.server.service.impl.inadapter.ESBListenerImpl.processMessage(ESBListenerImpl.java:726)
         at oracle.tip.esb.server.service.impl.inadapter.ESBListenerImpl.onMessage(ESBListenerImpl.java:411)
         at oracle.tip.adapter.fw.jca.messageinflow.MessageEndpointImpl.onMessage(MessageEndpointImpl.java:358)
         at oracle.tip.adapter.jms.inbound.JmsConsumer.doSend(JmsConsumer.java:718)
         at oracle.tip.adapter.jms.inbound.JmsConsumer.sendInboundMessage(JmsConsumer.java:586)
         at oracle.tip.adapter.jms.inbound.JmsConsumer.send(JmsConsumer.java:402)
         at oracle.tip.adapter.jms.inbound.JmsConsumer.run(JmsConsumer.java:321)
         at weblogic.connector.security.layer.WorkImpl.runIt(WorkImpl.java:108)
         at weblogic.connector.security.layer.WorkImpl.run(WorkImpl.java:44)
         at weblogic.connector.work.WorkRequest.run(WorkRequest.java:95)
         at weblogic.work.SelfTuningWorkManagerImpl$WorkAdapterImpl.run(SelfTuningWorkManagerImpl.java:516)
         at weblogic.work.ExecuteThread.execute(ExecuteThread.java:201)
         at weblogic.work.ExecuteThread.run(ExecuteThread.java:173)
    Caused by: oracle.tip.esb.server.dispatch.QueueHandlerException: Publisher not exist for system "{0}"
         at oracle.tip.esb.server.dispatch.JMSEnqueuer.createConnection(JMSEnqueuer.java:200)
         at oracle.tip.esb.server.dispatch.JMSEnqueuer.<init>(JMSEnqueuer.java:110)
         at oracle.tip.esb.server.dispatch.JMSEnqueuer.<init>(JMSEnqueuer.java:82)
         at oracle.tip.esb.server.common.RuntimeESBSystem.getDeferredEnqueuer(RuntimeESBSystem.java:404)
         at oracle.tip.esb.server.dispatch.InitialEventDispatcher.deferEvent(InitialEventDispatcher.java:708)
         ... 20 more
    Caused by: oracle.jms.AQjmsException: JMS-243: Topic OracleASjms/ESBDeferredTopic niet gevonden.
         at oracle.jms.AQjmsError.throwEx(AQjmsError.java:353)
         at oracle.jms.AQjmsSession.createTopic(AQjmsSession.java:2293)
         at oracle.tip.esb.server.dispatch.JMSEnqueuer.createConnection(JMSEnqueuer.java:185)
         ... 24 more
    Caused by: oracle.jms.AQjmsException: JMS-190: Wachtrij ORAESB.OracleASjms/ESBDeferredTopic niet gevonden
         at oracle.jms.AQjmsSession.getTopic(AQjmsSession.java:5084)
         at oracle.jms.AQjmsSession.createTopic(AQjmsSession.java:2286)
         ... 25 more
    Caused by: oracle.AQ.AQException: JMS-190: Wachtrij ORAESB.OracleASjms/ESBDeferredTopic niet gevonden
         at oracle.AQ.AQUtil.throwAQEx(AQUtil.java:196)
         at oracle.AQ.AQOracleSession.getQueue(AQOracleSession.java:721)
         at oracle.jms.AQjmsSession.getTopic(AQjmsSession.java:5059)
         ... 26 more

    Edwin,
    I received the same error when soa10g_server1 starts.
    I changed in ESB_PARAMETER table on ORAESB schema the following parameters:
    PROP_NAME_CONTROL_TCF_JNDI     OracleASjms/ControlTCF
    PROP_NAME_MONITOR_TCF_JNDI     OracleASjms/MonitorTCF
    PROP_NAME_ERROR_TCF_JNDI     OracleASjms/ErrorTCF
    PROP_NAME_ERROR_RETRY_TCF_JNDI     OracleASjms/ErrorRetryTCF
    PROP_NAME_DEFERRED_TCF_JNDI     OracleASjms/DeferredTCF
    PROP_NAME_ERROR_XATCF_JNDI     OracleASjms/ErrorTCF
    PROP_NAME_DEFERRED_XATCF_JNDI     OracleASjms/DeferredTCF
    to
    PROP_NAME_CONTROL_TCF_JNDI     ESB_CONTROL
    PROP_NAME_MONITOR_TCF_JNDI     ESB_MONITOR
    PROP_NAME_ERROR_TCF_JNDI     ESB_ERROR
    PROP_NAME_ERROR_RETRY_TCF_JNDI     ESB_ERROR_RETRY
    PROP_NAME_DEFERRED_TCF_JNDI     ESB_JAVA_DEFERRED
    PROP_NAME_ERROR_XATCF_JNDI     ESB_ERROR
    PROP_NAME_DEFERRED_XATCF_JNDI     ESB_JAVA_DEFERRED
    And It's working right now. I hope to you too.
    JP

  • Failed Asynchronous Messages still processing

    Hi,
    Scenario: Asynchronous
    QoS: EO
    SAP > PI > 3rd Party
    I have an almost 1500 failed messages in my SXI_MONITOR SAP PI with an error of 'No Receiver Determination'. I have already solved the issue and the future messages were successful. However, the 1500 failed messages are still being pushed/processed, which is taking up too much memory.
    How do you stop these failed messages in processing?
    Is there a way that when a failed message already fails, it would stop pushing/processing in SAP PI?
    thank you.

    Hi,
    I think your team mates or BASIS team might have already set a background job for re triggering failed messages in ABAP stack .
    If you don't want those messages then you can cancel those in SMQ2/SXMB_MONI.
    Regards
    Venkat

  • Online Backup Failed with error-BR0268E Asynchronous execution of program..

    Hi,
    We are using DB13 for Online backup.But from few days it failing with below error.
    BR0268E Asynchronous execution of program interrupted, exit status: c0000094
    BR0267E Asynchronous execution of program failed
    BR0278E Command output of 'F:\usr\sap\QE2\SYS\exe\uc\NTAMD64\mkszip -c F:\ORACLE\QE2\SAPDATA4\SR3_22\SR3.DATA22 >
    Can someone please help on this issue? Thanks in advance.
    Regards,
    Kiran M

    Hi,
    Check below threads.
    BRbackup problem on new system
    Offline backup failed with BR0253E errno 13: Permission denied
    BR0268E Asynchronous execution of program interrupted, exit status: c000009
    Thanks,
    Sushil
    Edited by: Sushil Suryawanshi on May 28, 2009 8:16 PM

  • Failing asynchronous cfc

    A cfc when called as a synchronous call works perfectly with
    all parts of the process correctly functioning. However, when the
    same code is called asynchronously the call fails on the first
    query in the cfc.
    The error message reported in eventgateway.log is -
    Error Executing Database Query.. '' .
    Anyone else experienced a similar problem and any suggestions
    on how to resolve this issue?
    Thanks
    Phill

    Additional info: This is the error I'm getting:
    The path to the CFC must be  specified as a full path, or as a relative path from the current template,  without the use of mappings.
    I've tried full path, relative path. I tried moving the cfc into a different folder and getting to it that way.
    BTW - Is my tag correct using a jsclassname with the same name as the cfc?
    <cfajaxproxy cfc="asynchproxy_ajx_notemplate" jsclassname="asynchproxy_ajx_notemplate">

  • How to reset an failed asynchron abap-process in a process-chain?

    Hi specialists,
    I've got a process-chain which triggers (as one of its steps) an abap-program.
    The program should run asychroniously, so the process-chain waits until the programm reports its ending.
    When the abap-program fails/crashes/dumps, then the endings is never reported and the process-chain gets stuck.
    If I try to re-run that process-chain, it fails again with the message "Variant XYZ still executing from previous run".
    What I already found so far is the following note:
    The process chain management will not know if your program terminates!
    Thus if you re-start the chain, this will also terminate, because the old run would not have finished yet. To avoid this, you need to manually set the process in the chain log view in the process monitor to terminate before you start again.
    My problem: I cannot find any possibility to set the process to "terminate" in the chain's log view.
    Could you please gimme a hint where I can find that option?
    Best regards,
      Marco

    Hi,
    You can remove the process chain from scheduling before staring the process chain again.
    Also can edit the entries in RSPROCESSLOG table before running the process chain.
    Alternatively you can create a custom ABAP process type which handles the success as well as fail cases.
    Refer : [How To- Trigger subsequent processes in a Process Chain based on the Success or Failure of ABAP program|/people/balaji.venugopal/blog/2009/04/07/how-to-trigger-subsequent-processes-in-a-process-chain-based-on-the-success-or-failure-of-abap-program]
    Hope this helps,
    Regards,
    anil

Maybe you are looking for