AnsweredAssumed Answered

Alfresco war on ubuntu 7.10

Question asked by alixbarbosa on Jan 6, 2008
Latest reply on Apr 25, 2008 by cleseach
I'm having problems installing the Alfresco war on a Ubuntu 7.10 server (console interface)

heres what i have done so far on a new install:

sudo apt-get update
sudo apt-get dist-upgrade
sudo apt-get install sun-java6-jdk sun-java6-jre

sudo vim /etc/profile

JAVA_HOME=/usr/lib/jvm/java-6-sun; export JAVA_HOME
export PATH

TOMCAT_HOME=/usr/ share/tomcat5.5

sudo apt-get install tomcat5.5 tomcat5.5-admin tomcat5.5-webapps

sudo vim /usr/share/tomcat5.5/conf/tomcat-users.xml

<?xml version='1.0' encoding='utf-8'?>
  <role rolename="admin"/>
  <role rolename="manager"/>
  <user username="username" password="password" roles="admin,manager"/>

sudo apt-get install imagemagick xvfb
sudo apt-get install mysql-server

sudo wget -c
sudo mkdir alfresco
sudo tar xvfz alfresco-community-war-2.1.0.tar.gz -C alfresco
sudo vm -rv alfresco /usr/share/tomcat5.5-webapps/

cd /usr/share/tomcat5.5-webapps/alfresco/extras/databases/mysql/
mysql -u root -p <db_setup.sql

sudo wget -c
sudo tar xvzf mysql-connector-java-5.1.5.tar.gz
sudo mv mysql-connector-java-5.1.5/mysql-connector-java-5.1.5-bin.jar /usr/share/tomcat5.5/common/lib/
sudo cp /usr/share/tomcat5.5/common/lib/mysql-connector-java-5.1.5-bin.jar /usr/share/tomcat5.5/server/default/lib/
sudo rm -r mysql-connector-java-5.1.5 mysql-connector-java-5.1.5.tar.gz

after this i used the following from

* Configuring configuration files (accordantly)
* Edited accordantly

After this i got the following error:

30/Dez/2007 3:32:59 org.apache.coyote.http11.Http11BaseProtocol start
INFO: Starting Coyote HTTP/1.1 on http-8180
30/Dez/2007 3:32:59 org.apache.jk.common.ChannelSocket init
INFO: JK: ajp13 listening on /
30/Dez/2007 3:32:59 org.apache.jk.server.JkMain start
INFO: Jk running ID=0 time=0/18  config=null
30/Dez/2007 3:32:59 org.apache.catalina.storeconfig.StoreLoader load
INFO: Find registry server-registry.xml at classpath resource
30/Dez/2007 3:32:59 org.apache.catalina.startup.Catalina start
INFO: Server startup in 1628 ms
Dec 30, 2007 2:44:23 PM org.apache.catalina.core.AprLifecycleListener lifecycleEvent
INFO: The Apache Tomcat Native library which allows optimal performance in production environments was not found on the java.library.path: /usr/java/packages/lib/i386:/lib:/usr/lib
Dec 30, 2007 2:44:23 PM org.apache.coyote.http11.Http11BaseProtocol init
INFO: Initializing Coyote HTTP/1.1 on http-8180
Dec 30, 2007 2:44:23 PM org.apache.catalina.startup.Catalina load
INFO: Initialization processed in 1392 ms
Dec 30, 2007 2:44:23 PM org.apache.catalina.core.StandardService start
INFO: Starting service Catalina
Dec 30, 2007 2:44:23 PM org.apache.catalina.core.StandardEngine start
INFO: Starting Servlet Engine: Apache Tomcat/5.5
Dec 30, 2007 2:44:23 PM org.apache.catalina.core.StandardHost start
INFO: XML validation disabled
Dec 30, 2007 2:44:29 PM org.apache.catalina.startup.HostConfig deployDirectory
SEVERE: Error deploying web application directory alfresco
org.apache.commons.logging.LogConfigurationException: java.lang.ExceptionInInitializerError (Caused by java.lang.ExceptionInInitializerError)
Caused by: java.lang.ExceptionInInitializerError
        at org.apache.log4j.Logger.getLogger(
        at org.apache.commons.logging.impl.Log4JLogger.getLogger(
        at org.apache.commons.logging.impl.Log4JLogger.<init>(
        at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
        at sun.reflect.NativeConstructorAccessorImpl.newInstance(
        at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(
        at java.lang.reflect.Constructor.newInstance(
        at org.apache.commons.logging.impl.LogFactoryImpl.newInstance(
        … 33 more
Caused by: access denied ( alfresco.log write)

I tried editing to point log4j.appender.File.File= to a chmod 777 dir but i get the same error.. ( different dir on error)

Can someone give a hand here?