cancel
Showing results for 
Search instead for 
Did you mean: 

Installation SLES11-Tomcat6

laugue
Champ in-the-making
Champ in-the-making
Bonjour,

J'ai installé Alfresco dans une VM Ubuntu server 8.10. Mes tests sont plutôt positifs.
J'aimerais maintenant faire un test sur un de nos serveur Sles11.

Lorsque j'essaie de deployer alfresco sur mon serveur tomcat6, j'ai le message suivant dans le fichier catalina.out :


11:38:18,703  INFO  [alfresco.config.JndiPropertiesFactoryBean] Loading properties file from class path resource [alfresco/repository.properties]
11:38:18,708  INFO  [alfresco.config.JndiPropertiesFactoryBean] Loading properties file from class path resource [alfresco/domain/transaction.properties]
11:38:18,709  INFO  [alfresco.config.JndiPropertiesFactoryBean] Loading properties file from file [/srv/tomcat6/webapps/alfresco/WEB-INF/classes/alfresco/module/tests/alfresco-global.properties]
11:38:18,710  INFO  [alfresco.config.JndiPropertiesFactoryBean] Loading properties file from URL [file:/usr/share/tomcat6/shared/classes/alfresco-global.properties]
11:38:18,843  INFO  [alfresco.config.JndiPropertyPlaceholderConfigurer] Loading properties file from class path resource [alfresco/alfresco-shared.properties]
11:38:47,284  ERROR [web.context.ContextLoader] Context initialization failed
org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'webscripts.container' defined in class path resource [alfresco/web-scripts-application-context.xml]: Cannot create inner bean 'org.alfresco.repo.cmis.rest.CMISConstantsFactory#16251625' of type [org.alfresco.repo.cmis.rest.CMISConstantsFactory] while setting bean property 'templateObjects' with key [TypedStringValue: value [cmisconstants], target type [null]]; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'org.alfresco.repo.cmis.rest.CMISConstantsFactory#16251625': FactoryBean threw exception on object creation; nested exception is freemarker.template.TemplateModelException: java.lang.NullPointerException: null


Merci d'avance de votre aide.

Cordialement,

Laurent GUENIER
Responsable Informatique
l.guenier@corona-medical.com
11 REPLIES 11

laugue
Champ in-the-making
Champ in-the-making
J'ai beau rajouter la ligne suivant dans /usr/bin/dtomcat6 :


JAVA_OPTS="-Xms128M -Xmx512M -XX:PermSize=64M -XX:MaxPermSize=128M"

J'ai toujours le message suivant dans le fichier alfresco.log :


Alfresco JVM - WARNING - maximum heap size 494,938MB is less than recommended 512MB

bertrandf
Champ on-the-rise
Champ on-the-rise
Il faut 512MB minimum, il faut passer -Xms à 512M.

JAVA_OPTS="-Xms512M -Xmx512M -XX:PermSize=64M -XX:MaxPermSize=128M"