HTTP Status 404 - /portal

727 views
Skip to first unread message

vasilvas...@gmail.com

unread,
Oct 3, 2017, 7:19:28 AM10/3/17
to Sakai Development
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

Adrian Fish

unread,
Oct 3, 2017, 7:36:58 AM10/3/17
to vasilvas...@gmail.com, Sakai Development
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.

Cheers,
Adrian.

--
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/.

vasilvas...@gmail.com

unread,
Oct 3, 2017, 10:22:58 AM10/3/17
to Sakai Development, vasilvas...@gmail.com
I Use MySQL which comes together with XAMPP and it has InnoDB 5.6 and MariaDB 10.1 engines integrated. I'm not sure if this can be related to my problem but my MySQL server wasn't running while did the "mvn clean install" and the "sakai:deploy" after that.

In my Logs there is not catalina.out.log but there is a catalina.date.log i will upload it because there is just too much text in it. But i'm not sure where the problem is.





On Tuesday, October 3, 2017 at 1:36:58 PM UTC+2, Adrian Fish wrote:
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.

Cheers,
Adrian.
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.
catalina.2017-10-03.log

Adrian Fish

unread,
Oct 3, 2017, 12:07:28 PM10/3/17
to vasilvas...@gmail.com, Sakai Development
I'm no good with Windows I'm afraid, but I'll try. Looking through your log file the first error I see is:
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.
Message has been deleted

vasilvas...@gmail.com

unread,
Oct 3, 2017, 12:30:03 PM10/3/17
to Sakai Development, vasilvas...@gmail.com
This is what is funny about everything i have checked out version 11.2 in Git and sakai-component-manager-11.2.jar is in the CATALINA_HOME/lib directory also MySQL JDBC.jar is in the CATALINA_HOME/lib directory. Like i said all the needed files are there and also all the files from sakai are there in the CATALINA_HOME directory(folders and jars). I've followed the guide step by step and both of the Maven Builds were successful i've waited for at least 30 minutes for each of them and like i said Tomcat homepage loads but the portal doesn't, even though i saw portal.war somewhere in the folders. What is funny is that the "sakaidatabase" is empty maybe there is problem with the XAMPP(MySQL) i will try to download and only use only the MySQL Database without the XAMPP and see if something changes but i just don't know why this system  is so buggy.

vasilvas...@gmail.com

unread,
Oct 3, 2017, 1:17:16 PM10/3/17
to Sakai Development
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 directory
3. 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 ????

Neal Caidin

unread,
Oct 3, 2017, 1:45:36 PM10/3/17
to vasilvas...@gmail.com, Sakai Development
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.

-- Neal




--
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.

Hendrik Steller

unread,
Oct 3, 2017, 1:50:13 PM10/3/17
to vasilvas...@gmail.com, saka...@apereo.org
> On 3 October 2017 at 15:22, <vasilvas...@gmail.com> wrote:
> > In my Logs there is not catalina.out.log but there is a catalina.date.log
> > i will upload it because there is just too much text in it. But i'm not
> > sure where the problem is.

Unless Tomcat under Windows does soemthing different, there should also be a
logfile called "catalina.out" without the date and a ".log" suffix.
My recommendation is to shut tomcat down, remove all files in the logs folder,
start tomcat up and then look at catalina.out and localhost*.log.

Now all the logifles should only contain data from that one, most recent tomcat
startup and it should be easy to scan them fromt the beginning for the first
stacktrace or error message which hopefully gives a hint at what's wrong.

Hendrik

vasilvas...@gmail.com

unread,
Oct 3, 2017, 2:45:03 PM10/3/17
to Sakai Development, vasilvas...@gmail.com
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 settings
user...@javax.sql.BaseDataSource=sakaiuser
pass...@javax.sql.BaseDataSource=1234 

# use your sakaidatabase name in the URI that starts u...@javax.sql.BaseDataSource= , below.

