6 sample files that will be used for the load testing:
| Name | Size | Creator (Last Modifier) | Creation Date | Last Mod Date | Comment | ||
|---|---|---|---|---|---|---|---|
| 77 kB | Lydia Li | May 09, 2007 | May 09, 2007 | This test contains all question types except file upload type. | |||
| 77 kB | Lydia Li | May 09, 2007 | May 09, 2007 | This test contains all question types except audio type. | |||
| 74 kB | Lydia Li | May 09, 2007 | May 09, 2007 | This test contains all question types except file upload type and audio type. | |||
| 145 kB | Lydia Li | May 09, 2007 | May 09, 2007 | CP zip file , contains multi parts, all multiple choices, with inline images. | |||
| 7.97 MB | Lydia Li | May 09, 2007 | May 09, 2007 | CP zip file, contains multiple choice and audio test. It contains a large .mov file attachment. | |||
| 79 kB | Lydia Li | May 09, 2007 | May 09, 2007 | This test contains all question types that Samigo supports. | |||
| 111 kB | Lydia Li | May 11, 2007 | May 11, 2007 | a single-part test that can be imported to a question pool |
1. Signing the audio applet
1. assuming you have deployed sakai in tomcat already, and samigo.war has expanded in tomcat/webapps, first shutdown tomcat
2. signing the applet using your certificate.
> cd tomcat/webapps/samigo/applets
> jarsigner -keystore yourKeystore -storepass yourPassword sakai-samigo-audio-dev.jar yourAlias
> jarsigner -verify sakai-samigo-audio-dev.jar
3. restart tomcat
Now you should be able to load the applet and record your answers for an audio recording question.
4. You will need to repeat step 1-3 for all your tomcat servers.
2. Signing applet during maven build.
There is a way to sign this applet when you run "maven sakai". It involves modifying the sam/samigo-audio/maven.xml and add this postGoal. This will allow the jar to be signed during compilation/build and the signed jar will be deployed in tomcat. You won't need to sign individual jars in all servers.
<postGoal name="jar:jar">
<ant:signjar
alias="youralias"
keystore="/yourfolder/your.keystore"
storepass="yourpassword">
<ant:fileset dir="target">
<ant:include name="*.jar" />
</ant:fileset>
</ant:signjar>
</postGoal>
3 here is an example on creating a self-signed certificate and use it to sign your applet:
1. create a self-signed ketstore
keytool -genkey -keyalg RSA -keystore ~/daisyf/applet-keystore/audio_applet_keystore -alias audioApplet -keypass mypassword -validity 3650
I used these value when prompted "cn=Daisy Flemming, ou=SUL / ACOMP, o=Stanford University, l=Stanford, st=CA, c=US"
2. create self-signed certificate
keytool -selfcert -keystore ~/daisyf/applet-keystore/audio_applet_keystore -alias audioApplet -dname "cn=Daisy Flemming, ou=SUL / ACOMP, o=Stanford University, l=Stanford, st=CA, c=US" -validity 3650
e. signing applet
cd ~/nightly/sakai2.2-oracle/tomcat/webapps/samigo/applets
jarsigner -keystore ~/daisyf/applet-keystore/audio_applet_keystore -storepass mypassword sakai-samigo-audio-dev.jar audioApplet
jarsigner -verify sakai-samigo-audio-dev.jar