Unable to Deploy CentOS 6.5, Tomcat 7, OpenOLAT 10.3.5

60 views
Skip to first unread message

timbra...@gmail.com

unread,
Sep 23, 2015, 3:06:54 PM9/23/15
to OpenOLAT
Hello,

I'm unable to start the applicationg using the pieces mentioned in the title. I've followed this guide - http://www.openolat.com/fileadmin/adminwiki/SW5zdGFsbGF0aW9u.html

I've successfully deployed via the management interface, but attempting to start always returns the following - FAIL - Application at context path /openolat could not be started

The entire contents of my /var/log/tomcat/ directory, zeroed out before starting the server:

Sep 23, 2015 12:50:06 PM org.apache.catalina.core.AprLifecycleListener init
INFO: The APR based Apache Tomcat Native library which allows optimal performance in production environments was not found on the java.library.path: /usr/lib/jvm/java-1.6.0-openjdk-1.6.0.36.x86_64/jre/lib/amd64/server:/usr/lib/jvm/java-1.6.0-openjdk-1.6.0.36.x86_64/jre/lib/amd64:/usr/lib/jvm/java-1.6.0-openjdk-1.6.0.36.x86_64/jre/../lib/amd64:/usr/java/packages/lib/amd64:/usr/lib64:/lib64:/lib:/usr/lib
Sep 23, 2015 12:50:06 PM org.apache.coyote.AbstractProtocol init
INFO: Initializing ProtocolHandler ["http-bio-8080"]
Sep 23, 2015 12:50:06 PM org.apache.coyote.AbstractProtocol init
INFO: Initializing ProtocolHandler ["ajp-bio-8009"]
Sep 23, 2015 12:50:06 PM org.apache.catalina.startup.Catalina load
INFO: Initialization processed in 1266 ms
Sep 23, 2015 12:50:06 PM org.apache.catalina.core.StandardService startInternal
INFO: Starting service Catalina
Sep 23, 2015 12:50:06 PM org.apache.catalina.core.StandardEngine startInternal
INFO: Starting Servlet Engine: Apache Tomcat/7.0.33
Sep 23, 2015 12:50:06 PM org.apache.catalina.startup.HostConfig deployWAR
INFO: Deploying web application archive /var/lib/tomcat/webapps/openolat.war
Sep 23, 2015 12:50:46 PM org.apache.catalina.core.StandardContext startInternal
SEVERE: Context [/openolat] startup failed due to previous errors
Sep 23, 2015 12:50:47 PM org.apache.catalina.startup.HostConfig deployDirectory
INFO: Deploying web application directory /var/lib/tomcat/webapps/manager
Sep 23, 2015 12:50:47 PM org.apache.catalina.startup.HostConfig deployDirectory
INFO: Deploying web application directory /var/lib/tomcat/webapps/sample
Sep 23, 2015 12:50:47 PM org.apache.catalina.startup.HostConfig deployDirectory
INFO: Deploying web application directory /var/lib/tomcat/webapps/ROOT
Sep 23, 2015 12:50:47 PM org.apache.catalina.startup.HostConfig deployDirectory
INFO: Deploying web application directory /var/lib/tomcat/webapps/examples
Sep 23, 2015 12:50:47 PM org.apache.catalina.startup.TaglibUriRule body
INFO: TLD skipped. URI: http://java.sun.com/jstl/core_rt is already defined
Sep 23, 2015 12:50:47 PM org.apache.catalina.startup.TaglibUriRule body
INFO: TLD skipped. URI: http://java.sun.com/jstl/core is already defined
Sep 23, 2015 12:50:47 PM org.apache.catalina.startup.TaglibUriRule body
INFO: TLD skipped. URI: http://java.sun.com/jsp/jstl/core is already defined
Sep 23, 2015 12:50:47 PM org.apache.catalina.startup.TaglibUriRule body
INFO: TLD skipped. URI: http://java.sun.com/jstl/fmt_rt is already defined
Sep 23, 2015 12:50:47 PM org.apache.catalina.startup.TaglibUriRule body
INFO: TLD skipped. URI: http://java.sun.com/jstl/fmt is already defined
Sep 23, 2015 12:50:47 PM org.apache.catalina.startup.TaglibUriRule body
INFO: TLD skipped. URI: http://java.sun.com/jsp/jstl/fmt is already defined
Sep 23, 2015 12:50:47 PM org.apache.catalina.startup.TaglibUriRule body
INFO: TLD skipped. URI: http://java.sun.com/jsp/jstl/functions is already defined
Sep 23, 2015 12:50:47 PM org.apache.catalina.startup.TaglibUriRule body
INFO: TLD skipped. URI: http://jakarta.apache.org/taglibs/standard/permittedTaglibs is already defined
Sep 23, 2015 12:50:47 PM org.apache.catalina.startup.TaglibUriRule body
INFO: TLD skipped. URI: http://jakarta.apache.org/taglibs/standard/scriptfree is already defined
Sep 23, 2015 12:50:47 PM org.apache.catalina.startup.TaglibUriRule body
INFO: TLD skipped. URI: http://java.sun.com/jstl/sql_rt is already defined
Sep 23, 2015 12:50:47 PM org.apache.catalina.startup.TaglibUriRule body
INFO: TLD skipped. URI: http://java.sun.com/jstl/sql is already defined
Sep 23, 2015 12:50:47 PM org.apache.catalina.startup.TaglibUriRule body
INFO: TLD skipped. URI: http://java.sun.com/jsp/jstl/sql is already defined
Sep 23, 2015 12:50:47 PM org.apache.catalina.startup.TaglibUriRule body
INFO: TLD skipped. URI: http://java.sun.com/jstl/xml_rt is already defined
Sep 23, 2015 12:50:47 PM org.apache.catalina.startup.TaglibUriRule body
INFO: TLD skipped. URI: http://java.sun.com/jstl/xml is already defined
Sep 23, 2015 12:50:47 PM org.apache.catalina.startup.TaglibUriRule body
INFO: TLD skipped. URI: http://java.sun.com/jsp/jstl/xml is already defined
Sep 23, 2015 12:50:47 PM org.apache.catalina.startup.HostConfig deployDirectory
INFO: Deploying web application directory /var/lib/tomcat/webapps/host-manager
Sep 23, 2015 12:50:47 PM org.apache.coyote.AbstractProtocol start
INFO: Starting ProtocolHandler ["http-bio-8080"]
Sep 23, 2015 12:50:47 PM org.apache.coyote.AbstractProtocol start
INFO: Starting ProtocolHandler ["ajp-bio-8009"]
Sep 23, 2015 12:50:47 PM org.apache.catalina.startup.Catalina start
INFO: Server startup in 41334 ms
Sep 23, 2015 12:51:30 PM org.apache.catalina.core.StandardContext startInternal
SEVERE: Context [/openolat] startup failed due to previous errors
Sep 23, 2015 12:50:06 PM org.apache.catalina.core.AprLifecycleListener init
INFO: The APR based Apache Tomcat Native library which allows optimal performance in production environments was not found on the java.library.path: /usr/lib/jvm/java-1.6.0-openjdk-1.6.0.36.x86_64/jre/lib/amd64/server:/usr/lib/jvm/java-1.6.0-openjdk-1.6.0.36.x86_64/jre/lib/amd64:/usr/lib/jvm/java-1.6.0-openjdk-1.6.0.36.x86_64/jre/../lib/amd64:/usr/java/packages/lib/amd64:/usr/lib64:/lib64:/lib:/usr/lib
Sep 23, 2015 12:50:06 PM org.apache.coyote.AbstractProtocol init
INFO: Initializing ProtocolHandler ["http-bio-8080"]
Sep 23, 2015 12:50:06 PM org.apache.coyote.AbstractProtocol init
INFO: Initializing ProtocolHandler ["ajp-bio-8009"]
Sep 23, 2015 12:50:06 PM org.apache.catalina.startup.Catalina load
INFO: Initialization processed in 1266 ms
Sep 23, 2015 12:50:06 PM org.apache.catalina.core.StandardService startInternal
INFO: Starting service Catalina
Sep 23, 2015 12:50:06 PM org.apache.catalina.core.StandardEngine startInternal
INFO: Starting Servlet Engine: Apache Tomcat/7.0.33
Sep 23, 2015 12:50:06 PM org.apache.catalina.startup.HostConfig deployWAR
INFO: Deploying web application archive /var/lib/tomcat/webapps/openolat.war
Sep 23, 2015 12:50:46 PM org.apache.catalina.core.StandardContext startInternal
SEVERE: Context [/openolat] startup failed due to previous errors
Sep 23, 2015 12:50:47 PM org.apache.catalina.startup.HostConfig deployDirectory
INFO: Deploying web application directory /var/lib/tomcat/webapps/manager
Sep 23, 2015 12:50:47 PM org.apache.catalina.startup.HostConfig deployDirectory
INFO: Deploying web application directory /var/lib/tomcat/webapps/sample
Sep 23, 2015 12:50:47 PM org.apache.catalina.startup.HostConfig deployDirectory
INFO: Deploying web application directory /var/lib/tomcat/webapps/ROOT
Sep 23, 2015 12:50:47 PM org.apache.catalina.startup.HostConfig deployDirectory
INFO: Deploying web application directory /var/lib/tomcat/webapps/examples
Sep 23, 2015 12:50:47 PM org.apache.catalina.startup.TaglibUriRule body
INFO: TLD skipped. URI: http://java.sun.com/jstl/core_rt is already defined
Sep 23, 2015 12:50:47 PM org.apache.catalina.startup.TaglibUriRule body
INFO: TLD skipped. URI: http://java.sun.com/jstl/core is already defined
Sep 23, 2015 12:50:47 PM org.apache.catalina.startup.TaglibUriRule body
INFO: TLD skipped. URI: http://java.sun.com/jsp/jstl/core is already defined
Sep 23, 2015 12:50:47 PM org.apache.catalina.startup.TaglibUriRule body
INFO: TLD skipped. URI: http://java.sun.com/jstl/fmt_rt is already defined
Sep 23, 2015 12:50:47 PM org.apache.catalina.startup.TaglibUriRule body
INFO: TLD skipped. URI: http://java.sun.com/jstl/fmt is already defined
Sep 23, 2015 12:50:47 PM org.apache.catalina.startup.TaglibUriRule body
INFO: TLD skipped. URI: http://java.sun.com/jsp/jstl/fmt is already defined
Sep 23, 2015 12:50:47 PM org.apache.catalina.startup.TaglibUriRule body
INFO: TLD skipped. URI: http://java.sun.com/jsp/jstl/functions is already defined
Sep 23, 2015 12:50:47 PM org.apache.catalina.startup.TaglibUriRule body
INFO: TLD skipped. URI: http://jakarta.apache.org/taglibs/standard/permittedTaglibs is already defined
Sep 23, 2015 12:50:47 PM org.apache.catalina.startup.TaglibUriRule body
INFO: TLD skipped. URI: http://jakarta.apache.org/taglibs/standard/scriptfree is already defined
Sep 23, 2015 12:50:47 PM org.apache.catalina.startup.TaglibUriRule body
INFO: TLD skipped. URI: http://java.sun.com/jstl/sql_rt is already defined
Sep 23, 2015 12:50:47 PM org.apache.catalina.startup.TaglibUriRule body
INFO: TLD skipped. URI: http://java.sun.com/jstl/sql is already defined
Sep 23, 2015 12:50:47 PM org.apache.catalina.startup.TaglibUriRule body
INFO: TLD skipped. URI: http://java.sun.com/jsp/jstl/sql is already defined
Sep 23, 2015 12:50:47 PM org.apache.catalina.startup.TaglibUriRule body
INFO: TLD skipped. URI: http://java.sun.com/jstl/xml_rt is already defined
Sep 23, 2015 12:50:47 PM org.apache.catalina.startup.TaglibUriRule body
INFO: TLD skipped. URI: http://java.sun.com/jstl/xml is already defined
Sep 23, 2015 12:50:47 PM org.apache.catalina.startup.TaglibUriRule body
INFO: TLD skipped. URI: http://java.sun.com/jsp/jstl/xml is already defined
Sep 23, 2015 12:50:47 PM org.apache.catalina.startup.HostConfig deployDirectory
INFO: Deploying web application directory /var/lib/tomcat/webapps/host-manager
Sep 23, 2015 12:50:47 PM org.apache.coyote.AbstractProtocol start
INFO: Starting ProtocolHandler ["http-bio-8080"]
Sep 23, 2015 12:50:47 PM org.apache.coyote.AbstractProtocol start
INFO: Starting ProtocolHandler ["ajp-bio-8009"]
Sep 23, 2015 12:50:47 PM org.apache.catalina.startup.Catalina start
INFO: Server startup in 41334 ms
Sep 23, 2015 12:51:30 PM org.apache.catalina.core.StandardContext startInternal
SEVERE: Context [/openolat] startup failed due to previous errors
Sep 23, 2015 12:50:47 PM org.apache.catalina.core.ApplicationContext log
INFO: ContextListener: contextInitialized()
Sep 23, 2015 12:50:47 PM org.apache.catalina.core.ApplicationContext log
INFO: SessionListener: contextInitialized()
Sep 23, 2015 12:50:47 PM org.apache.catalina.core.ApplicationContext log
INFO: ContextListener: attributeAdded('org.apache.jasper.compiler.TldLocationsCache', 'org.apache.jasper.compiler.TldLocationsCache@6c2e211')
10.10.10.20 - admin [23/Sep/2015:12:50:53 -0400] "GET /manager/html/list?org.apache.catalina.filters.CSRF_NONCE=D452F26FA9BFB83342BBCDC8CCDA07F3 HTTP/1.1" 200 17074
10.10.10.20 - admin [23/Sep/2015:12:51:30 -0400] "POST /manager/html/start?path=/openolat&org.apache.catalina.filters.CSRF_NONCE=999E8D3D193968CB17D339E4471A566E HTTP/1.1" 200 17138
Sep 23, 2015 12:50:48 PM org.apache.catalina.core.ApplicationContext log
INFO: HTMLManager: init: Associated with Deployer 'Catalina:type=Deployer,host=localhost'
Sep 23, 2015 12:50:48 PM org.apache.catalina.core.ApplicationContext log
INFO: HTMLManager: init: Global resources are available
Sep 23, 2015 12:50:48 PM org.apache.catalina.core.ApplicationContext log
INFO: HTMLManager: list: Listing contexts for virtual host 'localhost'
Sep 23, 2015 12:51:24 PM org.apache.catalina.core.ApplicationContext log
INFO: HTMLManager: start: Starting web application '/openolat'
Sep 23, 2015 12:51:30 PM org.apache.catalina.core.ApplicationContext log
INFO: HTMLManager: list: Listing contexts for virtual host 'localhost'

