AnsweredAssumed Answered

Problems with Alfresco/Tomcat bundle on Ubuntu Hardy 8.04

Question asked by nicolasdiogo on Dec 14, 2008
Latest reply on Apr 17, 2009 by ktsoi
i had few problem while installing the bundled Alfresco & Tomcat into Ubuntu Hardy 8.04.  :?

these were the problem that i had so far and their solutions:
no mysql jdbc driver on tomcat lib/ folder
download and place the driver into <tomcat>/lib/

OutOfMemory error
http://forums.alfresco.com/en/viewtopic.php?f=8&t=15119

and i have also added CATALINA_OPTS to <tomcat>/bin/catalina.sh
add the following line to the file:

export JAVA_HOME=/usr/lib/jvm/java-6-sun
export JRE_HOME=/usr/lib/jvm/java-6-sun
export JAVA_OPTS='-Xms256m -Xmx512m -XX:MaxPermSize=256m'
export CATALINA_OPTS='-Xms256m -Xmx512m -XX:MaxPermSize=256m'

the current one gives me the following error message on the webpage:
org.alfresco.error.AlfrescoRuntimeException: Error during getUserPreferencesRef(): Write operations are not allowed in read-only mode (FlushMode.NEVER/MANUAL): Turn your Session into FlushMode.COMMIT/AUTO or remove 'readOnly' marker from transaction definition.
caused by:
org.springframework.dao.InvalidDataAccessApiUsageException: Write operations are not allowed in read-only mode (FlushMode.NEVER/MANUAL): Turn your Session into FlushMode.COMMIT/AUTO or remove 'readOnly' marker from transaction definition.

since it complains about write access i have run the following command on the terminal:

chown alfresco:alfresco -R /opt/alfresco

and restarted the server, without any change.

could someone have any idea how to solve this problem?

many thanks,

Nicolas

Outcomes