Examples of reopenSession()


Examples of de.innovationgate.webgate.api.WGDatabase.reopenSession()

            // perform a reopenSession on all opened databases of this domain
            Iterator<WGDatabase> dbsInDomain = getDatabasesForDomain(domain).iterator();
            while (dbsInDomain.hasNext()) {
              WGDatabase db = dbsInDomain.next();
              if (db.isSessionOpen()) {
                db.reopenSession(user, password);
              }
            }
           
            return true;
        } else {
View Full Code Here

Examples of de.innovationgate.webgate.api.WGDatabase.reopenSession()

                            continue;
                        } else {
                            // db session is open - ensure not more than <MaxDocsPerDBSession> docs are indexed within this session to ensure gc of hibernate-entities
                            // @see Bugfix: B000037EA
                            if (docsWithinThisSession >= getMaxDocsPerDBSession()) {
                                db.reopenSession();                               
                                if (!db.isSessionOpen() && db.openSession() == WGDatabase.ACCESSLEVEL_NOTLOGGEDIN) {
                                    _core.getLog().info(
                                            "Indexer cannot access database '" + request.getDbkey() + "'. Indexing requests for content " + request.getDocumentKey()
                                                    + " will be tried again later.");
                                    info.requestReinserted();
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.