Forum LAMS for Tech-Heads - General Forum: LAMS 1.0.2 and Moodle 1.7

You may request notification for LAMS 1.0.2 and Moodle 1.7.

1: LAMS 1.0.2 and Moodle 1.7
11/22/06 05:32 AM
[ Reply | Forward ]
I installed LAMS 1.0.2 and Moodle 1.7 in the same server, I do all the configs needed (create an organization, insert the record in the table ext_server_org_map with my userinfo_url. In Moodle I configure the server_url, serverid and serverkey), but when I add a LAMS activity to a course I get the following error message:

An unexpected error returned from LAMS server: soapenv:Server.userException: java.rmi.RemoteException: 1; nested exception is: java.lang.ArrayIndexOutOfBoundsException: 1

I install in the same server using the same LAMS, Moodle 1.6.2 and it works fine.

Best regards,

Alexis Aguiluz

pd: sorry, but my english is not good :S

Posted by Alexis Aguiluz

2: Re: LAMS 1.0.2 and Moodle 1.7
In response to 1 11/22/06 08:42 AM
[ Reply | Forward ]
I atach a png file with the error.

Posted by Alexis Aguiluz

3: Re: LAMS 1.0.2 and Moodle 1.7
In response to 1 11/22/06 06:47 PM
[ Reply | Forward ]
Hi Alexis,

If you are using the same LAMS to test with Moodle 1.6 and 1.7, have you made sure that the 'prefix' in ext_server_org_map for each of the Moodle servers is unique?

Also, make sure that the serverid is also unique for each of the Moodle servers.

Posted by Jun-Dir Liew

4: Re: Re: LAMS 1.0.2 and Moodle 1.7
In response to 3 11/23/06 05:51 AM
[ Reply | Forward ]
Hi Jun,

This is the content of my LAMS database:

air-jordan:~# mysql -u root -p
Enter password:
Welcome to the MySQL monitor. Commands end with ; or \g.
Your MySQL connection id is 792 to server version: 5.0.24a-Debian_4-log
Type 'help;' or '\h' for help. Type '\c' to clear the buffer.
mysql> use lams
Reading table information for completion of table and column names
You can turn off this feature to get a quicker startup with -A
Database changed
mysql> select * from ext_server_org_map;

1lamsserver01lamskey01Servidor LAMS01Servidor LAMS01rdhf 01020
2lamsserver02lamskey02Servidor LAMS02Servidor LAMS02rdhf2 01021
2 rows in set (0.00 sec)

mysql> quit

Moreover, I'm using two virtual host for the different versions of Moodle, in is Moodle1.7 and Moodle 1.6.2 in the other.



Posted by Alexis Aguiluz

5: Re: Re: Re: LAMS 1.0.2 and Moodle 1.7
In response to 4 12/01/06 04:12 AM
[ Reply | Forward ]
Oh, like me last time I'm using Moodle and LAMS

You can watch this topic to have answer like me, too!

Posted by Hoang Van Huan

Reply to first post on this page
Back to LAMS for Tech-Heads - General Forum