AnsweredAssumed Answered

community-tomcat-2.1.0: no errors in logs, HTTP 404

Question asked by apeshansky on Feb 11, 2008
Latest reply on Feb 15, 2008 by apeshansky
I tried alfresco-community-tomcat-2.1.0.tar.gz after unsuccessful install of alfresco-community-war-2.1.0.tar.gz (see details in Alfresco war on ubuntu 7.10 topic.  I followed Installing Alfresco on Ubuntu 7.10, with some changes reflected in the above wiki page.  I also had to create a symbolic link alfresco to /opt/alfresco/tomcat/work/Catalina/localhost/alfresco/ in /opt/alfresco/tomcat/webapps :
sudo ln -s /opt/alfresco/tomcat/work/Catalina/localhost/alfresco/ /opt/alfresco/tomcat/webapps/alfresco
- otherwise alfresco couldn't find MANIFEST.MF and edit /opt/alfresco/tomcat/work/Catalina/localhost/alfresco/WEB-INF/classes/log4j.properties instead of /opt/alfresco/tomcat/webapps/alfresco/WEB-INF/classes/log4j.properties as per wiki page.

Now when I start alfresco with
sudo /etc/init.d/alfresco start
tomcat starts (I can see default tomcat page at http://gcrc-gev.umdnj.edu:8080/; there are practically no errors in log files:
alex@gcrc-dev:~$ less /var/log/alfresco/alfresco.log
<empy lines>
Sun Feb 10 21:08:45 EST 2008 Starting Alfresco …
/var/log/alfresco/alfresco.log (END)
alex@gcrc-dev:~$ less /var/log/alfresco/tomcat/logs/catalina.out
Feb 10, 2008 9:08:46 PM org.apache.coyote.http11.Http11BaseProtocol init
INFO: Initializing Coyote HTTP/1.1 on http-8080
Feb 10, 2008 9:08:46 PM org.apache.catalina.startup.Catalina load
INFO: Initialization processed in 740 ms
Feb 10, 2008 9:08:46 PM org.apache.catalina.users.MemoryUserDatabase save
WARNING: User database is not persistable - no write permissions on directory
Feb 10, 2008 9:08:46 PM org.apache.catalina.core.StandardService start
INFO: Starting service Catalina
Feb 10, 2008 9:08:46 PM org.apache.catalina.core.StandardEngine start
INFO: Starting Servlet Engine: Apache Tomcat/5.5.23
Feb 10, 2008 9:08:46 PM org.apache.catalina.core.StandardHost start
INFO: XML validation disabled
Feb 10, 2008 9:08:47 PM org.apache.catalina.startup.HostConfig deployWAR
INFO: Deploying web application archive alfresco.war
Feb 10, 2008 9:08:48 PM org.apache.coyote.http11.Http11BaseProtocol start
INFO: Starting Coyote HTTP/1.1 on http-8080
Feb 10, 2008 9:08:48 PM org.apache.catalina.storeconfig.StoreLoader load
INFO: Find registry server-registry.xml at classpath resource
Feb 10, 2008 9:08:48 PM org.apache.catalina.startup.Catalina start
INFO: Server startup in 2154 ms
/var/log/alfresco/tomcat/logs/catalina.out (END)
(The only error that I see
org.apache.catalina.users.MemoryUserDatabase save
WARNING: User database is not persistable - no write permissions on directory
is a warning and should not prevent opening of http://gcrc-dev.umdnj.edu:8080/alfresco, right?

Nevertheless, this is exactly what I get:
HTTP Status 404 - /alfresco/

type Status report

message /alfresco/

description The requested resource (/alfresco/) is not available.
Apache Tomcat/5.5.23

Database connection (mySQL) seems to be working normally - I see 64 tables in alfresco database.

Please help!!!

Outcomes