--
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+unsubscribe@apereo.org.
To post to this group, send email to saka...@apereo.org.
Visit this group at https://groups.google.com/a/apereo.org/group/sakai-dev/.
Adrian.Cheers,What database are you using? Do you know how to look at the logs? They are in CATALINA_HOME/logs. The one to look at is catalina.out./portal is a a webapp that is mounted as Tomcat comes up, or it should be. This implies there is something fundamental missing from your setup.
On 3 October 2017 at 12:19, <vasilvas...@gmail.com> wrote:
Hi,i'm already getting too frustrated i've been trying to get Sakai to start since yesterday and until now without success.I've followed the Guide from https://github.com/sakaiproject/sakai/wiki/Quick-Start-from-Source and i've done everything that is written there.I've managed to build the project and all project folders and jars are in the CATALINA_HOME folder. I have Maven 3.3.9. Tomcat 8.0.3.2 and Java(SDK) 8. sakai.properties file with the correct database is also linked properly. The server starts and i get to the Apache Tomcat homepage but when i try to go to /portal i get "HTTP Status 404" description The requested resource is not available.Do you guys know how can i fix that problem ... it's driving me crazy
--
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.
Could not load [org/sakaiproject/config/kernel.properties]
That props file is loaded from a jar file, namely sakai-component-manager-13-SNAPSHOT.jar (for the latest master
version, 13-SNAPSHOT).
That jar is in CATALINA_HOME/lib and Tomcat should be able to read that directory.
You should also check that your CATALINA_HOME/lib directory contains your mysql JDBC jar file.That's where Tomcat will
load it from.
To unsubscribe from this group and stop receiving emails from it, send an email to sakai-dev+unsubscribe@apereo.org.
One other question should my MySQL server be online while i build and deploy the sakai project ? Or it's enough if i first create the database and then turn off my MySQL server and build/ deploy ? I will list the steps that i do so that maybe someone can help me.
--
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+unsubscribe@apereo.org.
To unsubscribe from this group and stop receiving emails from it, send an email to sakai-dev+...@apereo.org.
This step:4. After the previous mvn install is build successfully i get out from this directory (cd .. ) and deploy the project to the tomcat.Are you BUILDING the entire source (not just master) before deploying? Do you have any wars in your Tomcat webapps folder after deploying?—Bob
----
Robert Long
Software Engineer
Sakai Tech Lead
Unicon, Inc.
On Oct 3, 2017, at 11:45 AM, vasilvas...@gmail.com wrote:
The database is there but it's completely empty no tables no rows, empty. Until now i've used the "root" as my user but i decided to change it to "sakaiuser" and grant all privileges for this database to this user. As far as the the Database Driver Name goes i don't know if the names match. I've just downloaded the "mysql-connector-java-5.0.8" same version as the one that used in the guide and put it in the CATALINA_HOME/lib directory. Of course i also copied the code from the Guide into the "sakai.properties" you can see it down below. The only things that i changed are the database, username and password. Should i open the jar and look for the driver's name in it and match it with the one in the sakai.properties or is there better way to find it ?
sakai.properties:## MySQL settingsuser...@javax.sql.BaseDataSource=sakaiuser# use your sakaidatabase name in the URI that starts u...@javax.sql.BaseDataSource= , below.driverC...@javax.sql.BaseDataSource=com.mysql.jdbc.Driverhibernate.dialect=org.hibernate.dialect.MySQL5InnoDBDialectu...@javax.sql.BaseDataSource=jdbc:mysql://127.0.0.1:3306/sakaidatabase?useUnicode=true&characterEncoding=UTF-8validat...@javax.sql.BaseDataSource=select 1 from DUAL
defaultTransactionIsolationStri...@javax.sql.BaseDataSource=TRANSACTION_READ_COMMITTED
On Tuesday, October 3, 2017 at 7:45:36 PM UTC+2, neal.caidin wrote:What is the command you use to deploy ?Can you check in your database and see if any tables were automatically created? They should be.If not, then you need to make sure that the user account and password is configured in your sakai.properties file (or local.properties file) in the sakai directory, and that file (sakai.properties) also needs to include the database name, and the name of the database driver needs to match the particular driver you have deployed in lib.-- NealOn Tue, Oct 3, 2017 at 1:17 PM, <vasilvas...@gmail.com> wrote:One other question should my MySQL server be online while i build and deploy the sakai project ? Or it's enough if i first create the database and then turn off my MySQL server and build/ deploy ? I will list the steps that i do so that maybe someone can help me.1. Create all the System Variables and test them (mvn --version; java --version; javac --version even running; MAVEN_OPTS; %CATALINA_HOME%/bin/startup.bat from the console starts up the server so i guess all of them are properly set)2. Create Database and put MySQL JDBC in the CATALINA_HOME/lib directory + setting setenv.bat up for the JAVA_OPTS + adding the line for faster start up for the Tomcat; sakai .properties and local.properties + code for it in new folder named "sakai" in CATALINA_HOME directory3. Download code from the git and checkout version 11.2 after than mvn clean install in the master folder.4. After the previous mvn install is build successfully i get out from this directory (cd .. ) and deploy the project to the tomcat.5. After previous build is done successfully i start the Tomcat server through the console(startup.bat)6. So far everything is OK and Tomcat Homepage loads but as i said the /portal doesn't.So what is causing the problem ????--
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 https://groups.google.com/a/apereo.org/group/sakai-dev/.
--
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+unsubscribe@apereo.org.
Of course i build it first in the master and then deploy it to Tomcat. I do the following:
git clone https://github.com/sakaiproject/sakai.git
cd sakai && git checkout 11.2
This will get you the latest community supported maintenance release, Sakai 11.2 .
First compile the master project.
cd master
mvn clean install
Expected result: Build successful
Then compile and deploy Sakai to Tomcat
cd ..
mvn clean install sakai:deploy -Dmaven.tomcat.home=$CATALINA_HOME -Djava.net.preferIPv4Stack=true -Dmaven.test.skip=true --
To unsubscribe from this group and stop receiving emails from it, send an email to sakai-dev+...@apereo.org.
My team uses Windows, Linux & MacOS indistinctly, it works fine on all operating systems.
I'm sure you have configuration/deployment problems. Personally, I'm using Windows 10 + MySQL 5.7 + apache-tomcat-8.0.45, I constantly upgrade my local environment.
|
Just some Questions:
The Tomcat doesn't have to be in the same folder as the
sakai source right ? |
No, let's say we have three components here:
Source, deployment and tomcat.
Source is the code you download from GIT, it can be anywhere on
your computer.
Deployment is the result of compiling Sakai and deploying the
files into some folder. This can be inside Tomcat folder or
outside.
Tomcat is the APP server.
I keep Tomcat and the deployments in separate folders, so i can
run multiple versions of Sakai with the same app container:

