install dotcms v4.2.2 with postgresql v9.5, it always failed, but with mysql or H2 databases, it always successed

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

install dotcms v4.2.2 with postgresql v9.5, it always failed, but with mysql or H2 databases, it always successed

zhangj011017
i installed dotcms v4.2.2 with postgresql v9.5, step by step:
i have already install the JDK, postgresql
1: download the dotcms and upzip that package,
2: create and config the database,
3: config the dotcms and startup.

then, the tomcat could startup successfully, but the log show that :

org.apache.catalina.core.StandardContext.loadOnStartup Servlet [Init] in web application [] threw load() exception
 com.dotmarketing.exception.DotRuntimeException: No Company!

org.apache.catalina.core.StandardContext.loadOnStartup Servlet [BinaryExporterServlet] in web application [] threw load() exception
 com.dotmarketing.exception.DotRuntimeException: com.dotmarketing.exception.DotRuntimeException: Could not execute query


i didn't run the inital sql file, but i always meet this question, is there someone could help me?

--
http://dotcms.com - Open Source Java Content Management
---
You received this message because you are subscribed to the Google Groups "dotCMS User Group" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
To post to this group, send email to [hidden email].
To view this discussion on the web visit https://groups.google.com/d/msgid/dotcms/dada31f7-cbce-43d5-8fcb-220de3b27a54%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Reply | Threaded
Open this post in threaded view
|

Re: install dotcms v4.2.2 with postgresql v9.5, it always failed, but with mysql or H2 databases, it always successed

Jason Tesser-2
Probably you are getting an error before this. Most likely DB connect or permissions issues on PG side

On Tue, Dec 19, 2017 at 8:51 AM <[hidden email]> wrote:
i installed dotcms v4.2.2 with postgresql v9.5, step by step:
i have already install the JDK, postgresql
1: download the dotcms and upzip that package,
2: create and config the database,
3: config the dotcms and startup.

then, the tomcat could startup successfully, but the log show that :

org.apache.catalina.core.StandardContext.loadOnStartup Servlet [Init] in web application [] threw load() exception
 com.dotmarketing.exception.DotRuntimeException: No Company!

org.apache.catalina.core.StandardContext.loadOnStartup Servlet [BinaryExporterServlet] in web application [] threw load() exception
 com.dotmarketing.exception.DotRuntimeException: com.dotmarketing.exception.DotRuntimeException: Could not execute query


i didn't run the inital sql file, but i always meet this question, is there someone could help me?

--
http://dotcms.com - Open Source Java Content Management
---
You received this message because you are subscribed to the Google Groups "dotCMS User Group" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
To post to this group, send email to [hidden email].
To view this discussion on the web visit https://groups.google.com/d/msgid/dotcms/dada31f7-cbce-43d5-8fcb-220de3b27a54%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

--
http://dotcms.com - Open Source Java Content Management
---
You received this message because you are subscribed to the Google Groups "dotCMS User Group" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
To post to this group, send email to [hidden email].
To view this discussion on the web visit https://groups.google.com/d/msgid/dotcms/CALDe1GNF-vR6AK8kN73LkVayZ0UsrRTWnymRMsKWXnpV%3DTwKCQ%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.