Multiple sessions problem

I have struts 1.3 based portal project running on WLP 10.3.2. I am exposing a struts porlet over WSRP. when the porlet is consumed, i see multiple sessions being created for a single request. Below is the text form console. Note: I am using all the default configuration that comes when i create a new project.
2010-09-15 11:14:42,832 DEBUG - - - V9sGMQvC5qqJyRhyZkHVhKy8ds2YVyBBbXJjyG02LQFLpBynx96x!-1496224653!1284563682831 - session created
2010-09-15 11:14:44,986 DEBUG - - - lhNyMQvGxzb6hKm7WkpqhsQ1nh6TVghnDLdM8hsGTFxQnLswZDTG!-1496224653!1284563684986 - session created
2010-09-15 11:14:45,000 DEBUG - - - 3qsgMQvG303NKtJKjbTh2Mt1Qpc1Lnr2lSGsFwvQJ0YW21jvl2DJ!-1496224653!1284563684999 - session created
2010-09-15 11:14:45,011 DEBUG - - - 3Dz7MQvFKhdrRpYQ7KS8s017pCf2wz17pvhx8JpXv5D7mfJLlx5f!-1496224653!1284563685011 - session created
2010-09-15 11:14:45,045 DEBUG - - - 0PDHMQvFWh29zwT1hhNvcQM4fvk0LhHTp1L2QZQywxLg9P4jzZH2!-1496224653!1284563685045 - session created
2010-09-15 11:14:45,053 DEBUG - - - 48b8MQvFkpv6GgVjV5p8qvpXgwvlPnVZGpkRMcWkLCTZN7tNvzHJ!-1496224653!1284563685052 - session created
2010-09-15 11:14:45,062 DEBUG - - - 2DMTMQvFBlPWl1zT7b6QYhYWGW0pF7z1mQVvCJ7CY8TJbkYbm1Tl!-1496224653!1284563685062 - session created
2010-09-15 11:14:45,075 DEBUG - - - 134GMQvFsFG0Jh7WtGvgv8LSg2GLc8hTZ6vTMNGGm8c5D4vwBhbH!-1496224653!1284563685075 - session created
2010-09-15 11:14:45,109 DEBUG - - - bz9mMQvF9Fn20qp17v1fPyHG3WWP1VVdn6rbXn5FT1y9LKhZVqK4!-1496224653!1284563685109 - session created
2010-09-15 11:14:45,116 DEBUG - - - PhFpMQvFnJdl5v2jNhtp0GKSvrWNZJlTww2QrNdVLHLpQcRZzvbM!-1496224653!1284563685116 - session created
2010-09-15 11:14:45,123 DEBUG - - - n4tGMQvFMGJVyRYGG5g709xjMQHwTlvpJ4Nn7J5TTPpHbrJDfG1v!-1496224653!1284563685123 - session created
2010-09-15 11:14:45,133 DEBUG - - - 8MjGMQvFGTvDJJz34CznJ1PgSpFfyQnhL9N7sv4n9NfqvRyMrqz1!-1496224653!1284563685133 - session created
2010-09-15 11:14:45,153 DEBUG - - - 1NTdMQvFD5nn9yJSc6tp3v7D7lnFGJdJyBScrvXFfwJSPpGFVcTy!-1496224653!1284563685153 - session created
2010-09-15 11:14:45,158 DEBUG - - - PNvdMQvF52J1BJVvG0FQG92JzdLwZtQj0hyLLMh0gJ1C1rXYK2Pn!-1496224653!1284563685158 - session created
2010-09-15 11:14:45,167 DEBUG - - - 6h8kMQvF2HhrhZLK835WTnvvzrbQvPdRrTYGJv8jT1vY9gwFGkps!-1496224653!1284563685167 - session created
2010-09-15 11:14:45,233 DEBUG - - - npMJMQvFqBtGyp6TtvhtrQ1MzvQFJDYNGJmvGGQ2zwbVxbFp2LHn!-1496224653!1284563685233 - session created
2010-09-15 11:14:45,240 DEBUG - - - G0DnMQvFkPFZpq2hNGVMyL2v1n1ZK7pR95rp4dJC2P8n4ndNypLX!-1496224653!1284563685240 - session created
2010-09-15 11:14:45,248 DEBUG - - - 6vpkMQvF8Q9ykBjFQr2VysX6bCyb0gwzycSzzwnqRg4lYk8L5zkZ!-1496224653!1284563685248 - session created
2010-09-15 11:14:45,255 DEBUG - - - sydnMQvF50MnDwhj40y8RRyR5DhJk2f2fJJqGL1dHp8qNbnppHn2!-1496224653!1284563685255 - session created
2010-09-15 11:14:45,275 DEBUG - - - qYyFMQvFdXD0yY2QLbFL1TsJKPtplDsJTJknTq16Fb4rg5XMT0XT!-1496224653!1284563685275 - session created
2010-09-15 11:14:45,335 DEBUG - - - pjjhMQvFs4JrmkcG0dK1SL2r4XGkYJ1p1kQhJQxZ0PnLdv5Qk1hQ!-1496224653!1284563685334 - session created
Any resolution..thanks.

