Forum Problems Installing LAMS: LAMS 2RC2 deployment problem on Solaris 10


 
You may request notification for LAMS 2RC2 deployment problem on Solaris 10.
Search: 

1: LAMS 2RC2 deployment problem on Solaris 10
12/06/06 10:58 AM
[ Reply | Forward ]
Hello,

Sorry I am bit stuck with an installation of LAMS:

Configuration:
Lams version: lams2.0rc2.tar.gz
SunOS tecfasun1.unige.ch 5.10 Generic_118833-17 sun4u sparc SUNW,Sun-Fire-V240
java version "1.5.0_06"
Release ID: JBoss [Zion] 4.0.2 (build: CVSTag=JBoss_4_0_2 date=200505022023)
MySQL Version: 5.0.26-max  (binary install)

Current state:
JBoss runs
MySQL tables are created (139)
Lams is not deployed :(

From the log files: At some point lams can't connect (I don't understand Java), but it looks like ...
The weird thing is that it did manage to create the database tables.

Could anyone give me a hint or do you request more information than below ??

Thanx a lot ! - Daniel

PS: My install notes are here:

http://edutechwiki.unige.ch/mediawiki/index.php?title=LAMS#On_Solaris

----------------------------------------------------------------------
server.log  (extract)
----------------------------------------------------------------------

17:10:43,469 INFO  [org.springframework.orm.hibernate3.LocalSessionFactoryBean] Building new Hibernate SessionFactory
17:10:45,060 INFO  [org.springframework.transaction.jta.JtaTransactionManager] Using JTA UserTransaction: org.jboss.tm.usertx.client.ServerVMClientUserTransaction@8c884e
17:10:45,061 INFO  [org.springframework.transaction.jta.JtaTransactionManager] Using JTA TransactionManager: org.jboss.tm.TxManager@48bc3d
17:10:45,755 INFO  [org.springframework.orm.hibernate3.LocalSessionFactoryBean] Building new Hibernate SessionFactory
17:10:46,840 INFO  [org.quartz.core.QuartzScheduler] Quartz Scheduler v.1.5.2 created.
17:10:46,854 INFO  [org.springframework.scheduling.quartz.LocalDataSourceJobStore] Using db table-based data access locking (synchronization).
17:10:46,898 WARN  [org.jboss.resource.connectionmanager.JBossManagedConnectionPool] Throwable while attempting to get a new connection: null
org.jboss.resource.JBossResourceException: Could not create connection; - nested throwable: (java.sql.SQLException: Access denied for user 'lams'@'localhost' (using password: YES))
    at org.jboss.resource.adapter.jdbc.local.LocalManagedConnectionFactory.createManagedConnection(LocalManagedConnectionFactory.java:161)
    at org.jboss.resource.connectionmanager.InternalManagedConnectionPool.createConnectionEventListener(InternalManagedConnectionPool.java:508)
    at org.jboss.resource.connectionmanager.InternalManagedConnectionPool.getConnection(InternalManagedConnectionPool.java:207)
    at org.jboss.resource.connectionmanager.JBossManagedConnectionPool$BasePool.getConnection(JBossManagedConnectionPool.java:534)
    at org.jboss.resource.connectionmanager.BaseConnectionManager2.getManagedConnection(BaseConnectionManager2.java:395)
    at org.jboss.resource.connectionmanager.TxConnectionManager.getManagedConnection(TxConnectionManager.java:297)
    at org.jboss.resource.connectionmanager.BaseConnectionManager2.allocateConnection(BaseConnectionManager2.java:447)
    at org.jboss.resource.connectionmanager.BaseConnectionManager2$ConnectionManagerProxy.allocateConnection(BaseConnectionManager2.java:874)
    at org.jboss.resource.adapter.jdbc.WrapperDataSource.getConnection(WrapperDataSource.java:103)
      [ ............ ]

Caused by: java.sql.SQLException: Access denied for user 'lams'@'localhost' (using password: YES)
    at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:2928)
    at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:771)
    at com.mysql.jdbc.MysqlIO.secureAuth411(MysqlIO.java:3649)
    at com.mysql.jdbc.MysqlIO.doHandshake(MysqlIO.java:1176)
    at com.mysql.jdbc.Connection.createNewIO(Connection.java:2558)
    at com.mysql.jdbc.Connection.<init>(Connection.java:1485)
    at com.mysql.jdbc.NonRegisteringDriver.connect(NonRegisteringDriver.java:266)
    at org.jboss.resource.adapter.jdbc.local.LocalManagedConnectionFactory.createManagedConnection(LocalManagedConnectionFactory.java:151)


----------------------------------------------------------------------
lams.log extract
----------------------------------------------------------------------

17:10:46,135 [main:jboss.web.deployment:war=lams-central.war,id=492141160 WebModule] INFO  org.lamsfoundation.lams.contentrepository.service.SimpleRepository - Repository singleton being created.
17:11:03,854 [http-0.0.0.0-8080-1:] DEBUG org.lamsfoundation.lams.integration.security.SingleSignOn - Process request for '/lams/'
17:11:03,855 [http-0.0.0.0-8080-1:] DEBUG org.lamsfoundation.lams.integration.security.SingleSignOn -  Checking for SSO cookie
17:11:03,856 [http-0.0.0.0-8080-1:] DEBUG org.lamsfoundation.lams.integration.security.SingleSignOn -  SSO cookie is not present

Posted by Daniel Schneider

2: Re: LAMS 2RC2 deployment problem on Solaris 10
In response to 1 12/06/06 11:19 AM
[ Reply | Forward ]
I am going to talk to myself since I found it:

I only changed password in one location in lams_build/conf/unix/jboss/service/mysql-ds.xml

So the first deploy part went well (like filling in the database) and tools deployment etc. failed.

So I am happy to report that on Solaris 10 it is possible to deploy LAMS2RC2 and to see the login screen

Posted by Daniel Schneider

3: Re: Re: LAMS 2RC2 deployment problem on Solaris 10
In response to 2 12/06/06 12:45 PM
[ Reply | Forward ]
So I managed to install LAMS 2RC2 and 5 minutes later I found out that the new version is out ;)

Congratulations !

I killed the RC2 database and followed precisely my own instructions to install the 2.0 Release. This time I had no problems and I am logged into LAMS :)

I moved my installation tips to an other place:
http://edutechwiki.unige.ch/en/LAMS_installation_and_configuration

instead of:
http://edutechwiki.unige.ch/en/LAMS

Posted by Daniel Schneider

4: Re: Re: Re: LAMS 2RC2 deployment problem on Solaris 10
In response to 3 12/06/06 12:49 PM
[ Reply | Forward ]
Hi Daniel,

Do you mind if I add the link (http://edutechwiki.unige.ch/en/LAMS_installation_and_configuration) to our Building page?

Thanks,

Ernie

Posted by Ernie Ghiglione

5: Re: LAMS 2RC2 deployment problem on Solaris 10
In response to 1 12/06/06 12:57 PM
[ Reply | Forward ]
Certainly not. This wiki is meant to stay, I spent a few month on it ;)

Also, feel free to cut/paste everything in this page to an other place :)

Posted by Daniel Schneider

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