Forum Problems Installing LAMS: Re: Re: Re: (...) Lams URL


 
Search: 

14: Re: Re: Re: (...) Lams URL
In response to 13 03/15/07 11:35 AM
[ Reply | Forward ]
The attachement fails to be sent, I will try again.

Posted by Pedro Quaresma

Attachments:
15: Re: Re: Re: Re: (...) Lams URL
In response to 14 03/15/07 11:55 AM
[ Reply | Forward ]
It is working now :)

I forgot to modify the memory settings when I (re)installed the JBOSS 4.0.2 (after uninstalling JBOSS 4.0.5).

Let me ask two other things:

The localhost:8080 setting in lams.properties affects in any way the server capability? I want to link LAMS and Moodle, and I want the the Moodle server be available from other computers.

The setting (in lams_configuration)

SMTPServer | mail.lib.mq.edu.au

shouldn't be changed to a local smtpserver?


Many (many, many, many :) thanks for all your help.

Posted by Pedro Quaresma

16: Re: Re: Re: Re: Re: (...) Lams URL
In response to 15 03/15/07 04:32 PM
[ Reply | Forward ]
Glad to hear it is working!

(1) The localhost:8080 in lams.properties: you should change that to use your "real" server name ie hilbert.mat.uc.pt

The lams.properties file is only used by the install - it isn't used while LAMS is running. So changing it in the lams.properties file now won't change how LAMS behaves. But you should change it so that you have a lams.properties files that is correct, should you ever have to re-install LAMS.

As you have already discovered, the configuration details used when LAMS is running is kept in the lams_configuration table in the database and can be updated via the sysadmin menu. You need to make sure that the setting there for the ServerURL is correct. This will need to be the same address that you put into the Moodle module to integrate the two systems, so you are right - localhost:8080 won't work!

The instructions for changing the serverURL setting are on the page Changing Server Ports for LAMS. I wrote this page yesterday to summarise all the advice we have been giving about changing the port that LAMS runs on - given the number of postings on this subject!

(2) The setting in the SMTPServer field should be your own smtpserver, or blank. We don't actually use it at the moment but we have plans to use it in the future.

(3) The instructions for linking LAMS and Moodle are available on LAMS v2.0 Integration Setup Step-by-Step Guide. The screendumps on this page say localhost, but that is only because they were done on my laptop and no one ever accesses that from another machine! In your case, it would be hilbert.mat.uc.pt and whatever servername you use for Moodle.

Fiona

Posted by Fiona Malikoff

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