Diego
When you logged in first time, it creates one session.
But after that if you navigate to different transactions it shows in the second session.But it does not open new session for each link(ie Shop, confirmation, etc). Instead old session closes and new session opens.
When it comes to CCM, obviously new session opens as you are connecting to new application by keeping open the existing one(Shop).
But how does it matter to your application?
Does it show any impact on the performance?
Regards
Jagadish

Similar Messages

  • Multiple session problem

    Hi,
    I am using Sen One WEb Server 6.1 as web server, if i am logging in using two different browser instances with two different userids but web container is maintaining only one instance. could you pls help me in solving this.
    Thanks in advance
    chandra

    chandra,
    I think this problem is not related to the container. This is a browser problem!
    What kind of login mechanis do you use?
    With basic auth the browser share the login datas durign the complete browser session and ( firefox ) all tabs.
    IMHO the only way to solve this is, to use form based auth and don't use cookies for the sessiontracking. So you get the session in the url and this url isn't shared like cookies and basic auth informations.
    regard Dietmar

  • How to deal with multiple sessions?

    My application has requirement that number of users can log simultaneously. They can search documents, browse the site, etc. Now the funtions they can perform depend on their user type. So to keep track of their userids and usertypes, do i need to create different sessions for each of them?
    If yes, how do i tackle such a multiple session problem? ( Say if an user of type A clicks the search documents button, how do i know which session he belongs to?)
    If no, what else can i use?

    Hi,
    You only need to maintain different user types and assign one or more types to your users. You can have another table that say what privileges each user type has. Then the first time the user logs in, you fetch this information and store it in your session. Then when the user tries to do something, all you do is get his user type and see if the user type has permissions to do that specific action. You then allow or disallow him from doing the action.
    Hope this helps.
    Cheers,
    vidyut

  • Multiple session bean problem

    Hi,
    I am developing an admin module to my web app and have created a 2nd session bean to manage data within the admin component of the site just to keep things cleaner and more logical. However there is a problem which I cannot overcome.
    The source code to my main website is located in soulsurfing package. The source code to my admin website is located in soulsurfing.admin package. Inside this package is the java code to my admin web pages and a 2nd session bean called adminSessionBean. So far so good.
    I dropped a database table into my admin page which created a cachedrowset (CustomerRowSet) in my adminSessionBean and a data provider on my admin page (CustomerDataProvider). Ok things are still going well until now.
    There are two main issues i'm facing.
    1. Setting a breakpoint in my code and trying to step through the code line by line (F10) fails whenever the adminSessionBean appears in the line of code. In actuality the system just hangs until I exit debug mode in which the page finishes loading ok. If I step into the code (F11) it still works ok and if there is no breakpoint at all it loads ok too so there is something wrong with the debugger.
    2. Most importantly there is a problem with either the cachedrowset or the data provider because it simply does not return any data from the database. The sql query works fine in both MySQL and when running from creator too so no problem here. If I put a line of code in to capture the sql statement such as String test_var3 = getAdmin$adminSessionBean().getCustomerRowSet().getStatement().toString() a null exception is thrown. However if I ditch the 2nd session bean (adminSessionBean) and run everything exactly the same through the original session bean (SessionBean1) located in soulsurfing package then it all works fine so there must be conflict somewhere with having multiple session beans perhaps in different packages.
    Can anybody help me?
    Below is the java code to my web page that sets and executes the cachedrowset in the prerender method that is failing. Further below that is the code to my 2nd session bean.
    Thanks.
    customer_list.java
    package soulsurfing.admin;
    import com.sun.rave.web.ui.appbase.AbstractPageBean;
    import com.sun.rave.web.ui.component.Body;
    import com.sun.rave.web.ui.component.Form;
    import com.sun.rave.web.ui.component.Head;
    import com.sun.rave.web.ui.component.Html;
    import com.sun.rave.web.ui.component.Link;
    import com.sun.rave.web.ui.component.Page;
    import javax.faces.FacesException;
    import com.sun.rave.web.ui.component.TextField;
    import com.sun.rave.web.ui.component.Button;
    import com.sun.rave.web.ui.component.PageSeparator;
    import com.sun.rave.web.ui.component.StaticText;
    import com.sun.rave.web.ui.component.Table;
    import com.sun.rave.web.ui.component.TableRowGroup;
    import com.sun.rave.web.ui.component.TableColumn;
    import com.sun.data.provider.impl.CachedRowSetDataProvider;
    import com.sun.rave.web.ui.component.MessageGroup;
    import com.sun.rave.web.ui.model.DefaultTableDataProvider;
    public class customer_list extends AbstractPageBean {
        private int __placeholder;
        private void _init() throws Exception {
            customerDataProvider.setCachedRowSet((javax.sql.rowset.CachedRowSet)getValue("#{adminSessionBean.customerRowSet}"));
        private Page page1 = new Page();
        public Page getPage1() {
            return page1;
        public void setPage1(Page p) {
            this.page1 = p;
        private Html html1 = new Html();
        public Html getHtml1() {
            return html1;
        public void setHtml1(Html h) {
            this.html1 = h;
        private Head head1 = new Head();
        public Head getHead1() {
            return head1;
        public void setHead1(Head h) {
            this.head1 = h;
        private Link link1 = new Link();
        public Link getLink1() {
            return link1;
        public void setLink1(Link l) {
            this.link1 = l;
        private Body body1 = new Body();
        public Body getBody1() {
            return body1;
        public void setBody1(Body b) {
            this.body1 = b;
        private Form form1 = new Form();
        public Form getForm1() {
            return form1;
        public void setForm1(Form f) {
            this.form1 = f;
        private TextField textField1 = new TextField();
        public TextField getTextField1() {
            return textField1;
        public void setTextField1(TextField tf) {
            this.textField1 = tf;
        private TextField textField2 = new TextField();
        public TextField getTextField2() {
            return textField2;
        public void setTextField2(TextField tf) {
            this.textField2 = tf;
        private Button button1 = new Button();
        public Button getButton1() {
            return button1;
        public void setButton1(Button b) {
            this.button1 = b;
        private Button button2 = new Button();
        public Button getButton2() {
            return button2;
        public void setButton2(Button b) {
            this.button2 = b;
        private PageSeparator pageSeparator1 = new PageSeparator();
        public PageSeparator getPageSeparator1() {
            return pageSeparator1;
        public void setPageSeparator1(PageSeparator ps) {
            this.pageSeparator1 = ps;
        private StaticText staticText1 = new StaticText();
        public StaticText getStaticText1() {
            return staticText1;
        public void setStaticText1(StaticText st) {
            this.staticText1 = st;
        private StaticText staticText2 = new StaticText();
        public StaticText getStaticText2() {
            return staticText2;
        public void setStaticText2(StaticText st) {
            this.staticText2 = st;
        private Table table1 = new Table();
        public Table getTable1() {
            return table1;
        public void setTable1(Table t) {
            this.table1 = t;
        private TableRowGroup tableRowGroup1 = new TableRowGroup();
        public TableRowGroup getTableRowGroup1() {
            return tableRowGroup1;
        public void setTableRowGroup1(TableRowGroup trg) {
            this.tableRowGroup1 = trg;
        private MessageGroup messageGroup1 = new MessageGroup();
        public MessageGroup getMessageGroup1() {
            return messageGroup1;
        public void setMessageGroup1(MessageGroup mg) {
            this.messageGroup1 = mg;
        private CachedRowSetDataProvider customerDataProvider = new CachedRowSetDataProvider();
        public CachedRowSetDataProvider getCustomerDataProvider() {
            return customerDataProvider;
        public void setCustomerDataProvider(CachedRowSetDataProvider crsdp) {
            this.customerDataProvider = crsdp;
        private TableColumn tableColumn2 = new TableColumn();
        public TableColumn getTableColumn2() {
            return tableColumn2;
        public void setTableColumn2(TableColumn tc) {
            this.tableColumn2 = tc;
        private StaticText staticText4 = new StaticText();
        public StaticText getStaticText4() {
            return staticText4;
        public void setStaticText4(StaticText st) {
            this.staticText4 = st;
        private TableColumn tableColumn3 = new TableColumn();
        public TableColumn getTableColumn3() {
            return tableColumn3;
        public void setTableColumn3(TableColumn tc) {
            this.tableColumn3 = tc;
        private StaticText staticText5 = new StaticText();
        public StaticText getStaticText5() {
            return staticText5;
        public void setStaticText5(StaticText st) {
            this.staticText5 = st;
        private TableColumn tableColumn11 = new TableColumn();
        public TableColumn getTableColumn11() {
            return tableColumn11;
        public void setTableColumn11(TableColumn tc) {
            this.tableColumn11 = tc;
        private StaticText staticText13 = new StaticText();
        public StaticText getStaticText13() {
            return staticText13;
        public void setStaticText13(StaticText st) {
            this.staticText13 = st;
        public customer_list() {
        protected adminSessionBean getAdmin$adminSessionBean() {
            return (adminSessionBean)getBean("admin$adminSessionBean");
        protected soulsurfing.ApplicationBean1 getApplicationBean1() {
            return (soulsurfing.ApplicationBean1)getBean("ApplicationBean1");
        protected soulsurfing.SessionBean1 getSessionBean1() {
            return (soulsurfing.SessionBean1)getBean("SessionBean1");
        protected soulsurfing.RequestBean1 getRequestBean1() {
            return (soulsurfing.RequestBean1)getBean("RequestBean1");
        public void init() {
            super.init();
            try {
                _init();
            } catch (Exception e) {
                log("customer_list Initialization Failure", e);
                throw e instanceof FacesException ? (FacesException) e: new FacesException(e);
        public void preprocess() {
        public void prerender() {
            try {
                if (getAdmin$adminSessionBean().getFilter1().equalsIgnoreCase("")) {
                    getAdmin$adminSessionBean().getCustomerRowSet().setString(1, "%");
                } else {
                    getAdmin$adminSessionBean().getCustomerRowSet().setString(1, getAdmin$adminSessionBean().getFilter1());
                if (getAdmin$adminSessionBean().getFilter1().equalsIgnoreCase("")) {
                    getAdmin$adminSessionBean().getCustomerRowSet().setString(2, "%");
                } else {
                    getAdmin$adminSessionBean().getCustomerRowSet().setString(2, getAdmin$adminSessionBean().getFilter2());
                getAdmin$adminSessionBean().getCustomerRowSet().execute();
                customerDataProvider.refresh();
                customerDataProvider.cursorFirst();
                getAdmin$adminSessionBean().setRowCount(customerDataProvider.getRowCount());
                getAdmin$adminSessionBean().setMsg(getAdmin$adminSessionBean().getRowCount() + " records returned.");
                //i have a breakpoint here which hangs when stepping over code however works if breakppoint not set
                String test_var1 = getAdmin$adminSessionBean().getFilter1();
                int test_var2 = getAdmin$adminSessionBean().getRowCount();
            } catch (Exception e) {
                log("Exception occurred!!", e);
                error("Error: "+e.getMessage()); //null exception is being caught
        public void destroy() {
            customerDataProvider.close();
    adminSessionBean.java
    package soulsurfing.admin;
    import com.sun.rave.web.ui.appbase.AbstractSessionBean;
    import javax.faces.FacesException;
    import com.sun.sql.rowset.CachedRowSetXImpl;
    public class adminSessionBean extends AbstractSessionBean {
        private int __placeholder;
        private void _init() throws Exception {
            customerRowSet.setDataSourceName("java:comp/env/jdbc/SoulSurfing_User");
            customerRowSet.setCommand("SELECT * \nFROM customer ");
            customerRowSet.setTableName("customer");
        private CachedRowSetXImpl customerRowSet = new CachedRowSetXImpl();
        public CachedRowSetXImpl getCustomerRowSet() {
            return customerRowSet;
        public void setCustomerRowSet(CachedRowSetXImpl crsxi) {
            this.customerRowSet = crsxi;
        public adminSessionBean() {
        protected soulsurfing.ApplicationBean1 getApplicationBean1() {
            return (soulsurfing.ApplicationBean1)getBean("ApplicationBean1");
        public void init() {
            super.init();
            try {
                _init();
            } catch (Exception e) {
                log("adminSessionBean Initialization Failure", e);
                throw e instanceof FacesException ? (FacesException) e: new FacesException(e);
        public void passivate() {
        public void activate() {
        public void destroy() {
        private String filter1 = "";
        public String getFilter1() {
            return this.filter1;
        public void setFilter1(String filter1) {
            this.filter1 = filter1;
        private String filter2 = "";
        public String getFilter2() {
            return this.filter2;
        public void setFilter2(String filter2) {
            this.filter2 = filter2;
        private int rowCount;
        public int getRowCount() {
            return this.rowCount;
        public void setRowCount(int rowCount) {
            this.rowCount = rowCount;
        private String msg;
        public String getMsg() {
            return this.msg;
        public void setMsg(String msg) {
            this.msg = msg;
    }

    Hi Harini,
    What I didn't explain in my initial post is that there are more than 2 views in my application.  There are a total of 9 jsp's so far, so I coded multiple controllers due to the high amount of views.  After taking the HTMLB training class, I noticed that the examples used contained no more than 2 jsp's, so only 1 controller was needed.
    However, I talked with another Portal developer, and he suggested that it would be simpler to code the application using only 1 controller.  The problem is, I will have 1 LOOOOONG controller since there are many buttons across all of the jsp's (hence many events that will need to be handled) and many beans that need to be populated.
    Harini, thanks very much for offering to view my par file.  I think I have solved the problem on my own, but could you let me know what the design standard is for an application of this size?  Think of an online banking application that needs to handle bill payment (paying the bill, viewing past payments, etc.,).
    Would you use 1 controller for this type of application?
    Thanks very much for your help.
    -Jamie

  • Problem: Multiple sessions per user (automatic) ?

    Hi guys,
    I have a very bad behavior with multiple sessions in SRM 4.0 sp8.
    The problem is:
    1. When the employee enter into the system one session is created
    2. The same employee click the "Shop" link and a 2nd. session is created for the same user !
    3. The same employee click the catalog link (CCM) and a 3rd. session is created !
    Anybody knows how to solve this ?  
    Thank you !!!
    Kind regards,
    diego

    Diego
    When you logged in first time, it creates one session.
    But after that if you navigate to different transactions it shows in the second session.But it does not open new session for each link(ie Shop, confirmation, etc). Instead old session closes and new session opens.
    When it comes to CCM, obviously new session opens as you are connecting to new application by keeping open the existing one(Shop).
    But how does it matter to your application?
    Does it show any impact on the performance?
    Regards
    Jagadish

  • Multiple Sessions in CMC for the same user

    Hello,
    Version:  BOE XI R2 SP3
    A user opens an Xcelsius Dashboard.  As they are using the dashboard, multiple calls are being made through QaaWS to the database.  In CMC, we can see multiple sessions created for that user.  However, this is not 100% consistent.
    Why are there multiple sessions created for one user consuming one dashboard?  Shouldn't everything result in one session?
    Thank you,
    Scott

    Thank you Greg,
    The user shows multiple session after opening and refreshing just one Xcelsius Dashboard over and over again.  It is using QaaWS to get its data.
    Also, as you mentioned, we are also seeing problems with Logout.  Sometimes, users click the logout, but their session does not terminate.  Other times, it does terminate.  And, also, sometimes the logout button does not work.  The user is forced to just close the browser window.
    Any ideas?
    Scott

  • Setup for Discoverer to have multiple sessions opening in different browser

    What is the setup for Discoverer or Windows 6 browser to have multiple discoverer sessions opening in different browser windows at the same time in Discoverer 10g Plus?
    We have implemented Discoverer 10g Plus just to be used as an extract tool. We have some workbooks retrieving 200,000 or more rows from an Oracle database. It is taking 30 to 45 minutes to download. Some users are able to open multiple sessions in different browsers to download more then one worksheet at the time, but we have other users who get an error message that they can only open one session at the time. What is the setup to allow users to open more than one Discoverer session?

    Additional research in Metalink found the following:
    Hdr: 7261918 10.2 USER_JAV 10.1.2.54.25 PRODID-964 PORTID-46
    Abstract: ALLOW ABILITY TO LAUNCH TWO DISCOPLUS SESSIONS FROM SAME BROWSER CONNECTION PAGE
    *** 07/17/08 07:31 am REQUEST TEXT ***
    Please refer to bug 6656139. Need to get Discoverer Plus certified to
    support launching two plus sessions from same browser connections page when
    using SUN JRE 1.5/1.6 or higher.
    As per bug 6656139 it appears to be JVM 1.5.x limitation, because same
    actions work fine when using SUN JRE 1.4.2_xx.
    *** 07/17/08 07:31 am BUSINESS NEED ***
    Impossible to run reports against two different databases simultaniously
    using same Discoverer instace, or just several reports at the same time,
    which would save much time instead of running reports one by one.
    *** 07/19/09 11:57 pm *** (CHG: Sta->97)
    *** 07/19/09 11:57 pm RESPONSE ***
    ALSO SEE THIS FROM SUPPORT
    Error 'Unable To Connect Discoverer Server: Null' When Opening A Second Plus Session From The Same Browser [ID 790187.1]
    Cause
    Bug 6656139, JVM 1.5 : RUNNING TWO PLUS SESSIONS ERRORS WITH UNABLE TO CONNECT: NULL
    The Java Console reports the following error:
    Error: java.lang.StackOverflowError
    java.lang.StackOverflowError
    at java.awt.DefaultFocusTraversalPolicy.accept(Unknown Source)
    at java.awt.ContainerOrderFocusTraversalPolicy.getFirstComponent(Unknown Source)
    at java.awt.ContainerOrderFocusTraversalPolicy.getFirstComponent(Unknown Source)
    at javax.swing.DefaultFocusManager.getFirstComponent(Unknown Source)
    Per Bug 6656139 this problem is a limitation/bug with current Sun JRE 1.5
    and higher and needs to be addressed by Sun.
    Solution
    Currently launching two Discoverer Plus sessions from the same browser connection page is not supported/certified.
    Enhancement Request :
    Bug 7261918, ALLOW ABILITY TO LAUNCH TWO DISCOPLUS SESSIONS FROM SAME BROWSER CONNECTION PAGE
    has been logged for this issue but is still waiting on a Sun Java fix.
    Use the following workaround:
    Use JRE 1.4.2_xx until the ER is implemented and the SUN JRE bug is fixed.

  • How to handle multiple session in ADF using jdevloper11g

    Hello All
    i want to use the form in Multiple sessions.
    i have one sign up form. user enter only 4 to 5 fields & he may not fill the the manditory field & he left.but data base dont give the error to him. but next day he will come at the next day to complet his sign up i.e. when he commit the all detail that time all validation will hapen.
    for that i use one table without constrain to store the temarory detail.& use other table (with constrains) for final submition.
    1) i creat the view n entity for temparory table
    2) & also i create views n entity for Final table
    n i create one methos in viewRowImple file in that file i overrid create method from using this i set the value from tempary to final table...
    but when user left the manditory field then it allow to submit the data in temparory field but when i copy that data to final table(with constrain) n user submit the data then validation happn i.e. "this fild is mandatory".when i click this error message it goes to first screen.
    IS Thiis Possible.. in ADF

    Generally this can be done.
    I see a problem with your use case, which has nothing to do with jdev or java:
    How do you identify the user when he comes back to finish the form?
    For this you can't use information like session cookie or IP address because they change.
    So you have to save some information about the user which lets you identify him when he comes back. All other requirements can be implemented by ADF.
    Timo

  • Multiple session issue

    Hi,
    I have created SAP transaction ivews in my portal with SAP Logon tickets to connect r/3. End users are having tendency to open multiple browser window using Ctrl+N. This way they dont have to login many times and can have many portal window open.
    The problem here is for each new window opned with Ctrl+n it opens a new session in R3. this way there are so many sessions are opened in R3. Is there any way we can prevent multiple sessions in R3?

    Hi Rick.
    I also meet with the same problem , situation.
    We have tried with parameter
    login/disable_multi_gui_login
    but it does not work if login come from EP SSO.
    When user open backend R/3 from EP SSO, it will not be considered as a new connection, so the parameter validation does not work.
    I check the documents. EP has some session management methism to control the too much sessions to backend system.
    And in our project, our solution is that we develop a userexit in R/3. When user login in R/3 from EP for more than 1( the number can be changed as u want ) times, the R/3 will tell user that he can only connect to R/3 for one connection, he can go on ( terminiate the old one ) or quit current.

  • Multiple session are open thought Users log out.

    Hello Gurus,
    I do see at CMC that many sessions are being open for many days even though users are logged out.
    We are using SAP 4.0 (14.0.4)  SP4. It's causing license issues and users are not able to log in.
    We have restarted our VM's and clear the IE browsers as well but issue still remains.
    Can you please help me on this.
    Best Regards,
    Sai

    Hi Sai,
    Could you give more information about BOE products you use and for which datasource type (UNV, UNX ?).
    I know SP04 still had different issues where multiple sessions were created when working on UNX Universes (see https://support.wdf.sap.corp/sap/support/notes/1764372), and it could lead to "lost sessions". There are other similar problems fixed in more recent versions of BOE, so you may think about upgrading your platform at some point to benefit from all these corrections.
    Regards,
    Loic

  • Creating / Handling multiple sessions

    How can I create multiple sessions with Servlets/JSP?
    The requirement is this:
    An admin-type user logs into my application. There, he can see a list of normal (non-admin) users, and should be able to log into those users accounts. Therefore, it is necessary to start a new session as this user, while the he should still be able to be logged into his admin account (and log into more users accounts, if need be). So, the admin session must remain valid, and for each login into a user account, a new session must be created.
    I understand that this is not possible using the standard cookie-based approach, so I turned them off for the respective context in Tomcat and encoded all URLs using <c:url ...>. Still, I don't know how to start a new session, there seems to be no method to do this. When there is an active session, getSession(false) returns it, that's all I get. So how do I create a new session with a new session id?
    While trying to figure this out, I also noticed some odd behavior in Tomcat (Version 6, though this might apply to other Tomcat Versions or even other web containers. If no session is yet active (like, on the Login page of the application), or the active session is being invalidated (as after logout), a new session is created every time one of those pages is accessed. This also happens if no session id is given at all in the URL (and, probably, if an expired session id is submitted, I didn't try this one yet).
    This is not good, simply speaking. This way, the web container will quickly get swamped with ghost sessions that were, on my part, never created, and never used; still, they hang around until they expire, of course.
    Any ideas? :)

    BalusC wrote:
    Tyrathect wrote:
    Bad approach? Could you elaborate please? :)It is just plain cumbersome and coding is impossible without horrible hacks.Hm, why cumbersome? The only difference between your approach and mine is that I would use two seperate sessions, as if the user had logged in using his username and password, while you would use one session for both.
    As for coding, I see no need for hacks. The admin is supposed to be able to create users, enter/change some contact data and do some settings for the users accounts, and log in as that user (without having to ask him for his login credentials) for support cases etc. Where is the need for hacks here? Except maybe if there is no way to create a session from another session...
    but it wouldn't allow for an admin to look into more than one user account at once (right?) which is somewhat a requirement.So you want to impersonate more than one user simultaneously? What's the benefit of this? If you want to switch between users, just go back to the admin panel and pick another user.Yes, or rather, support staff will want to do this.
    This is a common scenario in the company I work for, where 3 support people serve about 1000 active customers (of another, PHP-based project). Customer calls, a supporter will use the admin account to log in to his account and have the problem explained. If the solving takes longer, he will tell the customer that he will look into it and call back when it's sorted out. Now while he is working on this, the next customer calls, so the supporter will use the admin account again to log in this account, also, to have the problem explained etc. If the second problem is solved quickly, he will then just log out of the second customers user session and simply continue working on the first customers problem which is still active in another browser window.
    Now, if the support people can have only one user session open at a time, they will have to close the first customers user session they were working in (probably having to save some work only halfway done) when the second customer calls, log in to that second customers account, help him, log out of the account to go back to the admin panel, log back into the first customer account, resume work there.
    Long story short, while the first approach enables them to do small tasks on the side while working on a bigger problem, this is not possible in the second approach.
    Still, any idea about the rogue sessions when I wrote about in the last paragraph?I don't understand your doubt. Every request should take place in a session. If it isn't there or if it is invalidated/expired, then the appserver will create one. I don't see how that is a problem.Ok, if this is normal behavior, then no problem. I just got suspicios when sessions kept appearing while I was not creating any myself.

  • Multiple Connection Problems

    I am running net8 with oracle 8.1.7 on linux. I have an applet that connects to the database. I seem to lose my connection when another applet starts and connects to the database. Anyone know why I can't get more than one database connection? The applets are started on 2 different machines. Help!
    each applet only uses one database connection and keeps it open throughout the life of the applet.

    I found the problem. I need to add this by adding to the init.ora file a variable that allows multiple sessions. It was not there at install.
    Thanks

  • RemoteApp on Win 2088 R2 Enterprise app only runs in same session how do you get an remoteapp to run multiple sessions?

    Hello All,
    I have a Win 2k8 r2 server, and I have remoteapp configured on it. I have a MS Access, quickbooks, and sage50 that run fine from my rdp icon. My problem is that I want to be able to start multiple sessions of the apps and when I click on the rdp icon again
    it just brings the corresponding rdp app  to the active window instead of opening a new session of the remoteapp I want.
    I set the registry entry to fSingelSessionPerUser to "0" but that made no change. Any help is greatly appreciated

    Hi,
    No, not complete.  There are some lists of settings on the Internet that provide a portion of them.  Here is a MS article:
    RDP Settings for Remote Desktop Services in Windows Server 2008 R2
    http://technet.microsoft.com/en-us/library/ff393699(v=ws.10).aspx
    -TP

  • Multiple session open

    Hi ,
    Application facing problem of multiple session pending for more that 2-3 days using JDBC Thin Client.
    I can see these all querying v$session.
    database is Oracle.
    What could be reason?
    How to find problem as this is due to issue in Oracle or JDBC end.
    Can you please gudie.
    Thanks in Advance.

    Hello,
    Most likely an applicaiton issue so you need to investigate if java application closing connection appropriately. When you query v$session, it shows you status of session , machine name, username and program used to create this session and whole lot.
    Do you have connection pooling at java level or at oracle or not at all? Also looked into following parameter to support increased number of sessions. (processes, sessions, transactions)
    Regards

  • Active Sessions problem for JMX client

    Hello,
    I've written my own JMX client to pull data from MBean Server using instruction from Connecting to an MBeanServer - SAP NetWeaver Composition Environment Library - SAP Library. Client is connecting to server every 5 minutes. After some time I noticed that Active Session Count is rising. Also when checking Login Sessions in VA I see multiple sessions for username provided in JMX client configuration.
    My understanding of this situation is that I initiate new session using RMI-P4 connector, but never terminate it which leaves opened sessions on the server.
    My question is, is ther a way to close connection to MBeanServer?
    Best regards,
    wojtek

    Good morning Jeremy,
    The URL works fine.  The only thing in the NetWeaver log is the NullPointerException. 
    Hmm...  Just brainstorming here.
    The id I am using is the one having the problems with NetWeaver not filling in all the MII session variables.  I suppose there could be a null pointer because of one of those variables being null...  I have an open OSS message about that issue.  Although that would affect the URL too.  
    Would it be a good idea to have the Basis guy check the logging level in NetWeaver?  seems I only see error and fatal.
    Thanks for the suggestion.
    --Amy Smith
    --Haworth

Maybe you are looking for

  • 2651 only rings half the time on call transfer

    I have a 2561 with T1CAS. Incomming calls hit a call handler and are given the option to transfer direct to an extension. When the transfer occurs, The calling party only hears half of the rings. The called party hears them all. For example outside c

  • Mounting a disk opens a finder window

    Hello I have a problem where when a specific hard drive mounts on the desktop, it opens the finder window for a specific folder. I have verified that this is the case by ejecting the disk, and remounting it using Disk Utility. I've tried rebuilding t

  • OSX Crash on quit: mutex_lock

    I tried the workaround with resetting presets but PS still crashes on quit Process:         Adobe Photoshop CC 2014 [56228] Path:            /Applications/Adobe Photoshop CC 2014/Adobe Photoshop CC 2014.app/Contents/MacOS/Adobe Photoshop CC 2014 Iden

  • CREATE TYPE AddressType AS OBJECT

    I use XDK with Oracle 8.1.7. I can't use this example in SQL+ : SQL> CREATE TYPE AddressType AS OBJECT ( 2 STREET VARCHAR2(20), 3 CITY VARCHAR2(20), 4 STATE CHAR(2), 5 ZIP VARCHAR2(10) 6 ); 7 8 9 10 I only type <ctrl C> SQL> Why? null

  • Editing Microsoft Live Meeting video in Premiere Pro

    Hi list... I'm trying to edit a Microsoft Live Meeting video capture in Premiere Pro CS3/Win.  The Live Meeting video is 4fps.  I can make the edits, but it's exporting at 30fps no matter what settings I try to choose, thereby significantly increasin