AnsweredAssumed Answered

pb Installation Alfresco community 3.2 et Unbuntu 9.04

Question asked by hlander10 on Aug 24, 2009
Latest reply on Sep 4, 2009 by hlander10
Bonjour,

Voila 3 jours que je tente d'installer Alfresco community 3.2 sur un serveur ubuntu 9.04.

J'ai débord récupéré ce fichier Alfresco-Community-3.2-Linux-x86-Install.

J'ai installé sur le serveur la JDK 6 update 13, puis Mysql 5.

J'ai modifié en autre ce fichier alfresco.sh, voici les lignes que j'ai modifié ou ajouté

export JAVA_HOME="/usr/lib/jvm/java-6-sun"
ALF_HOME=/home/xxxx/Alfresco
cd "$ALF_HOME"
APPSERVER="${ALF_HOME}/tomcat"
export JAVA_OPTS='-Xms256m -Xmx512m -XX:MaxPermSize=256m -server'
export JAVA_OPTS="${JAVA_OPTS} -Dalfresco.home=${ALF_HOME} -Dcom.sun.management.jmxremote"
export JAVA_OPTS="${JAVA_OPTS} -DshutdownIdentifier=alfresco"

Et j'obtiens le fichier de log suivant, j'ai tenter de modifier par partie -XX:MaxPermSize sans succès et je dois dire que maintenant je n'ai plus aucune idée.

24 août 2009 14:35:13 org.apache.coyote.http11.Http11Protocol init
INFO: Initialisation de Coyote HTTP/1.1 sur http-8080
24 août 2009 14:35:13 org.apache.catalina.startup.Catalina load
INFO: Initialization processed in 2175 ms
24 août 2009 14:35:14 org.apache.catalina.core.StandardService start
INFO: D�marrage du service Catalina
24 août 2009 14:35:14 org.apache.catalina.core.StandardEngine start
INFO: Starting Servlet Engine: Apache Tomcat/6.0.18
24 août 2009 14:35:21 org.apache.catalina.core.StandardContext addApplicationListener
INFO: The listener "org.apache.myfaces.webapp.StartupServletContextListener" is already configured for this context. The duplicate definition has been ignored.
14:35:36,749  INFO  [alfresco.config.JndiPropertiesFactoryBean] Loading properties file from class path resource [alfresco/repository.properties]
14:35:36,828  INFO  [alfresco.config.JndiPropertiesFactoryBean] Loading properties file from class path resource [alfresco/domain/transaction.properties]
14:35:36,828  INFO  [alfresco.config.JndiPropertiesFactoryBean] Loading properties file from URL [file:/home/xxx/Alfresco/tomcat/shared/classes/alfresco-global.properties]
14:35:37,152  INFO  [alfresco.config.JndiPropertyPlaceholderConfigurer] Loading properties file from class path resource [alfresco/alfresco-shared.properties]
14:36:26,726  INFO  [domain.schema.SchemaBootstrap] Schema managed by database dialect org.hibernate.dialect.MySQLInnoDBDialect.
14:36:27,016  INFO  [domain.schema.SchemaBootstrap] Executing database script /home/xxx/Alfresco/tomcat/temp/Alfresco/AlfrescoSchema-MySQLInnoDBDialect-Update-2390186711444723609.sql (Generated).
14:36:30,543  INFO  [domain.schema.SchemaBootstrap] Executing database script /home/xxx/Alfresco/tomcat/temp/Alfresco/AlfrescoSchema-MySQLInnoDBDialect-Update-9204245109167844369.sql (Copied from classpath:alfresco/dbscripts/create/2.2/org.hibernate.dialect.MySQLInnoDBDialect/AlfrescoPostCreate-2.2-MappedFKIndexes.sql).
14:36:30,606  INFO  [domain.schema.SchemaBootstrap] Executing database script /home/xxx/Alfresco/tomcat/temp/Alfresco/AlfrescoSchema-MySQLInnoDBDialect-Update-8524725936117970261.sql (Copied from classpath:alfresco/dbscripts/create/2.2/org.hibernate.dialect.MySQLInnoDBDialect/AlfrescoPostCreate-2.2-Extra.sql).
14:36:31,029  INFO  [domain.schema.SchemaBootstrap] Executing database script /home/xxx/Alfresco/tomcat/temp/Alfresco/AlfrescoSchema-MySQLInnoDBDialect-Update-7780965498400665448.sql (Copied from classpath:alfresco/dbscripts/create/2.2/org.hibernate.dialect.MySQLInnoDBDialect/post-create-indexes-04.sql).
14:36:31,118  INFO  [domain.schema.SchemaBootstrap] Executing database script /home/xxx/Alfresco/tomcat/temp/Alfresco/AlfrescoSchema-MySQLInnoDBDialect-Update-1674037937037667359.sql (Copied from classpath:alfresco/dbscripts/create/3.0/org.hibernate.dialect.MySQLInnoDBDialect/create-activities-extras.sql).
14:36:31,303  INFO  [domain.schema.SchemaBootstrap] Executing database script /home/xxx/Alfresco/tomcat/temp/Alfresco/AlfrescoSchema-MySQLInnoDBDialect-Update-8399583002830426345.sql (Copied from classpath:alfresco/dbscripts/create/3.2/org.hibernate.dialect.MySQLInnoDBDialect/AlfrescoPostCreate-3.2-LockTables.sql).
14:36:31,315  INFO  [domain.schema.SchemaBootstrap] Executing database script /home/xxx/Alfresco/tomcat/temp/Alfresco/AlfrescoSchema-MySQLInnoDBDialect-Update-6523165114658822510.sql (Copied from classpath:alfresco/dbscripts/create/3.2/org.hibernate.dialect.MySQLInnoDBDialect/AlfrescoPostCreate-3.2-ContentTables.sql).
14:36:31,449  INFO  [domain.schema.SchemaBootstrap] All executed statements:  /home/xxx/Alfresco/tomcat/temp/Alfresco/AlfrescoSchema-MySQLInnoDBDialect-All_Statements-8055499270291754528.sql.
14:36:32,613  INFO  [domain.schema.SchemaBootstrap] Normalized schema dumped to file /home/xxx/Alfresco/tomcat/temp/Alfresco/AlfrescoSchema-MySQLInnoDBDialect-3918193769963824166.xml.
14:36:35,492 User:System INFO  [management.subsystems.ChildApplicationContextFactory] Starting 'thirdparty' subsystem, ID: [default]
14:36:35,551 User:System INFO  [alfresco.config.JndiPropertyPlaceholderConfigurer] Loading properties file from class path resource [alfresco/alfresco-shared.properties]
14:36:35,675 User:System ERROR [content.transform.RuntimeExecutableContentTransformerWorker] Failed to start a runtime executable content transformer:
Execution result:
   os:         Linux
   command:    [/home/xxx/Alfresco/bin/pdf2swf, -V]
   succeeded:  false
   exit code:  1
   out:       
   err:        Cannot run program "/home/xxx/Alfresco/bin/pdf2swf": java.io.IOException: error=2, No such file or directory
