Tomcat application creates new session on page reload

We have a tomcat application which works fine in IE7/8 and Firefox. The only browser we are having issues with (that we care about at this point) is google Chrome. Users can navigate to the application fine and log in and do whatever they need to do in Firefox and IE. However, when trying to log in with Chrome, the session is apparently lost immediately after log in and when the authenticated user tries to navigate to another page they are bumped back to the log in page. This happens consistently.
I have seen other entries here and elsewhere that suggest that the context path might be to blame. I have tried setting a ProxyReverseCookiePath but that does not fix the problem.
Our virtual host configuration is as follows:
<VirtualHost xxx.xxx.xxx.xxx:80>
    ServerAdmin [email protected]
    ServerName subdomain.example.com
    DocumentRoot /var/www
    ProxyRequests Off
    <Proxy *>
        Order deny,allow
        Allow from all
    </Proxy>
    ProxyPass /context/ ajp://127.0.0.1:8009/context/
    ProxyPass / ajp://127.0.0.1:8009/context/
    #ProxyPassReverse /context/ http://127.0.0.1:8009/context/
    #ProxyPassReverse / http://127.0.0.1:8009/context/
    #ProxyPassReverseCookiePath /context/ /
</VirtualHost>There is another application deployed on the same instance of tomcat at the ROOT context. I have looked at the JSESSIONID that is set in the cookie, which is sent back to Chrome and it changes on every request, while it does not for IE and Firefox.
I am at a loss here. Any ideas are welcome!

We have a tomcat application which works fine in IE7/8 and Firefox. The only browser we are having issues with (that we care about at this point) is google Chrome. Users can navigate to the application fine and log in and do whatever they need to do in Firefox and IE. However, when trying to log in with Chrome, the session is apparently lost immediately after log in and when the authenticated user tries to navigate to another page they are bumped back to the log in page. This happens consistently.
I have seen other entries here and elsewhere that suggest that the context path might be to blame. I have tried setting a ProxyReverseCookiePath but that does not fix the problem.
Our virtual host configuration is as follows:
<VirtualHost xxx.xxx.xxx.xxx:80>
    ServerAdmin [email protected]
    ServerName subdomain.example.com
    DocumentRoot /var/www
    ProxyRequests Off
    <Proxy *>
        Order deny,allow
        Allow from all
    </Proxy>
    ProxyPass /context/ ajp://127.0.0.1:8009/context/
    ProxyPass / ajp://127.0.0.1:8009/context/
    #ProxyPassReverse /context/ http://127.0.0.1:8009/context/
    #ProxyPassReverse / http://127.0.0.1:8009/context/
    #ProxyPassReverseCookiePath /context/ /
</VirtualHost>There is another application deployed on the same instance of tomcat at the ROOT context. I have looked at the JSESSIONID that is set in the cookie, which is sent back to Chrome and it changes on every request, while it does not for IE and Firefox.
I am at a loss here. Any ideas are welcome!

