Forum Problems Installing LAMS: Re: Re: How to use Moodle 1.9.4 activities in LAMS 2.2?


 
Search: 

4: Re: Re: How to use Moodle 1.9.4 activities in LAMS 2.2?
In response to 2 04/15/09 07:55 AM
[ Reply | Forward ]
I found an article (http://wiki.lamsfoundation.org/display/lamsdocs/Installing+a+new+tool+from+source), it said that "Ant will compile and build the tool, and install it into your jboss instance".

Building was successful for me ("BUILD SUCCESSFUL. Total time ... sec"), but there are still no new tools in "Tool management".

Then i tried to reinstall Moodle and LAMS again, made integration step by step, but now after deploying i can't start LAMS at all..

Will be very appreciate for any help.

P.S. I use windows xp and wampserver on localhost.

Part of common.properties file:
# which o/s related property file do you want? valid values "windows" or "unix"
osPropertiesName=windows
#database access
db.name=lams2
db.driver=com.mysql.jdbc.Driver
db.url=jdbc:mysql://localhost/${db.name}?characterEncoding=utf8&zeroDateTimeBehavior=convertToNull&autoReconnect=true&useUnicode=true
db.encoding=utf8
db.username=lams2
db.password=lams2
db.driver.jar=${sharedlib}/mysql/mysql-connector-java-3.1.12-bin.jar
db.scripts=${basedir}/db/sql
db.schema=
db.catalog=

Part of windows.properties file:
#JBoss deploy directory (Windows)
jboss.home=C:/lams/jboss-4.0.2/
jboss.server=${jboss.home}server/
jboss.server.instance=${jboss.server}default
jboss.server.instance.lib=${jboss.server.instance}/lib
jboss.ear.deploy=${jboss.server.instance}/deploy/
jboss.deploy=${jboss.ear.deploy}/${conf.application}.ear

Sincerely,
Alexander

Posted by Alex Lifanov

6: Re: Re: Re: How to use Moodle 1.9.4 activities in LAMS 2.2?
In response to 4 04/17/09 03:41 AM
[ Reply | Forward ]
Yep, that wiki applies here. As in my previous post, were there any problems in the text output during tool deployment? Did you test that the new LAMS install worked before deploying tools?

The .properties files you pasted look fine.

Posted by Jun-Dir Liew

7: Re: Re: Re: Re: How to use Moodle 1.9.4 activities in LAMS 2.2?
In response to 6 04/17/09 03:54 AM
[ Reply | Forward ]
Yes, LAMS and LAMS-Moodle integration worked ok before deploying tools.

I haven't find any problems with deploying process, but it would be great if you could look at it too:
http://www.filefactory.com/file/agb53ha/n/lams_tool_deploy_txt

Will look at LAMS and JBOSS logs now, because JBOSS can't start too - may be some problems with him?

Thanks again, Sincerely, Alexander

Posted by Alex Lifanov

8: Re: Re: Re: Re: Re: How to use Moodle 1.9.4 activities in LAMS 2.2?
In response to 7 04/17/09 05:12 AM
[ Reply | Forward ]
That tool deploy log looks good. There are no extra steps between deploying the tools, and the tool's 'tool management' link appearing in sysadmin. So I guess there are only the LAMS logs to inspect - server.log if it's a startup problem.

Posted by Jun-Dir Liew

9: Re: Re: Re: Re: Re: Re: How to use Moodle 1.9.4 activities in LAMS 2.2?
In response to 8 04/17/09 05:53 AM
[ Reply | Forward ]
11: Re: Re: Re: Re: Re: Re: Re: How to use Moodle 1.9.4 activities in LAMS 2.2?
In response to 9 04/20/09 04:05 AM
[ Reply | Forward ]
Could you email me server.log? I've tried several times over some days to download it, but filefactory.com keeps telling me they're too busy.

Posted by Jun-Dir Liew

12: Re: Re: Re: Re: Re: Re: Re: How to use Moodle 1.9.4 activities in LAMS 2.2?
In response to 9 04/20/09 06:24 AM
[ Reply | Forward ]
The problem is that the lams tool adapters were updated on 28/3/09 to be compatible with lams 2.3. If you're using lams 2.2, you'll need to check out the revision from before that date. So something like

cvs export -D2009-03-27T00:00:00 tool_adapters

I'll update my post earlier in this thread.

Thanks!

Posted by Jun-Dir Liew

10: Re: Re: Re: Re: Re: Re: How to use Moodle 1.9.4 activities in LAMS 2.2?
In response to 8 04/17/09 06:05 AM
[ Reply | Forward ]
Jun-Dir, i found some errors in server.log, it seems that the problem is in deployment..

P.S. I use:
ant 1.7.1
LAMS 2.2
jdk1.6.0_14
tool_adapters and lams_build projects from CVS, downloaded couple of days ago
Moodle 1.9.3 (Build: 20081015)

here is a part of log:


2009-04-17 15:40:23,890 ERROR [org.jboss.web.WebModule] Starting failed jboss.web.deployment:war=lams-tool-mdscrm10.war,id=503869057
org.jboss.deployment.DeploymentException: URL file:/C:/lams/jboss-4.0.2/server/default/tmp/deploy/tmp4604704527156148203lams-tool-mdscrm10-exp.war/ deployment failed

2009-04-17 15:40:24,000 ERROR [org.jboss.deployment.MainDeployer] could not start deployment: file:/C:/lams/jboss-4.0.2/server/default/deploy/lams.ear/
org.jboss.deployment.DeploymentException: URL file:/C:/lams/jboss-4.0.2/server/default/tmp/deploy/tmp4604704527156148203lams-tool-mdscrm10-exp.war/ deployment failed

2009-04-17 15:40:24,000 ERROR [org.jboss.deployment.scanner.URLDeploymentScanner] Incomplete Deployment listing:

--- Incompletely deployed packages ---
org.jboss.deployment.DeploymentInfo@1e086e81 { url=file:/C:/lams/jboss-4.0.2/server/default/deploy/lams.ear/lams-tool-mdscrm10.war }
deployer: org.jboss.web.tomcat.tc5.Tomcat5@1c70315
status: Deployment FAILED reason: URL file:/C:/lams/jboss-4.0.2/server/default/tmp/deploy/tmp4604704527156148203lams-tool-mdscrm10-exp.war/ deployment failed
state: FAILED
watch: file:/C:/lams/jboss-4.0.2/server/default/deploy/lams.ear/lams-tool-mdscrm10.war
altDD: null
lastDeployed: 1239968278984
lastModified: 1239968278953
mbeans:

org.jboss.deployment.DeploymentInfo@59e0a1c3 { url=file:/C:/lams/jboss-4.0.2/server/default/deploy/lams.ear/lams-www.war/ }
deployer: org.jboss.web.tomcat.tc5.Tomcat5@1c70315
status: Created
state: CREATED
watch: file:/C:/lams/jboss-4.0.2/server/default/deploy/lams.ear/lams-www.war/WEB-INF/web.xml
altDD: null
lastDeployed: 1239968279015
lastModified: 1239967234312
mbeans:

org.jboss.deployment.DeploymentInfo@455623 { url=file:/C:/lams/jboss-4.0.2/server/default/deploy/lams.ear/ }
deployer: org.jboss.deployment.EARDeployer@1fe4169
status: Deployment FAILED reason: URL file:/C:/lams/jboss-4.0.2/server/default/tmp/deploy/tmp4604704527156148203lams-tool-mdscrm10-exp.war/ deployment failed
state: FAILED
watch: file:/C:/lams/jboss-4.0.2/server/default/deploy/lams.ear/META-INF/application.xml
altDD: null
lastDeployed: 1239968279015
lastModified: 1239968110453
mbeans:

--- MBeans waiting for other MBeans ---
ObjectName: jboss.web.deployment:war=lams-tool-mdscrm10.war,id=503869057
State: FAILED
Reason: org.jboss.deployment.DeploymentException: URL file:/C:/lams/jboss-4.0.2/server/default/tmp/deploy/tmp4604704527156148203lams-tool-mdscrm10-exp.war/ deployment failed

--- MBEANS THAT ARE THE ROOT CAUSE OF THE PROBLEM ---
ObjectName: jboss.web.deployment:war=lams-tool-mdscrm10.war,id=503869057
State: FAILED
Reason: org.jboss.deployment.DeploymentException: URL file:/C:/lams/jboss-4.0.2/server/default/tmp/deploy/tmp4604704527156148203lams-tool-mdscrm10-exp.war/ deployment failed

Posted by Alex Lifanov

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