[Using Sakai] grading system

Beata Leśniak-Plewińska b.lesniak-plewinska at mchtr.pw.edu.pl
Thu Mar 21 09:04:37 PDT 2013


Hi everybody

I have tried to change the grading system and to do this I hav 
overridden the sakai-configuration.xml (arrached) file and tried to 
restart Tomcat.  Unfortunately the script script stop-sakai.sh did not 
stoppped the process (the communicates are in the attached stop.txt file).
Then I have tried to kill the process: kill -9 process_No (for example: 
kill -9 8171 for: 8171     1 24 19:27 pts/2    00:02:06 /usr/bin/java 
-Djava.util.logging.config.file=/home/sakai/sakai-demo-2.9.1/conf/logging.properties 
-server -Xmx1024m -XX:MaxNewSize=256m -XX:MaxPermSize=512m -). But after 
restarting the tomcat using start-sakai.sh there was no change in the 
list of the available grade types.

Do anybody has any idea why the script for stopping tomcat does not work 
properly and why I cannot add a new grade types. Has the Sakai demo been 
not properly installed? Is the sakai-configuration.xml file wrongly 
modified?

Cheers,
Beata
-------------- next part --------------
A non-text attachment was scrubbed...
Name: sakai-configuration.xml
Type: text/xml
Size: 4276 bytes
Desc: not available
Url : http://collab.sakaiproject.org/pipermail/sakai-user/attachments/20130321/e65f9e03/attachment.xml 
-------------- next part --------------
sakai at zibcle:~/sakai-demo-2.9.1$ ./stop-sakai.sh
Using CATALINA_BASE:   /home/sakai/sakai-demo-2.9.1
Using CATALINA_HOME:   /home/sakai/sakai-demo-2.9.1
Using CATALINA_TMPDIR: /home/sakai/sakai-demo-2.9.1/temp
Using JRE_HOME:        /usr
Using CLASSPATH:       /home/sakai/sakai-demo-2.9.1/bin/bootstrap.jar:/home/sakai/sakai-demo-2.9.1/bin/tomcat-juli.jar
Mar 19, 2013 7:34:30 PM org.apache.catalina.startup.ClassLoaderFactory validateFile
WARNING: Problem with directory [/home/sakai/sakai-demo-2.9.1/shared/classes], exists: [false], isDirectory: [false], canRead: [false]
Mar 19, 2013 7:34:30 PM org.apache.catalina.startup.Catalina stopServer
SEVERE: Catalina.stop:
java.net.ConnectException: Connection refused
        at java.net.PlainSocketImpl.socketConnect(Native Method)
        at java.net.AbstractPlainSocketImpl.doConnect(AbstractPlainSocketImpl.java:339)
        at java.net.AbstractPlainSocketImpl.connectToAddress(AbstractPlainSocketImpl.java:200)
        at java.net.AbstractPlainSocketImpl.connect(AbstractPlainSocketImpl.java:182)
        at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:391)
        at java.net.Socket.connect(Socket.java:579)
        at java.net.Socket.connect(Socket.java:528)
        at java.net.Socket.<init>(Socket.java:425)
        at java.net.Socket.<init>(Socket.java:208)
        at org.apache.catalina.startup.Catalina.stopServer(Catalina.java:457)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
        at java.lang.reflect.Method.invoke(Method.java:601)
        at org.apache.catalina.startup.Bootstrap.stopServer(Bootstrap.java:371)
        at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:452)
