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