14:36:35,713 User:System ERROR [transform.magick.AbstractImageMagickContentTransformerWorker] ImageMagickContentTransformerWorker not available: 07240000 Failed to perform ImageMagick transformation:
Execution result:
   os:         Linux
   command:    [/usr/local/bin/convert, /home/xxx/Alfresco/tomcat/temp/Alfresco/ImageMagickContentTransformerWorker_init_source_200441795059629256.gif[0], /home/xxx/Alfresco/tomcat/temp/Alfresco/ImageMagickContentTransformerWorker_init_target_3633245159435403786.png]
   succeeded:  false
   exit code:  1
   out:       
   err:        Cannot run program "/usr/local/bin/convert": java.io.IOException: error=2, No such file or directory
14:36:36,726 User:System WARN  [alfresco.util.OpenOfficeConnectionTester] An initial OpenOffice connection could not be established.
14:36:36,727 User:System INFO  [management.subsystems.ChildApplicationContextFactory] Startup of 'thirdparty' subsystem, ID: [default] complete
14:37:28,027 User:System INFO  [node.index.FullIndexRecoveryComponent] Index recovery started: 6 transactions.
14:37:28,032 User:System INFO  [node.index.FullIndexRecoveryComponent]    10 % complete.
14:37:28,032 User:System INFO  [node.index.FullIndexRecoveryComponent]    30 % complete.
14:37:28,033 User:System INFO  [node.index.FullIndexRecoveryComponent]    50 % complete.
14:37:28,033 User:System INFO  [node.index.FullIndexRecoveryComponent]    60 % complete.
14:37:28,033 User:System INFO  [node.index.FullIndexRecoveryComponent]    80 % complete.
14:37:28,076 User:System INFO  [node.index.FullIndexRecoveryComponent]    100 % complete.
14:37:39,041 User:System INFO  [node.index.FullIndexRecoveryComponent] Index recovery completed.
14:37:39,099 User:System INFO  [node.index.AVMFullIndexRecoveryComponent] Rebuilding indexes for 1 AVM Stores
14:37:39,100 User:System INFO  [node.index.AVMFullIndexRecoveryComponent]     Rebuilding index for sitestore
14:37:39,143 User:System INFO  [node.index.AVMFullIndexRecoveryComponent]   Reindex   100% complete
14:37:39,143 User:System INFO  [node.index.AVMFullIndexRecoveryComponent] Finished rebuilding indexes for AVM Stores
14:37:39,909 User:System INFO  [repo.admin.ConfigurationChecker] The Alfresco root data directory ('dir.root') is: /home/xxx/Alfresco/alf_data
14:37:39,969 User:System INFO  [admin.patch.PatchExecuter] Checking for patches to apply …
14:37:41,047 User:System INFO  [admin.patch.PatchExecuter]    Applying patch 'patch.wcmFolders' (Ensures the existance of the WCM specific 'Web Projects' and 'Web Forms' folders.).
14:37:41,688 User:System INFO  [admin.patch.PatchExecuter]
=== Applied patch                 ===
ID: patch.db-V3.0-0-CreateActivitiesExtras
RESULT:
Script completed
=====================================
14:37:41,688 User:System INFO  [admin.patch.PatchExecuter]
=== Applied patch                 ===
ID: patch.db-V3.2-ContentTables
RESULT:
Script completed
=====================================
14:37:41,688 User:System INFO  [admin.patch.PatchExecuter]
=== Applied patch                 ===
ID: patch.db-V3.2-LockTables
RESULT:
Script completed
=====================================
14:37:41,690 User:System INFO  [admin.patch.PatchExecuter]
=== Applied patch                 ===
ID: patch.wcmFolders
RESULT:
The Web Projects folder was successfully created: workspace://SpacesStore/ec190ab4-9ebe-4f15-8a75-4e3fc0a048af

