Forum LAMS for Tech-Heads - General Forum: Re: Re: Re: Lams deployment


 
Search: 

4: Re: Re: Re: Lams deployment
In response to 3 09/02/09 04:49 AM
[ Reply | Forward ]
Hi Marco,

I have two scripts to build LAMS from shell. The first script cvsupdate.sh just gets the latest from CVS (from the 2_3_release branch).

The compile-lams.sh copies a few configuration files (which I have previously configured (unix.properties, common.properties, insert_unix_config_data.sql). These files contain the jboss_dir, mysql users and passwords, location of directories, etc.

Then it goes thru the list and compiles LAMS accordingly.

Every time I need to do test on the branch, I just run the cvsupdate.sh and then compile-lams-sh and voila... all ready to go.

In my local file system, jboss is in /d/jboss-4.0.2/ the source is in /d/lams2. So you need to change paths accordingly.

The two scripts are attached. Hope that helps.

Thanks,

Ernie

Posted by Ernie Ghiglione

Attachments:
5: Re: Re: Re: Re: Lams deployment
In response to 4 09/02/09 08:38 AM
[ Reply | Forward ]
Thanks Ernie for the scripts
my problem was that i was working on lams2_3 tag
and after reading on your scripts is lams2_3_release

thanks a lot
i deployed it and run jboss and all works fine..


now step 2 install eclipse or something and start playing with the source code :)



Again thanks for all the help...

Posted by Marco Ramos

6: Re: Re: Re: Re: Lams deployment
In response to 4 05/22/11 07:12 AM
[ Reply | Forward ]
Hi Ernie,

I am using your script to keep in sync with lams2_3_release on Ubuntu Natty and have been successful in the installation. Thanks for the script.

I installed just the lams-jboss4_4.0.2-1_all.deb package from repository, used your cvsupdate, compile-lams scripts to assemble/deploy lams and then later parts of the postinst script from the lams2_2.3.4-1_all.deb package to conform to the links, directories and the /etc/init.d/lams2. So far no problems, as far as I can tell

Here is where I may need your assistance -- While working with the tasklist tool, I am unable to reposition the tasks up or down. I tried testing the tasklist tool on you demo server at http://moodle.lamscommunity.org/moodle2 but was unable to duplicate due to lack of access "Your current role does not allow you to view this page.". I am wondering if you could add that access to user fatiedu on the demo moodle/lams. If this request is inappropriate, then it is no problem.

Shall I create a fresh post for the Tasklist, let me know if that would be preferable.

Thanks for your help
Regards,

Here is some detail on my end for the tasklist tool, see the asterisk comment in localhost_access_log.2011-05-22.log.

localhost_access_log.2011-05-22.log
192.168.56.1 - butyut [22/May/2011:15:43:13 +0400] "GET /lams/tool/latask10/authoring/start.do?toolContentID=470&contentFolderID=ff808181301600cb0130167fbd300065 HTTP/1.1" 200 521
192.168.56.1 - butyut [22/May/2011:15:43:13 +0400] "POST /lams/tool/latask10/authoring/init.do?mode=author HTTP/1.1" 200 36799
192.168.56.1 - butyut [22/May/2011:15:43:13 +0400] "GET /lams//fckeditor//editor/fckeditor.html?InstanceName=taskList.instructions&Toolbar=Default HTTP/1.1" 304 -

*************This is where I attempted to move the tasks up or down, but there were no "POST"output in the logs for move up/down.do **************

192.168.56.1 - butyut [22/May/2011:15:43:41 +0400] "POST /lams/tool/latask10/authoring/update.do HTTP/1.1" 200 36066
192.168.56.1 - butyut [22/May/2011:15:43:41 +0400] "GET /lams/tool/latask10/clearsession.do?action=confirm&mode=author&signature=latask10&toolContentID=470&defineLater=&customiseSessionID=sessionMapID-0&contentFolderID=ff808181301600cb0130167fbd300065 HTTP/1.1" 302 -
192.168.56.1 - butyut [22/May/2011:15:43:41 +0400] "GET /lams/authoringConfirm.jsp?reEditUrl=http%3A%2F%2Flamsedu.sma%3A8080%2Flams%2Ftool%2Flatask10%2Fauthoring%2Fstart.do%3FtoolContentID%3D470%26contentFolderID%3Dff808181301600cb0130167fbd300065 HTTP/1.1" 200 1798

Posted by Afroze Fatima Abidi

7: Re: Re: Re: Re: Re: Lams deployment
In response to 6 05/22/11 01:22 PM
[ Reply | Forward ]
Here is the firebug console error output while attemting to move up the task in tasklist tool

http://lamscommunity.org/dotlrn/file-storage/view/dotlrn_fs_1266389_root_folder/dotlrn_fs_1266389_shared_folder/lstask10-error.png

Posted by Afroze Fatima Abidi

8: Re: Re: Re: Re: Re: Lams deployment
In response to 6 05/22/11 07:06 PM
[ Reply | Forward ]
Hi Afroze,

Yes, there's a bug here. I've just raised this as a dev task here:

http://bugs.lamsfoundation.org/browse/LDEV-2679

As soon as this is done, we'll release a patch. I'll keep you posted here.

Thanks,

Ernie

Posted by Ernie Ghiglione

9: Re: Re: Re: Re: Re: Re: Lams deployment
In response to 8 05/22/11 08:08 PM
[ Reply | Forward ]
Ok, thanks for the prompt reply.

I noticed Ajax code in the mix for moving that task, how are the Ajax libraries being loaded. did I miss them.

Regards,

Posted by Afroze Fatima Abidi

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