Sakai 10 install guide and Sakai 11.

496 views
Skip to first unread message

Steve Cooke

unread,
Oct 23, 2015, 2:09:33 PM10/23/15
to saka...@apereo.org

Hello,

I'm Steve Cooke, and I recently joined Scriba Corp as a Support Engineer.

I've installed Sakai 11 "trunk" using the Sakai 10 install guide as my primary source of information (https://confluence.sakaiproject.org/pages/viewpage.action?pageId=93028745). I skipped over the part where it said "Configure tomcat 7/8 to use the old tomcat 5.5 classloader dirs, this is not needed for the master branch of Sakai and Sakai 11." in step 5.0 Install Tomcat 7.

I had errors related with the MySQL Connector (installed in {CATALINA_HOME}/common/lib/ as other pages in confluence suggested). I went back and completed those steps and was able to fire off Sakai 11 successfully. So, from my experience, the part that says "this is not needed for ... Sakai 11" is inaccurate, as I most certainly needed it.

Upon further testing, moving the mysql-connector-java-<version>-bin.jar located in {CATALINA_HOME}/common/lib/ to {CATALINA_HOME}/lib/ did not fire off any errors and Sakai 11 is up and working. 

Some of the documentation (linked below) references putting the mysql-connector-java-<version>-bin.jar in common/lib/, however this may not be necessary and can be put in lib/ with the rest of the jars (and then the installation guide will be accurate about not needing the changes related with the tomcat 5.5 classloader dir)

https://confluence.sakaiproject.org/display/DOC/Sakai+10+database+support
https://confluence.sakaiproject.org/pages/viewpage.action?pageId=75667836
https://confluence.sakaiproject.org/pages/viewpage.action?pageId=37290132
https://confluence.sakaiproject.org/display/BOOT/Install+Mysql+Connector+3.1

I want to test it in a clean tomcat again, but I think this documentation should be updated.

Matthew Jones

unread,
Oct 23, 2015, 2:15:00 PM10/23/15
to Steve Cooke, saka...@apereo.org
Thanks for the info. The mysql connector isn't even needed at all anymore because the MariaDB jar is included by default in 11 which works with Maria or MySQL.

You can just use this property
driverC...@javax.sql.BaseDataSource=org.mariadb.jdbc.Driver

I'd say most of the documentation is only "up-to-date" w.r.t. Sakai 10 and not updated yet for 11. Also the ideal is that most of that is just moved completely into github's README as a "quicker start" guide, but nobody has written all the details into that yet.

--
You received this message because you are subscribed to the Google Groups "Sakai Development" group.
To unsubscribe from this group and stop receiving emails from it, send an email to sakai-dev+...@apereo.org.
To post to this group, send email to saka...@apereo.org.
Visit this group at http://groups.google.com/a/apereo.org/group/sakai-dev/.

Earle Nietzel

unread,
Oct 23, 2015, 2:17:40 PM10/23/15
to Steve Cooke, saka...@apereo.org
Hi Steve and welcome,

Until recently Sakai has been using the older tomcat layout for deployment. It was recently updated to deploy correctly using the (newer) layout.


The documentation you refer to is the older way and differs from whats in master for 11 (so it does need to be updated)!


-earle

On Fri, Oct 23, 2015 at 2:09 PM, Steve Cooke <sco...@scribacorp.com> wrote:

Steve Cooke

unread,
Oct 23, 2015, 2:35:54 PM10/23/15
to Matthew Jones, saka...@apereo.org

Thanks for this info! It's good to know and saves space by not needing the mysql connector.


I will read the github's README.



From: Matthew Jones <jon...@gmail.com>
Sent: Friday, October 23, 2015 11:13 AM
To: Steve Cooke
Cc: saka...@apereo.org
Subject: Re: [sakai-dev] Sakai 10 install guide and Sakai 11.
 
Thanks for the info. The mysql connector isn't even needed at all anymore because the MariaDB jar is included by default in 11 which works with Maria or MySQL.

You can just use this property
driverC...@javax.sql.BaseDataSource=org.mariadb.jdbc.Driver

I'd say most of the documentation is only "up-to-date" w.r.t. Sakai 10 and not updated yet for 11. Also the ideal is that most of that is just moved completely into github's README as a "quicker start" guide, but nobody has written all the details into that yet.
On Fri, Oct 23, 2015 at 2:09 PM, Steve Cooke <sco...@scribacorp.com> wrote:
Reply all
Reply to author
Forward
0 new messages