The Web Forms folder was successfully created: workspace://SpacesStore/ec190ab4-9ebe-4f15-8a75-4e3fc0a048af
=====================================
14:37:41,696 User:System INFO  [repo.module.ModuleServiceImpl] Found 0 module(s).
14:37:41,707 User:System INFO  [management.subsystems.ChildApplicationContextFactory] Starting 'fileServers' subsystem, ID: [default]
14:37:41,755 User:System INFO  [alfresco.config.JndiPropertyPlaceholderConfigurer] Loading properties file from class path resource [alfresco/alfresco-shared.properties]
14:37:42,302 User:System INFO  [management.subsystems.ChildApplicationContextFactory] Starting 'Authentication' subsystem, ID: [managed, alfrescoNtlm1]
14:37:42,334 User:System INFO  [alfresco.config.JndiPropertyPlaceholderConfigurer] Loading properties file from class path resource [alfresco/alfresco-shared.properties]
14:37:43,120 User:System INFO  [management.subsystems.ChildApplicationContextFactory] Startup of 'Authentication' subsystem, ID: [managed, alfrescoNtlm1] complete
14:37:48,165 User:System ERROR [org.alfresco.fileserver] Failed to get local domain/workgroup name, using default of WORKGROUP
14:37:48,165 User:System ERROR [org.alfresco.fileserver] (This may be due to firewall settings or incorrect <broadcast> setting)
14:37:48,323 User:System INFO  [management.subsystems.ChildApplicationContextFactory] Startup of 'fileServers' subsystem, ID: [default] complete
14:37:48,323 User:System INFO  [management.subsystems.ChildApplicationContextFactory] Starting 'imap' subsystem, ID: [default]
14:37:48,356 User:System INFO  [alfresco.config.JndiPropertyPlaceholderConfigurer] Loading properties file from class path resource [alfresco/alfresco-shared.properties]
14:37:48,438 User:System INFO  [management.subsystems.ChildApplicationContextFactory] Startup of 'imap' subsystem, ID: [default] complete
14:37:48,440 User:System INFO  [management.subsystems.ChildApplicationContextFactory] Starting 'Synchronization' subsystem, ID: [default]
14:37:48,498 User:System INFO  [alfresco.config.JndiPropertyPlaceholderConfigurer] Loading properties file from class path resource [alfresco/alfresco-shared.properties]
14:37:48,638 User:System INFO  [management.subsystems.ChildApplicationContextFactory] Startup of 'Synchronization' subsystem, ID: [default] complete
14:37:48,758 User:System INFO  [service.descriptor.DescriptorService] Alfresco JVM - v1.6.0_14-b08; maximum heap size 506,313MB
14:37:48,758 User:System INFO  [service.descriptor.DescriptorService] Alfresco started (Community): Current version 3.2.0 (2039) schema 2019 - Installed version 3.2.0 (2039) schema 2019
14:37:49,219  INFO  [alfresco.util.OpenOfficeConnectionTester] The OpenOffice connection was re-established.
14:38:10,870 User:System INFO  [management.subsystems.ChildApplicationContextFactory] Starting 'wcm_deployment_receiver' subsystem, ID: [default]
14:38:10,956 User:System INFO  [alfresco.config.JndiPropertyPlaceholderConfigurer] Loading properties file from class path resource [alfresco/alfresco-shared.properties]
14:38:11,174 User:System INFO  [management.subsystems.ChildApplicationContextFactory] Startup of 'wcm_deployment_receiver' subsystem, ID: [default] complete
24 août 2009 14:38:14 org.apache.catalina.startup.HostConfig deployWAR
INFO: D�ploiement de l'archive share.war de l'application web
14:38:22,184  ERROR [web.context.ContextLoader] Context initialization failed
java.lang.OutOfMemoryError: PermGen space
   at java.lang.ClassLoader.defineClass1(Native Method)
   at java.lang.ClassLoader.defineClass(ClassLoader.java:621)
   at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:124)
   at org.apache.catalina.loader.WebappClassLoader.findClassInternal(WebappClassLoader.java:1847)
   at org.apache.catalina.loader.WebappClassLoader.findClass(WebappClassLoader.java:890)
   at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1354)
   at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1233)
   at org.springframework.util.ClassUtils.forName(ClassUtils.java:229)
   at org.springframework.beans.factory.support.AbstractBeanDefinition.resolveBeanClass(AbstractBeanDefinition.java:327)
   at org.springframework.beans.factory.support.AbstractBeanFactory.resolveBeanClass(AbstractBeanFactory.java:1073)
   at org.springframework.beans.factory.support.AbstractBeanFactory.isBeanClassMatch(AbstractBeanFactory.java:1101)
   at org.springframework.beans.factory.support.DefaultListableBeanFactory.getBeanNamesForType(DefaultListableBeanFactory.java:173)
   at org.springframework.context.support.AbstractApplicationContext.invokeBeanFactoryPostProcessors(AbstractApplicationContext.java:452)
   at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:334)
   at org.springframework.web.context.ContextLoader.createWebApplicationContext(ContextLoader.java:246)
   at org.springframework.web.context.ContextLoader.initWebApplicationContext(ContextLoader.java:189)
   at org.springframework.web.context.ContextLoaderListener.contextInitialized(ContextLoaderListener.java:49)
   at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:3843)
   at org.apache.catalina.core.StandardContext.start(StandardContext.java:4342)
   at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:791)
   at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:771)
   at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:525)
   at org.apache.catalina.startup.HostConfig.deployWAR(HostConfig.java:830)
   at org.apache.catalina.startup.HostConfig.deployWARs(HostConfig.java:719)
   at org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:490)
   at org.apache.catalina.startup.HostConfig.start(HostConfig.java:1149)
   at org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:311)
   at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:117)
   at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1053)
   at org.apache.catalina.core.StandardHost.start(StandardHost.java:719)
   at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1045)
   at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:443)
