Je tente d'installer Alfresco 2.1 sur un Websphere...

cancel
Showing results for 
Search instead for 
Did you mean: 
alexandre_gay
Member II

Je tente d'installer Alfresco 2.1 sur un Websphere...

Bonjour,

Je tente d'installer Alfresco 2.1 sur un Websphere 6.1.0.11 qui tourne sur Windows XP.




J'ai l'erreur suivante :


org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'ftsIndexerTrigger' defined in class path resource [alfresco/scheduled-jobs-context.xml]: Cannot create inner bean 'ftsIndexerJobDetail' while setting bean property 'jobDetail'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'ftsIndexerJobDetail' defined in class path resource [alfresco/scheduled-jobs-context.xml]: Instantiation of bean failed; nested exception is org.springframework.beans.BeanInstantiationException: Could not instantiate bean class [org.springframework.scheduling.quartz.JobDetailBean]: Constructor threw exception; nested exception is java.lang.NoSuchMethodError: org/apache/commons/collections/SetUtils.orderedSet(Ljava/util/SetSmiley WinkLjava/util/Set;
Caused by: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'ftsIndexerJobDetail' defined in class path resource [alfresco/scheduled-jobs-context.xml]: Instantiation of bean failed; nested exception is org.springframework.beans.BeanInstantiationException: Could not instantiate bean class [org.springframework.scheduling.quartz.JobDetailBean]: Constructor threw exception; nested exception is java.lang.NoSuchMethodError: org/apache/commons/collections/SetUtils.orderedSet(Ljava/util/SetSmiley WinkLjava/util/Set;
Caused by: org.springframework.beans.BeanInstantiationException: Could not instantiate bean class [org.springframework.scheduling.quartz.JobDetailBean]: Constructor threw exception; nested exception is java.lang.NoSuchMethodError: org/apache/commons/collections/SetUtils.orderedSet(Ljava/util/SetSmiley WinkLjava/util/Set;
Caused by: java.lang.NoSuchMethodError: org/apache/commons/collections/SetUtils.orderedSet(Ljava/util/SetSmiley WinkLjava/util/Set;
   at org.quartz.JobDetail.<init>(JobDetail.java:85)
   at org.springframework.scheduling.quartz.JobDetailBean.<init>(JobDetailBean.java:45)
   at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
   at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:67)
   at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
   at java.lang.reflect.Constructor.newInstance(Constructor.java:521)


Pour info les versions des jars qui semblent concernés sont commons-collections-3.2.jar et quartz-1.6.0.jar

Par contre je n'ai pas créé de repertoire extensions au niveau du classpath du serveur.
Merci beaucoup de votre aide.
Alex
1 Reply
alexist
Member II

Re: Je tente d'installer Alfresco 2.1 sur un Websphere...

C'est un conflit de lib entre WAS et Alfresco.
Alfresco utiliser commons-collections-3.1.jar
WAS doit utiliser une autre version (commons-collections-3.2.jar d'après ce que tu indique)

Dans WAS, tu as des options de classloader et de priorité. Il faudrait indiquer à WAS de charger en priorité les lib de la webapp.