I'm trying to install alfresco 5.a into an existing tomcat7. I have follow this guide http://fcorti.com/2013/01/09/installation-alfresco-4-2-c-on-ubuntu/ along with the one provided by alfresco wiki. The point is that I have installed postgresql 9.3.1, but Alfresco tries to connect to mysql:
13:27:56,066 WARN [org.alfresco.util.RuntimeSystemPropertiesSetter] [localhost-startStop-1] Could not find alfresco-jmxrmi.password on classpath</br>
13:27:56,520 INFO [org.alfresco.repo.admin] [localhost-startStop-1] Using database URL 'jdbc:mysql:///alfresco' with user 'alfresco'.
13:27:56,524 ERROR [org.springframework.web.context.ContextLoader] [localhost-startStop-1] Context initialization failed
Share is deployed and I can access the login page, but not log in since there is no database, and another strange thing… I can no longer access to tomca7's web-manager (tomcat-users.xml file is edited with an user with manager and admins roles) Here are some info that might be useful to determinate what is happening:$cat /var/lib/tomcat7/shared/classes/alfresco-global.properties | grep -v '^#'
dir.root=/opt/alfresco/alf_data
db.username=alfresco
db.password=alfresco
ooo.exe=/usr/lib/libreoffice/program/soffice.bin
ooo.enabled=false
jodconverter.officeHome=/usr/lib/libreoffice
jodconverter.portNumbers=8100
jodconverter.enabled=true
img.root=/usr/share/doc/imagemagick
img.exe=/usr/bin/convert
swf.exe=/usr/bin/pdf2swf
db.driver=org.postgresql.Driver
db.url=jdbc:postgresql://localhost:5432/alfresco
index.recovery.mode=AUTO
authentication.chain=alfrescoNtlm1:alfrescoNtlm
alfresco.rmi.services.host=0.0.0.0
Directory list:$/var/lib/tomcat7# tree . -L 3
.
├── alfresco.log
├── bin
│ ├── bootstrap.jar
│ ├── catalina.bat
│ ├── catalina.sh
│ ├── catalina-tasks.xml
│ ├── commons-daemon.jar
│ ├── commons-daemon-native.tar.gz
│ ├── configtest.bat
│ ├── configtest.sh
│ ├── daemon.sh
│ ├── digest.bat
│ ├── digest.sh
│ ├── setclasspath.bat
│ ├── setclasspath.sh
│ ├── shutdown.bat
│ ├── shutdown.sh
│ ├── startup.bat
│ ├── startup.sh
│ ├── tomcat-juli.jar
│ ├── tomcat-native.tar.gz
│ ├── tool-wrapper.bat
│ ├── tool-wrapper.sh
│ ├── version.bat
│ └── version.sh
├── common
│ └── classes
├── conf -> /etc/tomcat7
├── endorsed
│ ├── serializer-2.7.1.jar
│ └── xalan-2.7.1.jar
├── lib
│ ├── annotations-api.jar
│ ├── catalina-ant.jar
│ ├── catalina-ha.jar
│ ├── catalina.jar
│ ├── catalina-tribes.jar
│ ├── ecj-4.4.jar
│ ├── el-api.jar
│ ├── jasper-el.jar
│ ├── jasper.jar
│ ├── jsp-api.jar
│ ├── servlet-api.jar
│ ├── tomcat7-websocket.jar
│ ├── tomcat-api.jar
│ ├── tomcat-coyote.jar
│ ├── tomcat-dbcp.jar
│ ├── tomcat-i18n-es.jar
│ ├── tomcat-i18n-fr.jar
│ ├── tomcat-i18n-ja.jar
│ ├── tomcat-jdbc.jar
│ ├── tomcat-util.jar
│ └── websocket-api.jar
├── logs -> ../../log/tomcat7
├── server
│ └── classes
├── shared
│ ├── classes
│ │ ├── alfresco-global.properties
│ │ └── alfresco-global.properties~
│ └── lib
│ └── postgresql-9.3-1101-jdbc41.jar
├── temp
│ └── safeToDelete.tmp
├── webapps
│ ├── alfresco
│ │ ├── cmis-browser-app
│ │ ├── cmisfs
│ │ ├── css
│ │ ├── css-boilerplate
│ │ ├── favicon.ico
│ │ ├── images
│ │ ├── index.jsp
│ │ ├── jsp
│ │ ├── META-INF
│ │ ├── scripts
│ │ ├── swf
│ │ ├── WEB-INF
│ │ └── yui
│ ├── alfresco.war
│ ├── sample
│ │ ├── hello.jsp
│ │ ├── images
│ │ ├── index.html
│ │ ├── META-INF
│ │ └── WEB-INF
│ ├── sample.war
│ ├── share
│ │ ├── components
│ │ ├── css
│ │ ├── error500.jsp
│ │ ├── favicon.ico
│ │ ├── index.jsp
│ │ ├── jquery
│ │ ├── js
│ │ ├── META-INF
│ │ ├── modules
│ │ ├── site-index.jsp
│ │ ├── templates
│ │ ├── themes
│ │ ├── WEB-INF
│ │ └── yui
│ ├── share.war
└── work -> ../../cache/tomcat7