24 août 2009 14:38:22 org.apache.catalina.core.StandardContext start
GRAVE: Error listenerStart
24 août 2009 14:38:22 org.apache.catalina.core.StandardContext start
GRAVE: Erreur de d�marrage du contexte [/share] suite aux erreurs pr�c�dentes
24 août 2009 14:38:22 org.apache.catalina.startup.HostConfig deployWAR
INFO: D�ploiement de l'archive mobile.war de l'application web
Exception in thread "DefaultScheduler_QuartzSchedulerThread" java.lang.OutOfMemoryError: PermGen space
   at java.lang.Class.getDeclaredMethods0(Native Method)
   at java.lang.Class.privateGetDeclaredMethods(Class.java:2427)
   at java.lang.Class.getMethod0(Class.java:2670)
   at java.lang.Class.getMethod(Class.java:1603)
   at org.apache.commons.logging.LogFactory.directGetContextClassLoader(LogFactory.java:825)
   at org.apache.commons.logging.LogFactory$1.run(LogFactory.java:791)
   at java.security.AccessController.doPrivileged(Native Method)
   at org.apache.commons.logging.LogFactory.getContextClassLoader(LogFactory.java:788)
   at org.apache.commons.logging.LogFactory.getFactory(LogFactory.java:383)
   at org.apache.commons.logging.LogFactory.getLog(LogFactory.java:645)
   at org.quartz.core.JobRunShell.<init>(JobRunShell.java:80)
   at org.quartz.impl.StdJobRunShellFactory.borrowJobRunShell(StdJobRunShellFactory.java:86)
   at org.quartz.core.QuartzSchedulerThread.run(QuartzSchedulerThread.java:357)
