[Building Sakai] Build from source - which tomcat versions are allowed?

Gregory Guthrie guthrie at mum.edu
Sun Feb 23 06:13:14 PST 2014


I just finished a new source build (Sakai 2.9, Tomcat 7.0.52), and got a few errors, and it indicates (correctly) that sitestats did not load properly (it does not work).
It looks like:   "STAT-339 - Sitestats does not load with Tomcat 7.0.35", but that is marked as fixed in JIRA.
I couldn't tell if the note about not using Tomcat above .21 was still valid since both issues listed were indicated as fixed, so I went ahead and used the current tomcat (.52), which apparently fails. What is the situation - does the tomcat version limit still apply?

(PS: on the "2.9 Install from source" page, for setting up the database for MySQL it says:
   " Click the "Configure" tab above for instructions on setting up Sakai to use MySQL or Oracle."
   But I see no such link/tab in the page - and had to go out and chat with Google to find that information.)
-----------------------------------------------------------------------------------------------------
INFO: Deploying web application archive /opt/sakai/apache-tomcat-7.0.52/webapps/sitestats-tool.war
Feb 22, 2014 11:17:27 PM org.apache.tomcat.util.digester.Digester endElement
SEVERE: End event threw exception
java.lang.reflect.InvocationTargetException
        at sun.reflect.GeneratedMethodAccessor135.invoke(Unknown Source)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
        ...
Caused by: java.lang.IllegalArgumentException: The servlets named [sakai.sitestats] and [sakai.sitestats.admin] are both mapped to the url-pattern [/sitestats-tool/*] which is not permitted
        at org.apache.catalina.deploy.WebXml.addServletMapping(WebXml.java:292)
        ... 36 more

Feb 22, 2014 11:17:27 PM org.apache.catalina.startup.ContextConfig parseWebXml
SEVERE: Parse error in application web.xml file at jndi:/localhost/sitestats-tool/WEB-INF/web.xml
java.lang.IllegalArgumentException: The servlets named [sakai.sitestats] and [sakai.sitestats.admin] are both mapped to the url-pattern [/sitestats-tool/*] which is not permitted
        at org.apache.tomcat.util.digester.Digester.createSAXException(Digester.java:2711)
        ...
        ... 30 more
Feb 22, 2014 11:17:27 PM org.apache.catalina.startup.ContextConfig parseWebXml
SEVERE: Occurred at line 71 column 23
Feb 22, 2014 11:17:27 PM org.apache.catalina.startup.ContextConfig configureStart
SEVERE: Marking this application unavailable due to previous error(s)
Feb 22, 2014 11:17:27 PM org.apache.catalina.core.StandardContext startInternal
SEVERE: Error getConfigured
Feb 22, 2014 11:17:27 PM org.apache.catalina.core.StandardContext startInternal
SEVERE: Context [/sitestats-tool] startup failed due to previous errors
Feb 22, 2014 11:17:27 PM org.apache.catalina.startup.HostConfig deployWAR
...
INFO: Server startup in 302988 ms
Feb 22, 2014 11:17:42 PM org.apache.tomcat.util.http.Cookies processCookieHeader
INFO: Cookies: Invalid cookie. Value not a token or quoted value
 Note: further occurrences of Cookie errors will be logged at DEBUG level.
...
Feb 23, 2014 6:58:06 AM org.apache.jasper.compiler.TldLocationsCache tldScanJar
INFO: At least one JAR was scanned for TLDs yet contained no TLDs. Enable debug logging for this logger for a complete list of JARs that were scanned but no TLDs were found in them. Skipping unneeded JARs during scanning can improve startup time and JSP compilation time.




More information about the sakai-dev mailing list