CF server 7.02 Session Hangs

I am writting an application and I am having a very strange
issue that I have never seen before. When a new session is started,
it takes exactly 12 seconds (sometimes 11.999 seconds) to run the
page. After the initial session creaation, everything works as
usual.
I am using an application.cfc page. When I remove
<CFSET THIS.SessionManagement = true />
<CFSET THIS.SessionTimeout = CreateTimeSpan( 0, 1, 0, 0 )
/>
as well as the OnSessionStart method, it starts up fine
(albeit without session vaiables.) I can reproduce it everytime on
my live cluster (both servers affected). Works fine on my dev
server.
I tried removing the application.cfc and replacing with
application.cfm using the CFAPPLICATION tag. Same thing.
Windows 2003 Server.
Please help.
Thanks

Thanks for your response.
Im not sure what you mean about configured. Application
variables are enabled with 2 day default timeout. Same with
session.
ApplicationTimeout it 1 day.
There is nothing in the onSessionStart that requires exactly
12 seconds. I removed the application.cfc and replaced it with an
application.cfm that just has the CFAAPLICATION tag, and had the
same thing.
My application.cfc does have a lowercase 'a'. I am running on
a windows machine. Would that make a difference?
Thanks

Similar Messages

  • Bw web report plugin http session hangs at the server side

    Hi,
    I am having problems when closing the browser of a BW web report. After I closed the browser by going File->close, I ran SM04 and found out the Plugin HTTP session hangs at the server side.
    How can we terminate the Plugin HTTP session at the server side when user closes the internet browser?
    I did implement a logoff function at my web template, if user clicks on the logoff, the Plugin HTTP session is terminated at server side correctly. But As you know, 50% of time user will close the report by closing the internet browser instead of clicking the logoff. That leaves lots of hanging Plugin HTTP sessions at our server side.
    By the way, we actived our BEX service at the SICF.
    Thanks for help!
    JA

    Hi
    If you want to avoid a blank page with logoff button, add opener=0
    <a href="<SAP_BW_URL CMD='LOG_OFF' ~command='logoff'
    >" onClick="javascript:window.close(opener=0);">Log off</a>
    If you want to close the session via X, use this code:
    create a sapscript function
    function closeSession()
    logoff()
    window.unload=CloseSession()
    However, the Plugin HTTP session isn't killed.
    Regards

  • How to reduce buffer busy waits, session hanging due to buffer busy waits

    Hi,
    How to reduce buffer busy waits, session hanging due to buffer busy waits.
    Thanks,
    Sathis.

    When I see through enterprise manager I see lot of
    tables with buffer busy waits.
    Is there any way by table name we can check the
    blocks info.
    The simple way is to look at the SQL statement and corresponding table name?
    P1=file#, P2=block#. You can extract segment name(table or index) using this info.
    Query v$bh like following:
    SQL> select file#, block#, class#, objd from v$bh where file# = P1 and block# = P2;
    SQL> select object_name from all_objects where object_id = <objd>;See following doc:
    http://download-west.oracle.com/docs/cd/B19306_01/server.102/b14237/dynviews_1051.htm
    Or you can dump block:
    SQL> alter system dump datafie <P1> block <P2>;Some excerpts from block dump:
    scn: 0x07df.17e70782 seq: 0x01 flg: 0x04 tail: 0x07822301
    frmt: 0x02 chkval: 0x61d0 type: 0x23=PAGETABLE SEGMENT HEADER
    Map Header:: next  0x00000000  #extents: 1    obj#: 55881  flag: 0x10000000>
    Can we do something at table level that will reduce
    the waits.
    Yes, some methods are known. But before thinking of that, you must verify which block class and which access are involved.
    Typo... always. :(
    Message was edited by:
    Dion_Cho

  • I recently updated to iOS 8.0 on my Ipad however when i try to agree to the new terms and conditions i get an error message saying either 'Cannot connect to server' or 'Your session has timed out please try again' what can be done to resolve this?

    Hi, I recently updated to iOS 8.0 on my Ipad mini however when i try to agree to the new terms and conditions i get an error message saying either 'Cannot connect to server' or 'Your session has timed out please try again' what can be done to resolve this problem? Also i cannot download anything from the App store as a result of this.

    Can you check the Object Security for the Analysis Menu and Export button and see if it is restricted?
    Also, is this a Oracle DB?  IF so, has the following 32 bit Oracle Client components been isntalled:
    Oracle Objects for OLE
    Oracle Data Provider for .NET
    Oracle Providers for ASP.NET

  • Oracle session Hangs while calling one package function

    Hi all,
    We are a facing a interesting scenario in our code. Consider that you have 2 pakcages(A,B). Ecah packages is having more than 5 functions in it.
    1. A.function1() makes a call to B.function1() - is working fine
    2 .B.function1() calls B.function2() - is working fine
    3. B.function2() calls A.function2() - oracle session hangs in this call.
    If I copy the scropt code from A.function2() and inline (put) it in B.function1() , the execution gets completed without an issue.
    If i run the A.function2() seperatly it works fine. Only calling from B package it is failing.
    If anyone knows the rooot cause of the issue, please let me know.
    Thanks and regards,
    Vijayaraja

    Do you have/use global variables?
    Moving code from one package to another doesn’t necessarily result in logically equivalent programs. In the version of your program which “hangs” you may have crafted an infinite loop. Instrument your code and see if you really stall or just keep going on forever.
    With this kind of cross-dependencies in your libraries you almost ask for trouble.

  • Getting session hang When calling Function from SQL query

    Hi All,
    I am using Oracle 8.1.7.4.0. I have a fucntion in a Package and I am calling it from the SQL query. When I am firing the query my oracle session is going to hang position and I am not able to any thing. I have to kill the session.
    But this same thing is working fine in Oracle 9.i.
    There are no out parameter and no DML, DDL and DCL statement in this fucntion.
    Could you please get back me what is the problem on it.
    Regards
    SUN

    Check why your session hangs.
    Just a few ideas:
    * Blocking locks?
    * Endless loop?
    * Performance (maybe it is just slow in orac8i and you have to wait a bit longer). Check the execution plans of the SQL statements in your function.
    * Don't use a function, but direct SQL, it is faster in both versions.

  • Web Browser Session Hangs When Opening More Than One Query

    Let me start off with the BW environment - we are on BW release 3.50 at support pack level 12. Basis component is release 6.40 at level 12.
    We have a situation where a web browser HTTP session "hangs" while trying to execute more than one query at a time. A role based menu template is used by our end-users to run queries. The end-users execute a query and while it is running, try to execute a second query. But the web browser for the second query does not become available until the first query is complete.
    The following is the detailed steps of the process:
    1. From my user menu in BW, expand the folder for Role Z: BW_REPORTING and click on SAP_BW_TEMPLATE – Web_Role_Menu. Web browser window will open.
    2. Within the ZTPL_Role_Menu_Reporting web page, select Role Z: FUNC_DEVELOPER > BW Reporting > Controlling > Profitability Analysis > Detail query. (Role Z: FUNC_TESTER can be used in this example as well, just follow the same menu path).  Click on Detail and another web browser window will open for the query selection screen.
    3. On the selection screen for the CO-PA Detail query, enter values and execute the query.
    4. While the CO-PA Detail query is executing, go back to the first opened web browser for ZTPL_Role_Menu_Reporting and go to Role Z: FUNC_DEVELOPER > BW Reporting > Controlling > Profitability Analysis > Operating Concern query. Run the CO-PA Operating Concern query while the CO-PA Detail query is still executing. The session for the Operating Concern “hangs” and does not display the selection screen until the CO-PA Detail query has completed. Once the Detail query has finished, then the second query, CO-PA Operating Concern will then display the selection screen for the query.
    Our end-users expect the second query to display the selection screen immediately with no delay. The end-users do not want to wait for the selection screen of the second query. They want to be able to execute the queries simultaneously.
    Our Basis group as tried adjusting some parameters and has implemented OSS note 853396, but the issue still exists.
    Is it a BW issue or is it an issue with MS Internet Explorer?
    Your input and suggestions are appreciated.
    Thanks.

    Hi.
    I had a somewhat similar issue earlier when I tried closing BW Query windows, it would freeze and wouldn't close. I resolved the issue by turning off some BHO (Browser help Objects) in IE.It can be done using IE>Tools>Manage Add-Ons
    Cheers
    Anand

  • How to know when server automatically invalidates session

    Hi !!!
    I am storing a result set in the session .....
    Well there is some need to store result set in the sesssion..I am displaying data in my JSP by retrieving the data from the result set...Now I want to close the connection and result set... when the server invalidates the session ......
    Any way to do that???
    Reagrd

    If objects that you store in session implement HttpSessionBindingListener,
    they will be notified by valueBound() and valueUnbound() methods when object
    is stored or removed from the session. Object is removed from the session when the session is invalidated, so you can close your db connections from valueUnbound() method. I had the same problem and this works for me.
    Milan Mogin
    http://www.dolithe.com

  • Invalid server id in session id

    Hi
    I have AM 7.1 installed and working on 2 nodes. I am trying to deploy a distributed authentication UI server in an instance of sjs webserver 6.1 on another box. When ever i try to access http://DAUISERVER:8000/amdistauth/UI/Login on the DAUI server i get the following error in the amSession debug log
    ERROR: Invalid sessionid format
    java.lang.IllegalArgumentException: Invalid server id in session id com.iplanet.services.naming.ServerEntryNotFoundException: Cannot find server.
    at com.iplanet.dpro.session.SessionID.setServerID(SessionID.java:344)
    at com.iplanet.dpro.session.SessionID.parseSessionString(SessionID.java:321)
    at com.iplanet.dpro.session.SessionID.getExtension(SessionID.java:385)
    at com.iplanet.dpro.session.Session.getSessionServiceURL(Session.java:942)
    at com.iplanet.dpro.session.Session.getSessionServiceURL(Session.java:665)
    at com.iplanet.dpro.session.Session.doRefresh(Session.java:1178)
    at com.iplanet.dpro.session.Session.access$000(Session.java:108)
    at com.iplanet.dpro.session.Session$1.run(Session.java:1153)
    at com.sun.identity.session.util.RestrictedTokenContext.doUsing(RestrictedTokenContext.java:86)
    at com.iplanet.dpro.session.Session.refresh(Session.java:1150)
    at com.iplanet.dpro.session.Session.getSession(Session.java:810)
    at com.iplanet.sso.providers.dpro.SSOProviderImpl.createSSOToken(SSOProviderImpl.java:170)
    at com.iplanet.sso.SSOTokenManager.createSSOToken(SSOTokenManager.java:305)
    at com.sun.identity.authentication.AuthContext.getSSOToken(AuthContext.java:1064)
    at com.sun.identity.security.SystemAppTokenProvider.getAppSSOToken(SystemAppTokenProvider.java:104)
    at com.sun.identity.security.AdminTokenAction.run(AdminTokenAction.java:232)
    at java.security.AccessController.doPrivileged(Native Method)
    at com.iplanet.am.util.AMClientDetector.getServiceSchemaManager(AMClientDetector.java:220)
    at com.iplanet.am.util.AMClientDetector.<clinit>(AMClientDetector.java:93)
    at com.sun.identity.authentication.client.AuthClientUtils.<clinit>(AuthClientUtils.java:193)
    at com.sun.identity.authentication.distUI.LoginServlet.initializeRequestContext(LoginServlet.java:116)
    at com.iplanet.jato.ApplicationServletBase.processRequest(ApplicationServletBase.java:578)
    at com.iplanet.jato.ApplicationServletBase.doGet(ApplicationServletBase.java:459)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:787)
    02/19/2009 10:56:49:602 AM NZDT: Thread[service-j2ee-2,5,main]
    session.Refresh Removed SID:AQIC5wM2LY4SfcxXeO25J/KYDQrznfIgTTOAJ+MsozKD84k=@AAJTSQACMTAAAlNLAAoxMDMzNzk3NDIzAAJTMQACMDI=#
    02/19/2009 10:56:50:050 AM NZDT: Thread[service-j2ee-2,5,main]
    ERROR: Could not get server info from sessionid
    com.iplanet.services.naming.ServerEntryNotFoundException: Cannot find server.
    at com.iplanet.services.naming.WebtopNaming.getServerFromID(WebtopNaming.java:440)
    at com.iplanet.dpro.session.SessionID.setServerID(SessionID.java:337)
    at com.iplanet.dpro.session.SessionID.parseSessionString(SessionID.java:321)
    at com.iplanet.dpro.session.SessionID.getExtension(SessionID.java:385)
    at com.iplanet.dpro.session.Session.getSessionServiceURL(Session.java:942)
    at com.iplanet.dpro.session.Session.getSessionServiceURL(Session.java:665)
    at com.iplanet.dpro.session.Session.doRefresh(Session.java:1178)
    at com.iplanet.dpro.session.Session.access$000(Session.java:108)
    at com.iplanet.dpro.session.Session$1.run(Session.java:1153)
    at com.sun.identity.session.util.RestrictedTokenContext.doUsing(RestrictedTokenContext.java:86)
    at com.iplanet.dpro.session.Session.refresh(Session.java:1150)
    at com.iplanet.dpro.session.Session.getSession(Session.java:810)
    at com.iplanet.sso.providers.dpro.SSOProviderImpl.createSSOToken(SSOProviderImpl.java:170)
    at com.iplanet.sso.SSOTokenManager.createSSOToken(SSOTokenManager.java:305)
    at com.sun.identity.authentication.client.AuthClientUtils.getExistingValidSSOToken(AuthClientUtils.java:1372)
    at com.sun.identity.authentication.distUI.LoginViewBean.forwardTo(LoginViewBean.java:304)
    at com.iplanet.jato.ApplicationServletBase.dispatchRequest(ApplicationServletBase.java:981)
    at com.iplanet.jato.ApplicationServletBase.processRequest(ApplicationServletBase.java:615)
    I cant find anything about this anywhere. Has anyone seen this before?
    Cheers
    B

    Hi,
    were you able to resolve this issue? I am also facing the same issue.
    regards,
    Nitin

  • Database session hangs

    Guys I am using PL/SQL developer for my sql testing/debugging .I am debugging a pl/sql procedure (inside a package) and after coming out when I try to debug it again my session hangs.I contacted my dba and did the trick for me by killing the existing sessions,but didnt give me how the session was not killed in the first place after I come out of one debugging session.He is giving me a vague answer.Please let me know if u guys have any clue about it.
    thanks
    Manohar

    It's not the problem on the Oracle side. Oracle or the DBA is not at fault.
    I personally never had that problem.
    How are you debugginhg?
    Do you finish your debug session completely?
    After finishing your debugging, Can you do a disconnect from the Developer successfully?

  • Can I use System Center 2012 Endpoint Protection in "Windows Server Remote Desktop Session Host" without buy the license ?

    Can I use System Center 2012 Endpoint Protection in Azure Virtual Machine Gallary's "Windows Server Remote Desktop Session Host" without buy the System Center 2012 Endpoint Protection license ?
    I want to protect my Azure RemoteApp against the malware.
    System Center 2012 Endpoint Protection installed Azure Virtual Machine Gallary's "Windows Server Remote Desktop Session Host".
    Now, I try to build Azure RemoteApp template by using the  Azure Virtual Machine Gallary's "Windows Server Remote Desktop Session Host" .
    Regards,
    Yoshihiro Kawabata

    Hi Yoshihiro,
    Unless and until Microsoft modifies the license terms for System Center 2012 Endpoint Protection and/or modifies the Online Services Terms (OST) and/or other document explicitly saying that use is included with the Azure RemoteApp (ARA) monthly
    fee I recommend you assume as that it is
    not included and license it separately for ARA if that is even possible, which is a separate question.
    For licensing it is best to be cautious and make decisions based on the official documents that are available that govern use of the software and services involved.  At this moment I'm not able to find a Microsoft document that grants use of System
    Center 2012 Endpoint Protection with Azure RemoteApp.
    When I first used the gallery template and noticed that Endpoint Protection was installed within it I had the same question as you.  I will update this thread if/when I obtain more information.
    -TP

  • Can't modify package. Session hangs?

    I am trying to modify a DB package. I copied and pasted code to the package spec and saved using SQL*Navigator "Commit Changes" button. But the SQl*Navigator gets stuck. Even restarting the DB did not help.

    Kamran Agayev A. wrote:
    user12240205 wrote:
    Yes, same result. It SQL*Plust session hangs. My problem is, why does it happen even AFTER DB stop/start??? After stopping a DB all locks should be released, right?May be there's a user which automatically uses that package when database starts. Check V$ACCESS view and please do not shutdown the database in order to modify the package
    [Kamran Agayev A. |http://kamranagayev.wordpress.com] (OCP 9i/10g)
    Author of the upcoming book - *"Oracle Backup & Recovery: Expert secrets for using RMAN and Data Pump"*
    http://www.rampant-books.com/book_1002_rman_backup_recovery.htm
    After about 10 minutes I get this error:
    7:11:10 PM  Error: ORA-04021: timeout occurred while waiting to lock object ABS.PKG_HYBRID_PP_TOPUPThere is no other Oracle user in the system but me.
    V$ACCESS shows that the pkg is accessed by user ABS. It is using user ABS we are trying to modify the pkg. Thing is nobody is actually doing anything to the package and there is nothing that makes the package lock at DB startup.
    Any help would be grately appreciated.

  • MBean Server as a session bean?

    Hi folks,
    I´m new to JMX programming and I would like someone to answer what is the best practice for deploying the MBean Server:
    as a standalone java application (JSE) or can it be contained in an application server as a session bean?
    Thank you.

    It depends on your environment. E.g. we are developing server applications, and each process is exposing monitoring/configuration data through an embedded MBean Server.

  • Sessions Hanging Problem

    Dear All,
    Many of the users have requested me to kill their sessions because of not respoding/hang. Mostly this occur when they run or compile thier SPs (Stored Procedures). I noted that all procedures that contain an insert to a log (user created table) table hangs. As per my opinion table may be lock or in use by any other. But how I can find it. Please let me to know.
    Aqeel Nawaz

    Suppose session hangs during execute the procedure.
    To pass the procedure name in below query.
    select
    V$S.LOGON_TIME,
    V$S.SID,
    V$S.SERIAL#,
    V$S.USERNAME,
    V$S.PROCESS,
    V$P.SPID,
    V$S.STATUS,
    V$S.MACHINE,
    V$S.CLIENT_INFO
    from v$session V$S,
    v$process V$P
    where V$S.PADDR = V$P.ADDR
    and V$S.SID in
    (select distinct sid from v$access where object like ('%&obj%'))
    order by
    V$S.PROCESS,
    V$S.SID;
    Regards
    RajaBaskar

  • Sessions hangs with library cache lock

    Der all,
    11.1.0.7 rac on solaris 10
    Our workflow session yesterday hanged on a particular step the session was waiting on a library cache lock (by using query select event,p1,p2 from v$session where sid=<my_sid>;)
    when I checked the blocking session , using the note 122793.1 and http://oracle-study-notes.blogspot.com/2009/05/resolving-library-cache-lock-issue.html and http://oracle-study-notes.blogspot.com/2009/05/find-session-holding-library-cache-lock.html .
    I found that
    SQL> SELECT SID,USERNAME,TERMINAL,PROGRAM FROM V$SESSION
      2   WHERE SADDR in
      3    (SELECT KGLLKSES FROM X$KGLLK LOCK_A
      4     WHERE KGLLKREQ > 0
      5       AND EXISTS (SELECT LOCK_B.KGLLKHDL FROM X$KGLLK LOCK_B
                     WHERE KGLLKSES = '&SADDR_OF_BLKING_SESS'
      6    7                   AND LOCK_A.KGLLKHDL = LOCK_B.KGLLKHDL
      8                   AND KGLLKREQ = 0)
      9    );
    Enter value for saddr_of_blking_sess: 0000000770E494E0
    old   6:                  WHERE KGLLKSES = '&SADDR_OF_BLKING_SESS'
    new   6:                  WHERE KGLLKSES = '0000000770E494E0'
      SID USERNAME        TERMINAL   PROGRAM
      817 SYS             UNKNOWN    oracle@tabsdb07
                                      (J002)
      828 SYS             UNKNOWN    oracle@tabsdb07
                                      (J001)after killing the session, the library cache locks still remained.when I ran trace on the session
    select /*+ all_rows ordered */ A.rowid, :1, :2, :3
    from
    "DBMRPT"."DBM_BIAUTO_SUSP" A , "DBMRPT"."DBM_CDR_FILE_HEAD" B where(
      "A"."CDR_TYPE" is not null and "A"."FILE_ID" is not null) and(
      "B"."CDR_TYPE" (+)= "A"."CDR_TYPE" and "B"."FILE_ID" (+)= "A"."FILE_ID")
      and( "B"."CDR_TYPE" is null or "B"."FILE_ID" is null)
    call     count       cpu    elapsed       disk      query    current        rows
    Parse        1      0.01       0.01          0          0          0           0
    Execute      1      0.00       0.00          0          0          0           0
    Fetch        0      0.00       0.00          0          0          0           0
    total        2      0.01       0.01          0          0          0           0
    Misses in library cache during parse: 1
    Misses in library cache during execute: 1
    Optimizer mode: ALL_ROWS
    Parsing user id: SYS   (recursive depth: 3)
    Elapsed times include waiting on following events:
      Event waited on                             Times   Max. Wait  Total Waited
      ----------------------------------------   Waited  ----------  ------------
      row cache lock                                  5        0.00          0.00
      db file sequential read                   295932636        0.07       5066.63
      gc cr grant 2-way                          727813        0.02        233.95
      latch: gc element                              80        0.00          0.00
      latch: gcs resource hash                      870        0.00          0.00
      latch free                                      2        0.00          0.00
      gc remaster                                     9        2.00         12.91
      gcs drm freeze in enter server mode             9        0.54          2.08
      latch: object queue header operation           66        0.00          0.05
      latch: cache buffers chains                    15        0.03          0.20
      resmgr:internal state change                   63        0.10          5.30
      latch: cache buffers lru chain               1260        0.00          0.01
    ********************************************************************************Please guide
    Kai
    all this time sql_id for the session remanined in the sql :
    ALTER TABLE DBMRPT.DBM_BIAUTO_SUSP ENABLE CONSTRAINT DBS1_DCFH_FK ..

    hi..
    Go through [http://orainternals.wordpress.com/2009/06/02/library-cache-lock-and-library-cache-pin-waits/]
    Anand

Maybe you are looking for