Forum Problems Installing LAMS: Problems installing LAMS


 
You may request notification for Problems installing LAMS.
Search: 

1: Problems installing LAMS
07/27/11 05:44 PM
[ Reply | Forward ]
Hi,

I'm trying to install LAMS 2.3.5 on a Windows XP SP3. I'm using MySQL version 5.5.8 from XAMPP.

At the moment I can start the LAMSv2 service but I can´t access LAMS via the web browser instead I'm getting a "HTTP status 404 /lams/ " error.

I've tried to start Jboss manually and I'm getting the following messages until the error appears:

2011-07-28 01:24:02,796 INFO [org.jboss.web.WebService] Using RMI server codebase: http://bart:8083/
2011-07-28 01:24:03,343 INFO [org.jboss.naming.NamingService] Started jndi bootstrap jnpPort=1099, rmiPort=1098, backlog=50, bindAddress=/0.0.0.0, Client SocketFactory=null, Server SocketFactory=org.jboss.net.sockets.DefaultSocketFactory@ad093076
2011-07-28 01:24:09,921 INFO [org.apache.catalina.startup.Embedded] Catalina naming disabled
2011-07-28 01:24:11,046 INFO [org.apache.coyote.http11.Http11Protocol] Initializing Coyote HTTP/1.1 on http-0.0.0.0-8080
2011-07-28 01:24:11,062 INFO [org.apache.catalina.startup.Catalina] Initialization processed in 1000 ms
2011-07-28 01:24:11,062 INFO [org.jboss.web.tomcat.tc5.StandardService] Starting service jboss.web
2011-07-28 01:24:11,593 INFO [org.apache.catalina.startup.Catalina] Server startup in 531 ms
2011-07-28 01:24:12,203 INFO [org.jboss.web.tomcat.tc5.TomcatDeployer] deploy, ctxPath=/, warUrl=file:/C:/lams/jboss-4.0.2/server/default/deploy/jbossweb-tomcat55.sar/ROOT.war/
2011-07-28 01:24:13,718 INFO [org.jboss.web.tomcat.tc5.TomcatDeployer] deploy, ctxPath=/jbossmq-httpil, warUrl=file:/C:/lams/jboss-4.0.2/server/default/deploy/jms/jbossmq-httpil.sar/jbossmq-httpil.war/
2011-07-28 01:24:18,781 INFO [org.jboss.mail.MailService] Mail Service bound to java:/Mail
2011-07-28 01:24:19,671 INFO [org.jboss.resource.deployment.RARDeployment] Required license terms exist view the META-INF/ra.xml: file:/C:/lams/jboss-4.0.2/server/default/deploy/jboss-ha-local-jdbc.rar
2011-07-28 01:24:19,984 INFO [org.jboss.resource.deployment.RARDeployment] Required license terms exist view the META-INF/ra.xml: file:/C:/lams/jboss-4.0.2/server/default/deploy/jboss-ha-xa-jdbc.rar
2011-07-28 01:24:20,734 INFO [org.jboss.resource.deployment.RARDeployment] Required license terms exist view the META-INF/ra.xml: file:/C:/lams/jboss-4.0.2/server/default/deploy/jboss-local-jdbc.rar
2011-07-28 01:24:21,406 INFO [org.jboss.resource.deployment.RARDeployment] Required license terms exist view the META-INF/ra.xml: file:/C:/lams/jboss-4.0.2/server/default/deploy/jboss-xa-jdbc.rar
2011-07-28 01:24:21,640 INFO [org.jboss.resource.deployment.RARDeployment] Required license terms exist view the META-INF/ra.xml: file:/C:/lams/jboss-4.0.2/server/default/deploy/jms/jms-ra.rar
2011-07-28 01:24:21,937 INFO [org.jboss.resource.deployment.RARDeployment] Required license terms exist view the META-INF/ra.xml: file:/C:/lams/jboss-4.0.2/server/default/deploy/mail-ra.rar
2011-07-28 01:24:24,250 INFO [org.jboss.resource.adapter.jdbc.remote.WrapperDataSourceService] Bound connection factory for resource adapter for ConnectionManager 'jboss.jca:service=DataSourceBinding,name=DefaultDS to JNDI name 'java:DefaultDS'
2011-07-28 01:24:24,875 INFO [org.jboss.mq.server.jmx.Queue.A] Bound to JNDI name: queue/A
2011-07-28 01:24:24,890 INFO [org.jboss.mq.server.jmx.Queue.B] Bound to JNDI name: queue/B
2011-07-28 01:24:24,890 INFO [org.jboss.mq.server.jmx.Queue.C] Bound to JNDI name: queue/C
2011-07-28 01:24:24,906 INFO [org.jboss.mq.server.jmx.Queue.D] Bound to JNDI name: queue/D
2011-07-28 01:24:24,906 INFO [org.jboss.mq.server.jmx.Queue.ex] Bound to JNDI name: queue/ex
2011-07-28 01:24:24,953 INFO [org.jboss.mq.server.jmx.Topic.testTopic] Bound to JNDI name: topic/testTopic
2011-07-28 01:24:24,968 INFO [org.jboss.mq.server.jmx.Topic.securedTopic] Bound to JNDI name: topic/securedTopic
2011-07-28 01:24:24,968 INFO [org.jboss.mq.server.jmx.Topic.testDurableTopic] Bound to JNDI name: topic/testDurableTopic
2011-07-28 01:24:24,984 INFO [org.jboss.mq.server.jmx.Queue.testQueue] Bound to JNDI name: queue/testQueue
2011-07-28 01:24:25,093 INFO [org.jboss.mq.il.uil2.UILServerILService] JBossMQ UIL service available at : /0.0.0.0:8093
2011-07-28 01:24:25,187 INFO [org.jboss.mq.server.jmx.Queue.DLQ] Bound to JNDI name: queue/DLQ
2011-07-28 01:24:25,500 INFO [org.jboss.resource.connectionmanager.ConnectionFactoryBindingService] Bound connection factory for resource adapter for ConnectionManager 'jboss.jca:service=ConnectionFactoryBinding,name=JmsXA to JNDI name 'java:JmsXA'
2011-07-28 01:24:25,828 INFO [org.jboss.resource.adapter.jdbc.remote.WrapperDataSourceService] Bound connection factory for resource adapter for ConnectionManager 'jboss.jca:service=DataSourceBinding,name=jdbc/lams-ds to JNDI name 'java:jdbc/lams-ds'
2011-07-28 01:24:25,843 INFO [org.jboss.deployment.EARDeployer] Init J2EE application: file:/C:/lams/jboss-4.0.2/server/default/deploy/lams.ear/
2011-07-28 01:25:18,562 INFO [org.jboss.web.tomcat.tc5.TomcatDeployer] deploy, ctxPath=/lams/admin, warUrl=file:/C:/lams/jboss-4.0.2/server/default/tmp/deploy/tmp6894623485894832163lams-admin-exp.war/
2011-07-28 01:25:20,531 WARN [com.tacitknowledge.util.migration.jdbc.JdbcMigrationContext] Commit called on connection with autoCommit==true - breaks in JBoss
2011-07-28 01:25:21,453 INFO [com.tacitknowledge.util.migration.jdbc.SqlScriptMigrationTaskSource] There was no rollback script for patch level: 15
2011-07-28 01:25:21,468 INFO [com.tacitknowledge.util.migration.jdbc.SqlScriptMigrationTaskSource] There was no rollback script for patch level: 17
2011-07-28 01:25:21,531 INFO [com.tacitknowledge.util.migration.jdbc.SqlScriptMigrationTaskSource] There was no rollback script for patch level: 2030500
2011-07-28 01:25:21,546 INFO [com.tacitknowledge.util.migration.jdbc.SqlScriptMigrationTaskSource] There was no rollback script for patch level: 2030402
2011-07-28 01:25:21,546 INFO [com.tacitknowledge.util.migration.jdbc.SqlScriptMigrationTaskSource] There was no rollback script for patch level: 2030400
2011-07-28 01:25:21,546 INFO [com.tacitknowledge.util.migration.jdbc.SqlScriptMigrationTaskSource] There was no rollback script for patch level: 13
2011-07-28 01:25:21,562 INFO [com.tacitknowledge.util.migration.jdbc.SqlScriptMigrationTaskSource] There was no rollback script for patch level: 2030401
2011-07-28 01:25:21,562 INFO [com.tacitknowledge.util.migration.jdbc.SqlScriptMigrationTaskSource] There was no rollback script for patch level: 2030200
2011-07-28 01:25:21,562 INFO [com.tacitknowledge.util.migration.jdbc.SqlScriptMigrationTaskSource] There was no rollback script for patch level: 2030301
2011-07-28 01:25:21,984 INFO [com.tacitknowledge.util.migration.MigrationProcess] Will execute patch task 'FixRunSeqFolders [org.lamsfoundation.lams.dbupdates.Patch0012FixWorkspaceNames]'
2011-07-28 01:25:21,984 INFO [com.tacitknowledge.util.migration.MigrationProcess] Will execute patch task 'patch0013_updateFrom21.sql [com.tacitknowledge.util.migration.jdbc.SqlScriptMigrationTask]'
2011-07-28 01:25:21,984 INFO [com.tacitknowledge.util.migration.MigrationProcess] Will execute patch task 'patch0015_updateFrom22.sql [com.tacitknowledge.util.migration.jdbc.SqlScriptMigrationTask]'
2011-07-28 01:25:21,984 INFO [com.tacitknowledge.util.migration.MigrationProcess] Will execute patch task 'FixWkspcPublicFolder [org.lamsfoundation.lams.dbupdates.Patch0016FixWorkspacePublicFolder]'
2011-07-28 01:25:21,984 INFO [com.tacitknowledge.util.migration.MigrationProcess] Will execute patch task 'patch0017_updateFrom23-231.sql [com.tacitknowledge.util.migration.jdbc.SqlScriptMigrationTask]'
2011-07-28 01:25:22,000 INFO [com.tacitknowledge.util.migration.MigrationProcess] Will execute patch task 'patch02030200_update232_version.sql [com.tacitknowledge.util.migration.jdbc.SqlScriptMigrationTask]'
2011-07-28 01:25:22,000 INFO [com.tacitknowledge.util.migration.MigrationProcess] Will execute patch task 'Fix3rdPartyUserRoles [org.lamsfoundation.lams.dbupdates.Patch02030300]'
2011-07-28 01:25:22,000 INFO [com.tacitknowledge.util.migration.MigrationProcess] Will execute patch task 'patch02030301.sql [com.tacitknowledge.util.migration.jdbc.SqlScriptMigrationTask]'
2011-07-28 01:25:22,000 INFO [com.tacitknowledge.util.migration.MigrationProcess] Will execute patch task 'patch02030400.sql [com.tacitknowledge.util.migration.jdbc.SqlScriptMigrationTask]'
2011-07-28 01:25:22,000 INFO [com.tacitknowledge.util.migration.MigrationProcess] Will execute patch task 'patch02030401.sql [com.tacitknowledge.util.migration.jdbc.SqlScriptMigrationTask]'
2011-07-28 01:25:22,000 INFO [com.tacitknowledge.util.migration.MigrationProcess] Will execute patch task 'patch02030402.sql [com.tacitknowledge.util.migration.jdbc.SqlScriptMigrationTask]'
2011-07-28 01:25:22,000 INFO [com.tacitknowledge.util.migration.MigrationProcess] Will execute patch task 'patch02030500.sql [com.tacitknowledge.util.migration.jdbc.SqlScriptMigrationTask]'
2011-07-28 01:25:22,000 INFO [com.tacitknowledge.util.migration.MigrationProcess] A total of 12 patch tasks will execute.
2011-07-28 01:25:22,000 INFO [com.tacitknowledge.util.migration.MigrationProcess] Executing patch task "FixRunSeqFolders [org.lamsfoundation.lams.dbupdates.Patch0012FixWorkspaceNames]"...
2011-07-28 01:25:22,078 INFO [com.tacitknowledge.util.migration.MigrationProcess] Patch task failed; rollback successful
2011-07-28 01:25:22,187 WARN [com.tacitknowledge.util.migration.jdbc.JdbcMigrationContext] Commit called on connection with autoCommit==true - breaks in JBoss
2011-07-28 01:25:22,187 ERROR [com.tacitknowledge.util.migration.jdbc.WebAppJNDIMigrationLauncher] java.lang.RuntimeException: Migration exception caught during migration
2011-07-28 01:25:22,187 INFO [STDOUT] Migration exception caught during migration
2011-07-28 01:25:22,187 INFO [STDOUT] java.lang.RuntimeException: Migration exception caught during migration
2011-07-28 01:25:22,187 INFO [STDOUT] at com.tacitknowledge.util.migration.jdbc.WebAppJNDIMigrationLauncher.contextInitialized(WebAppJNDIMigrationLauncher.java:88)
2011-07-28 01:25:22,203 INFO [STDOUT] at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:3669)
2011-07-28 01:25:22,203 INFO [STDOUT] at org.apache.catalina.core.StandardContext.start(StandardContext.java:4104)


