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.servlets
      BinaryExporterServlet.<init>
      1. com.dotmarketing.servlets.BinaryExporterServlet.<init>(BinaryExporterServlet.java:97)[dotcms_3.6.0_3876030.jar:?]
      1 frame
    6. Java RT
      Class.newInstance
      1. sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)[?:1.8.0_73]
      2. sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown Source)[?:1.8.0_73]
      3. sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Source)[?:1.8.0_73]
      4. java.lang.reflect.Constructor.newInstance(Unknown Source)[?:1.8.0_73]
      5. java.lang.Class.newInstance(Unknown Source)[?:1.8.0_73]
      5 frames
    7. Glassfish Core
      HostConfig$DeployDescriptor.run
      1. org.apache.catalina.core.DefaultInstanceManager.newInstance(DefaultInstanceManager.java:121)[catalina.jar:8.0.18]
      2. org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:1095)[catalina.jar:8.0.18]
      3. org.apache.catalina.core.StandardWrapper.load(StandardWrapper.java:1031)[catalina.jar:8.0.18]
      4. org.apache.catalina.core.StandardContext.loadOnStartup(StandardContext.java:4901)[catalina.jar:8.0.18]
      5. org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5188)[catalina.jar:8.0.18]
      6. org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150)[catalina.jar:8.0.18]
      7. org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:725)[catalina.jar:8.0.18]
      8. org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:701)[catalina.jar:8.0.18]
      9. org.apache.catalina.core.StandardHost.addChild(StandardHost.java:714)[catalina.jar:8.0.18]
      10. org.apache.catalina.startup.HostConfig.deployDescriptor(HostConfig.java:581)[catalina.jar:8.0.18]
      11. org.apache.catalina.startup.HostConfig$DeployDescriptor.run(HostConfig.java:1683)[catalina.jar:8.0.18]
      11 frames
    8. Java RT
      Thread.run
      1. java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source)[?:1.8.0_73]
      2. java.util.concurrent.FutureTask.run(Unknown Source)[?:1.8.0_73]
      3. java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)[?:1.8.0_73]
      4. java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)[?:1.8.0_73]
      5. java.lang.Thread.run(Unknown Source)[?:1.8.0_73]
      5 frames