The only errors say "
Context [/openolat] startup failed due to previous errors", but there are no previous errors.

Thanks in advance for any help you can provide.

Florian Gnägi

unread,
Sep 23, 2015, 3:23:16 PM9/23/15
to open...@googlegroups.com
Hi

Don’t know where you have this install instructions from, they are linked in that wiki as „old“ and refer to OpenOLAT 9. 

OpenOLAT 10.3 requires Java 8 and Tomcat 8. Please use the guide here: 

I did not test if everything is totally up-to-date in this installation guide, I just updated the java8/Tomcat8 requirements. 

Cheers
Florian


--
--
Sie erhalten diese Nachricht, weil Sie Mitglied sind von Google
Groups-Gruppe "OpenOLAT".
Für das Erstellen von Beiträgen in dieser Gruppe senden Sie eine E-Mail
an open...@googlegroups.com
Um sich von dieser Gruppe abzumelden, senden Sie eine E-Mail an
openolat+u...@googlegroups.com
Weitere Optionen finden Sie in dieser Gruppe unter
http://groups.google.com/group/openolat?hl=de
-------------------------------------------------------------------------------------------------------------------
OpenOLAT - infinite learning - http://www.openolat.org

---
You received this message because you are subscribed to the Google Groups "OpenOLAT" group.
To unsubscribe from this group and stop receiving emails from it, send an email to openolat+u...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

----------------------------------------------------------
professional services for the e-learning system OpenOLAT
 hosting - operating - support - development - consulting
----------------------------------------------------------

frentix  GmbH
Florian Gnägi, Geschäftsführer
Hardturmstrasse 76
CH-8005 Zürich, Switzerland

skype:gnaegi  twitter:gnaegi  xing:Florian_Gnaegi 
----------------------------------------------------------




Reply all
Reply to author
Forward
0 new messages