Forum Problems Installing LAMS: LAMSv2-Moodle: a weird exception


 
You may request notification for LAMSv2-Moodle: a weird exception.
Search: 

1: LAMSv2-Moodle: a weird exception
05/17/07 05:51 PM
[ Reply | Forward ]
Hi again!

I installed LAMS 2.0.2 successfully (well, i thing so...) an I tried to integrate it with MOODLE 1.8.

When server url, server id, server key and request source in Moodle were introduced, button VALIDATE display a message "These settings are valid"

Then, when I try to set up a LAMSv2 activity, appears the next message:

soapenv:Server.userException: java.rmi.RemoteException: 11; nested exception is: java.lang.ArrayIndexOutOfBoundsException: 11

can anyone help me?
thanks, Krla

Posted by Carla Segura

2: Re: LAMSv2-Moodle: a weird exception
In response to 1 05/17/07 06:06 PM
[ Reply | Forward ]
Carla,

Can you attach a copy of the LAMS logs here? Don't post them directly here - zip them up and attach the zip file.

The instructions for the logs are on the Creating DEBUG Logs page on the wiki.

Fiona

Posted by Fiona Malikoff

3: Re: Re: LAMSv2-Moodle: a weird exception
In response to 2 05/18/07 08:30 AM
[ Reply | Forward ]
Thanks Fiona!

Clic here to see my lams log.

I apreciate your help... Krla

Posted by Carla Segura

4: Re: Re: LAMSv2-Moodle: a weird exception
In response to 2 05/18/07 08:54 AM
[ Reply | Forward ]
Im sorry, here is the zip file that contains all the logs.
Thanks again, Krla

Posted by Carla Segura

5: Re: LAMSv2-Moodle: a weird exception
In response to 1 05/23/07 11:55 AM
[ Reply | Forward ]
I changed lang, and stil the same message: soapenv:Server.userException: java.rmi.RemoteException: 11; nested exception is: java.lang.ArrayIndexOutOfBoundsException: 11

In Moodle forums, nothing...
Please! help!
Thanks, Carla

Posted by Carla Segura

6: Re: LAMSv2-Moodle: a weird exception
In response to 1 05/23/07 07:32 PM
[ Reply | Forward ]
Hi Carla,

Looking at your logs, it appears that the LAMS server is unable to retrieve the Moodle user information.

Please go to this page
http://moodle.lamscommunity.org/temp/userinfo.php
and enter the details for your moodle server.

When you submit the form, it will generate the URL used by LAMS to retrieve the user info.

Could you please click on the link and post the returned text.

Anthony

Posted by Anthony Sukkar

7: Re: Re: LAMSv2-Moodle: a weird exception
In response to 6 05/24/07 03:36 PM
[ Reply | Forward ]
Thank you, Antony! thank you very much!!!

My user information URL in LAMS was wrong... I had http://mymoodleserver/moodle/mod/lams/userinfo.php?ts=%timestamp%&un=%username%&hs=%hash%
when the correct URL is
http://mymoodleserver/moodle/mod/lamstwo/userinfo.php?ts=%timestamp%&un=%username%&hs=%hash%

almost!!

Thanks again. Carla

Posted by Carla Segura

Reply to first post on this page
Back to Problems Installing LAMS