ven...@org.sakaiproject.db.api.SqlService=mysql
driverC...@javax.sql.BaseDataSource=com.mysql.jdbc.Driver
hibernate.dialect=org.hibernate.dialect.MySQL5InnoDBDialect
validat...@javax.sql.BaseDataSource=select 1 from DUAL
defaultTransacti...@javax.sql.BaseDataSource=TRANSACTION_READ_COMMITTED
To unsubscribe from this group and stop receiving emails from it, send an email to sakai-dev+...@apereo.org.

Robert Long

unread,
Oct 3, 2017, 2:47:15 PM10/3/17
to vasilvas...@gmail.com, Sakai Development
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.

vasilvas...@gmail.com

unread,
Oct 3, 2017, 3:03:20 PM10/3/17
to Sakai Development, vasilvas...@gmail.com
Hey Bob,
no first i write "cd master && git checkout 11.2" and after that i run mvn clean install.
But i think that last time i built the whole project so i think that i should delete everything and start over but to build and deploy it takes over 1 hour and i'm sick of waiting already.
But i repeat for some reason the database that i use for the sakai is empty even though that i use the right user and password( i'm sure they're  right because i tried to log in with them into mysql and it worked). Driver Name isn't changed downloaded the connector file from Internet and just copied it into CATALINA_HOME/lib.




On Tuesday, October 3, 2017 at 8:47:15 PM UTC+2, rlong wrote:
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 settings

# use your sakaidatabase name in the URI that starts u...@javax.sql.BaseDataSource= , below.

hibernate.dialect=org.hibernate.dialect.MySQL5InnoDBDialect



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.

-- Neal




On 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 directory
3. 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/.

vasilvas...@gmail.com

unread,
Oct 3, 2017, 3:05:42 PM10/3/17
to Sakai Development
Hey Bob,
there is no problem in Tomcat after i deploy it i just have to wait for 30 min or so until it's done no errors whatsoever after a while it just says "Build Success" and that's all

Neal Caidin

unread,
Oct 3, 2017, 3:15:18 PM10/3/17
to vasilvas...@gmail.com, Sakai Development
You need two "build successes". If you only have one "build success" then you are missing a step.

One when you cd master (directory) and then again cd .. to the root. 

I echo the suggestion about the catalina.out file. That is essential for debugging and if you are not seeing one, that is an important clue.

The com.mysql.jdbc.Driver is the correct designation for the mysql java connector. Is your database name "sakaidatabase"?   Can you log in to mysql with sakaiuser / 1234 ? 

