Forum session login/timeouts

We've had some changes made for session timeouts. Are people still having to constantly log-in throughout the day? Today I've managed to stay logged in without any forum activity for up to 3 hours or slightly longer. Has it improved for others? The login session should now be about 4 hours. It was supposed to be two hours previously, but for some accounts it might have been shorter.
John

John Cornicello wrote:
Thanks for the reports.
I don't quite understand the situation totally myself. On Web Crossing they had a permanent cookie. They never mentioned anything about keeping a session active or things like that. It seemed that you went to the site, the cookie said, yes, you are who you are, and you were in. Here I keep hearing about sessions being open. If you click on Browse in the user bar above and select People, and then click on Show Online Only you will see what I consider an "odd" number. Right now it says there are 1,150 people online. I like to think that the forums are popular, but that seems like a lot. I saw another report that claimed 80,000 unique visitors (not all logged in, many as "guest" users) in a recent 24 hour period.
Anyway, it sounds like there are performance issues with keeping the sessions open for long time that we didn't have or know about in the old system.
On the other (FuseTalk) side, the situation was more like it is here. If you didn't do anything in the forum for a couple of hours you had to log in again.
As I understand it now, the four hour time should be reset any time you click on something or navigate around in the Forum. I have not been able to duplicate the situation of getting logged out while trying to reply. Please, if you can, provide a step by step scenario where that will happen.
I'll keep working towards the best balance of session time vs performance.
Thanks!
John
I don't know that it was a defect or not in WebX they actually issued a permanent Cookie that was set when you used your USER-ID and clicked Remeber me.
In Mozilla web browser Products there is an extension you can get called Web Develope That inserts a Tool Bar. I've described in another thread the items it can view Edit.
In viewing the cookies there was a Adobe Forum Cookie that was not a session cookie it was permanent cookie  with a 20 year  expiration. This cookie would be destroyed when you logged  out and new one was issued. But as long as you were signed signed in and didn't log out, you were login in even through computer shutdowns for days at a time.
If we have to deal with sessions they should at least last last 48-72 hours. And they should not go out in the middle of typing a response. I've had that happen several times. And session timeouts times have been as little as 4 hours.

