Forum Problems Installing LAMS: Building LAMS 2 beta 1


 
You may request notification for Building LAMS 2 beta 1.
Search: 

1: Building LAMS 2 beta 1
07/06/06 10:25 AM
[ Reply | Forward ]
On a fresh machine I followed the instructions in

http://wiki.lamsfoundation.org/display/lams/Building+LAMS

Generally things have gone well. When I finally tried to connect to http://localhost:8080/lams it finally timed out and JBOSS had errors. I went to C:\Program Files\jboss-4.0.2\server\default\log and there were no errors in the logs (and no lams.log). I restarted JBOSS went to http://localhost:8080 and it looked fine. I then tried again with http://localhost:8080/lams and this time it worked! Not sure what is different.

A few minor issues:

common.properties says:
project_version=1.1

which I understand is the old numbering scheme.

Being new to MySQL the instructions for creating a LAMS user were inadequate and I was forced to read a fair amount of MySQL documentation even to run the script lams_common/db/sql/create_lams_11_db.sql

Also not so clear how much to uncomment in that file.

I had troubles with rebuild-db until I launched JBOSS and yet the order of instructions is the other way around.

Best,

-ken

Posted by Ken Kahn

2: Re: Building LAMS 2 beta 1
In response to 1 07/07/06 07:48 AM
[ Reply | Forward ]
Yes, Fiona has been trying to get better documentation for building v2.0beta1. But given all these pending reasons, we haven't been able to do a lot better.

However, as a little thing on the side, I've been working for on build instructions for Windows and OSX (see incomplete instructions attached).

Any volunteering for completing/expanding these instructions will be very much appreciate it. You can count on my help as well :-)

For the v2.0 stable release (end of Septemberish) we will have nice & neat installers as we did with LAMS v1.0.x.

Thanks,

Ernie

Posted by Ernie Ghiglione

Attachments:
3: Re: Building LAMS 2 beta 1
In response to 1 07/09/06 06:58 PM
[ Reply | Forward ]
Ken,

Thanks for the feedback. I'm not sure why you couldn't connect the first time. Without knowing exactly in what order you did things I'm not sure I'm game to try to guess.

I've just done some updates to try to address the other issues.

> common.properties says:
> project_version=1.1

Yep - old numbering scheme. I suspect the value isn't actually used anywhere. I've updated it in cvs but we won't update the zip copy on the Wiki as it shouldn't have broken
anything.

>I had troubles with rebuild-db until I launched JBOSS and yet the order of instructions is the other way around.

If you see it again r if someone else does, could you please post the text of the error?

I nearly always have JBOSS shutdown when running rebuild-db so it does work. There must be something I've got in our environments that we've forgotten to mention.

I prefer to rebuild-db without JBOSS running for two reasons
(1) JBOSS can get upset and throw errors when database suddenly disappears.
(2) Running the complete build with JBOSS running can take a lot longer than without JBOSS running, as JBOSS will keep trying to reload the LAMS code within JBOSS as each tool is copied over to JBOSS.

In either case, JBOSS will sometimes get so confused with all the updates being thrown it while it is still running that it then refuses to then work properly until you restart JBOSS.

Fiona

Posted by Fiona Malikoff

4: Re: Building LAMS 2 beta 1 - Configuring the Database
In response to 1 07/09/06 06:59 PM
[ Reply | Forward ]
Ken,

I've also changed the database setup instructions to make it more "gui manager" based rather than "command line" based. I'm afraid I assumed most people would have their own favourite DB GUI administration program to help then do this and didn't think to add that to the list of software to download. I'm so used to having it on my PC that I forgot to mention it :-<

I have put up some screen dumps of how it can be done from the MySQL Administrator utility that is available for MySQL on Windows, Linux and Mac OS X. I have also added MySQL Administrator (http://www.mysql.com/products/tools/administrator/) as "suggested but not required" software on the "Development Environment" page. Hopefully that will make it easier for people in the future.

Hope this all helps!

Fiona

Posted by Fiona Malikoff

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