Similar Messages

  • Create new session for each window opening

    From a jsp page i open a page called student.jsp by clicking on students admision no.Therefore lots of pages can be opend in new windows with relevent student details.
    but when i click on the link i called a servlet, get relevent details and redirect to student.jsp. The problem is ,all opened windows have same session id and there are session conflicts.
    How can i create new sessions for each page thru the servlet or is there any other alternatives

    I actually was working on a problem that was similar to this, and the problem is with how each web-browser works with sessions...
    Each browser window (Except in one case with IE) will use the same session in each window.
    However, you might be able to use URL-Rewritting to manage your sessions and get around using cookies for for session tracking. I personally haven't tried this, but I'm betting that it will work.
    Best of Luck,
    Nate

  • What is the function code of create new session?

    what is the function code of create new session?
    thanks...

    Hi
    Please put a "/n" (to open a new session after killing the current session)
    or "/o" (to open a new session without killing the current session)
    or "/i" (to end the current session) before the below T Codes as per your requirement...
    <u><b>For more Tcodes check the following</b></u>
    =>smartforms - Smartforms (SAP Form Builder to Create and Adjust Forms)
    =>cmod - Enhancements, User Exits (Project Tool to coordinate changes into projects for the purpose of activating all user exits for a particular project)
    =>sale - ALE Customizing
    =>bale - Distribution Administration (ALE)
    =>wedi - IDOC Type and EDI Basis
    =>shdb - BDC (Transaction Recorder)
    =>lsmw - LSMW
    =>bapi - BAPI
    =>spau - Display Modified DE Objects
    =>spdd - Display Modified DDIC Objects
    =>sara - central idoc archiving
    =>stms - Transport Management System
    =>wedi - IDOC Type and EDI Basis (IDOC Configuration)
    =>bd21 - Analyze change pointers - create IDOC from change pointer
    =>bd10 - Send Material Master
    =>bd12 - Send Customer Master
    =>bd14 - Send Vendor Master
    =>bd50 - Activate Change Pointer for Message Type
    =>bd55 - Conversion rule user exit (Link conversion rule user exit to the different system \ partner combinations)
    =>bd54 - Maintain Logical Systems
    =>bd71 - Distribute Customer Model
    =>bd87 - Process Inbound IDOCs
    =>bd88 - Process Outbound IDOCs
    =>bdm2 - Cross-system IDOC Reporting
    =>bdm7 - ALE Audit - statistical analyses
    =>bdm8 - ALE Audit - sending confirmations
    =>bd61 - Activate Change Pointer generally
    =>bmv0 - Direct Input Data Transfer Administration
    =>rz04 - Operation Mode
    =>rz12 - RFC Server Group Maintenance
    =>sar3 - Archiving object customizing
    =>s001 - SAPoffice Inbox
    =>s010 - Standards Texts (SAP Script)
    =>se01 - Transport Organizer (Extended View - Performing and managing the transport of development object across different systems)
    =>se09 - Transport (Workbench) Organizer (Controlling and keeping track of Development work and Development Objects)
    =>se24 - Class Builder (BAPI)
    =>se30 - Runtime Analysis
    =>se36 - LDB
    =>se37 - Function Builder
    =>se38 - ABAP Editor (to modify ABAP programs)
    =>se39 - Split-Screen-Editor
    =>se11 - ABAP Dictionary
    =>se16 - Data Browser (Table contents display)
    =>se41 - Menu Painter
    =>se51 - Screen Painter
    =>se71 - SAPScript Forms
    =>se73 - SAPScript Font Maintenance
    =>se75 - Graphic Objects and Graphic IDs Sapscript Settings
    =>se78 - Administration of Form Graphics (Import Graphics into SAP System)
    =>se80 - Object Navigator
    =>se84 - ABAP Repository Information (search for SAP objects)
    =>se91 - Message Maintenance
    =>se93 - Maintain T codes
    =>su01 - User Maintenance (Security)
    =>su02 - Maintain Authorization Profiles
    =>su03 - Maintain Authorizations
    =>slg1 - Evaluate Application Log
    =>sm12 - Lock Entries
    =>sm21 - System Logs
    =>sm36 - Background Job Scheduling
    =>sm37 - Background Job Monitoring (display batch jobs)
    =>sm31 - Table Maintenance
    =>sm30 - Calling View Maintenance
    =>sm35 - Batch Input Monitoring (Error Logs)
    =>sm50 - Process Overview
    =>sm58 - Transactional RFC Monitoring
    =>sm59 - Maintain RFC Destinations (Define RFC Configuration)
    =>snro - Number Range Objects (for IDOCs)
    =>scc4 - Client Overview (Create, Quick Delete, Modify)
    =>spro - Customizing, Execute Project
    =>sp01 - Spool Administration
    =>sq01 - Maintain SAP Queries
    =>st02 - Buffer Analysis (Status Overview)
    =>st03 - Workflow Analysis
    =>st05 - Performance SQL trace (Tracking the Database calls from the System Transaction and Programs)
    =>st22 - ABAP Dump Analysis, check logical runtime errors
    =>/h - ABAP Debugger
    =>we02 - Display IDOC
    =>we05 - IDOC lists
    =>we07 - IDOC statistics
    =>we12 - Inbound processing of outbound file - convert outbound to inbound file
    =>we14 - Process (dispatch) IDOCs through Port - RSEOUT00
    =>we15 - Outbound IDOC from NAST - message control
    =>we16 - Inbound File
    =>we18 - Generate status file
    =>we19 - Test tool
    =>we20 - Add new Message Type to Partner Profile
    =>we21 - Maintain Port Definition
    =>we30 - IDOC Type development
    =>we31 - IDOC Segment development
    =>we41 - Process Code Outbound
    =>we42 - Process Code Inbound
    =>we46 - IDoc Administration
    =>we47 - Status Code Maintenance
    =>we57 - Assign function module to logical message and IDoc type
    =>we63 - IDOC Type for Parser Output
    =>we82 - Assign IDOC to Message Type
    =>we60 - IDOC Documentation - IDOC Types
    =>we61 - IDOC Documentation - IDOC Record Types
    =>we81 - Create new IDOC Message Types
    =>we82 - Assign IDOC to Message Type
    =>pa20 - Display HR Master Data
    =>pa30 - Maintain HR Master Data
    =>bd59 - Create and assign Filter Object Type for Message Type
    =>bd64 - Maintenance of ALE or any other Distribution Model
    =>db02 - Storage Management and Database Performance
    =>db14 - Database monitor
    =>se18 - BADI definitions
    =>se19 - BADI implementations
    =>fd03 - Accounts Receivable Master Data (Display Customer in Accounting)
    =>me22 - Change Purchase Order
    =>me21 - Create Purchase Order
    =>me51 - Create Purchase Requisition
    <u><b>Official source of SAP T Codes -</b></u>Go to se11 or se16 and view table entries for
    TSTC and TSTCT. This will give you the Transaction List.
    Reward all helpfull answers
    Regards
    Pavan

  • Creating new session manually

    This is the scenario:
    I'm using ie6. If I open a new window by clicking File-->New-->Window, it will open a new window with the same session as the opener window.
    Now in my new window, I go to my login page, and in my login code, I set some value to the session, which will overwrite the value of the session in both window.
    But what I actually intend to do is when the new window do the login, I want it to have a new session, so it won't overwrite the session in the first window.
    I'm sorry if my explanation is a bit confusing. In short, what I want to do is create new session manually using java code. Is that possible?

    No it is not possible.
    The server can only issue a new session if it can distinguish between browser windows.
    The internet browser treats the windows as being the same session, and that's what it tells the server.
    If you start a new instance of IE using the shortcut from the desktop, that creates a seperate session, but any 'child' windows opened by javascript, or by file:new window are part of the same process.

  • Stop to Create New Session.

        Hi Expert.
    Please help me,  We have create some Z module , For security Purchase we are create Z Logon Screen for Our Module.
    Now Problem : Here Some Time End user direct work without to Logon. There are create new session. 
    Required Solution : Stop to Create New Session Till User not Logon Successfully.
    Please refer below screen.....
    thanks.
    Pradip Patel.

    You said for security reasons you provided your users the possibility with another logon inside the SAP Logon? So there is another part of the applications that are accessed only when the user has the rights to work there? If so, shouldn't in-built roles assigned to the user be all that is necessary?
    You should not be trying to disallow the user to create another session - as the session itself does not grant to him / her any privilegues. It is just another place where the user can work. And it should be held like that.
    But maybe I did not catch your requirement - please provide more information about the Z-logon screen. What is it?

  • SAPGUI iview from SAP Portal = create new session  results in empty screen

    we use ep700 sp10 and sapgui 6.40 compilation 5 . we have a sapgui iview which starts the login to the R/3 system and shows the user menu with some transactions.
    if the user now creates a new session  with the buttom "create new session" in the sapgui screen he gets a new but empty session  ==> i expected , that he gets the normal sap entry screen with the user and sap menu.
    does anybody now how to get that ?
    many thanks hannes toefferl

    Hi,
    Go to the file .../irj/root/WEB-INF/portal/portalapps/com.sap.portal.appintegrator.sap/property/Transaction/WinGuiRenderLayer.properties
    In this file, change -wp=true to -wp=false and also Workplace=true to Workplace=false.
    Restart the portal for the change to take effect.
    Hope this helps.
    Cheers,
    Sunil
    PS: Reward points for helpful answers.

  • HOW CAN I KNOW THE FUNCTION CODE OF CREATE NEW SESSION

    <b>HOW</b> CAN I KNOW THE FUNCTION CODE OF CREATE NEW SESSION?
    THANKS...

    Hi
    Please put a "/n" (to open a new session after killing the current session)
    or "/o" (to open a new session without killing the current session)
    or "/i" (to end the current session) before the below T Codes as per your requirement...
    Try thistoo <b>O0</b>
    <u><b>demo-like programs</b></u>
    RSIMC000
    RSIMC001
    RSIMC002
    RSIMC003
    RSIMCTRX
    RSIMCTST
    Reward all helpfull answers
    Regards
    Pavan

  • Security Network Layer (SNC) error when creating new session

    in SAPGUI 710, suddenly some users are getting a popup message ("Security Network Layer SNC error") when they use the Create New Session toolbar button.
    SSO works fine when they connect from SAP Logon, its only when attempting to open secondary sessions.  Also, its only some users.
    Where would I find log information resulting from the error?  Or any suggestions on steps to troubleshoot?
    Thanks!

    Hello Erik,
    Issue actually belongs to BC-SEC-SNC, not SAPGUI.
    The attached note advises how to run a trace to get more information about the issue
    150104 collecting dev_trace of user session via SM04
    If you recreate the issue again with the active trace, you might have more sucess with a reply.
    Just to advise that 7.10 is out of support and 7.20 should be used as soon as possible.
    Kind Regards,
    Jude

  • Create New Session with SAPShortcut Logon

    Hello
    Following Problem:
    We start a SAPLogon for Windows  with Shortcut File from our  Portal. There we want to create a new Session , we get a blank SapGui screen without favorites an menu????
    Portal Version  EP7 SP10

    I found the solution in the following Thread . Answer posted from Sunil Nair
    SAPGUI iview from SAP Portal => create new session results in empty screen   
    Posted: Apr 25, 2007 6:00 PM    in response to: HANNES TOEFFERL       E-mail this message      Reply 
    Hi,
    Go to the file .../irj/root/WEB-INF/portal/portalapps/com.sap.portal.appintegrator.sap/property/Transaction/WinGuiRenderLayer.properties
    In this file, change -wp=true to -wp=false and also Workplace=true to Workplace=false.
    Restart the portal for the change to take effect.
    Hope this helps.
    Cheers,
    Sunil
    PS: Reward points for helpful answers.
    .... This works great!!!!

  • How do I create new sessions in Firefox with no add ons ? Need not be logged in user sessions .

    Hi, From our integrated desktop application,We launch web applications .On using firefox to navigate to the webpage which is depending upon the context of the user's page opened,new session has to be created for each user.However I could not find the support parameters in about:config. FF version being used is FF 3.6 .No possibility to include external addons to support this feature.Is there a way to create multiple new sessions ?

    What do you mean by "multiple new sessions"?
    Firefox 31 is the current release version, Firefox 3.6 is over 2 years beyond being supported by Mozilla.

  • OCI Punchout - Standard Call Structure - Creates new session each request

    Hello all,
      I am having trouble with a customer attempting to do OCI Punchout with the Standard Call Structure.  I have other customers successfully punching out in this same system.  Here is a breakdown of what is happening.  Our catalog is a combination of classic ASP with VB6 Com objects
    1 - The user POSTs their call structure to our /ocilogin.asp page and we set a session variable after successfully log in
    2 - The user is then redirected to our /MainFrameLoad.asp page which houses our catalog.
    3 - The problem occurs here because the Session_OnStart method in the global.asa file is called again, which should not happen because session has already been established.  The logic in this method checks for the session variable created in /ocilogin.asp but it does not exist. 
    4 - It looks for a username/password via querystring and does another login, which then redirects them again to /MainFrameLoad.asp and the infinite loop begins.
    I'm convinced that their system is creating new unique requests each time which is causing the session variable to disappear.  I've tested their ability to accept cookies, which would also effect session variables, but that seems to be fine on their end. 
    My question is how can I tell if their system is properly handling cookies/requests?  I have plenty of example of people punching out with the exact same call structure, but its just their system that seems to have the issue.

    Hi,
    SRM 7.0 catalog integration differs from previous releases, the reliance on OCI 4.0 compliance is much stricter, please see the note [1287412 |https://service.sap.com/sap/support/notes/1287412]for more details on the required settings in the SRM system, perhaps let your customer also know about this note.
    Regards,
    Jason

  • Creating new Session

    Hi All,
    When I open one window in javascript using window.open it has the same session as the parent window.
    Is there any option I can make the new session for the new window.
    Thanks
    Vineet Bhatt

    If your app. server is set up to accept session id's to be carried in the URL, then supply an empty or incorrect value as the session id and the application server will react by issuing you a new session.

  • Is it possible to create new shortcuts for pages esp footnote

    Hi
    Is it possible to create shortcuts in Pages? Hidden preferences?
    I'd like to have something for inserting footnotes.
    Via thirdparty apps?
    Thanks for hints
    Regards
    Martin
    G4 Quicksilver 800, powerbook 15'', 1,33   Mac OS X (10.4.8)   1,25 RAM and 768 RAM

    Martin, it's possible to create shortcuts for any menu item in any OS X application. You do this by going to the System Preferences, in the Keyboard and Mouse pane, under the Keyboard Shortcuts tab. See this posting for more details.
    This is an extremely powerful feature of OS X, and it is unfortunate that is it not better known.

  • How can I modify the default styles or create new ones in pages for IPad?

    Hi, I have recently bought the pages for IPad App. It is nice, but I wonder How to modify the default styles or create My own ones...Can anyone help me?

    Unfortunately, pages on the iPad does not support editing styles. The mac version is an extremely powerful piece of software (I know someone who has recently completed their PhD thesis in it), but the iPad version has only a fraction of the features.
    The only word processor for the iPad I'm aware of that fully provides support for styles is UX Write - see http://www.uxproductivity.com (disclaimer: I've been involved with the development of this app). This is designed for the sort of high-end professional authoring tasks that you can do with Pages for Mac. Customisable styles are one of the most fundamental aspects of this app, and it provides extensive formatting options and the ability to define your own, new, custom styles.

  • Idea of change frame or display ? howto create new view / different page?

    hi, good day,
    i have create a tabpanel , tabpanel contains 4panel ,
    mainpanel (main panel which hold searchpanel n tree panel n btnPanel) , searchpanel (left) and tree panel (right)
    and say i have 3 buttons, buttons are locate in btnpanel
    click on button A - it give me current view with my existing mainpanel, searchpanel, n tree panel
    click on button B - it give me another view with different panels
    and also button C for other view ,
    in short , i want something like web , click on button A - give me page A , button b will show page B ..
    only different is , button panel doesn't need change
    i'm not sure how to do it in swing ? can someone please contribute some ideas ...any example will appreciated ...and thank you very much for guidance :)

    Use a [url http://java.sun.com/docs/books/tutorial/uiswing/layout/visual.html]Card Layout.

Maybe you are looking for