Duplicate Session Detected Error  [BlazeDS]

I have two saperate EAR applicaion deployed under two saperate Cluster of Weblogic and both application has nothing to do with each other , they just share the same J2EE server.
I am only using Remoting which invokes sever side java code and returns some data in response..
I could not understang what mistake I am doing which is causing this error. I appriciate any help on this.
- Dharmendra

Hi. You're going to have problems using a traditional HTTP load test tool (I'm assuming grinder falls into this category) with BlazeDS. The issue is that these tools don't understand the BlazeDS messaging protocol.
With BlazeDS you can have more than one application sharing the same HTTP Session. Each application would run its own browser window but depending on which browser (IE, Firefox, etc.) and how that browser was started, the two windows might share the same session. BlazeDS needs to be able to tell these applications apart. This is done using a unique application id called the FlexClient id or DSID that is sent with every request. The load test tool you are using needs to be able to use a unique DSID for every virtual user.
There is also other information in the message that the load test tool needs to be aware of. For example every message uses a unique message id. If the server receives messages with duplicate ids it may drop/ignore the duplicate messages.
There are a couple load test tools out there that support BlazeDS. I'd suggest taking a look at one of these.
One commercial tool is called NeoLoad from a company called Neotys:
http://www.neotys.com/
A free tool is the Data Services Stress Testing Framework. This tool runs on LiveCycle Data Services ES (LCDS) but can used to put load on applications running on BlazeDS servers.
http://labs.adobe.com/wiki/index.php/Flex_Stress_Testing_Framework
Hope that helps.
-Alex