I suspect some important detail is missing, so at a high level what you are saying seems okay (but clearly it's not). Maybe provide the exact commands you are using step by step to build and deploy?




--
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.

Hendrik Steller

unread,
Oct 3, 2017, 3:32:59 PM10/3/17
to saka...@apereo.org, vasilvas...@gmail.com
On Dienstag, 3. Oktober 2017 21:03:20 CEST vasilvas...@gmail.com wrote:
> Hey Bob,
> no first i write "cd master && git checkout 11.2" and after that i run mvn
> clean install.

Did you also run "mvn sakai:deploy" or just "install"?
Also, you have to do the maven build one directory level higher up, i.e. not
in "master", but in the directory which contains "master" (and hopefully a lot
more direcories).

Hendrik

vasilvas...@gmail.com

unread,
Oct 3, 2017, 3:51:47 PM10/3/17
to Sakai Development
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 
Expected result: Build successful 



And yes there is no catalina.out.log in the log folder only catalina.date.log

Neal Caidin

unread,
Oct 3, 2017, 4:03:10 PM10/3/17
to vasilvas...@gmail.com, Sakai Development
It's just catalina.out not catalina.out.log , fyi. But maybe it is different on Windows? I lost track of the thread, are you using Windows? 

It's definitely weird that you are not getting that file automatically generated by Tomcat and suspect that is connected with whatever problem you are having, unless it's an environmental difference.

Have you considered using a VM like VirtualBox in connection with Vagrant (Hashicorp) ? Then you can use a Linux environment which is used more in the community (overwhelmingly so, I suspect).

-- Neal


--

vasilvas...@gmail.com

unread,
Oct 3, 2017, 4:36:39 PM10/3/17
to Sakai Development, vasilvas...@gmail.com
Yeah i operate on Windows and i guess that is why i have so much problems. I've made everything that is described in the Guide and it just doesn't run! For some reason the database won't populate and i don't understand why, it may had something to the with the fact that i have XAMPP but i just don't see how can this get in the way. I will try tomorrow again just delete everything and start from scratch.

Just some Questions: 
The Tomcat doesn't have to be in the same folder as the sakai source right ? 
If the database is created correctly then if i run the MySQL from the console and manage to log in with the same user and password which i use in the sakai.properties then this  should mean the Database/user/pass  are set up properly ?
To unsubscribe from this group and stop receiving emails from it, send an email to sakai-dev+...@apereo.org.

Hendrik Steller

unread,
Oct 3, 2017, 5:00:24 PM10/3/17
to saka...@apereo.org, vasilvas...@gmail.com
> Just some Questions:
> The Tomcat doesn't have to be in the same folder as the sakai source right?

Correct.

> If the database is created correctly then if i run the MySQL from the
> console and manage to log in with the same user and password which i use in
> the sakai.properties then this should mean the Database/user/pass are set
> up properly ?

Proooobably. You can log into mysql with a valid user/password even if no
database exists. But since you need to create the database manually (AFAIK),
you should know if it exists; to be sure, you can use "show databases" to get
a list and use "use <nameOfDB>" to switch to one.

Questions I have:
1.
How many files are there approximately in your
/tomcat/lib, tomcat/webapps and tomcat/components folders?

To give you an idea how much stuff you should have in those folders:
In my current development installation, there are more than 200 files in "lib",
more than 100 war-files in "webapps" and more than 70 folders in "components".
The exact numbers will be different, but if there's only a handful things in
each of those folders, the problem is with the maven build or deployment.

2.
What's in the log file(s) you *do* have in tomcat/logs?

Hendrik

Miguel Pellicer

unread,
Oct 4, 2017, 2:27:34 AM10/4/17
to vasilvas...@gmail.com, Sakai Development

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:

If the database is created correctly then if i run the MySQL from the console and manage to log in with the same user and password which i use in the sakai.properties then this  should mean the Database/user/pass  are set up properly ?

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
-----------------------------------------------

vasilvas...@gmail.com

unread,
Oct 4, 2017, 6:03:57 AM10/4/17
to Sakai Development, vasilvas...@gmail.com
203 Files in CATALINA_HOME/lib.
90 .war Files in CATALINA_HOME/webapps + a lot of sakai folders.
69 Folders in CATALINA_HOME/components.


 


2.
What's in the log file(s) you *do* have in tomcat/logs?

catalina.date.log
host-manager.date.log
localhost.date.log
localhost_access_log.date.log
manager.date.log


 
 
Hendrik

vasilvas...@gmail.com

unread,
Oct 4, 2017, 6:12:46 AM10/4/17
to Sakai Development
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.

Miguel Pellicer

unread,
Oct 4, 2017, 7:13:50 AM10/4/17
to vasilvas...@gmail.com, Sakai Development

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/.

Austin

unread,
Oct 4, 2017, 4:09:48 PM10/4/17
to Sakai Development
In your tomcat log file there are a bunch of errors...  I'm not sure about "container log files".  Is that a Windows thing?  Maybe check there?

Also, I'm not sure how windows permissions work (I'm on Mac).  Maybe check the owner and file permissions of the CATALINA_HOME directory and it's sub folders?

Also, on Mac I always run tomcat with sudo.  Is there an "admin" equivalent of running tomcat as root on Windows?