sakai at zibcle:~/sakai-demo-2.9.1$ ps -ef
UID        PID  PPID  C STIME TTY          TIME CMD
root         1     0  0 Feb21 ?        00:00:01 /sbin/init
root         2     0  0 Feb21 ?        00:00:00 [kthreadd]
root         3     2  0 Feb21 ?        00:00:21 [ksoftirqd/0]
root         4     2  0 Feb21 ?        00:00:21 [kworker/0:0]
root         5     2  0 Feb21 ?        00:00:00 [kworker/u:0]
root         6     2  0 Feb21 ?        00:00:00 [migration/0]
root         7     2  0 Feb21 ?        00:00:07 [watchdog/0]
root         8     2  0 Feb21 ?        00:00:00 [cpuset]
root         9     2  0 Feb21 ?        00:00:00 [khelper]
root        10     2  0 Feb21 ?        00:00:00 [kdevtmpfs]
root        11     2  0 Feb21 ?        00:00:00 [netns]
root        12     2  0 Feb21 ?        00:00:00 [xenwatch]
root        13     2  0 Feb21 ?        00:00:00 [xenbus]
root        14     2  0 Feb21 ?        00:00:03 [sync_supers]
root        15     2  0 Feb21 ?        00:00:00 [bdi-default]
root        16     2  0 Feb21 ?        00:00:00 [kintegrityd]
root        17     2  0 Feb21 ?        00:00:00 [kblockd]
root        18     2  0 Feb21 ?        00:00:16 [kworker/0:1]
root        19     2  0 Feb21 ?        00:00:00 [ata_sff]
root        20     2  0 Feb21 ?        00:00:00 [khubd]
root        21     2  0 Feb21 ?        00:00:00 [md]
root        22     2  0 Feb21 ?        00:00:00 [kworker/u:1]
root        24     2  0 Feb21 ?        00:00:00 [khungtaskd]
root        25     2  0 Feb21 ?        00:00:00 [kswapd0]
root        26     2  0 Feb21 ?        00:00:00 [ksmd]
root        27     2  0 Feb21 ?        00:00:00 [fsnotify_mark]
root        28     2  0 Feb21 ?        00:00:00 [ecryptfs-kthrea]
root        29     2  0 Feb21 ?        00:00:00 [crypto]
root        37     2  0 Feb21 ?        00:00:00 [kthrotld]
root        39     2  0 Feb21 ?        00:00:00 [khvcd]
root        58     2  0 Feb21 ?        00:00:00 [devfreq_wq]
root       151     2  0 Feb21 ?        00:00:08 [kjournald]
root       210     1  0 Feb21 ?        00:00:00 upstart-udev-bridge --daemon
root       213     1  0 Feb21 ?        00:00:00 /sbin/udevd --daemon
root       318   213  0 Feb21 ?        00:00:00 /sbin/udevd --daemon
syslog     332     1  0 Feb21 ?        00:02:23 rsyslogd -c5
root       335   213  0 Feb21 ?        00:00:00 /sbin/udevd --daemon
root       365     1  0 Feb21 ?        00:00:00 upstart-socket-bridge --daemon
root       406     1  0 Feb21 ?        00:00:02 cron
root       463     2  0 Feb21 ?        00:00:13 [flush-202:1]
root       795     1  0 Feb21 hvc0     00:00:00 /sbin/getty -8 38400 hvc0
root      5177     1  0 Mar08 ?        00:00:00 /usr/sbin/sshd -D
root      7908  5177  0 17:52 ?        00:00:00 sshd: sakai [priv]
sakai     7920  7908  0 17:53 ?        00:00:00 sshd: sakai at pts/0
sakai     7921  7920  0 17:53 pts/0    00:00:00 -bash
root      7950  5177  0 18:01 ?        00:00:00 sshd: sakai [priv]
sakai     7962  7950  0 18:01 ?        00:00:00 sshd: sakai at notty
sakai     7963  7962  0 18:01 ?        00:00:00 /usr/lib/openssh/sftp-server
root      8056  5177  0 18:31 ?        00:00:00 sshd: sakai [priv]
sakai     8068  8056  0 18:32 ?        00:00:00 sshd: sakai at notty
sakai     8069  8068  0 18:32 ?        00:00:00 /usr/lib/openssh/sftp-server
root      8070  5177  0 19:16 ?        00:00:00 sshd: sakai [priv]
sakai     8082  8070  0 19:16 ?        00:00:00 sshd: sakai at pts/2
sakai     8083  8082  0 19:16 pts/2    00:00:00 -bash
sakai     8171     1 24 19:27 pts/2    00:02:06 /usr/bin/java -Djava.util.logging.config.file=/home/sakai/sakai-demo-2.9.1/conf/logging.properties -server -Xmx1024m -XX:MaxNewSize=256m -XX:MaxPermSize=512m -
sakai     8350  8083  0 19:35 pts/2    00:00:00 ps -ef


More information about the sakai-user mailing list