Similar Messages

  • [svn:bz-trunk] 21394: bug fix for watson 2887837 Not getting duplicate session detected error when same flex client id is used from two different HTTP sessions in CRX .

    Revision: 21394
    Revision: 21394
    Author:   [email protected]
    Date:     2011-06-16 12:34:13 -0700 (Thu, 16 Jun 2011)
    Log Message:
    bug fix for watson 2887837 Not getting duplicate session detected error when same flex client id is used from two different HTTP sessions in CRX.
    get the sessions id before we invalidate the duplicate session.
    Checkintests pass
    Modified Paths:
        blazeds/trunk/modules/core/src/flex/messaging/endpoints/BaseHTTPEndpoint.java

    For our profect I think this issue was caused as follows:
    Believing that remoting was full asynchronous we fired a 2 or 3 remote calls to the server at the same time ( within the same function ) - usually when the users goes to a new section of the app.
    This seemed to trigger the duplicate http session error since according to http://blogs.adobe.com/lin/2011/05/duplication-session-error.html  two remote calls arriving before a session is created will cause 2 sessions to be created.
    Our current solution ( too early to say it works ) is to daisy chain the multiple calls together .
    Also there seemed to be an issue where mobile apps that never quit ( thanks Apple! )  caused the error when activated after a few hours.
    I guess the session expires on the server and the error above occurs on activation.
    So the mobile apps now ping the server with a remote call when activated after sleeping for more than one hour.
    All duplicate http errors are silently caught and reported.
    Fingers crossed we won't get any more!

  • [svn:fx-trunk] 21141: Bug: 2780176 - Logging and logging out multiple times in LCDS can cause duplicate session detected errors .

    Revision: 21141
    Revision: 21141
    Author:   [email protected]
    Date:     2011-04-26 06:40:39 -0700 (Tue, 26 Apr 2011)
    Log Message:
    Bug: 2780176 - Logging and logging out multiple times in LCDS can cause duplicate session detected errors.
    QA: Yes
    Doc: No
    Checkintests: Pass
    Details: When a logout was followed by an immediate login, sometimes the server would throw duplicate session detected errors. This was because when logout happened, a fire-and-forget disconnect message was sent to the server that established a new session, and if the subsequent login happened before disconnect ACK returned from the server, that would establish another session and hence the error. The fix is to insert a slight delay between disconnect and ResultEvent dispatching. This way, disconnect has a chance to return before a login is performed.
    Modified Paths:
        flex/sdk/trunk/frameworks/projects/rpc/src/mx/messaging/ChannelSet.as

    You've got an  incompatible Logitech driver and java was incompletely uninstalled.
    You may have a problem with the Wacom driver.
    I don't know if fixing those things will help.
    There also a few window server errors, but I don't know if they are causal.
    If you can note the time of the hangs, that might help narrow it down in the logs.

  • Duplicate session error using Flash Remoting from Air 3.4 Mobile Apps ( IOS and Android ) with CF10

    We're getting the "duplicate session" error using Flash Remoting from Air 3.4 Mobile Apps ( IOS and Android ) with Coldfusion 10 Standard.
    faultCode:Server.Processing.DuplicateSessionDetected faultString:'Detected duplicate HTTP-based FlexSessions,
    generally due to the remote host disabling session cookies.
    Session cookies must be enabled to manage the client connection correctly.' faultDetail:'null'
    Have read most of the docs about this error -all to do with LCDS
    Notes:
    Not using LCDS,
    No Remote Calls from loaded Sub-Apps,
    No Errors from the Flex Web App which is pretty  much identical and calls the same cfcs.
    The error does not happen all the time and is hard to reproduce - say 5% of app sessions at a guess.
    Could it be a two first time remote calls hitting the server together before a session is set up?
    Our remoteObjects are in two places 1) Main Application.mxml and within a class compiled into the main app - can't see how this would be an issue.
    I enabled session management for the CFCs in Application.cfc but still occurs. Is this neccessary - it's not in any docs?
    Could this be something to do with the app not being shut down - as is typical with mobile users? When they resume use after a day or two surely a new session will be created?
    Please advise thank you.

    For our profect I think this issue was caused as follows:
    Believing that remoting was full asynchronous we fired a 2 or 3 remote calls to the server at the same time ( within the same function ) - usually when the users goes to a new section of the app.
    This seemed to trigger the duplicate http session error since according to http://blogs.adobe.com/lin/2011/05/duplication-session-error.html  two remote calls arriving before a session is created will cause 2 sessions to be created.
    Our current solution ( too early to say it works ) is to daisy chain the multiple calls together .
    Also there seemed to be an issue where mobile apps that never quit ( thanks Apple! )  caused the error when activated after a few hours.
    I guess the session expires on the server and the error above occurs on activation.
    So the mobile apps now ping the server with a remote call when activated after sleeping for more than one hour.
    All duplicate http errors are silently caught and reported.
    Fingers crossed we won't get any more!

  • Dimension processing error: "duplicate id detected"

    Hi All,
    Im facing an issue where when i try to process a dimension, i get an error message ."error while processing dimensions"
    "duplicate id detected" .The reason for this is there are two identical id's with in the same dimension. "pu" & "PU".
    Im not able to root cause, how BPC allowed processing of these identical dimensions in the first place. But becoz of this, whene ever i try to add a new dimension member and process the same, i get the above mentioned error.
    Have you ever encountered this error in your applications.
    If so, what is the way out?
    Also, Is there a solution ,which does not involve deleting & re-creating the dimensions.
    Thanks in advance,
    sridhar

    Hi Sridhar,
    Best way is delete both the line and process it. The wild fact in BPC is that if if you have used ABC as dimension member in cost center, you can not have same name as dimension member in profit center as well.
    Is it not wild? So best way is delete the dimension member..but if you have posted some transaction data u have to delete the transaction data first..

  • How to get duplicate interchange ICN No when error 26: Duplicate interchange detected

    Hi
    I have been getting error 26: Duplicate interchange detected while i have EDFACT Interchange processing property check
    for duplicate UNB5 (Interchange control number)= 30 days. 
    Now I need to get information for interchange no with whom it has been detected duplicate. Please
    assist me to get this information
    Kapil Kaushish

    Hi Kapil,
    Alongwith this error you also get another error, check the event log which has details like interchange Id, Sender Id and receiver Id.
    Also on error, Interchange/Transaction sets are suspended based on configuration done on Local Host Settings-->Inbound Batch Processing Option. So you can check the suspended message for the details as well.
    Maheshkumar
    S Tiwari|User
    Page|Blog|BizTalk
    Server : Fetching UNB and UNG Segment Values From Interchange Envelope and Mapping

  • Duplicate sessions created through transcation MICN

    Hi Experts ,
         I am trying to generated Batch session through MICN transcation name of session MB_MI01_CN, The system is creating two similar session if I select the generate bach input indicator in MICN , if This indicator is unchecked system is generating one batch session .
    I want to know the purpose of the generate batch input indicator in MICN T-code,  I tried with F1 help but not clear on why it is generating duplicate session when i selecte this indicator.
    Regards'
    Rahul

    Hi,
    MICN is for batch input: create phy.inv doc. for cycle counting. In this T-code the purpose of generarate batch input indicator is to create the batch input automatically. If you desalact it you have to run the batch input manually. Normally we won't select this indicator to avoid error log. While runnig batch input  there is prone to error log. Hence it is better to run the batch input manually. Ultimately can correct the error whwn ever it occurs during batch input session. I hope this will give you clear idea. Thanking you.

  • Open Session: unexpected error

    Hi everybody,
    I'm using BO XI R3.0 and since couple of last days I'm having problem with opening Universe Designer. The message I'm getting is "Open session: unexpected error". This happens after I provide user name and password for the access to the system.
    Does anyone know the solution to the problem beside uninstalling Client tools etc. (I already did that) because the same happens when I want to open Desktop Intelligence, Translation Manager, etc.
    Ivan

    In addition to my previous question, I have another query. I am trying to create a macro to rename, hide/show and change some more properties of universe objects. Below is the code to log on to designer and open the required universe
    +++++++++++++++++++++++++++++++++++++++++++++++++++++++++
    Set DesignerApp = New Designer.Application
        DesignerApp.Visible = True
        Call DesignerApp.LogonDialog
        Set Univ = DesignerApp.Universes.Open
        DesignerApp.Visible = False
        Set Wksht = ThisWorkbook.Worksheets("Objects")
        Wksht.Unprotect
        Range("Objects").ClearContents
        Call GetObjectInfo(Univ.Classes, 1)
        Range("Objects").Resize(Wksht.UsedRange.Rows.Count - 1, 5).Name = "Objects"
        Range("Objects").Columns("H:L").Value = Range("Objects").Columns("B:F").Value
        Wksht.Protect
        DesignerApp.Quit
        Set DesignerApp = Nothing
    +++++++++++++++++++++++++++++++++++++++++++++++++++++++++
    What happenns is that after I log on using my macro, if I try to log on to designer again I get the "Open Session: unexpected error" error. If I delete the LSI folder on my local machine, then I can log on fine. but everytime I use the macro I get the error afterwards. I am logging onto a SAP system.
    Any help on this one?

  • Crystal report server2008 (XI R2): CMC session timeout error

    HI
    Crystal report server2008 (XI R2): CMC session timeout error
                Accessing folders, scheduling reporting or running reports are working fine with Central Management Console (CMC) within the Crystal report server or accessing CMC within VPN machine.  But when CMC is accessed through browser from client desktop i.e through proxy URL, users are not able to access folder or personal folders to view any reports even admin user is not able to access folders. When users try to access folder or personal folders it gives session-timeout errors. Within less than a 1 or 2 minutes it is showing session timeout error. Appreciates any one help on this quickly.
    Regards,
    Patrick Raths

    Please post your query to the [Business Objects Enterprise Administration|BI Platform; forum. This forum is dedicated to development and deployment of .Net applications that connect and interact with BusinessObjects Enterprise, BusinessObjects Edge, or Crystal Reports Server. This includes the development of applications using the BusinessObjects Enterprise, Report Application Server, Report Engine, and Web Services SDKs.
    BTW., if thi is an important issue, I'd recommend creating a phone case.
    Ludek
    Edited by: Ludek Uher on Aug 11, 2010 1:58 PM

  • Getting Duplicate data Records error while loading the Master data.

    Hi All,
    We are getting Duplicate data Records error while loading the Profit centre Master data. Master data contains time dependent attributes.
    the load is direct update. So i made it red and tried to reloaded from PSA even though it is throwing same error.
    I checked in PSA. Showing red which records have same Profit centre.
    Could any one give us any suggestions to resolve the issues please.
    Thanks & Regards,
    Raju

    Hi Raju,
            I assume there are no routines written in the update rules and also you ae directly loading the data from R/3 ( not from any ODS). If that is the case then it could be that, the data maintained in R/3 has overlapping time intervals (since  time dependency of attributes is involved). Check your PSA if the same profit center has time intervals which over lap. In that case, you need to get this fixed in R/3. If there are no overlapping time intervals, you can simply increase the error tolerance limit in your info-package and repeat the load.
    Hope this helps you.
    Thanks & Regards,
    Nithin Reddy.

  • How to avoid 'duplicate data record' error message when loading master data

    Dear Experts
    We have a custom extractor on table CSKS called ZCOSTCENTER_ATTR. The settings of this datasource are the same as the settings of 0COSTCENTER_ATTR. The problem is that when loading to BW it seems that validity (DATEFROM and DATETO) is not taken into account. If there is a cost center with several entries having different validity, I get this duplicate data record error. There is no error when loading 0COSTCENTER_ATTR.
    Enhancing 0COSTCENTER_ATTR to have one datasource instead of two is not an option.
    I know that you can set ignore duplicates in the infopackage, but that is not a nice solution. 0COSTCENTER_ATTR can run without this!
    Is there a trick you know to tell the system that the date fields are also part of the key??
    Thank you for your help
    Peter

    Alessandro - ZCOSTCENTER_ATTR is loading 0COSTCENTER, just like 0COSTCENTER_ATTR.
    Siggi - I don't have the error message described in the note.
    "There are duplicates of the data record 2 & with the key 'NO010000122077 &' for characteristic 0COSTCENTER &."
    In PSA the records are marked red with the same message (MSG no 191).
    As you see the key does not contain the date when the record is valid. How do I add it? How is it working for 0COSTCENTER_ATTR with the same records? Is it done on the R/3 or on the BW side?
    Thanks
    Peter

  • Fix for ORA-00060: Deadlock detected errors

    Hello APEX community,
    in the last days we are hitting more and more frequent the ORA-00060: Deadlock detected error in one of our applications. Logged an SR with Oracle Support but so far not too much help, except pointing to some older bugs:
    Bug 6618662: APEX APPEARS TO BE CAUSING DEADLOCK - CASE COLLECTION or Bug 7587013: INSERTING AND DELETING WWV_FLOW_DATA CAUSES DEADLOCK, which do not look at all appealing as the first bug was logged in Nov 2007 and the resolution was delayed from version 3.1, to 4.0 and even to 4.1, while de second was logged in Nov 2008 and not much happened with it.
    I am curious how many other users are hitting the same issue and which workarounds found for the problem. For example yesterday I could see 12 such errors in my log, today already 3.
    Florin

    Hi John,
    here it is: http://www.moyersoen.be/auction/1442/ or http://www.moyersoen.be/pls/apex/f?p=2008:11:0::::P11_AUCTION_ID:1442. Normally the page response time is < 0.20, but from time to time it goes up to more than 20 seconds and at those times I can see also the ORA-00060: Deadlock detected errors.
    Looks like the users are clicking twice refresh for that page. I am trying now to build a testcase that reproduce the issue easily.
    Florin

  • Duplicate AP Invoices Error Setting

    Hi,
    How do I set duplicate AP invoices error in SAP?
    Thanks,
    Teo

    Hi
    If you have to do this, you need to check the field "Chk Double Inv" in the vendor master.
    What happens?(please read the help for this field in SAP)
    Checking Logistics documents
    Firstly, the system checks whether the invoice documents have already been entered in the Logistics invoice verification; the system checks invoices that are incorrect, or invoices that were entered for invoice verification in the background.
    Checking FI documents
    The system then checks whether there are FI or Accounting documents that were created with the original invoice verification or the Logistics verification, and where the relevant criteria are the same.
    Checking Logistics documents
    In checking for duplicate invoices, the system compares the following characteristics by default:
    Vendor
    Currency
    Company code
    Gross amount of the invoice
    Reference document number
    Invoice document date
    If all of these characteristics are the same, the system issues a message that you can customize.
    When you enter credit memos or subsequent adjustments, the system does not check for duplicate invoices.
    Exception: Country-specific solution for Argentina, where invoices and credit memos are checked for duplicate documents.

  • Java error in session initialization Error - When calling IC Web client

    Hi All,
    When i access the CRM IC web client through browser (BSP page), Page is loading but inside the page im getting the following error.
    " Java error in session initialization [Error message: abcj2systemid.domain.com: CALL_METHOD(SYS_METHODNAME) sessionid = SOAP Runtime Execption; CSoapExceptionTransport : HTTP recive failed with exception communication_failure ( Message Class CRMM_IC_FRAMEWORK- message number 106).
    Pl suggest
    Thanks
    PRadeep

    hi Indhra,
    did you check, whether the services are active:
    /Nsicf
    /default_host/sap/bc/bsp/sap/
    sam_sess_queue and sam_notifying
    and the polling profile is defined with polling frequence:
    /Nspro
    ->Interaction Center WebClient
    ->Basic Functions
    ->Define Context Area Profile
    there "Define Polling Profile"
    best wishes,
    Hakan

  • Preflight detected errors - overset text (1)

    Hi
    I have copied / pasted text from a Word document and tried 2 ways to place it in my InDesign CS6 document
    (1) putting copied text into a prepared text box
    (2) using the 'text box' that 'came with' the copied text (enlarged to fit area)
    each time the dreaded 'red box with a + ' sign inside appears on the rt. side of the 'finalised' text
    and 1 error shows at the bottom which is the Preflight detected error - overset text
    I have loads of other text in my document but none copied/pasted
    Writing the text manually into the document is not an option in this case
    Do I have to format it somehow? I would really appreciate a really simple A-Z step answer for this old gal
    cheers  - any help will really stop my hair from greying any further Lou

    Does the text contain special glyphs that require a font with Maori support? Id not then you can edit the styles to change the font (or, on the strong probability that the Word file doen't really use styles, you can use Find Font to replace it). if you do need Maori support, you should install a font that supports it, like Arial Maori, on the computer. ID uses any fonts installed normally for the OS (presuming they are not really badly made) or that are located in the private Adobe or InDesign fonts folders.

Maybe you are looking for

  • Updating to 4.01

    I can't seem to update my iphone 4 to 4.01. Itune tells me that "you do not have enough privileges for this operation". What can I do to fix this?? Should I update to 4.01 or is there bugs in the update??

  • Maintaining key in vendor evaluation for porg

    how do i maintain weighting key for p org in vendor evaluation?? when i am trying to run vendor evaln for a vendor and porg...i get this msg saying no weighting ke assigned to this porg...plzz telll me abt the settings

  • Using "Mail document" from within Preview

    I noticed that when in Preview if I attempt to use the "Mail document" function under the "File" menu the Preview document does not get attached to the new Mail document. To enable this function I must go to the print menu, scroll down to "Mail docum

  • Cat4000-IOS not seen as member of its own vtp domain in CM

    Recently we upgraded to CiscoWorks CD 5 V1. Cat4000-IOS devices are now supported in RME and CM. But in CM Topology Services the Cat4000-IOS devices are not seen as members of their own VTP domain. Instead, each access switch behind the Cat4000-IOS f

  • Formatting Timestamp

    Hi, I have 2 columns "START_TIME" and "END_TIME" with the datatype, TIMESTAMP in my table. I want to calculate the difference between 2 timestamps in my table, so I used a simple query: select (start_time-end_time) from test where name='XYZ'; The abo