Also it strikes me that there is only one table in the lams database created in Mysql called patches. Is this normal or the installation process has missed a step creating the rest of the tables?

Any clues or investigation directions will be wellcome.

Thanks.

Posted by Ivan Rodriguez

2: Re: Problems installing LAMS
In response to 1 07/27/11 05:55 PM
[ Reply | Forward ]
Hi Ivan,

Have you seen the instruction on how to use the LAMS installer when using XAMPP?

http://goo.gl/LDEUT

Thanks,

Ernie

Posted by Ernie Ghiglione

3: Re: Re: Problems installing LAMS
In response to 2 07/28/11 04:19 AM
[ Reply | Forward ]
Hi Ernie,

Yes, I've followed the instructions and I don't get any warning for the missing option during the installation.

Jboss server's log file shows problems when it tries to apply a few migration scripts.

Do you know whether at this point of the deployment (after installation but before first access to LAMS) my lams database should have been populated with tables?. I don`t see any tables and I suspect that this might be the problem.

Thanks again for your help,

Iván

Posted by Ivan Rodriguez

4: Re: Re: Re: Problems installing LAMS
In response to 3 07/28/11 12:53 PM
[ Reply | Forward ]
Hi Ivan,

Let me try to replicate this problem on a local machine. What XAMPP version do you have installed?

Thanks,

ernie

Posted by Ernie Ghiglione

5: Re: Re: Re: Re: Problems installing LAMS
In response to 4 07/29/11 09:34 AM
[ Reply | Forward ]
Hi Ernie,

I'm about to change the deployment PC so that the OS will be different (windows 7). I'll still be using XAMPP though. I'll keep you informed of the outcome.

Thanks indeed for your attention,

Iván

Posted by Ivan Rodriguez

6: Re: Re: Re: Re: Re: Problems installing LAMS
In response to 5 07/29/11 01:05 PM
[ Reply | Forward ]
Thanks Ivan.

Posted by Ernie Ghiglione

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