com.dotmarketing.exception.DotHibernateException: Error setting Query

Google Groups | Unknown author | 2 months ago
  1. 0

    Can't start dotcms

    Google Groups | 2 months ago | Unknown author
    com.dotmarketing.exception.DotHibernateException: Error setting Query

    Root Cause Analysis

    1. com.dotcms.repackage.net.sf.hibernate.HibernateException

      /hibernate.cfg.xml not found

      at com.dotcms.repackage.net.sf.hibernate.cfg.Configuration.getConfigurationInputStream()
    2. com.dotcms.repackage
      Configuration.configure
      1. com.dotcms.repackage.net.sf.hibernate.cfg.Configuration.getConfigurationInputStream(Configuration.java:886)[dot.hibernate-2.1.7_2.jar:?]
      2. com.dotcms.repackage.net.sf.hibernate.cfg.Configuration.configure(Configuration.java:910)[dot.hibernate-2.1.7_2.jar:?]
      3. com.dotcms.repackage.net.sf.hibernate.cfg.Configuration.configure(Configuration.java:897)[dot.hibernate-2.1.7_2.jar:?]
      3 frames
    3. com.dotmarketing.db
      HibernateUtil.setQuery
      1. com.dotmarketing.db.HibernateUtil.buildSessionFactory(HibernateUtil.java:542)[dotcms_3.6.0_3876030.jar:?]
      2. com.dotmarketing.db.HibernateUtil.getSession(HibernateUtil.java:636)[dotcms_3.6.0_3876030.jar:?]
      3. com.dotmarketing.db.HibernateUtil.setQuery(HibernateUtil.java:195)[dotcms_3.6.0_3876030.jar:?]
      3 frames
    4. com.dotmarketing.portlets
      LanguageAPIImpl.getDefaultLanguage
      1. com.dotmarketing.portlets.languagesmanager.business.LanguageFactoryImpl.getLanguage(LanguageFactoryImpl.java:70)[dotcms_3.6.0_3876030.jar:?]
      2. com.dotmarketing.portlets.languagesmanager.business.LanguageFactoryImpl.getDefaultLanguage(LanguageFactoryImpl.java:234)[dotcms_3.6.0_3876030.jar:?]
      3. com.dotmarketing.portlets.languagesmanager.business.LanguageAPIImpl.getDefaultLanguage(LanguageAPIImpl.java:92)[dotcms_3.6.0_3876030.jar:?]
      3 frames
    5. com.dotmarketing.filters
      CharsetEncodingFilter.doFilter
      1. com.dotmarketing.filters.CharsetEncodingFilter.doFilter(CharsetEncodingFilter.java:104)[dotcms_3.6.0_3876030.jar:?]
      1 frame
    6. Glassfish Core
      CoyoteAdapter.service
      1. org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:239)[catalina.jar:8.0.18]
      2. org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)[catalina.jar:8.0.18]
      3. org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:219)[catalina.jar:8.0.18]
      4. org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:106)[catalina.jar:8.0.18]
      5. org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:501)[catalina.jar:8.0.18]
      6. org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:142)[catalina.jar:8.0.18]
      7. org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:79)[catalina.jar:8.0.18]
      8. org.apache.catalina.valves.AbstractAccessLogValve.invoke(AbstractAccessLogValve.java:610)[catalina.jar:8.0.18]
      9. org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:88)[catalina.jar:8.0.18]
      10. org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:516)[catalina.jar:8.0.18]
      10 frames
    7. Grizzly HTTP
      NioEndpoint$SocketProcessor.run
      1. org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1086)[tomcat-coyote.jar:8.0.18]
      2. org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:659)[tomcat-coyote.jar:8.0.18]
      3. org.apache.coyote.http11.Http11NioProtocol$Http11ConnectionHandler.process(Http11NioProtocol.java:223)[tomcat-coyote.jar:8.0.18]
      4. org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1558)[tomcat-coyote.jar:8.0.18]
      5. org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.run(NioEndpoint.java:1515)[tomcat-coyote.jar:8.0.18]
      5 frames
    8. Java RT
      ThreadPoolExecutor$Worker.run
      1. java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)[?:1.8.0_73]
      2. java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)[?:1.8.0_73]
      2 frames
    9. Tomcat Util
      TaskThread$WrappingRunnable.run
      1. org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61)[tomcat-util.jar:8.0.18]
      1 frame
    10. Java RT
      Thread.run
      1. java.lang.Thread.run(Unknown Source)[?:1.8.0_73]
      1 frame