AnsweredAssumed Answered

PostgreSQL / Existing Tomcat Install Issue

Question asked by jazzcat on Dec 15, 2005
Latest reply on Dec 24, 2005 by arnab
Greetings,

I'm having problems installing Alfresco on an existing Tomcat 5.5.14 installation.

I have followed the instructions on this thread,

http://www.alfresco.org/forums/viewtopic.php?t=116

with the caveat that the hibernate-context.xml file did not contain the Dialect specs, instead it was in the domain/hibernate-cfg.properties file.

After modifying those files, I created the WAR file and deployed it under webapps of my tomcat server by restartng the sever.  The alfresco app did not start.  Instead, in the catalina.out file, it gave the following output:

INFO: Deploying web application archive alfresco-ll.war
org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'descriptorComponent' defined in class path resource [alfresco/application-context.xml]: Can't resolve reference to bean 'systemBootstrap' while setting property 'systemBootstrap'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'systemBootstrap' defined in class path resource [alfresco/application-context.xml]: Initialization of bean 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
org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'systemBootstrap' defined in class path resource [alfresco/application-context.xml]: Initialization of bean 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
   at org.alfresco.repo.importer.ImporterBootstrap.bootstrap(ImporterBootstrap.java:265)
12:15:22,557 ERROR [[Catalina].[localhost].[/alfresco-ll]] 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 'descriptorComponent' defined in class path resource [alfresco/application-context.xml]: Can't resolve reference to bean 'systemBootstrap' while setting property 'systemBootstrap'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'systemBootstrap' defined in class path resource [alfresco/application-context.xml]: Initialization of bean 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
org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'systemBootstrap' defined in class path resource [alfresco/application-context.xml]: Initialization of bean 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
   at org.alfresco.repo.importer.ImporterBootstrap.bootstrap(ImporterBootstrap.java:265)
12:15:22,578 ERROR [[Catalina].[localhost].[/alfresco-ll]] 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 'descriptorComponent' defined in class path resource [alfresco/application-context.xml]: Can't resolve reference to bean 'systemBootstrap' while setting property 'systemBootstrap'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'systemBootstrap' defined in class path resource [alfresco/application-context.xml]: Initialization of bean 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
org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'systemBootstrap' defined in class path resource [alfresco/application-context.xml]: Initialization of bean 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
   at org.alfresco.repo.importer.ImporterBootstrap.bootstrap(ImporterBootstrap.

Does anyone know what might be going on?  Why can't it create the systemBootstrap bean??  The database exists and can be connected to.

Outcomes