14:38:35,788  ERROR [web.context.ContextLoader] Context initialization failed
java.lang.OutOfMemoryError: PermGen space
   at java.lang.ClassLoader.findBootstrapClass(Native Method)
   at java.lang.ClassLoader.findBootstrapClass0(ClassLoader.java:892)
   at java.lang.ClassLoader.loadClass(ClassLoader.java:302)
   at java.lang.ClassLoader.loadClass(ClassLoader.java:300)
   at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:301)
   at java.lang.ClassLoader.loadClass(ClassLoader.java:252)
   at java.util.ResourceBundle$RBClassLoader.loadClass(ResourceBundle.java:445)
   at java.util.ResourceBundle$Control.newBundle(ResourceBundle.java:2383)
   at java.util.ResourceBundle.loadBundle(ResourceBundle.java:1406)
   at java.util.ResourceBundle.findBundle(ResourceBundle.java:1365)
   at java.util.ResourceBundle.findBundle(ResourceBundle.java:1292)
   at java.util.ResourceBundle.getBundleImpl(ResourceBundle.java:1234)
   at java.util.ResourceBundle.getBundle(ResourceBundle.java:832)
   at sun.util.resources.LocaleData$1.run(LocaleData.java:127)
   at java.security.AccessController.doPrivileged(Native Method)
   at sun.util.resources.LocaleData.getBundle(LocaleData.java:125)
   at sun.util.resources.LocaleData.getTimeZoneNames(LocaleData.java:97)
   at sun.util.TimeZoneNameUtility.getBundle(TimeZoneNameUtility.java:115)
   at sun.util.TimeZoneNameUtility.retrieveDisplayNames(TimeZoneNameUtility.java:80)
   at java.util.TimeZone.getDisplayNames(TimeZone.java:399)
   at java.util.TimeZone.getDisplayName(TimeZone.java:350)
   at java.util.Date.toString(Date.java:1025)
   at java.lang.String.valueOf(String.java:2826)
   at java.lang.StringBuffer.append(StringBuffer.java:219)
   at org.springframework.context.support.AbstractApplicationContext.toString(AbstractApplicationContext.java:994)
   at java.lang.String.valueOf(String.java:2826)
   at java.lang.StringBuffer.append(StringBuffer.java:219)
   at org.springframework.context.support.AbstractApplicationContext.prepareRefresh(AbstractApplicationContext.java:383)
   at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:321)
   at org.springframework.web.context.ContextLoader.createWebApplicationContext(ContextLoader.java:246)
   at org.springframework.web.context.ContextLoader.initWebApplicationContext(ContextLoader.java:189)
   at org.springframework.web.context.ContextLoaderListener.contextInitialized(ContextLoaderListener.java:49)
24 août 2009 14:38:35 org.apache.catalina.core.StandardContext start
GRAVE: Error listenerStart
24 août 2009 14:38:35 org.apache.catalina.core.StandardContext start
GRAVE: Erreur de d�marrage du contexte [/mobile] suite aux erreurs pr�c�dentes
Exception in thread "AlfrescoJbpmJobExecutor:127.0.1.1:1" java.lang.OutOfMemoryError: PermGen space

Si vous avez une idée ou une piste, je suis preneur. Merci

Outcomes