Session getting invalidated or expire unexpectedly in the midof transaction

We have an architecture of a load balancer that sends/receive request/response to/from 3 Oracle Http web Servers in clustered which in other hand interacts with the 3 OC4J app server(clustered). Issue is that session is getting unexpectedly invalidated or expire when user is in the mid of transaction.
We have been doing extensive R&D to get the root cause of the issue but unable to get the exact reason. Any help regarding this issue will be highly appreciable as it is very urgent. Thanks in advance

Greetings,
For the logs location, please look in:
oc4j\j2ee\home\config
There is a file there called j2ee-logging.xml where you can set the logging level. You can also login the the OAS Console and adjust the logging level there. Don't forget that you can also use JVM logging options like:
JVMARGS=-Xmx512m -XX:-UseGCOverheadLimit -server -XX:MaxPermSize=256m -Dclass.load.trace=class-not-found -Dclass.load.log.level=finestPlease see the link below for additional debugging and logging options:
URL to HotSpot VM Options:
http://java.sun.com/javase/technologies/hotspot/vmoptions.jsp
-Michael

Similar Messages

  • ERROR: Error in getting session data: Invalid or Expired Session

    Hi,
    We are using ssrs 2008 r2 and have a report which has links that allow the user to drill down.
    When the link is clicked the same report is run but shows more detail. This works fine but we are now getting the error below for a user. 
    I have increased the time out for the report to 600 seconds.
    Error in getting session data: Invalid or Expired Session: fnxgxhjuveugvd552qfyv3fw
    session!ReportServer_0-6!4b0!03/18/2015-10:51:29:: i INFO: LoadSnapshot: Item with session: fnxgxhjuveugvd552qfyv3fw, reportPath: , userName: doman/user not found in the database
    Any ideas how this can be resolved?

    Hi Nasa1999,
    Based on your error message, If the all the users will sometimes got the same issue, it can be caused by the timeout issue. It happens a lot when rendering big report, and it exceeds the default Session Timeout. You can execute script
    to increase the Session Timeout time. Please refer to following blog:
    Session Timeout during execution. Also increase the value of <Query Timeout> in rsreportserver.config file. This file locate at XX:\Program Files\Microsoft SQL Server\MSRS10.MSSQLSERVER\Reporting Services\ReportServer
    Please also check to set the <legacyImpersonationPolicy> back to true(https://support.microsoft.com/en-us/kb/972328).
    Locate the Aspnet.config file in the following folder:
     %windir%\Microsoft.NET\Framework64\v2.0.50727
    If Microsoft Visual Studio is installed on the computer that is running SQL Server 2005, double-click
    Aspnet.config. If Visual Studio is not installed on the computer, follow these steps:
            a. Right-click Aspnet.config, point to
    Open with, and then click Choose program.
            b. In the Programs list, click
    Notepad, and then click OK.
    Locate the following tag in the <runtime> section of the code.
            <legacyImpersonationPolicy enabled="false"/>
    Change the tag to:
            <legacyImpersonationPolicy enabled="true"/>
    Save the Aspnet.config file.
    Reset IIS.
    Try your report again.
    Similar Thread for your reference:
    Using SharePoint Report Viewer
    Web Part: Error in getting session data: Invalid or Expired Session: xxxxxxxxxxx
    If only the one user or several users will got the issue, the issue can be caused by the permission setting, please reference to below blog:
    http://answers.flyppdevportal.com/categories/sqlserver/sqlreportingservices.aspx?ID=3506231b-9f4d-4f5a-884d-157137c56336
    http://blog.goobol.com/the-permissions-granted-to-user-domainusername-are-insufficient-for-performing-this-operation/
    If your problem still exists, please try to provide more details information as below:
    Did you reporting service installed in native mode or sharepoint mode, If in native mode, please try to provide more error message from the log file:
    C:\Program Files\Microsoft SQL Server\MSRS10_50.MSSQLSERVER\Reporting Services\LogFiles
    If you still have any problem, please feel free to ask.
    Regards,
    Vicky Liu
    Vicky Liu
    TechNet Community Support

  • User Session gets invalidated automatically

    Hi,
              The user session gets invalidated automatically ,this happens irregularly but has been seen many times.
              Any ideas?
              

              Akshay <[email protected]> wrote:
              >Hi,
              >The user session gets invalidated automatically ,this happens irregularly
              >but has been seen many times.
              >Any ideas?
              hi,
              1. Check whether u have mistakenly called the session.invalidate() method if
              u are using HTTPSession
              2. Check the App.server Session Timeout
              3. If you are using Cookies check whether the cookies MaximumAge is expried before
              the
              complition of your process / transcation.
              regards,
              Elango
              Elango TR
              Sip Technologies & Exports Ltd. Elnet Software City,Chennai
              http://www.siptech.co.in
              [email protected]
              

  • Getting Invalid URL error while creating the app even though it's returning valid content from browser.

    Hi ,
      i am trying add RSS section with URL http://api.foxnews.com/proxy/content/v2?sort=date desc&omitHeader=true&api_key=cc23011f-3ace-40a4-bb63-bfa654af5bc8&format=full-content-rss.xml&rows=20&q=content_type:article AND image_url:*
    AND section_path:fnc/entertainment , and it's giving invalid URL error. like @ Invalid Url, use http or https://[domain]. Please help what's going wrong with this URL content. 

    I've recently deployed an application in Websphere and HTTPServer and have Oracle on the DB back-end. Tim, apparently your login problem happens inside the Websphere. You will have a better chance to ask this question in IBM's forums.

  • Query to get G/L accounts even with the Zero transactions

    Dear experts,
    i have tried a query as below
    SELECT T0.[AcctCode], T0.[AcctName], T0.[CurrTotal] AS 'Bank Balance', sum(T1.[Debit]) as 'Payment', sum(T1.[Credit]) as 'Collection' FROM OACT T0  LEFT OUTER
    JOIN JDT1 T1 ON T0.AcctCode = T1.Account WHERE T0.[AcctCode] in ('162016','162010','162011','162002','162003','161010') AND T1.RefDate BETWEEN '[%0]' AND '[%1]'
    GROUP BY T0.[AcctCode], T0.[AcctName], T0.[CurrTotal]
    My requirement is
    I have given 5 G/L accounts in where condition. I am getting the report only the account have debit or credit transaction.
    whereas i want account in report even if it has "0" as transaction within that period.
    Thanks in advance,
    dwarak
    Edited by: Dwarakanath.P on Nov 28, 2011 2:51 PM

    Dear Fasolis Vasilios,
    Still am getting only the account having debit or credit sum.
    like this
    #     Account Code     Account Name     Bank Balance     Payment     Collection
    1     161010     Cash A/C     -                        2,376.00                     0                             3,363.00                  
    2     162002     BNP Paribas - USD A/c      11,336,040.71        2,281,479.20     0
    3     162010     BNP Paribas - INR A/c      14,314,924.41        1,845,229.00     1,721,899.00
    4     162016     ING Vysya-CC A/c             98,653,514.21         908,598.70            565,601.00
    Other 2 account is missing since it has no debit and credit.
    Regards,
    Dwarak

  • Session is not getting invalidated when i access more then 1 war applications

              I am experiencing the following problem and i do not understand
              the reason. I have an application (3 jsps) in a directory
              called /private under weblogic 6 sp1
              directory "DefaultWebApp_myserver". The login.jsp, logout.jsp
              and logError.jsp exist in directory "DefaultWebApp_myserver"
              below is the web.xml deployed with the default web application
              ----------------------------------------- web.xml ----
              <?xml version="1.0" ?>
              <!DOCTYPE web-app PUBLIC "-//Sun Microsystems, Inc.//DTD Web Application 1.2//EN"
              "http://java.sun.com/j2ee/dtds/web-app_2_2.dtd">
              <web-app>
              <welcome-file-list>
              <welcome-file>/private/checkCredentials.jsp</welcome-file>
              </welcome-file-list>
              <security-constraint>
              <web-resource-collection>
              <web-resource-name> MySecureBit0 </web-resource-name>
              <description>no description </description>
              <url-pattern>/private/*</url-pattern>
              <http-method>GET</http-method>
              <http-method>POST</http-method>
              </web-resource-collection>
              <auth-constraint>
              <role-name>NBAD_DOMAIN</role-name>
              </auth-constraint>
              </security-constraint>
              <login-config>
              <auth-method>FORM</auth-method>
              <realm-name>MyRDBMS Realm</realm-name>
              <form-login-config>
              <form-login-page>Login.jsp</form-login-page>
              <form-error-page>LoginError.jsp</form-error-page>
              </form-login-config>
              </login-config>
              </web-app>
              I have another application war. This application consist of
              2 jsp files. Below is the web.xml
              ------------------------ end web.xml -----------------------
              <?xml version="1.0" ?>
              <!DOCTYPE web-app PUBLIC "-//Sun Microsystems, Inc.//DTD Web Application 1.2//EN"
              "http://java.sun.com/j2ee/dtds/web-app_2_2.dtd">
              <web-app>
              <welcome-file-list>
              <welcome-file>/private/checkCredentials.jsp</welcome-file>
              </welcome-file-list>
              <security-constraint>
              <web-resource-collection>
              <web-resource-name> MySecureBit0 </web-resource-name>
              <description>no description </description>
              <url-pattern>/*</url-pattern>
              <http-method>GET</http-method>
              <http-method>POST</http-method>
              </web-resource-collection>
              <auth-constraint>
              <role-name>Engineer</role-name>
              </auth-constraint>
              </security-constraint>
              <login-config>
              <auth-method>FORM</auth-method>
              <realm-name>MyRDBMS Realm</realm-name>
              <form-login-config>
              <form-login-page>../Login.jsp</form-login-page>
              <form-error-page>../LoginError.jsp</form-error-page>
              </form-login-config>
              </login-config>
              </web-app>
              ------------------------------ end web.xml ----------------------
              Now i login in the default application that i have i link that takes me to the
              second app (the war); then i go to the default
              app and i logout. When i logout i invalidate the session. but it
              seems that the session is not getting invalided because i can
              enter the default
              application and the war test application without login in.
              If i do not access the test war application from the default application the session
              is invalidate and i get the login page.
              I hope i am clear.
              Thanks
              Ibrahim
              

              I asked a similar question some time ago and the answer that I got was that each
              application (war file) has its own session object. You cannot transfer information
              from one application to another via the session id.
              Vladimir
              "ibrahim" <[email protected]> wrote:
              >
              >I am experiencing the following problem and i do not understand
              >the reason. I have an application (3 jsps) in a directory
              >called /private under weblogic 6 sp1
              >directory "DefaultWebApp_myserver". The login.jsp, logout.jsp
              >and logError.jsp exist in directory "DefaultWebApp_myserver"
              >below is the web.xml deployed with the default web application
              >----------------------------------------- web.xml ----
              ><?xml version="1.0" ?>
              ><!DOCTYPE web-app PUBLIC "-//Sun Microsystems, Inc.//DTD Web Application
              >1.2//EN"
              >"http://java.sun.com/j2ee/dtds/web-app_2_2.dtd">
              ><web-app>
              ><welcome-file-list>
              > <welcome-file>/private/checkCredentials.jsp</welcome-file>
              ></welcome-file-list>
              ><security-constraint>
              > <web-resource-collection>
              > <web-resource-name> MySecureBit0 </web-resource-name>
              > <description>no description </description>
              > <url-pattern>/private/*</url-pattern>
              > <http-method>GET</http-method>
              > <http-method>POST</http-method>
              > </web-resource-collection>
              > <auth-constraint>
              > <role-name>NBAD_DOMAIN</role-name>
              > </auth-constraint>
              ></security-constraint>
              ><login-config>
              > <auth-method>FORM</auth-method>
              > <realm-name>MyRDBMS Realm</realm-name>
              > <form-login-config>
              > <form-login-page>Login.jsp</form-login-page>
              > <form-error-page>LoginError.jsp</form-error-page>
              > </form-login-config>
              ></login-config>
              ></web-app>
              >---------------------------------------------------------
              >I have another application war. This application consist of
              >2 jsp files. Below is the web.xml
              >------------------------ end web.xml -----------------------
              >
              ><?xml version="1.0" ?>
              ><!DOCTYPE web-app PUBLIC "-//Sun Microsystems, Inc.//DTD Web Application
              >1.2//EN"
              >"http://java.sun.com/j2ee/dtds/web-app_2_2.dtd">
              ><web-app>
              ><welcome-file-list>
              ><welcome-file>/private/checkCredentials.jsp</welcome-file>
              ></welcome-file-list>
              ><security-constraint>
              > <web-resource-collection>
              > <web-resource-name> MySecureBit0 </web-resource-name>
              > <description>no description </description>
              > <url-pattern>/*</url-pattern>
              > <http-method>GET</http-method>
              > <http-method>POST</http-method>
              > </web-resource-collection>
              > <auth-constraint>
              > <role-name>Engineer</role-name>
              > </auth-constraint>
              ></security-constraint>
              ><login-config>
              > <auth-method>FORM</auth-method>
              > <realm-name>MyRDBMS Realm</realm-name>
              > <form-login-config>
              > <form-login-page>../Login.jsp</form-login-page>
              > <form-error-page>../LoginError.jsp</form-error-page>
              > </form-login-config>
              ></login-config>
              ></web-app>
              >------------------------------ end web.xml ----------------------
              >Now i login in the default application that i have i link that takes
              >me to the
              >second app (the war); then i go to the default
              >app and i logout. When i logout i invalidate the session. but it
              > seems that the session is not getting invalided because i can
              >enter the default
              >
              >application and the war test application without login in.
              >If i do not access the test war application from the default application
              >the session
              >is invalidate and i get the login page.
              >I hope i am clear.
              >Thanks
              >Ibrahim
              >
              

  • Bean in Session getting inaccessible after x minutes

    Hi,
    we are currently devloping iViews (JspDynPapes) for EP6 SP2.
    We have several iViews which put bean in the iPortalComponentSession and the HttpSession.
    We have the following problem:
    An iView stores information in a bean and put it into session to be displayed in a table on a JSP. Now,
    if the user waits for x minutes (more than 15!) and he triggers an server side event of the ivew, the iView tries to get the bean back from session. But, if the user has done nothing for a certain period, the bean can not be accessed in that session. This raises an NullPointerException. The bean seems to be disappeared or invalid.
    Do beans stored in a session get invalid or deleted after a certin period? Can this period be customized?
    Thanks for your help,
    Maik

    Hi Maik,
    not the beans stored in the session become invalid but the session itself! For session timeout settings see Anyway to Setting Portal Timeout
    In addition, see http://java.sun.com/products/servlet/2.3/javadoc/javax/servlet/http/HttpSession.html#setMaxInactiveInterval(int) (which overrides the servlet-container settings for this specific session).
    Hope it helps
    Detlev

  • Getting invalid password error while logging onto application from frontend

    Hi Guys
    I am trying to login to one of our clones and i am getting invalid password error.
    I ran fndcpass and change my username's password which got changed successfully
    But still when i login to application using my username i am getting invalid password error
    I am getting the same error if i login as sysadmin
    Please suggest to resolve this
    thanks !!

    Hi,
    I am trying to login to one of our clones and i am getting invalid password error.What is the application release?
    Please post the complete error message -- Also, check Apache log files for details (error_log* and access_log*).
    I ran fndcpass and change my username's password which got changed successfullyWhat username password have you changed?
    But still when i login to application using my username i am getting invalid password error
    I am getting the same error if i login as sysadminDoes this happen when login as any application user?
    Please verify that none of those users are end-dated.
    Regards,
    Hussein

  • Can't login to HP Connected--get "Invalid Email or Password"

    When I try to login to HP Connected, I get "Invalid Email and Password".  The email and password I'm using works fine in Snapfish.  I tried modifying the password in Snapfish, hoping that would reset the password in HP Connected, but I'm still getting the same message there.  How can I get into my HP Connected account? Thanks

    Hello ,  Thank you for posting in the HP Support Forum.   I understand that you're unable to login to HP Connected.  I would like to help.  You were definitely on the right track by visiting Snapfish.  I recommend you take it a step further and try my approach to regaining your account access - I have a work-around that may clear this up for you:  Click here.  This will take you to <www.snapfish.com>.  As Snapfish's website is directly associated with the ePrint Center and HP Connected, you can try and reset your password as follows - click the login icon and then 'forgot your password':  Enter in the email address you're using to login to ePrint Center (HP Connected) and click submit.  You should receive an automated password reset message via email - reset it as intended before, and then try using this new Snapfish password to login to the ePrint Center (HP Connected).  If this fails to resolve your ePrint Center access issue, please call our Cloud Services at 855-785-2777. If you live outside the US/Canada Region, please click the link below to get the support number for your region.
    http://www8.hp.com/us/en/contact-hp/ww-phone-assist.html I hope this helps.  If my suggestion worked out in your favour, feel free to give me a virtual high-five by clicking the 'Thumbs Up' icon below.   Have a great day!  

  • Error: Could not get markup. The cookie or session is invalid or ...

    When I run the portlet getting the below error:
    Error: Could not get markup. The cookie or session is invalid or there is a runtime exception.
    I have gone through the log, it's processing the request.
    Any help on this ...

    first can you give us some idea about which product/component/platform/version are you working with. and how did you edit the 'portal prefs'.
    thanks!

  • The grace period for the Remote Desktop Session Host server has expired

    <p>I'm running Windows Server 2012, we only have 1 server and it's a DC.  I'm trying to RD to the server from my Windows 7 laptop. It was working fine on Friday but when I came in on Monday I got message saying that 'The remote session was disconnnected
    because there are no Remote Desktop License Servers available to provide a license'
    So after a bit of digging I found out my 'grace period' had expired, so ordered a new license which I got today, installed this all ok but still i cannot connect via RD I get the same message....went into the RD License Diagnoser and it said the problem
    was as follows
    'The grace period for the Remote Desktop Session Host server has expired, but the RD Session Host server has not been configured with any license servers. Connections to the RD Session Host server will be denied unless a license server is configured for
    the RD Session Host server.'
    Suggested Resolution as follows
    Configure a license server for the Remote Desktop Session Host server. If you have an existing license server, specify that license server for the RD Session Host Server. Otherwise, install RD Licensing on a computer on your network and Configure RD Session
    Host Server to use it.'
    I cannot figure out how to do this as I cannot find the RD Session Host Server tool. 
    Can any of you lovely people help me please

    Hello,
    Best option would be to assign the license server by using AD GPO. Youl will need to configure the following:
    Computer Configuration\Administrative Templates\Windows Components\Remote Desktop Services\Remote Desktop Session Host\Licensing
    and define the settings for:
    Use the specified Remote Desktop License Server
    Set the Remote Desktop Licensing mode
    Then assign the policy tho your server.
    regards Robert Maijen

  • My problem is that I am working on a page and then I receive ....Error saving the journal. Perhaps your session has expired-try reloading the page".

    My problem is that I am working on a page and then I receive ....Error saving the journal. Perhaps your session has expired-try reloading the page". I used to receive from Firefox when reloading page...To display this page, Firefox must send information that will repeat any action'. Now I don't receive this message and I lose info that was entered. How do I get this to pop up again so I can save my messages.
    Using Firefox 22.0 u to date

    This can be caused by corrupted cookies or cookies that are blocked (check the permissions on the about:permissions page).
    Clear the cache and the cookies from websites that cause problems.
    "Clear the Cache":
    *Firefox/Tools > Options > Advanced > Network > Cached Web Content: "Clear Now"
    "Remove Cookies" from sites causing problems:
    *Firefox/Tools > Options > Privacy > Cookies: "Show Cookies"
    You get an alert about resending POST data if you go back to a page or refresh a page that was previously requested from the server by submitting form data via a (hidden) POST form.<br />
    Firefox can only make sure to get the same page by resending that POST form.<br />
    Firefox doesn't know what that form data means, so Firefox asks for confirmation before resending that form data as such an action can cause you to repeat an action and buy another item or post a message another time.<br />
    A way to prevent this pop-up about resending POST data is not to use the Back button, but to open links on a page requested from a server by sending a form with POST date in a new tab (window) with a middle-click or a Ctrl + left-click.

  • Session Expired unexpectedly

    Folks,
    I am facing one intersting problem . I described it below .
    In our production system we have set the user session expiriration time as 1 hour . But from this moring  one session expired unexpectedly and other one is working fine ,if some users opened two sessions ..  i don't know why . I checked their network . But it's fine.
    Please help me .

    Thanks for your reply Gagan...
    Error message is "User sesision closed by system"
    SM21 Logs :
    Delete session 001 after error 024
    Delete session 001 after error 024
    Delete session 001 after error 024
    Delete session 001 after error 061
    Delete session 001 after error 024
    Delete session 003 after error 024
    Delete session 002 after error 024
    Delete session 001 after error 024
    Delete session 001 after error 024
    Delete session 001 after error 024
    Delete session 002 after error 024
    Delete session 002 after error 024
    Delete session 001 after error 061
    Delete session 002 after error 061
    Delete session 003 after error 061
    Delete session 001 after error 061
    Delete session 002 after error 061
    Connection to user NNNNNNN (XXXXXX ), terminal 496 (YYYYYYYY) lost
    Edited by: rdhaprakasam2003 on Apr 26, 2010 8:26 PM

  • I get a popup saying "Your session is about to expire. Click OK to extend. What is that?

    When I am in Godaddy.com I get a pop up that says "Your session is about to expire. Click on OK" The OK button does not seem to work and shortly after I lose the plage.

    (1) Download the Windows Installer CleanUp utility installer file (msicuu2.exe) from the following Major Geeks page (use one of the links under the "DOWNLOAD LOCATIONS" thingy on the Major Geeks page):
    http://majorgeeks.com/download.php?det=4459
    (2) Doubleclick the msicuu2.exe file and follow the prompts to install the Windows Installer CleanUp utility. (If you're on a Windows Vista or Windows 7 system and you get a Code 800A0046 error message when doubleclicking the msicuu2.exe file, try instead right-clicking on the msicuu2.exe file and selecting "Run as administrator".)
    (3) In your Start menu click All Programs and then click Windows Install Clean Up. The Windows Installer CleanUp utility window appears, listing software that is currently installed on your computer.
    (4) In the list of programs that appears in CleanUp, select any iTunes entries and click "Remove", as per the following screenshot:
    (5) Quit out of CleanUp, restart the PC and try another iTunes install. Does it go through properly this time?

  • I am getting "Invalid Identifier" while running the below query

    Iam getting the error "Invalid Identifier, c_rank" while running the below query. Please help.
    select a.*, b.pog_description pog_description, b.start_date,
    row_number() over(partition by b.pog_description order by b.start_date) c_rank
    from temp_codi_dept_35 a, pog_master_msi b, pog_skus_msi c
    where a.sku = c.pog_sku
    and b.pog_id = c.pog_id
    and b.pog_dept = c.pog_dept
    and b.pog_number = c.pog_number
    and b.pog_level = c.pog_level
    and a.sku = 10263477
    and c_rank = 1;

    >
    Iam getting the error "Invalid Identifier, c_rank" while running the below query. Please help.
    select a.*, b.pog_description pog_description, b.start_date,
    row_number() over(partition by b.pog_description order by b.start_date) c_rank
    from temp_codi_dept_35 a, pog_master_msi b, pog_skus_msi c
    where a.sku = c.pog_sku
    and b.pog_id = c.pog_id
    and b.pog_dept = c.pog_dept
    and b.pog_number = c.pog_number
    and b.pog_level = c.pog_level
    and a.sku = 10263477
    and c_rank = 1;
    >
    You can't use 'c_rank' in the where clause because it doesn't exist; you are computing it in the SELECT clause.
    Remove the last condition and wrap your query in another one to select by 'c_rank'.

Maybe you are looking for