Contents |
BXDS Tips
No browser on startup
Add -nostartupbrowser to command line used to start Eclipse.
Import data with batch import
Go to http://localhost:8080/alfresco/faces/jsp/BxDS/batchImport/batchImport.jsp
Alfresco Tips
Feel free to add some tips you know.
Configuration
Add an Admin user
Go to WEB-INF/classes/alfresco/authority-services-context.xml and add the login of your new admin user :
<property name="adminUsers"> <set> <value>admin</value> <value>administrator</value> <value>yourAdmin</value> </set> </property>
Set up InnoDB as default storage engine
Add following line in my.cfg/my.ini in section [mysqld] :
default-storage-engine=INNODB
Colorfull logs
Modify log4j.properties in webapps/alfresco/WEB-INF/classes with :
log4j.appender.Console=com.bluexml.alfresco.utils.ANSIConsoleAppender
Do it only when Alfreso is stopped
Errors and Solutions
A previous schema upgrade failed. Revert to the original database before attempting the upgrade again.
- Drop the table alf_bootstrap_lock and try again
Rebuild Lucene indexes
- Remove all lucene indexes
- Add to custom-repository.properties: index.recovery.mode=FULL
- if model has changed since the insertion of elements unknown from a newer model, add index.recovery.stopOnError=false
unable to find valid certification path to requested target
You need to add the server certificate. See here : http://blogs.sun.com/andreas/entry/no_more_unable_to_find
CAS Tips
Update certificate
See http://blogs.sun.com/andreas/entry/no_more_unable_to_find
Download http://blogs.sun.com/andreas/resource/InstallCert.java
javac InstallCert.java java InstallCert host cp jssecacerts /etc/java-1.5.0-sun/security/cacerts
ou :
Se placer dans son répertoire personnel (ou l'endroit où est stocké votre fichier .keystore).
keytool -genkey -alias tomcat -keyalg RSA
Pour nom/prénom rentrer "localhost" ou le nom de votre serveur, rien pour les autres (le mot de passe par défaut est "changeit") sauf si vous êtes dans un réseau. Ensuite :
keytool -export -alias tomcat -keypass changeit -file server.cert
Puis :
keytool -import -alias tomcat -file server.cert -keypass changeit -keystore %JAVA_HOME%/jre/lib/security/cacerts