Similar Messages

  • CF11 : cflogin doesn't "stuck" after session/login timeout

    Hi,
    Since migrating from CFMX7 to CF11 we are experiencing some weird failure with cflogin (using session or cookie storage).
    Basically when we log-in on the application after a session/client timeout the first login doesn't last for longer than the login submit request.
    The second login however is OK
    I made a very simple application.cfc/index.cfm with short timeouts to check this:
    <cfcomponent
    output="false"
    hint="I define the application settings and event handlers.">
            <!--- Define the application settings. --->
            <cfset this.name = hash( getCurrentTemplatePath() ) />
            <cfset this.applicationTimeout = createTimeSpan( 0, 0, 10, 0 ) />
            <cfset this.sessionTimeout = createTimeSpan( 0, 0, 0, 10 ) />
            <!--- Set up the application. --->
            <cfset THIS.SessionManagement = true />
            <cfset THIS.ClientManagement = true />
            <cfset THIS.SetClientCookies = true />
            <cfset THIS.loginStorage = "Session" />
            <cfset THIS.clientStorage = "sidys" />
            <!--- Define the request settings. --->
            <cfsetting showdebugoutput="false" />
            <cffunction
                    name="OnRequestStart"
                    access="public"
                    returntype="boolean"
                    output="true"
                    hint="Fires at first part of page processing.">
                    <!--- Define arguments. --->
                    <cfargument
                    name="TargetPage"
                    type="string"
                    required="true"
                    />
                    <cfset SetLocale("fr_FR") />
                    <cfif IsDefined("Form.logout") or IsDefined("URL.logout")>
                            <cflogout />
                    </cfif>
                    <cflogin idletimeout="20">
                            <cfdump var="#Session#">
                            <cfinclude template="form.inc" />
    <cfif not isDefined("cflogin") or (cflogin.name IS "" OR cflogin.password IS "")>
            <cfoutput>
                    <form method="post">
                    <b>login :</b>
                    <input type="text" name="j_username" size="24" class="champ" />
                    <b>passwordnbsp;:</b>
                    <input type="password" name="j_password" size="15" class="champ" />
                    <input type="submit" value="Login" class="button" name="submit" />
                    </form>
            </cfoutput>
            <cfabort>
    <cfelse>
            <cflock timeout="10" scope="Session" type="exclusive">
                    <cfloginuser name="#cflogin.name#" Password="#cflogin.password#" roles="role">
                    <cfset Session.id=cflogin.name />
            </cflock>
    </cfif>
                    </cflogin>
                    <cfdump var="#Session#">
                    <cfif GetAuthUser() NEQ "">
                            <cfoutput>
                                    <form method="Post">
                                    <input type="submit" Name="Logout" value="Logout">
                                    </form>
                            </cfoutput>
                    </cfif>
                     <cfreturn true />
            </cffunction>
    </cfcomponent>

    I created a directory and copied your code to it. The exception was that I set THIS.ClientManagement to false and commented out the lines <cfset THIS.clientStorage = "sidys" /> and <cfinclude template="form.inc" />.
    The code worked as expected. The files I used in the test are shown below.
    index.cfm
    We are in index.cfm<br>
    <cfdump var="#session#">
    Application.cfc
    <cfcomponent>
    <!--- Define the application settings. --->
    <cfset this.name = hash(getCurrentTemplatePath()) />
    <cfset this.applicationTimeout = createTimeSpan( 1, 0, 0, 0 ) />
    <cfset this.sessionTimeout = createTimeSpan( 0, 0, 0, 10 ) />
    <!--- Set up the application. --->
    <cfset THIS.SessionManagement = true />
    <cfset THIS.ClientManagement = false />
    <cfset THIS.SetClientCookies = true />
    <cfset THIS.loginStorage = "Session" />
    <!--- <cfset THIS.clientStorage = "sidys" /> --->
    <!--- Define the request settings. --->
    <cfsetting showdebugoutput="false" />
    <cffunction
                    name="OnRequestStart"
                    access="public"
                    returntype="boolean"
                    output="true"
                    hint="Fires at first part of page processing.">
                    <!--- Define arguments. --->
                    <cfargument
                    name="TargetPage"
                    type="string"
                    required="true"
                    />
                    <cfset SetLocale("fr_FR") />
                    <cfif IsDefined("Form.logout") or IsDefined("URL.logout")>
                            <cflogout />
                    </cfif>
                       <cflogin idletimeout="10">
                      <!--- <cfinclude template="form.inc" /> --->
                       <cfif isDefined("cflogin.name") AND cflogin.name IS NOT "" AND cflogin.password IS NOT "">
                             <!--- login form submitted, with username and password filled in --->
                             <cfloginuser name="#cflogin.name#" Password="#cflogin.password#" roles="role">
                             <cfset Session.id=cflogin.name />
                      <cfelseif getAuthUser() IS "">
                              <!--- User not yet logged in --->
                              <cfinclude template="loginForm.cfm">
                              <cfabort>
                     </cfif>
                    </cflogin>
            <cfif getAuthUser() NEQ "">
                <cfinclude template="logoutForm.cfm">
                <!--- <cfabort> --->
            </cfif>
        <cfreturn true />
        </cffunction>
    </cfcomponent>
    loginform.cfm
    <div>
    <form method="post">
    <b>login :</b>
    <input type="text" name="j_username" size="24" class="champ" />
    <b>password :</b>
    <input type="password" name="j_password" size="15" class="champ" />
    <input type="submit" value="Login" class="button" name="submit" />
    </form>
    </div>
    logoutform.cfm
    <div>
    <form method="Post">
    <input type="submit" Name="Logout" value="Logout">
    </form>
    </div>
    You will observe that, like you, I set the session and cflogin timeout to a low test value, 10 seconds. When I first opened the URL to index.cfm in the browser, the login form was duly displayed. I entered a name and password and submitted the form.
    I got the index.cfm page again. That time it had the logout button and a dump of the session scope. The dump contained an id (my username), confirming that login was still active. When I re-requested index.cfm, repeatedly in the browser, within around 4 or 5 seconds, its contents remained unchanged.  I then waited for about 15 to 20 seconds, for the login and session to time out.
    I then repeated the procedure of logging in and re-requesting index.cfm every 4 or 5 seconds. I got the same result: its contents remained unchanged. That is the expected behaviour of cflogin and session.

  • A login timeout error in ODI

    Hi ,
    I have been facing following issue since some days of  "A login timeout occured while connecting to the database".
    Although this is not occuring daily in scheduled executions but its been there say 2-3 days apart.
    Error given is as
    ODI-1228: Task SrcSet0 (Loading) fails on the target ORACLE connection OMP.
    Caused By: oracle.odi.jdbc.datasource.ConnectionTimeoutException: A login timeout occured while connecting to the database
        at oracle.odi.jdbc.datasource.LoginTimeoutDatasourceAdapter.doGetConnection(LoginTimeoutDatasourceAdapter.java:117)
        at oracle.odi.jdbc.datasource.LoginTimeoutDatasourceAdapter.getConnection(LoginTimeoutDatasourceAdapter.java:62)
        at org.springframework.jdbc.datasource.DataSourceUtils.doGetConnection(DataSourceUtils.java:113)
        at com.sunopsis.sql.SnpsConnection.createConnection(SnpsConnection.java:380)
        at com.sunopsis.sql.SnpsConnection.connect(SnpsConnection.java:338)
        at com.sunopsis.sql.SnpsQuery.updateExecStatement(SnpsQuery.java:1842)
        at com.sunopsis.sql.SnpsQuery.executeUpdate(SnpsQuery.java:628)
        at com.sunopsis.dwg.dbobj.SnpSessTaskSql.executeUpdate(SnpSessTaskSql.java:3218)
        at com.sunopsis.dwg.dbobj.SnpSessTaskSql.execStdOrders(SnpSessTaskSql.java:1785)
        at com.sunopsis.dwg.dbobj.SnpSessTaskSql.treatTaskTrt(SnpSessTaskSql.java:2805)
        at com.sunopsis.dwg.dbobj.SnpSessTaskSql.treatTask(SnpSessTaskSql.java:2515)
        at com.sunopsis.dwg.dbobj.SnpSessStep.treatAttachedTasks(SnpSessStep.java:534)
        at com.sunopsis.dwg.dbobj.SnpSessStep.treatSessStep(SnpSessStep.java:449)
    As stated in some forums i have done changes in User Parameters and set same to 180 but still error persists.
    now I also tried to find file USERPREF.XML but i was unable find the file.
    My ODI installation directory path is "D:\oracle\product\11.1.1\Oracle_ODI_1"
    I wanted to know if any solutions for sam problem are there and any inputs regarding same would appreciated.
    Thanks,
    Mahesh

    Hi,
    Can this be resolved by upgrading ODI?
    My ODI version details are:
    About
    Oracle Data Integrator 11g 11.1.1
    Standalone Edition Version 11.1.1
    Build ODI_11.1.1.3.0_GENERIC_100623.1635 Copyright © 1997, 2010
    Oracle.  All Rights Reserved.
    IDE Version: 11.1.1.3.37.56.60
    Product ID: oracle.odi
    Product Version: 11.1.1.0.0.0.0
    Version
    Component       Version
    =========       =======
    Java(TM) Platform           1.6.0_23
    Oracle IDE           11.1.1.3.0
    Do i have to update all the 11g patches to get rid of this issue?
    Thanks,
    Shilpa

  • RDS 2012 - Session Collection Timeout vs Group Policy Timeout

    Which policy applies?
    The RD Session Collection timeout or the group policy?
    My Remote desktop servers are in an OU at a top level with all of my other servers, so I have a administrative timeout group policy which is extremely strict to keep our administrators off server consoles. But for the RD farms I would like to have a less
    strict policy so that users only get disconnected overnight and not if they go out to lunch (as an example)
    I know one way to do this is to write individual group policies, but that removes the ease of control by configuring each session collection timeout via the Session Collection.

    Hi Robin,
    Thank you for posting in Windows Server Forum.
    You can configure timeout and reconnection settings on a per user basis by using the Remote Desktop Services Extension to the Local Users and Groups snap-in or to the Active Directory Users and Computers snap-in. 
    Timeout and reconnection settings configured by using Remote Desktop Session Host Configuration will take precedence over timeout and reconnection settings that have been configured for a specific user account.
    More information (for reference)
    Configure Timeout and Reconnection Settings for Remote Desktop Services Sessions
    http://technet.microsoft.com/en-us/library/cc754272.aspx
    Hope it helps!
    Thanks.
    Dharmesh Solanki

  • EP7 sessions never timeout ?

    I want my EP7 session never timeout
    I remember that I configured it at configtool.
    However I cannot find it anymore.
    Please advise. Points guaranteed. Thanks!

    Hi
    You probably want to set sap logon ticket timeout. To do this You have to set ume property :
    login.ticket_lifetime
    Please refer :
    http://help.sap.com/saphelp_nw70/helpdata/en/5e/473d4124b08739e10000000a1550b0/frameset.htm
    <i></i>
    http://help.sap.com/saphelp_nw70/helpdata/en/45/341a2176b74002e10000000a155369/frameset.htm (Chapter AS Java: Client Side, 1)
    Regards
    Jakub Krecicki

  • Error code 80004005 login timeout

    Getting an intermittent error when trying to access a database on my SQL 2008 server.

    This thread should help you resolve the issue:
    https://social.msdn.microsoft.com/Forums/sqlserver/en-US/8575e9ff-3acc-4b44-8907-dbe225fcb738/login-timeout-expired-in-ssis-pack?forum=sqlintegrationservices
    In short: replace the OLE DB Destination with a OLE DB Command
    Arthur
    MyBlog
    Twitter

  • Lengthen or Remove Login Timeout on Workflow Server?

    How do I lengthen or remove the login timeout for users on Workflow Server?

    Perry,
    The default is currently set to 20min - I ran a quick test here and if you de-Select "Enable Session State" chkBox you will be unable to login.
    I was under the impression that WA no longer relies on sessions, more of a stateless connection. Meaning that everytime an action is performed in WA by an EU it looks in memory ( I think ) for past credentials for that person and uses it again to reconnect. This allows the abilty for web farming.
    InTempo (older version) relied heavily on ASP Sessions which was indirectly related to the setting in IIS.
    You may wish to ask your IIS Admin or possibly bring it up with Adobe Support. I'll see if I can follow-up with a bit more research but I'm quite busy at the moment so it probably won't be until late next week.
    Good luck.

  • I am using the mac QQ and when I login it said login timeout.

    I am using the mac QQ and when I login it said login timeout.

    If you are missing using google maps - try the Nokia map app called "here"

  • Session Login and Logout in jsp page

    hi
    i am developing jsp page
    i completed except logout.jsp page
    my login page is in Jsp format and then business Logic in servlet and then get method & set method in bean.java
    i have login and then it sucess page there i have singout button
    if i sign out it should go to login page
    how to do
    how to make session invalidate
    how to get session id
    i have one more doubt i should check session invalidate each jsp page
    regarding session login and logout in jsp
    if anybody knows please give me a piece of code regarding login and logout
    Regards
    Akshatha

    This is part of your filter class now you need login.jsp page
    <%@taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
    <%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
    <html xmlns="http://www.w3.org/1999/xhtml">
    <head>
        <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
        <link rel="Stylesheet" type="text/css" href="/PAS/css/site.css"/>
        <title>Automation System | Login Page</title>
    </head>
    <body>
    <div align="center">
        <h1>Photint Automation System</h1>
    </div>
    <br/><br/><br/>
    <center>
        <table border="1" cellpadding="0" cellspacing="0" width="40%" bgcolor="FFFFFFFF">
            <thead>
                <tr>
                    <th align="left" height="30"> <h3>    Login</h3></th>
                </tr>
            </thead>
            <tbody>
                <tr>
                    <td>
                        <div align="center">
                            <form name="LOGIN" action="/PAS/LoginServlet" method="POST">
                                <table border="0">
                                    <tbody>
                                        <tr>
                                            <td height="15"></td>
                                            <td height="15"></td>
                                            <td height="15"></td>
                                            <td height="15"></td>
                                        </tr>
                                        <tr>
                                            <td height="30"></td>
                                            <td align="right" height="30">User Name : </td>
                                            <td align="left"  height="30"><input type="text" name="USERNAME" value="" size="35"  /></td>
                                            <td height="30"></td>
                                        </tr>
                                        <tr>
                                            <td height="30"></td>
                                            <td align="right" height="30">Password : </td>
                                            <td align="left"  height="30"><input type="password" name="PASSWORD" value="" size="35"  /></td>
                                            <td height="30"></td>
                                        </tr>
                                        <tr>
                                            <td height="50"></td>
                                            <td height="50"></td>
                                            <td align="center" height="50"><input type="submit" value="Login" name="Login" />  <input type="reset" value="Reset" name="Reset" /></td>
                                            <td height="50"></td>
                                        </tr>
                                    </tbody>
                                </table>
                            </form>
                        </div>
                    </td>
                </tr>
            </tbody>
        </table>
    </center>
    <br/><br/><br/><br/><br/><br/><br/><br/><br/><br/><br/><br/><br/><br/>
    <br/><br/><br/>
    <center>Copyright &copy; 2009 Photint FZ LLC</center>
    <center>Powered by Ali Jamali</center>
    <center>Version : 1.0</center>
    </body>
    </html>And you need loginServlet.java
    package com.ali.util.filter;
    import com.ali.entity.user.UserEntity;
    import com.ali.util.HibernateUtil;
    import java.io.IOException;
    import javax.servlet.RequestDispatcher;
    import javax.servlet.ServletException;
    import javax.servlet.http.HttpServlet;
    import javax.servlet.http.HttpServletRequest;
    import javax.servlet.http.HttpServletResponse;
    import javax.servlet.http.HttpSession;
    public class LoginServlet extends HttpServlet {
        private static final long serialVersionUID = 1L;
        protected void service(HttpServletRequest request, HttpServletResponse response) throws ServletException, IOException {
            String username = request.getParameter("USERNAME");
            String password = request.getParameter("PASSWORD");
            if (username == null || username.length() == 0) {
                System.err.println(" Username textfeild is empty ..... !");
                RequestDispatcher dispatcher = request.getRequestDispatcher("Pages/user/LogIn.jsp");
                dispatcher.forward(request, response);
                return;
            if (UserRegistry.isUserLoggedIn(username)) {
                System.out.printf("User [%s] is already logged in. \n", username);
                RequestDispatcher dispatcher = request.getRequestDispatcher("Pages/user/LogIn.jsp");
                dispatcher.forward(request, response);
                return;
            UserEntity user = null;
            try {
                user = (UserEntity) HibernateUtil.load(UserEntity.class, username);
                if (user == null || !user.getPassword().equals(password)) {
                    RequestDispatcher dispatcher = request.getRequestDispatcher("Pages/user/LogIn.jsp");
                    dispatcher.forward(request, response);
                    System.err.println(" Password or username is not valid ..... !");
                    return;
            } catch (Exception e) {
                e.printStackTrace();
                RequestDispatcher dispatcher = request.getRequestDispatcher("Pages/user/LogIn.jsp");
                dispatcher.forward(request, response);
                return;
            HttpSession session = request.getSession();
            System.err.println(request.getRemoteAddr());
            session.setAttribute("username", user.getFirstName());
            session.setAttribute("userType", user.isAdmin());
            UserRegistry.logInUser(username);
            response.sendRedirect("/PAS/index.jsp");
    }finally is you need to just one user can be online at time or need to know how many user & who is online you should at this class also
    package com.ali.util.filter;
    import java.util.ArrayList;
    import java.util.List;
    public class UserRegistry {
        private static final List loggedInUsers = new ArrayList();
        public static void logInUser(String username) {
            loggedInUsers.add(username);
        public static void logoutUser(String username) {
            if (isUserLoggedIn(username)) {
                loggedInUsers.remove(username);
        public static boolean isUserLoggedIn(String username) {
            return loggedInUsers.contains(username);
    }If you have any more Q. or any comment , Most welcome
    Thanks
    Ali Jamali

  • How can I set a Session bean timeout

    Hello !
    How can I set a Session bean to time out eg. 48 hours ?
    Thanks
    Uiloq Slettemark

    For stateful session beans you can use the timeout attribute in the orion-ejb-jar e.g.
    <session-deployment timeout=1800 ..>
    this is specified in seconds and Default Value: 30 (minutes)
    regards
    Debu

  • JDeveloper 11g R1 Toplink Session Login Problem

    Hi Everyone,
    Toplink Session Login are unsuccessful in my application. My session.xml file gives xml validation errors.
    Please help me,
    Best Regards
    Gokmen
    XML Validation errors :
    element primary-project not expected.
    element login not expected.
    element connection-pools not expected.
    My session.xml file here:
    <?xml version="1.0" encoding="windows-1254"?>
    <toplink-sessions version="11g Release 1 (11.1.1.1.0)" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
    <session xsi:type="server-session">
    <name>AnahtarV3</name>
    <server-platform xsi:type="weblogic-10-platform"/>
    <primary-project xsi:type="xml">META-INF/ToplinkMap.xml</primary-project>
    <login xsi:type="database-login">
    <platform-class>oracle.toplink.platform.database.oracle.Oracle11Platform</platform-class>
    <user-name>xxxx</user-name>
    <password>7D39547AAAC98C485237BC9ABBBAEFBA</password>
    <sequencing>
    <default-sequence xsi:type="native-sequence">
    <preallocation-size>1</preallocation-size>
    </default-sequence>
    </sequencing>
    <driver-class>oracle.jdbc.OracleDriver</driver-class>
    <connection-url>jdbc:oracle:thin:@xx.yyyy.www:1521:zzzz</connection-url>
    <force-field-names-to-upper-case>true</force-field-names-to-upper-case>
    <optimize-data-conversion>true</optimize-data-conversion>
    <trim-strings>false</trim-strings>
    </login>
    <connection-pools>
    <read-connection-pool>
    <name>read</name>
    <max-connections>1</max-connections>
    <min-connections>1</min-connections>
    <login xsi:type="database-login">
    <user-name>bonus</user-name>
    <password>C9AB9547D3AC98C485237B7AABBAEFBA</password>
    <driver-class>oracle.jdbc.OracleDriver</driver-class>
    <connection-url>jdbc:oracle:thin:@oratest.boyner.trk:1521:bdbtest</connection-url>
    </login>
    </read-connection-pool>
    <write-connection-pool>
    <max-connections>1</max-connections>
    <min-connections>1</min-connections>
    </write-connection-pool>
    </connection-pools>
    </session>
    </toplink-sessions>
    Console Error Log:
    Exception Description: Several [3] SessionLoaderExceptions were thrown:
    org.xml.sax.SAXParseException: <Line 35, Column 30>: XML-24534: (Error) Element 'max-connections' not expected.
    org.xml.sax.SAXParseException: <Line 36, Column 30>: XML-24534: (Error) Element 'min-connections' not expected.
    org.xml.sax.SAXParseException: <Line 37, Column 34>: XML-24521: (Error) Element not completed: 'write-connection-pool'

    Hi Gokmen,
    Enhancement for clearing the design time errors by providing support for xsi:type is planned for the Shepherd release.
    The workaround for the Connection Pool errors is to define using the API.Below sample code can be useful for you.
    Create a class which implements SessionEventListener or extend SessionEventAdapter and override the preLogin(SessionEvent event) and define read and write connections in the method.Register the SessionEventListener with session(open the session.xml in JDeveloper flat editor->Options->EventListener->browse and Select the class).
    When application is run and preLogin() event will be called and connection pool is defined with read and write connections.
    package model;
    import org.eclipse.persistence.sessions.SessionEvent;
    import org.eclipse.persistence.sessions.SessionEventAdapter;
    public class SampleEventListener extends SessionEventAdapter {
    public SampleEventListener() {
    super();
    public void preLogin(SessionEvent event) {
    System.out.println("in the pre login method");
    org.eclipse.persistence.sessions.server.ServerSession serverSession=(org.eclipse.persistence.sessions.server.ServerSession)event.getSession();
    serverSession.addConnectionPool("testReadPool", event.getSession().getDatasourceLogin(), 1, 10);
    public void postLogin(SessionEvent event) {
    org.eclipse.persistence.sessions.server.ServerSession serverSession=(org.eclipse.persistence.sessions.server.ServerSession)event.getSession();
    System.out.println(serverSession.getConnectionPool("testReadPool").getMaxNumberOfConnections());
    System.out.println(serverSession.getConnectionPool("testReadPool").getMinNumberOfConnections());
    Hope this helps.
    Regards,
    P.Vinay Kumar

  • JDeveloper 11g R1 Toplink Session Login Unsuccessfull

    Hi Everyone,
    Toplink Session Login are unsuccessful in my application. My session.xml file gives xml validation errors.
    Please help me,
    Best Regards
    Gokmen
    XML Validation errors :
    element primary-project not expected.
    element login not expected.
    element connection-pools not expected.
    My session.xml file here:
    <?xml version="1.0" encoding="windows-1254"?>
    <toplink-sessions version="11g Release 1 (11.1.1.1.0)" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
    <session xsi:type="server-session">
    <name>AnahtarV3</name>
    <server-platform xsi:type="weblogic-10-platform"/>
    <primary-project xsi:type="xml">META-INF/ToplinkMap.xml</primary-project>
    <login xsi:type="database-login">
    <platform-class>oracle.toplink.platform.database.oracle.Oracle11Platform</platform-class>
    <user-name>xxxx</user-name>
    <password>7D39547AAAC98C485237BC9ABBBAEFBA</password>
    <sequencing>
    <default-sequence xsi:type="native-sequence">
    <preallocation-size>1</preallocation-size>
    </default-sequence>
    </sequencing>
    <driver-class>oracle.jdbc.OracleDriver</driver-class>
    <connection-url>jdbc:oracle:thin:@xx.yyyy.www:1521:zzzz</connection-url>
    <force-field-names-to-upper-case>true</force-field-names-to-upper-case>
    <optimize-data-conversion>true</optimize-data-conversion>
    <trim-strings>false</trim-strings>
    </login>
    <connection-pools>
    <read-connection-pool>
    <name>read</name>
    <max-connections>1</max-connections>
    <min-connections>1</min-connections>
    <login xsi:type="database-login">
    <user-name>bonus</user-name>
    <password>C9AB9547D3AC98C485237B7AABBAEFBA</password>
    <driver-class>oracle.jdbc.OracleDriver</driver-class>
    <connection-url>jdbc:oracle:thin:@oratest.boyner.trk:1521:bdbtest</connection-url>
    </login>
    </read-connection-pool>
    <write-connection-pool>
    <max-connections>1</max-connections>
    <min-connections>1</min-connections>
    </write-connection-pool>
    </connection-pools>
    </session>
    </toplink-sessions>
    Console Error Log:
    Exception Description: Several [3] SessionLoaderExceptions were thrown:
    org.xml.sax.SAXParseException: <Line 35, Column 30>: XML-24534: (Error) Element 'max-connections' not expected.
    org.xml.sax.SAXParseException: <Line 36, Column 30>: XML-24534: (Error) Element 'min-connections' not expected.
    org.xml.sax.SAXParseException: <Line 37, Column 34>: XML-24521: (Error) Element not completed: 'write-connection-pool'

    Hi,
    Currently the session.xml shows design time error(as support for xsi:type is not there), but this will not block deployment or functionality of application.
    The workaround for the Connection Pool errors is to
    provide name element for the connection pool in session.xml after configuring read and write connection pools at session level as below
    <connection-pools>
    <read-connection-pool>
    <name>read-connection-pool</name>
    <login xsi:type="database-login">
    </read-connection-pool>
    </connection-pools>

  • SQL Server Expres 2008R2 on Windows 7 peer to peer network using MS Access to connect - ODBC Login Timeout

    Hello,
    I have had a Microsoft Access database that was running on Windows XP against a SQL Server 2000 database.  We are running on a peer to peer network.  This all worked fine.  Recently I upgraded all the systems to Windows 7 and the Access database
    to Office 2013 and setup SQL Server Express 2008R2.  I am running into strange problems trying to connect the access database to SQL Server Express.
    SQL Server Express was setup with mixed authentication mode. 
    What is strange to me is that if I run the Access database on the same server as SQL Server Express 2008R2, everything works fine. However, if I run the Access database from a separate system (Windows usernames and passwords are identical on all systems
    for all accounts).  I get a spinning circle, then after 5 minutes or so I get an error box that says "Connection Failed SQL State S1-T00 - ODBC Login Timeout Expired.
    I click OK and then there is a ODBC login box,  It has trusted connection  box checked.  So, I just click ok and everything runs fine.
    I have checked with the Access database the ODBC connection string (How do you change this to imbed a username and pwd?) and the connection specifies that trustedconnection = yes.
    I have tried setting the odbc connection up to use a SQL Account, I have setup all of the security in SQL so that Windows accounts have access and either works on the system that is hosting the SQL database.  But when I try to connect from a separate
    machine we have to wait with the timeout and then click okay.
    Any Ideas.
    Thank you!!!

    I have TCP/IP and named pipes.
    I will take a look at the kb article.
    What puzzles me is that odbc connection is set for trusted connection, the access database is set for trusted connection.  But yet it seems that it wants to do a SQL authentication.  Then it fails, and then if you simply hit okay to do the Trusted
    Connection then it is fine.
    I will read about setting the UID and PWD in code.  Been a long time since I have done that, but very doable.  Then see if the Access DB is setup with the UID and Pwd in the odbc connection string, then switch the odbc connection to be a SQL Server
    connect, then maybe it will work..  Crossing my fingers.
    I will be back on site next week and will give it a try then.
    I will check the ports, but suspect they are fine as it works fine after it has it timed out and you hit okay to connect with a trusted connection.
    Thanks for your ideas.

  • 2008 r2 Copy Database Wizard Error code 0x80004005 (login timeout expired).

    While on copy database wizard, step Configure the package I
    get this error:
    while trying to find a folder on sql an ole db error was encountered with error code 0x80004005 (login timeout expired).
    If I try to run it any way, I got the following in the Execute stage:
    the job failed. check the event log on the destination server for details
    In the destination server, job history:
    Message
    Executed as user: WORKGROUP\servername$. Microsoft (R) SQL Server Execute Package Utility  Version 10.50.1600.1
    for 64-bit  Copyright (C) Microsoft Corporation 2010. All rights reserved.    Started:  3:26:57 PM  Could not load package "package name omitted" because of error 0xC0014062.  Description: The LoadFromSQLServer method
    has encountered OLE DB error code 0x80004005 (Login timeout expired).  The SQL statement that was issued has failed.  Source:   Started:  3:26:57 PM  Finished: 3:27:44 PM  Elapsed:  47.83 seconds.  The package could
    not be loaded.  The step failed.
    I check the job permission with the integration service connection. try with default and with db_ssisadmin. 
    other info:
    Source: Other SQL Server Version, Microsoft SQL Server Enterprise Edition , Build 1617, Microsoft Windows NT 6.0 (6002) NT INTEL X86
    Destination:  Other SQL Server Version, Microsoft SQL Server Data Center Edition (64-bit) , Build 1600, Microsoft Windows NT 6.1 (7601) NT
    x64 Using SMO online transfer

    Hi kexinger,
    This issue might be caused by the insufficient permission for the SQL Agent account, please check the SQL Agent service account has sufficient permissions to the various folders. For detail information, please take a look at the following article:
    http://mattsql.wordpress.com/2014/01/06/quick-tip-could-not-load-package-xxx-because-of-error-0xc0014062/
    If you have any feedback on our support, please click
    here.
    Elvis Long
    TechNet Community Support

  • JTAPI - directory login timeout

    Hi, I'm trying to have a play with JTAPI, however when I try to execute 'makecall' I get
    Caught exception com.cisco.jtapi.PlatformExceptionImpl: Unable to create provider -- directory login timeout
    I'm running callmanager 6.0.1
    any ideas?

    worked this one out - I forgot to add in the ctimanager permissions to the user.
    this is now working correctly.

Maybe you are looking for

  • Problem reading txt file

    Hi I have a shell cluster where I type different data for my file. Then I save this to txt file. The problem is when I want to open the file and use the data for the same shell cluster, which is now an indicator. Can someone help me with this?? Attac

  • Use of application module pool and ADF Busines Components

    Hi to all; Lets suppose an web application with about 10 CRUD forms and 15 to 20 reports or forms just to query and show data; That's clear to me, all the advantages of using App modules pool. But for that reports ..... Just an Read only and Forward

  • IPhoto 08 book themes - How many?

    How many book themes are there in IPhoto 08? How can I see what they actually look like?

  • Can't find a movie I bought a while ago

    Bought it on one mac, viewed it on my iPhone. Then somehow, it's gone from both. I can't find it locally by searching the title name. I can't see any way to get it again from the iTunes store. Did I just flush $15 bucks down the toilet? If so, I'm re

  • Need to change account on Moto Droid

    I have a subscription account. I have the wrong account on my Moto Droid and want to remove the wrong one and install the correct username and password. How do I do this?