03-Oct-2017 12:38:29.594 INFO [localhost-startStop-1] org.apache.catalina.startup.HostConfig.deployWAR Deploying web application archive D:\opt\tomcat\webapps\access.war
03-Oct-2017 12:39:41.898 SEVERE [localhost-startStop-1] org.apache.catalina.core.StandardContext.startInternal One or more Filters failed to start. Full details will be found in the appropriate container log file
03-Oct-2017 12:39:41.898 SEVERE [localhost-startStop-1] org.apache.catalina.core.StandardContext.startInternal Context [/access] startup failed due to previous errors

03-Oct-2017 12:39:48.680 SEVERE [localhost-startStop-1] org.apache.catalina.core.StandardContext.startInternal One or more listeners failed to start. Full details will be found in the appropriate container log file
03-Oct-2017 12:39:48.680 SEVERE [localhost-startStop-1] org.apache.catalina.core.StandardContext.startInternal Context [/accountvalidator] startup failed due to previous errors
03-Oct-2017 12:39:48.696 WARNING [localhost-startStop-1] org.apache.catalina.loader.WebappClassLoaderBase.clearReferencesThreads The web application [accountvalidator] appears to have started a thread named [Sakai.SessionComponent.Maintenance] but has failed to stop it. This is very likely to create a memory leak. Stack trace of thread:
 java.lang.Thread.sleep(Native Method)
 org.sakaiproject.tool.impl.SessionComponent$Maintenance.run(SessionComponent.java:601)
 java.lang.Thread.run(Thread.java:748)
03-Oct-2017 12:39:48.712 SEVERE [localhost-startStop-1] org.apache.catalina.loader.WebappClassLoaderBase.checkThreadLocalMapForLeaks The web application [accountvalidator] created a ThreadLocal with key of type [uk.org.ponder.saxalizer.support.SAXalXMLProvider$1] (value [uk.org.ponder.saxalizer.support.SAXalXMLProvider$1@7f7b43b2]) and a value of type [uk.org.ponder.saxalizer.SAXalizerHelper] (value [uk.org.ponder.saxalizer.SAXalizerHelper@5984b361]) but failed to remove it when the web application was stopped. Threads are going to be renewed over time to try and avoid a probable memory leak.
03-Oct-2017 12:39:48.712 INFO [localhost-startStop-1] org.apache.catalina.startup.HostConfig.deployWAR Deployment of web application archive D:\opt\tomcat\webapps\accountvalidator.war has finished in 6,783 ms

03-Oct-2017 12:39:48.712 INFO [localhost-startStop-1] org.apache.catalina.startup.HostConfig.deployWAR Deploying web application archive D:\opt\tomcat\webapps\adminsiteperms.war
03-Oct-2017 12:39:51.446 INFO [localhost-startStop-1] org.apache.catalina.loader.WebappClassLoaderBase.checkStateForResourceLoading Illegal access: this web application instance has been stopped already. Could not load [org/sakaiproject/config/kernel.properties]. The following stack trace is thrown for debugging purposes as well as to attempt to terminate the thread which caused the illegal access.
 java.lang.IllegalStateException: Illegal access: this web application instance has been stopped already. Could not load [org/sakaiproject/config/kernel.properties]. The following stack trace is thrown for debugging purposes as well as to attempt to terminate the thread which caused the illegal access.
    at org.apache.catalina.loader.WebappClassLoaderBase.checkStateForResourceLoading(WebappClassLoaderBase.java:1328)
    at org.apache.catalina.loader.WebappClassLoaderBase.getResourceAsStream(WebappClassLoaderBase.java:1063)
    at org.springframework.core.io.ClassPathResource.getInputStream(ClassPathResource.java:166)
    at org.sakaiproject.util.SakaiProperties$SakaiPropertiesFactoryBean.loadProperties(SakaiProperties.java:390)
    at org.sakaiproject.util.SakaiProperties$SakaiPropertiesFactoryBean.mergeProperties(SakaiProperties.java:366)
    at org.sakaiproject.util.SakaiProperties$SakaiPropertiesFactoryBean.createInstance(SakaiProperties.java:309)
    at org.sakaiproject.util.SakaiProperties$SakaiPropertiesFactoryBean.afterPropertiesSet(SakaiProperties.java:291)
    at org.sakaiproject.util.SakaiProperties.afterPropertiesSet(SakaiProperties.java:80)
    at









