cancel
Showing results for 
Search instead for 
Did you mean: 

Enterprise intallation on RHEL

george_dobson
Champ in-the-making
Champ in-the-making
I get the following errors when starting up Alfresco for the first tiem after installing the Enterprise Ver2.2 30-day Trial:

[size=50]INFO: Starting Servlet Engine: Apache Tomcat/5.5.23
Aug 21, 2008 4:29:53 PM org.apache.catalina.core.StandardHost start
INFO: XML validation disabled
Aug 21, 2008 4:29:53 PM org.apache.catalina.startup.HostConfig deployWAR
INFO: Deploying web application archive alfresco.war
16:30:03,338 ERROR [transform.magick.AbstractImageMagickContentTransformer] ImageMagickContentTransformer not available: Failed to perform ImageMagick transformation:
Execution result:
   os:         Linux
   command:    convert /u01/app/alfresco/tomcat/temp/Alfresco/ImageMagickContentTransformer_init_source_18987.gif  /u01/app/alfresco/tomcat/temp/Alfresco/ImageMagickContentTransformer_init_target_18988.png
   succeeded:  false
   exit code:  1
   out:
   err:        Cannot run program "convert": java.io.IOException: error=2, No such file or directory
16:30:04,368 INFO  [alfresco.mbeans.VirtServerRegistry] Creating VirtServerRegistry MBean
16:30:04,388 WARN  [remoting.rmi.RmiRegistryFactoryBean] Could not detect RMI registry - creating new one
16:30:05,020 INFO  [alfresco.mbeans.VirtServerRegistry] Created JMX serverConnector
16:30:05,208 ERROR [web.context.ContextLoader] Context initialization failed
org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'dictionaryRepositoryBootstrap' defined in class path resource [alfresco/core-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
Caused by:
org.hibernate.exception.GenericJDBCException: Cannot open connection
        at org.hibernate.exception.SQLStateConverter.handledNonSpecificException(SQLStateConverter.java:103)
        at org.hibernate.exception.SQLStateConverter.convert(SQLStateConverter.java:91)


        at org.apache.commons.dbcp.BasicDataSource.validateConnectionFactory(BasicDataSource.java:877)
        at org.apache.commons.dbcp.BasicDataSource.createDataSource(BasicDataSource.java:851)
        … 57 more
16:30:05,212 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 'dictionaryRepositoryBootstrap' defined in class path resource [alfresco/core-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
Caused by:
org.hibernate.exception.GenericJDBCException: Cannot open connection
        at org.hibernate.exception.SQLStateConverter.handledNonSpecificException(SQLStateConverter.java:103)


        at org.apache.commons.dbcp.BasicDataSource.createDataSource(BasicDataSource.java:851)
        … 57 more
16:30:05,214 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 'dictionaryRepositoryBootstrap' defined in class path resource [alfresco/core-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
Caused by:
org.hibernate.exception.GenericJDBCException: Cannot open connection
        at org.hibernate.exception.SQLStateConverter.handledNonSpecificException(SQLStateConverter.java:103)


        at org.apache.commons.dbcp.BasicDataSource.createDataSource(BasicDataSource.java:851)
        … 57 more
Aug 21, 2008 4:30:05 PM org.apache.catalina.core.StandardContext start
SEVERE: Error listenerStart
Aug 21, 2008 4:30:05 PM org.apache.catalina.core.StandardContext start
SEVERE: Context [/alfresco] startup failed due to previous errors
Aug 21, 2008 4:30:06 PM org.apache.coyote.http11.Http11BaseProtocol start
INFO: Starting Coyote HTTP/1.1 on http-8080
Aug 21, 2008 4:30:06 PM org.apache.catalina.storeconfig.StoreLoader load
INFO: Find registry server-registry.xml at classpath resource
Aug 21, 2008 4:30:06 PM org.apache.catalina.startup.Catalina start
INFO: Server startup in 12992 ms
[/size]

What should I do to get it working?
1 REPLY 1

zaizi
Champ in-the-making
Champ in-the-making
Check your database connection is working. The error
org.hibernate.exception.GenericJDBCException: Cannot open connection
is because Alfresco can't connect to your database.

Search through the forums, this is has been resolved for various databases before. You can find all those posts here: http://www.google.co.uk/search?q=site%3Aforums.alfresco.com+GenericJDBCException
Getting started

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.