The reason is I have problem editing course.java and updateDB.java. Apparently the readme file that comes with the downloaded zip, isn't for windows, right?
-james
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I started working on this while I configured eledge on Windows for myself. Paying work has interupted my for a few weeks, but I will get back to it eventually.
Do you have specific questions or suggestions?
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I am trying to troubleshoot when an error message occurs after I run "java updateDB ART-1010". The error message shows something regarding "com.mysql.jdbc.Driver".
My questions are
1) In course.java, there is
static String jdbcDriver = "org.gjt.mm.mysql.Driver";
Should I be changing it to
static String jdbcDriver = "com.mysql.jdbc.Driver";
which is more correct?
2) In updateDB.java, there is
private static String eledgeDir = "/var/lib/tomcat4/webapps/ROOT/WEB-INF/classes";
Do I need to change anything? I mean the part on "/var/lib/" ?
3) I have seen many files with the "properties" extension in i18n folder. I suppose they are not needed ( for now), right?
Regards,
-james
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
the "properties" files are for internationalization. You shouldn't need to touch those.
You /can/ change the org.gjt.mm.mysql.Driver to com.mysql.jdbc.Driver, and that is, in fact, more correct.
Regarding updateDB:
1) Please use the CVS version of updateDB
It contains several important fixes in the sql statements that are executed.
2) Yes, the eledgeDir needs to be changed to reflect your system.
/var/lib/ is a linux directory structure. Iin general,
eledgeDir should be the path to where the eledge java and class files are unzipped...
so, if you had them in:
c:\Program Files\tomcat4\webapps\ROOT\WEB-INF\classes\ART-1010
then, you would want to do:
c:/Program Files/tomcat4/webapps/ROOT/WEB-INF/classes
(note the forward slashes... all directories should be separated by forward slashes in java... java will handle converting the forward slash to the appropriate "marker" (/ or \ depending on your system) at runtime).
Also be sure to change any of the directories in
Course.java to reflect a windows system.
(I believe that there are already some possible windows paths in there that just need to be uncommented).
Hope this helps, let me know if you have any other issues.
Robert
Eledge Project Manager
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Right now, I am trying to install eledge 1.1.
I manage to go to the homepage ART1010.HOME.
However, I have problem connecting it to the database. The error msg shows "com.mysql.jdbc.Driver".
Any idea, anyone?
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Any particular reason when you're using eledge 1.1???
To be perfectly honest, I jumped into eledge development around 1.4, so, I'm afraid I wouldn't be much help for 1.1.
However... If you can get .Home, but are having issues connecting to the db, then, I'm guessing that it's a database permissions issue. Mysql can be a bit finnicky in how it deals with permissions. Check to be sure that the user/password you defined in Course.java are setup in the "user" table (mysql db) to have the appropriate permissions; check the db table (mysql db), as well. Then, you might try hosts... conflicting information in one table or another can cause lockouts like you describe.
Good luck.
Robert
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Glad to hear that you got it figured out.
if you want eledge in its "simplest" incarnation, then, I suppose the 1.x series is a good start...
I would start with 1.5, though. I know for sure that there were some bugs that were worked out in version 1.5. =)
Robert
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hi,
may I suggest having a readme file that pertains to implementation in Windows?
Thank you.
-james
The reason is I have problem editing course.java and updateDB.java. Apparently the readme file that comes with the downloaded zip, isn't for windows, right?
-james
I started working on this while I configured eledge on Windows for myself. Paying work has interupted my for a few weeks, but I will get back to it eventually.
Do you have specific questions or suggestions?
I am trying to troubleshoot when an error message occurs after I run "java updateDB ART-1010". The error message shows something regarding "com.mysql.jdbc.Driver".
My questions are
1) In course.java, there is
static String jdbcDriver = "org.gjt.mm.mysql.Driver";
Should I be changing it to
static String jdbcDriver = "com.mysql.jdbc.Driver";
which is more correct?
2) In updateDB.java, there is
private static String eledgeDir = "/var/lib/tomcat4/webapps/ROOT/WEB-INF/classes";
Do I need to change anything? I mean the part on "/var/lib/" ?
3) I have seen many files with the "properties" extension in i18n folder. I suppose they are not needed ( for now), right?
Regards,
-james
the "properties" files are for internationalization. You shouldn't need to touch those.
You /can/ change the org.gjt.mm.mysql.Driver to com.mysql.jdbc.Driver, and that is, in fact, more correct.
Regarding updateDB:
1) Please use the CVS version of updateDB
It contains several important fixes in the sql statements that are executed.
2) Yes, the eledgeDir needs to be changed to reflect your system.
/var/lib/ is a linux directory structure. Iin general,
eledgeDir should be the path to where the eledge java and class files are unzipped...
so, if you had them in:
c:\Program Files\tomcat4\webapps\ROOT\WEB-INF\classes\ART-1010
then, you would want to do:
c:/Program Files/tomcat4/webapps/ROOT/WEB-INF/classes
(note the forward slashes... all directories should be separated by forward slashes in java... java will handle converting the forward slash to the appropriate "marker" (/ or \ depending on your system) at runtime).
Also be sure to change any of the directories in
Course.java to reflect a windows system.
(I believe that there are already some possible windows paths in there that just need to be uncommented).
Hope this helps, let me know if you have any other issues.
Robert
Eledge Project Manager
Thanks Robert. It is working now :)
One question though, any simple sample content that I can try with this LMS?
-james
I have visited the eledge website which states something about contents. So, I think just ignore my last question.
Thanks
-james
As the website states, we don't provide content, merely a system in which curriculum can be created.
That said...
If you're interested in seeing some content created in eledge, go ahead and contact me via the sourceforge "e-mail user" form.
Robert
Right now, I am trying to install eledge 1.1.
I manage to go to the homepage ART1010.HOME.
However, I have problem connecting it to the database. The error msg shows "com.mysql.jdbc.Driver".
Any idea, anyone?
Any particular reason when you're using eledge 1.1???
To be perfectly honest, I jumped into eledge development around 1.4, so, I'm afraid I wouldn't be much help for 1.1.
However... If you can get .Home, but are having issues connecting to the db, then, I'm guessing that it's a database permissions issue. Mysql can be a bit finnicky in how it deals with permissions. Check to be sure that the user/password you defined in Course.java are setup in the "user" table (mysql db) to have the appropriate permissions; check the db table (mysql db), as well. Then, you might try hosts... conflicting information in one table or another can cause lockouts like you describe.
Good luck.
Robert
Thanks, it is really the permission issue.
I am trying out ver 1.1 because it should be Eledge in its simplest and I can study the code faster.
-jamesyong
Robert,
I forget to say that I have got it to work after checking the db table from mysql, as advised by you. :)
-james
Glad to hear that you got it figured out.
if you want eledge in its "simplest" incarnation, then, I suppose the 1.x series is a good start...
I would start with 1.5, though. I know for sure that there were some bugs that were worked out in version 1.5. =)
Robert
Thank you for the info.