Examples of JahiaInitializationException


Examples of org.jahia.exceptions.JahiaInitializationException

                    JahiaPrivilegeRegistry.init(session);
                    return null;
                }
            });
        } catch (RepositoryException e) {
            throw new JahiaInitializationException("Cannot register permissions",e);
        }
    }
View Full Code Here

Examples of org.jahia.exceptions.JahiaInitializationException

            }

            authenticationType = tmpAuthenticationType;
        } catch (Exception e) {
            logger.error("Repository init error", e);
            throw new JahiaInitializationException("Repository init error", e);
        }
    }
View Full Code Here

Examples of org.jahia.exceptions.JahiaInitializationException

             
              Jahia.jSettings.setBuildNumber(getBuildNumber());
            
          } catch (Exception e) {
            logger.error("Unable to initialize Jahia settings and build number", e);
            throw new JahiaInitializationException("Unable to initialize Jahia settings and build number", e);
          }
 
          // Initialize all the registered services.
            initServicesRegistry();
View Full Code Here

Examples of org.jahia.exceptions.JahiaInitializationException

                            "<br/>initialization parameter in the tomcat/webapps/jahia/WEB-INF/web.xml<br/>\n");
                        jemsg.append("<br/><br/>Please note that if you deactivate this check or use unsupported versions<br/>\n");
                        jemsg.append("<br/>You might run into serious problems and we cannot offer support for these.<br/>\n");
                        jemsg.append("<br/>You may download a supported JDK from <a href=\"http://java.sun.com\" target=\"_newSunWindow\">http://java.sun.com</a>.");
                        jemsg.append("<br/><br/>&nbsp;\n");
                        JahiaInitializationException e = new JahiaInitializationException(jemsg.toString());
                        logger.error("Invalid JDK version", e);
                        throw e;
                    }
                } catch (NumberFormatException nfe) {
                    logger.warn("Couldn't convert JDK version to internal version testing system, ignoring JDK version test...", nfe);
View Full Code Here

Examples of org.jahia.exceptions.JahiaInitializationException

                    fileWatcherService.addFileWatcher(path, path, checkDate, interval, fileOnly);
                    fileWatcherService.registerObserver(path, this);
                    fileWatcherService.startFileWatcher(path);
                } catch (JahiaException e) {
                    logger.error("init:: ", e);
                    throw new JahiaInitializationException(
                            "ImportObserver::init failed ", e);
                }
            }
        }
View Full Code Here

Examples of org.jahia.exceptions.JahiaInitializationException

             
              scheduler.start();
          }
        } catch (SchedulerException e) {
          logger.error(e.getMessage(), e);
          throw new JahiaInitializationException(e.getMessage(), e);
        }
    }
View Full Code Here

Examples of org.jahia.exceptions.JahiaInitializationException

           
//            new LoggingJobHistoryPlugin().initialize("LoggingJobListener", scheduler);
//            new LoggingJobHistoryPlugin().initialize("RAMLoggingJobListener", ramScheduler);
        } catch (SchedulerException se) {
            if (se.getUnderlyingException() != null) {
                throw new JahiaInitializationException(
                        "Error while initializing scheduler service",
                        se.getUnderlyingException());
            } else {
                throw new JahiaInitializationException(
                        "Error while initializing scheduler service",
                        se);
            }
        }
    }
View Full Code Here

Examples of org.jahia.exceptions.JahiaInitializationException

        this.isLoaded = true;

        try {
            loadAllApplications();
        } catch (Exception e) {
            throw new JahiaInitializationException(
                    "JahiaApplicationsManagerBaseService.init, exception occured : " + e.getMessage(), e);
        }

    }
View Full Code Here

Examples of org.jahia.exceptions.JahiaInitializationException

  }

  public void initAfterAllServicesAreStarted() throws JahiaInitializationException {
    JahiaPasswordPolicy policy = getDefaultPolicy();
    if (policy == null)
      throw new JahiaInitializationException(
              "Default password policy can not be initialized. Service startup failed.");
    }
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.