Unable tu install and run dotCMS.

22 views
Skip to first unread message

r.lob...@gmail.com

unread,
Nov 29, 2017, 1:26:30 PM11/29/17
to dotCMS User Group
Hello,
please I need yours help for start to learn this cms.
I tried to download the windows pack and running directly to see what happen on windows.

This is the output on cmd.exe task:

C:\DOTCMS\bin>startup.bat
Calling "C:\DOTCMS\bin\build.conf.bat"
Using CATALINA_BASE:   "C:\DOTCMS\bin\..\dotserver\tomcat-8.0.18"
Using CATALINA_HOME:   "C:\DOTCMS\bin\..\dotserver\tomcat-8.0.18"
Using CATALINA_TMPDIR: "C:\DOTCMS\bin\..\dotserver\tomcat-8.0.18\temp"
Using JRE_HOME:        "C:\Program Files\Java\jre1.8.0_151"
Using CLASSPATH:       "C:\DOTCMS\bin\..\dotserver\tomcat-8.0.18\bin\bootstrap.j
ar;C:\DOTCMS\bin\..\dotserver\tomcat-8.0.18\bin\tomcat-juli.jar"
C:\DOTCMS\bin>

On localhost:8080 refused connection same as on ubuntu fresh install.
In C:\DOTCMS\dotserver\tomcat-8.0.18\logs there is only one file: safeToDelete.tmp

Then I tryed on fresh linux:
I have made one database mysql named dotcms utf8 collation and added user dotcms with all privileges grant.
Manually installed tomcat and after make war upload or export directly the folder the output on log is this:

Manually installed tomcat and after make war o export the folder the output on log is this:
root@ServerTest:/opt/tomcat/logs# tail catalina.2017-11-29.log
 java.lang.Object.wait(Native Method)
 org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:543)
29-Nov-2017 18:09:02.251 AVVERTENZA [localhost-startStop-1] org.apache.catalina.                                loader.WebappClassLoaderBase.clearReferencesThreads The web application [ROOT] a                                ppears to have started a thread named [DotMarketingQuartzExclusiveScheduler_Work                                er-50] but has failed to stop it. This is very likely to create a memory leak. S                                tack trace of thread:
 java.lang.Object.wait(Native Method)
 org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:543)
29-Nov-2017 18:09:02.252 GRAVE [localhost-startStop-1] org.apache.catalina.loade                                r.WebappClassLoaderBase.checkThreadLocalMapForLeaks The web application [ROOT] c                                reated a ThreadLocal with key of type [com.dotmarketing.util.RegEX$1] (value [co                                m.dotmarketing.util.RegEX$1@c7d1c7]) and a value of type [com.dotcms.repackage.o                                rg.apache.oro.text.regex.Perl5Matcher] (value [com.dotcms.repackage.org.apache.o                                ro.text.regex.Perl5Matcher@a45c49]) but failed to remove it when the web applica                                tion was stopped. Threads are going to be renewed over time to try and avoid a p                                robable memory leak.
29-Nov-2017 18:09:02.278 INFORMAZIONI [localhost-startStop-1] org.apache.catalin                                a.startup.HostConfig.deployDirectory Deployment of web application directory [/o                                pt/tomcat/webapps/ROOT] has finished in [36,286] ms
29-Nov-2017 18:09:02.287 INFORMAZIONI [main] org.apache.coyote.AbstractProtocol.                                start Starting ProtocolHandler ["http-nio-80"]
29-Nov-2017 18:09:02.322 INFORMAZIONI [main] org.apache.coyote.AbstractProtocol.                                start Starting ProtocolHandler ["ajp-nio-8009"]
29-Nov-2017 18:09:02.333 INFORMAZIONI [main] org.apache.catalina.startup.Catalin                                a.start Server startup in 37681 ms
root@ServerTest:/opt/tomcat/logs# tail catalina.out
 java.lang.Object.wait(Native Method)
 org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:543)
29-Nov-2017 18:09:02.251 AVVERTENZA [localhost-startStop-1] org.apache.catalina.                                loader.WebappClassLoaderBase.clearReferencesThreads The web application [ROOT] a                                ppears to have started a thread named [DotMarketingQuartzExclusiveScheduler_Work                                er-50] but has failed to stop it. This is very likely to create a memory leak. S                                tack trace of thread:
 java.lang.Object.wait(Native Method)
 org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:543)
29-Nov-2017 18:09:02.252 GRAVE [localhost-startStop-1] org.apache.catalina.loade                                r.WebappClassLoaderBase.checkThreadLocalMapForLeaks The web application [ROOT] c                                reated a ThreadLocal with key of type [com.dotmarketing.util.RegEX$1] (value [co                                m.dotmarketing.util.RegEX$1@c7d1c7]) and a value of type [com.dotcms.repackage.o                                rg.apache.oro.text.regex.Perl5Matcher] (value [com.dotcms.repackage.org.apache.o                                ro.text.regex.Perl5Matcher@a45c49]) but failed to remove it when the web applica                                tion was stopped. Threads are going to be renewed over time to try and avoid a p                                robable memory leak.
29-Nov-2017 18:09:02.278 INFORMAZIONI [localhost-startStop-1] org.apache.catalin                                a.startup.HostConfig.deployDirectory Deployment of web application directory [/o                                pt/tomcat/webapps/ROOT] has finished in [36,286] ms
29-Nov-2017 18:09:02.287 INFORMAZIONI [main] org.apache.coyote.AbstractProtocol.                                start Starting ProtocolHandler ["http-nio-80"]
29-Nov-2017 18:09:02.322 INFORMAZIONI [main] org.apache.coyote.AbstractProtocol.                                start Starting ProtocolHandler ["ajp-nio-8009"]
29-Nov-2017 18:09:02.333 INFORMAZIONI [main] org.apache.catalina.startup.Catalin                                a.start Server startup in 37681 ms
root@ServerTest:/opt/tomcat/logs#

Of course I have changed context.xml as shown in tutorial to enable mysql DB.
Seems there is no way to start this CMS.

Thank you 
Reply all
Reply to author
Forward
0 new messages