06-29-2008 04:13 PM
sudo ./alfresco.sh start from /opt/alfresco. But when I try and access alfresco from my browser at "http:\\<serverIpAddress>:8080\alfresco" the browser times out.INFO: Deploying web application archive alfresco.war
13:33:48,498 User:System WARN [remoting.rmi.RmiRegistryFactoryBean] Could not detect RMI registry - creating new one
13:33:55,923 User:System ERROR [web.context.ContextLoader] Context initialization failed
org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'usageQuotaProtector' defined in
class path resource [alfresco/usage-services-context.xml]: Invocation of init method failed; nested exception is
org.springframework.transaction.CannotCreateTransactionException: Could not open Hibernate Session for transaction;
nested exception is org.hibernate.exception.GenericJDBCException: Cannot open connection
Caused by: org.springframework.transaction.CannotCreateTransactionException: Could not open Hibernate Session for
transaction; nested exception is org.hibernate.exception.GenericJDBCException: Cannot open connection
. . .
… 57 more
13:33:55,950 User:System ERROR [[Catalina].[localhost].[/alfresco]] Exception sending context initialized event to
listener instance of class org.springframework.web.context.ContextLoaderListener
org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'usageQuotaProtector' defined in
class path resource [alfresco/usage-services-context.xml]: Invocation of init method failed; nested exception is
org.springframework.transaction.CannotCreateTransactionException: Could not open Hibernate Session for transaction;
nested exception is org.hibernate.exception.GenericJDBCException: Cannot open connection
Caused by: org.springframework.transaction.CannotCreateTransactionException: Could not open Hibernate Session for
transaction; nested exception is org.hibernate.exception.GenericJDBCException: Cannot open connection
. . .
… 57 more
13:33:55,959 User:System ERROR [[Catalina].[localhost].[/alfresco]] Exception sending context initialized event to
listener instance of class org.alfresco.web.app.ContextListener
org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'usageQuotaProtector' defined in
class path resource [alfresco/usage-services-context.xml]: Invocation of init method failed; nested exception is
org.springframework.transaction.CannotCreateTransactionException: Could not open Hibernate Session for transaction;
nested exception is org.hibernate.exception.GenericJDBCException: Cannot open connection
Caused by: org.springframework.transaction.CannotCreateTransactionException: Could not open Hibernate Session for
transaction; nested exception is org.hibernate.exception.GenericJDBCException: Cannot open connection
. . .
… 57 more
29-Jun-2008 13:33:55 org.apache.catalina.core.StandardContext start
SEVERE: Error listenerStart
29-Jun-2008 13:33:55 org.apache.catalina.core.StandardContext start
SEVERE: Context [/alfresco] startup failed due to previous errors
log4j:ERROR LogMananger.repositorySelector was null likely due to error in class reloading, using NOPLoggerRepository.
29-Jun-2008 13:34:01 org.apache.coyote.http11.Http11BaseProtocol start
INFO: Starting Coyote HTTP/1.1 on http-8080
29-Jun-2008 13:34:02 org.apache.catalina.storeconfig.StoreLoader load
INFO: Find registry server-registry.xml at classpath resource
29-Jun-2008 13:34:02 org.apache.catalina.startup.Catalina start
INFO: Server startup in 63292 ms
I'd be very grateful if anyone could suggest a solution to get alfresco working on my system.06-30-2008 07:55 PM
07-01-2008 02:57 AM
07-01-2008 04:37 AM
The default http port is 8080, I see you used 8090. Another question what JDK/JVM version did you use? If you used 1.6x, then try 1.5x.Java reports the following version.
Java(TM) SE Runtime Environment (build 1.6.0_06-b02)So I guess I need to try version 1.5.07-01-2008 06:15 AM
Looks more like the database couldn't be contacted. Check it's listening on the default port and it's not firewalled off locally.I think MySQL is configured to listen on the default port 3306 (not sure how to verify this). I am using eBox, so I have created a network service for this port - that should prevent the firewall from blocking it. I then emptied out the alf_data directory, dropped the database, and created a fresh alfresco database. I then rebooted the server. However, I still get a timeout on :8080\alfresco, and I get the same error messages in catalina.log, as per my original post.
08-06-2008 09:05 AM
sudo apt-get install libhibernate-commons-annotations-java liblucene2-java liblog4j1.2-java imagemagick08-13-2008 04:24 AM
08-13-2008 07:09 AM
08-13-2008 08:08 AM
08-13-2008 11:45 AM
# Sample database connection properties
db.username=alfresco
db.password=alfresco
db.pool.initial=10
db.pool.max=100
# MySQL connection (This is default and requires mysql-connector-java-5.0.3-bin.jar, which ships with the Alfresco server)
db.driver=org.gjt.mm.mysql.Driver
db.url=jdbc:mysql://localhost/alfresco
Tags
Find what you came for
We want to make your experience in Hyland Connect as valuable as possible, so we put together some helpful links.