|
Not really, your user needs permissions to create objects like
tables, for local environments you can grant all privileges.
grant all privileges on sakaidb.* to 'sakaiuser'@'localhost'
identified by 'somepass' with grant option;
Hope this helps, Miguel
-- ----------------------------------------------- Miguel Pellicer CTO EDF - Entornos de Formación S.L. Website: http://www.entornosdeformacion.com/ LinkedIn: https://www.linkedin.com/in/mpellicer-edf Office Phone: +34 - 96 381 35 75 Mobile Phone: +34 - 686 26 64 85 Email: mpel...@entornosdeformacion.com Skype: mcpellicer -----------------------------------------------
2.
What's in the log file(s) you *do* have in tomcat/logs?
Hendrik
Despite I want to help here, I need more information to address
your problem, you should need to be more concrete showing the
relevant lines of your log files or details of your installation.
Sorry in advance
--
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 https://groups.google.com/a/apereo.org/group/sakai-dev/.
Despite I want to help here, I need more information to address your problem, you should need to be more concrete showing the relevant lines of your log files or details of your installation.
Sorry in advance
El 04/10/2017 a las 12:12, vasilvas...@gmail.com escribió:
I did new install today and i got the same problem.--HTTP Status 404 - /portal
But what i've noticed is that the database doesn't get populated (i check everything from the console). I've downloaded MySQL Workbench to see if it's really there and see privileges etc. just to be 100% sure and everything was there (sakaidatabase and the user with all the privileges) but it doesn't get populated. I guess because MySQL is on my C: Drive and you need special permissions to write on it and may be this causes the problems.
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+unsubscribe@apereo.org.
To post to this group, send email to saka...@apereo.org.
Visit this group at https://groups.google.com/a/apereo.org/group/sakai-dev/.
-- ----------------------------------------------- Miguel Pellicer CTO EDF - Entornos de Formación S.L. Website: http://www.entornosdeformacion.com/ LinkedIn: https://www.linkedin.com/in/mpellicer-edf Office Phone: +34 - 96 381 35 75 Mobile Phone: +34 - 686 26 64 85
--Email: mpellicer@entornosdeformacion.com Skype: mcpellicer -----------------------------------------------
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+unsubscribe@apereo.org.
11 am Eastern
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 https://groups.google.com/a/apereo.org/group/sakai-dev/.
-- ----------------------------------------------- Miguel Pellicer CTO EDF - Entornos de Formación S.L. Website: http://www.entornosdeformacion.com/ LinkedIn: https://www.linkedin.com/in/mpellicer-edf Office Phone: +34 - 96 381 35 75 Mobile Phone: +34 - 686 26 64 85
--Email: mpel...@entornosdeformacion.com Skype: mcpellicer -----------------------------------------------
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 https://groups.google.com/a/apereo.org/group/sakai-dev/.
--
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 unsubscribe from this group and stop receiving emails from it, send an email to sakai-dev+unsubscribe@apereo.org.
To view this discussion on the web visit https://groups.google.com/a/apereo.org/d/msgid/sakai-dev/6d4ef48b-0677-435d-8e1e-b27a43c87493n%40apereo.org.
--
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 view this discussion on the web visit https://groups.google.com/a/apereo.org/d/msgid/sakai-dev/E25FBF1B-BF21-4E3A-9A8D-C7E9C68BFF7B%40umich.edu.