cancel
Showing results for 
Search instead for 
Did you mean: 

Ubuntu 10.04 Installation

astroeddie
Champ in-the-making
Champ in-the-making
I have been playing with different systems (CentOS, Debian, Ubuntu, Fedora) and landed on Ubuntu 10.04 64 bit.
I installed sun-java6-jdk, OpenOffice, ImageMagick, SWFTools, and Tomcat 6.
I deployed the share and alfresco war from the web manager for Tomcat. Share successfully launched, however Alfresco fails to launch.
What can I do to correct this?
Thanks,
Eddie
6 REPLIES 6

mikeh
Star Contributor
Star Contributor

astroeddie
Champ in-the-making
Champ in-the-making
Mike,
I'm sorry I have no log file, and I don't see a similar situation.
Tomcat fails to start the alfresco webapp.
Any tips?
Thanks,
Eddie

mikeh
Star Contributor
Star Contributor
There should be some sort of log file - maybe catalina.out if you can't find the alfresco.log - to diagnose why the /alfresco webapp won't start.

Thanks,
Mike

astroeddie
Champ in-the-making
Champ in-the-making
Mike,
I appreciate your patience.
This is catalina.out -

Jun 17, 2010 5:26:15 PM org.apache.catalina.core.AprLifecycleListener init
INFO: The APR based Apache Tomcat Native library which allows optimal performance in production environments was not found on the java.library.path: /usr/lib/jvm/java-6-sun-1.6.0.20/jre/lib/amd64/server:/usr/lib/jvm/java-6-sun-1.6.0.20/jre/lib/amd64:/usr/lib/jvm/java-6-sun-1.6.0.20/jre/../lib/amd64:/usr/java/packages/lib/amd64:/usr/lib64:/lib64:/lib:/usr/lib
Jun 17, 2010 5:26:16 PM org.apache.coyote.http11.Http11Protocol init
INFO: Initializing Coyote HTTP/1.1 on http-8080
Jun 17, 2010 5:26:16 PM org.apache.catalina.startup.Catalina load
INFO: Initialization processed in 1115 ms
Jun 17, 2010 5:26:16 PM org.apache.catalina.core.StandardService start
INFO: Starting service Catalina
Jun 17, 2010 5:26:16 PM org.apache.catalina.core.StandardEngine start
INFO: Starting Servlet Engine: Apache Tomcat/6.0.24
Jun 17, 2010 5:26:16 PM org.apache.catalina.startup.HostConfig deployDirectory
INFO: Deploying web application directory ROOT
Jun 17, 2010 5:26:16 PM org.apache.coyote.http11.Http11Protocol start
INFO: Starting Coyote HTTP/1.1 on http-8080
Jun 17, 2010 5:26:16 PM org.apache.catalina.startup.Catalina start
INFO: Server startup in 478 ms
Jun 17, 2010 5:28:15 PM org.apache.catalina.core.AprLifecycleListener init
@                                                                               @

This is the localhost log, titled "localhost.2010-06-18.log"
Jun 18, 2010 12:38:36 AM org.apache.catalina.core.ApplicationContext log
INFO: Initializing Spring root WebApplicationContext
Jun 18, 2010 12:38:49 AM org.apache.catalina.core.StandardContext listenerStart
SEVERE: Exception sending context initialized event to listener instance of class org.alfresco.web.app.ContextLoaderListener
org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'RepoServerMgmt' defined in class path resource [alfresco/core-services-context.xml]: Cannot resolve reference to bean 'transactionService' while setting bean property 'transactionService'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'transactionService' defined in class path resource [alfresco/core-services-context.xml]: Cannot resolve reference to bean 'transactionManager' while setting bean property 'transactionManager'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'transactionManager' defined in class path resource [alfresco/hibernate-context.xml]: Cannot resolve reference to bean 'sessionFactory' while setting bean property 'sessionFactory'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'sessionFactory' defined in class path resource [alfresco/hibernate-context.xml]: Invocation of init method failed; nested exception is org.hibernate.HibernateException: Hibernate Dialect must be explicitly set
        at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveReference(BeanDefinitionValueResolver.java:328)

mikeh
Star Contributor
Star Contributor
Is that the whole exception? I suspect it's because either you've not run the initial MySQL script:
create database alfresco;
grant all on alfresco.* to 'alfresco'@'localhost' identified by 'alfresco' with grant option;
grant all on alfresco.* to 'alfresco'@'localhost.localdomain' identified by 'alfresco' with grant option;

…or the mysql connector jar is missing. Make sure there's one in the Tomcat/lib folder.

Thanks,
Mike

rise_mini
Champ in-the-making
Champ in-the-making
I had installed Alfresco 3.3g Community edition on Ubuntu 10.04. The steps are given at below link - http://knowledgebreeze.blogspot.com/search/label/Alfresco