Unix Scenario 1
Installation
Setup
- Use Ubuntu 9.04
server 
- Use apt-get install mysql-server java6

- Download jboss-4.0.2

- Install wildfire

- Install LAMS
- LAMS 2.3 installer

- Starting Up LAMS 2.3

- LAMS 2.3 installer
Ubuntu 9.04 Server VM
Using a VM created with Ubuntu 9.04 Server
AMD 64. Installed with OpenSSH-Server.
Java and MySQL
root@ubuntu904:~# apt-get install sun-java6-jdk mysql-server-5.0 ...
- Leave MySQL Root password blank
- Accept the Java license
Download JBoss 4.0.2
root@ubuntu904:/tmp# wget http://transact.dl.sourceforge.net/sourceforge/jboss/jboss-4.0.2.tar.gz --2009-04-29 20:26:55-- http://transact.dl.sourceforge.net/sourceforge/jboss/jboss-4.0.2.tar.gz Resolving transact.dl.sourceforge.net... 202.55.147.10 Connecting to transact.dl.sourceforge.net|202.55.147.10|:80... connected. HTTP request sent, awaiting response... 200 OK Length: 61652409 (59M) [application/x-gzip] Saving to: `jboss-4.0.2.tar.gz' 100%[=========================================================================================================>] 61,652,409 24.6M/s in 2.4s 2009-04-29 20:26:58 (24.6 MB/s) - `jboss-4.0.2.tar.gz' saved [61652409/61652409] root@ubuntu904:/tmp# cd /usr/local/ root@ubuntu904:/usr/local# tar xzf /tmp/jboss-4.0.2.tar.gz root@ubuntu904:/usr/local#
Install wildfire
Getting Wildfire 2.6.2![]()
root@ubuntu904:/tmp# wget wget http://www.igniterealtime.org/builds/wildfire/wildfire_2_6_2.tar.gz --2009-04-29 20:29:30-- http://wget/ Resolving wget... ^C root@ubuntu904:/tmp# root@ubuntu904:/tmp# wget http://www.igniterealtime.org/builds/wildfire/wildfire_2_6_2.tar.gz --2009-04-29 20:29:34-- http://www.igniterealtime.org/builds/wildfire/wildfire_2_6_2.tar.gz Resolving www.igniterealtime.org... 70.98.39.60 Connecting to www.igniterealtime.org|70.98.39.60|:80... connected. HTTP request sent, awaiting response... 200 OK Length: 5558234 (5.3M) [application/x-gzip] Saving to: `wildfire_2_6_2.tar.gz' 100%[=========================================================================================================>] 5,558,234 184K/s in 30s 2009-04-29 20:30:04 (182 KB/s) - `wildfire_2_6_2.tar.gz' saved [5558234/5558234] root@ubuntu904:/tmp# cd /usr/local/ root@ubuntu904:/usr/local# tar xzf /tmp/wildfire_2_6_2.tar.gz root@ubuntu904:/usr/local# cd wildfire/bin/ root@ubuntu904:/usr/local/wildfire/bin# ./wildfire start testing JVM in /usr ... Starting wildfire nohup: appending output to `nohup.out' root@ubuntu904:/usr/local/wildfire/bin#
Install LAMS
LAMS 2.3 installer
Get the installers from: Downloads
root@ubuntu904:/tmp# tar xfz lams-unix-installer-2.3-20090429.1705.tar.gz root@ubuntu904:/tmp# cd lams-unix-installer-2.3 root@ubuntu904:/tmp/lams-unix-installer-2.3#
Editing lams.properties
Only one change to point to the Java JDK6 dir:
... # The directory that contains your JDK. (Must be 1.5 or higher) JDK_DIR=/usr/lib/jvm/java-6-sun/ ...
Running the installer
root@ubuntu904:/tmp/lams-unix-installer-2.3# ./install-lams.sh JDK_DIR is valid -------------------------------------------------------------------------------- WELCOME to the LAMS 2.3 unix Installer! Please ensure you have read and accepted the license agreement before continuing Make sure you have correctly configured the lams.properties file to your preferred settings. You should read the installation guide before continuing. JAVA_HOME = /usr/lib/jvm/java-6-sun/ -------------------------------------------------------------------------------- LAMS requires about 117MB of space, continue with installation? (y)es, (n)o: y Do you wish to install LAMS as a Java Service Wrapper? (y)es, (n)o, (q)uit: n Using LAMS database with the following parameters... Database name: lams2 Database user: lamsuser Database password: lamsdemo Creating LAMS database. Buildfile: ant-scripts/configure-database.xml Database Created. Filling database with LAMS tables Buildfile: ant-scripts/filter-config.xml Buildfile: ant-scripts/configure-database.xml Database Created. Filling database with LAMS tables Buildfile: ant-scripts/filter-config.xml Buildfile: ant-scripts/configure-database.xml Done. Database Created. Copying lams.ear directory to /usr/local/jboss-4.0.2/server/default/deploy. Done. Configuring JBoss with your settings. Buildfile: ant-scripts/configure-deploy.xml cp: cannot stat `repository/*': No such file or directory cp: cannot stat `secure/*': No such file or directory Configuring the java Wrapper Copying lams.properties to /etc. LAMS 2.3 Configuration completed! Please view the README for instructions on how to run LAMS. root@ubuntu904:/tmp/lams-unix-installer-2.3#
Starting Up LAMS 2.3
root@ubuntu904:/tmp# cd /usr/local/jboss-4.0.2/bin/ root@ubuntu904:/usr/local/jboss-4.0.2/bin# ./run.sh run.sh: Missing file: /lib/tools.jar run.sh: Unexpected results may occur. Make sure JAVA_HOME points to a JDK and not a JRE. ========================================================================= JBoss Bootstrap Environment JBOSS_HOME: /usr/local/jboss-4.0.2 JAVA: java JAVA_OPTS: -server -Xms128m -Xmx512m -XX:MaxPermSize=256m -Dprogram.name=run.sh CLASSPATH: /usr/local/jboss-4.0.2/bin/run.jar:/lib/tools.jar ========================================================================= 20:51:42,262 INFO [Server] Starting JBoss (MX MicroKernel)... 20:51:42,264 INFO [Server] Release ID: JBoss [Zion] 4.0.2 (build: CVSTag=JBoss_4_0_2 date=200505022023) 20:51:42,264 INFO [Server] Home Dir: /usr/local/jboss-4.0.2 20:51:42,265 INFO [Server] Home URL: file:/usr/local/jboss-4.0.2/ 20:51:42,266 INFO [Server] Library URL: file:/usr/local/jboss-4.0.2/lib/ 20:51:42,267 INFO [Server] Patch URL: null 20:51:42,268 INFO [Server] Server Name: default 20:51:42,268 INFO [Server] Server Home Dir: /usr/local/jboss-4.0.2/server/default 20:51:42,269 INFO [Server] Server Home URL: file:/usr/local/jboss-4.0.2/server/default/ 20:51:42,269 INFO [Server] Server Data Dir: /usr/local/jboss-4.0.2/server/default/data 20:51:42,270 INFO [Server] Server Temp Dir: /usr/local/jboss-4.0.2/server/default/tmp 20:51:42,270 INFO [Server] Server Config URL: file:/usr/local/jboss-4.0.2/server/default/conf/ 20:51:42,271 INFO [Server] Server Library URL: file:/usr/local/jboss-4.0.2/server/default/lib/ 20:51:42,271 INFO [Server] Root Deployment Filename: jboss-service.xml 20:51:42,275 INFO [Server] Starting General Purpose Architecture (GPA)... 20:51:42,725 INFO [ServerInfo] Java version: 1.6.0_13,Sun Microsystems Inc. 20:51:42,726 INFO [ServerInfo] Java VM: Java HotSpot(TM) 64-Bit Server VM 11.3-b02,Sun Microsystems Inc. 20:51:42,726 INFO [ServerInfo] OS-System: Linux 2.6.28-11-server,amd64 20:51:43,365 INFO [Server] Core system initialized 20:51:45,544 INFO [Log4jService$URLWatchTimerTask] Configuring from URL: resource:log4j.xml 2009-04-29 20:51:50,999 INFO [WebService] Using RMI server codebase: http://ubuntu904:8083/ 2009-04-29 20:51:51,452 INFO [NamingService] Started jndi bootstrap jnpPort=1099, rmiPort=1098, backlog=50, bindAddress=/0.0.0.0, Client SocketFactory=null, Server SocketFactory=org.jboss.net.sockets.DefaultSocketFactory@ad093076 ... ... 2009-04-29 20:52:59,728 INFO [LocaleFilter] Initializing filter 'LocaleFilter' 2009-04-29 20:52:59,729 INFO [LocaleFilter] Filter 'LocaleFilter' configured successfully 2009-04-29 20:52:59,753 INFO [EARDeployer] Started J2EE application: file:/usr/local/jboss-4.0.2/server/default/deploy/lams.ear/ 2009-04-29 20:52:59,870 INFO [Http11Protocol] Starting Coyote HTTP/1.1 on http-0.0.0.0-8080 2009-04-29 20:53:00,162 INFO [ChannelSocket] JK: ajp13 listening on /0.0.0.0:8009 2009-04-29 20:53:00,185 INFO [JkMain] Jk running ID=0 time=0/42 config=null 2009-04-29 20:53:00,204 INFO [Server] JBoss (MX MicroKernel) [4.0.2 (build: CVSTag=JBoss_4_0_2 date=200505022023)] Started in 1m:17s:930ms
LAMS starts fine
![]()
Functional Test
Unix Scenario 1
Ubuntu 9.04 server
| Details | Description | Other Notes |
|---|---|---|
| Server URL | http://ubuntu.lamsinternational.com/lams |
More info |
| Browsers use | Mozilla Firefox 3.0.10, Google Chrome 1.0.154.65 |
- |
| OS | Microsoft Windows XP SP3 |
- |
| Tested By | Ruslan Kazakov |
- |
| Date/Time | 01.05.2009/10.00AM |
- |
Instructions
Go thru the lists of features below and test each of them accordingly. Make sure you add any comments or notes as required. If a feature test results in a Jira, add the Jira task [LDEV-XYZ|http://bugs.lams...] in the Notes. If feature test works add a
[like
] to the Works column. Otherwise
[like
].
Admin
| Feature | Works | Issues/Notes |
|---|---|---|
| Import Users and Roles | |
4 users and 9 roles were imported successfully. |
| Edit configuration settings for Chat (use shaun) | |
Chat configuration settings were successfully saved. |
| Edit configuration settings for Video Recorder (use videos.lamsinternational.com) | |
Media Server configuration settings were successfully saved. |
| Edit login picture and text (Maintain login page) | |
Text on LAMS login page was changed and new logo was added. |
| Enable/Disable a tool (see Learning Library Management) | |
Tools can be successfully enabled and disabled. All tools were checked. |
| Change default tool content for Share Resources (Tool Management) | |
Share Resources Tool default content was successfully changed. |
| Register server with the LAMS Community | |
Retested for 2.3 release. Server was registred successfully. |
| Group Management: Create a group: Group Administrators can add new users Group Administrators can browse all users in the system Group Administrators can change status of course Enable Gradebook for Monitors Enable Gradebook for Learners |
|
New group was created and group rights were set successfully. |
| Manage user for the course and add all testing users | |
Users were added to the course. |
| Create a user with either Turkish, Russian, Greek as language and give it Monitor, Learner and Author rights on the course | |
User with Russian locale was created and roles were set successfully. |
| Edit the Mathematics 1 course and enable gradebook | |
Mathematics 1 was updated successfully. Gradebook was added. |
| Delete user (within Mathematics 1). Delete the mmm from the course | |
User was deleted successfully. |
| Change the roles for user lamskh01 to just learner | |
Roles for user 'lamskh01' were changed. |
| Create a new subgroup under Mathematics 1 | |
New subgroup under Mathematics 1 was successfully created. |
Author
| Feature | Works | Issues/Notes |
|---|---|---|
| Import the following sequences: LAMS101, Lesson 3 - LAMS Activities LAMS 101, Lesson 2 - LAMS Environments LAMS101 part 1 - What Is LAMS? To do: * Preview them all the way to the end. * Export them as LAMS export and/or IMS LD. |
|
All three sequences were imported to Author, previewed and exported in LAMS Export and IMS LD successfully. |
| Import/Export old sequences - .las files: Choosing a Mobile IV Todo: * Preview it * Exported as LAMS format. |
|
|
| Create a sequence with: NB -> Shared Res. -> Group (3 groups random) -> Chat (group it) -> Vote -> Branching (based on the output of Vote -2 branches) --> Branch 1 (Pixlr -> Wiki -> Forum&Scribe --> Branch 2 (Task List -> Survey -> Multiple Choice -> (After branching) -> Image Gallery -> Data Collection. Save sequence and preview to the end |
|
|
| Save As in the Public Folder | |
Sequence was saved successfully. |
| Copy LAMS101, Lesson 3 - LAMS Activities from your personal folder to Public Folder | |
Sequences were copied successfully. |
| Create a sequence with NB -> Optional Sequence (3 branches) -> Chuck any activity into each branch -> Mindmap -> Gate (to be release on condition from Mindmap -> Gmap -> Notebook. Save and Preview (check conditions are inforced | |
Sequence was created and saved successfully. |
| In any activity test the paint fckeditor feature. Once you created the drawing, edit it again | |
Paint plugin worked fine. |
| In any activity test the equation plugin for fckeditor. Once created it, edit it again | |
FCK Equation plugin worked fine. |
| Record a video (windows and mac browser clients) using the Video Recorder plugin fckeditor | |
FCK Video Recorder plugin worked fine. |
| Insert/Merge activity | |
Insert/Merge activity worked fine. |
| Import from lams community | |
Import from lams community worked. |
| Check all tool authoring pages - I18n | |
Authoring pages worked fine. |
| Check flash author i18n | |
Flash Author worked fine. |
| Optional activities/sequences | |
Optional activities and sequences worked fine. |
| Grouping (all types), check functionality on all new tools | |
Grouping worked fine. |
| Branching (output-based, group based, nested, etc) | |
Branching worked fine. |
| Gates (outputs based, etc) | |
Gates worked fine. |
| Floating activities | |
Floating activities worked fine. |
| Arrange activities | |
Worked fine except optional activities/sequences are mixed up with other activities. LDEV-2278 |
|
| Recover sequence | |
Recover feature worked fine. |
| Copy/Paste, Undo/Redo. Check for all new activities with different properties | |
Tested Copy/Paste and Undo/Redo on Assessment, Mindmap, ViderRecorder and Pixlr. All tools worked fine. |
| Preview - check for all activities and check progress bar | |
Preview feature worked fine. |
| Ouputs to gradebook - export/import | |
Gradebook worked fine. |
Monitor
| Feature | Works | Issues/Notes |
|---|---|---|
| View Learners / Edit class | |
Worked fine. |
| Change status | |
Activity status was changed successfully. |
| Export portfolio | |
Portfolio was exported fine. |
| Competences | |
Worked fine. |
| Live edit - all new tools | |
Live edit worked fine. |
| Author page - all new tools - i18n | |
Author pages worked fine. |
| Time charts - existing and new lessons | |
Time charts worked fine. |
| Load testing - lots of users in sequence view etc | |
Worked fine. |
| Assigning branching/gates/group in monitor | |
Worked fine. |
Learner
| Feature | Works | Issues/Notes |
|---|---|---|
| Learner pages - all new tools + grouping | |
Learner pages work fine. |
| Workflow stuff (grouping, branching, gates, optional activities/sequences) | |
Worked fine. |
| Floating activities | |
Floating activities worked fine. |
| Learner notepad | |
Worked fine. |
| Export - include all new tools | |
Export worked fine. |
| Presence/chat - different browsers | |
Monitor is not updated. There is no checkbox to enable Chat! |
Gradebook
| Feature | Works | Issues/Notes |
|---|---|---|
| Marking lesson/activities | |
Marking was done successfully. |
| Giving lesson/activity feedback | |
Worked fine. |
| Release marks to student | |
Markes were released/hidden successfully. |
| Course gradebook | |
Worked fine. |
| My Grades page | |
Worked fine. |
| Add remove columns | |
Worked fine. |
| Search/navigate rows | |
Worked fine. |
| Auto filling marks for multiple choice and assessment tools | |
Worked fine. |
| Marking from forum and submit files monitor pages fills gradebook row | |
Worked fine. |
| Grouped activities | |
Group activities worked fine. |
Miscelaneous
| Feature | Works | Issues/Notes |
|---|---|---|
| Marcin's jboss slimming changes | - | Ignored. |
| Performance and memory load testing - lots of users | - | Ignored. |
| Tool adapters | - | Ignored. |
| Integrations | - | Ignored. |