On Wed, Oct 4, 2017 at 1:13 AM, Miguel Pellicer <mpel...@entornosdeformacion.com> wrote:

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.

Neal Caidin

unread,
Oct 5, 2017, 1:09:36 PM10/5/17
to Sakai Development
Hi,

I'm not an expert (to be honest) but if you want to jump on BigBlueButton in the next day or two I would be willing to see what you are doing. Maybe some dev will be available (most likely that would happen in the morning time).  Probably I could do 11 am tomorrow. But we would need to schedule off-list. Email neal....@apereo.org

Best,
Neal

Neal Caidin

unread,
Oct 5, 2017, 1:09:52 PM10/5/17
to Sakai Development
11 am Eastern

vasilvas...@gmail.com

unread,
Oct 6, 2017, 6:04:34 PM10/6/17
to Sakai Development
Thank you Neil,
i'm really busy a the time but when i'm free again i will try to install everything from scratch for the nth time! If it doesn't work again, maybe we can schedule something!
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.

Neal Caidin

unread,
Oct 9, 2017, 8:19:22 AM10/9/17
to vasilvas...@gmail.com, Sakai Development
Hi ,

Okay, sounds good. 

Best,
Neal


To unsubscribe from this group and stop receiving emails from it, send an email to sakai-dev+unsubscribe@apereo.org.

Volkan Musa Bostanci

unread,
Mar 12, 2023, 4:26:43 AM3/12/23
to Sakai Development, Neal Caidin, Sakai Development
Yea absoulently same errors. i tried everything for almost 2 week.  I installed all versions of maven,tomcat, jdk tried with them. even source code or binary build same error. now  i am %99 sure there is something else .

Mark Golbeck

unread,
Mar 12, 2023, 5:18:22 AM3/12/23
to Volkan Musa Bostanci, Sakai Development, Neal Caidin
I had this same problem. My sakai.properties folder was in the wrong location. I put it in the right folder and it worked. So it could be your sakai.properties folder is in the wrong folder. 

Volkan Musa Bostanci

unread,
Mar 12, 2023, 3:16:06 PM3/12/23
to Sakai Development, mark.g...@learnxp.com, Sakai Development, Neal Caidin, Volkan Musa Bostanci
could you tell me which folder catalina_home/sakai for sakai.properties or if yours working could you share with me the versions of you use like maven, jdk, mysql, tomcat versions. i am sick of it changing one to another. nightly servers does not mean anything. i tried them as well.

Charles Severance

unread,
Mar 12, 2023, 8:38:45 PM3/12/23
to dev sakai, Volkan Musa Bostanci
There are so many ways that things can go wrong in your Tomcat that debugging your Tomcat is not likely to be successful.    Starting with a fresh Tomcat and a careful deploy is the only way to get things working.  The nightlies prove that this is not likely a Sakai “bug” or error in the correct deployment of Sakai.

This is my process for setting up a Sakai in Mac or Linux:


I don’t do Windows or docker so I am not much help there.

/Chuck

Mark Golbeck

unread,
Mar 17, 2023, 3:54:24 PM3/17/23
to Charles Severance, Miguel Pellicer, dev sakai, Volkan Musa Bostanci
@Miguel Pellicer has a guide for Windows users on how to install Sakai. I used it to get my instance working locally. 

--
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.
Reply all
Reply to author
Forward
0 new messages