AnsweredAssumed Answered

Install on FreeBSD 6.3 using tomcat 6.0.14

Question asked by m.r. on Nov 27, 2008
The suggested GNU/Linux install is not an option - so I'm trying to upload a .war file.

From the .war file in  90552320 Nov 26 04:49 alfresco-labs-war-3b.tar  I used tomcat manager and uploaded the alfresco.war and tried to start it.

Nov 27, 2008 5:42:52 PM org.apache.catalina.core.ApplicationContext log
INFO: HTMLManager: start: Starting web application at '/alfresco'
log4j:ERROR setFile(null,true) call failed.
java.io.FileNotFoundException: alfresco.log (Permission denied)
        at java.io.FileOutputStream.openAppend(Native Method)
        at java.io.FileOutputStream.<init>(FileOutputStream.java:177)
        at java.io.FileOutputStream.<init>(FileOutputStream.java:102)

Now, the alfresco directory has ownership write privileges - and it seems to have worked yesterday:

/usr/local/apache-tomcat6.0/conf
tandem# ls -l | head
total 164
drwxr-xr-x  3 www  www    512 Nov 26 14:19 Catalina
drwxr-xr-x  5 www  www    512 Nov 26 14:50 alf_data
-rw-r–r–  1 www  www   7918 Nov 26 14:50 alfresco.log


Trying to Start alfesco from the Tomcat Manager gets me:

Nov 27, 2008 5:52:10 PM org.apache.catalina.core.ApplicationContext log
INFO: Set web app root system property: 'webapp.root' = [/usr/local/apache-tomcat6.0/webapps/alfresco/]
Nov 27, 2008 5:52:10 PM org.apache.catalina.core.ApplicationContext log
INFO: Initializing Spring root WebApplicationContext
17:52:39,267  ERROR [web.context.ContextLoader] Context initialization failed
org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'luceneFullTextSearchIndexer' defined in class path resource [alfresco/core-services-context.xml]: Cannot resolve reference to bean 'indexerAndSearcherFactory' while setting bean property 'indexerAndSearcherFactory'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'indexerAndSearcherFactory' defined in class path resource [alfresco/core-services-context.xml]: Cannot resolve reference to bean 'admLuceneIndexerAndSearcherFactory' while setting bean property 'defaultBinding'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'admLuceneIndexerAndSearcherFactory' defined in class path resource [alfresco/core-services-context.xml]: Cannot resolve reference to bean 'mlAwareNodeService' while setting bean property 'nodeService'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'mlAwareNodeService' defined in class path resource [alfresco/node-services-context.xml]: Cannot resolve reference to bean 'dbNodeService' while setting bean property 'defaultBinding'; nested exception is org.springframework.beans.factory.BeanCreationException:

(and this goes on and on for 480+ lines)

So - where am I lacking knowledge of Tomcat/Java? to make this work?

(the .war file deployed
$ tar tvf alfresco.war | head
drwxrwxrwx  0 0      0           0 Sep  9 21:56 META-INF/
-rwxrwxrwx  0 0      0         106 Sep  9 21:56 META-INF/MANIFEST.MF
drwxrwxrwx  0 0      0           0 Sep  9 21:56 WEB-INF/
drwxrwxrwx  0 0      0           0 Sep  9 21:56 WEB-INF/classes/
drwxrwxrwx  0 0      0           0 Sep  9 21:56 WEB-INF/classes/alfresco/
drwxrwxrwx  0 0      0           0 Sep  9 21:56 WEB-INF/classes/alfresco/activities/
drwxrwxrwx  0 0      0           0 Sep  9 21:56 WEB-INF/classes/alfresco/activities/org.hibernate.dialect.DerbyDialect/
)

Outcomes