Bonjour,
nous essayons de déployer Alfresco (1.4) sur les serveurs AIX (5.3) et Websphere 6.1.
Lorsqu'Alfresco démarre pour la première fois (sans aucune donnée), il ne lance aucune exception. Lorsqu'on le redémarre il produit l'exception suivante (la cause est en gras) :
[21/02/07 15:51:41:384 GMT] 00000042 WebApp E Exception caught while initializing context
org.alfresco.error.AlfrescoRuntimeException: Bootstrap failed
at org.alfresco.repo.importer.ImporterBootstrap.bootstrap(ImporterBootstrap.java:448)
…
Caused by: java.nio.BufferUnderflowException
at java.nio.Buffer.nextGetIndex(Buffer.java:419)
at java.nio.DirectByteBuffer.getLong(DirectByteBuffer.java:783)
at org.alfresco.repo.search.impl.lucene.index.IndexInfo.setStatusFromFile(IndexInfo.java:1489)
at org.alfresco.repo.search.impl.lucene.index.IndexInfo.setStatusFromFile(IndexInfo.java:1298)
at org.alfresco.repo.search.impl.lucene.index.IndexInfo.access$32(IndexInfo.java:1294)
at org.alfresco.repo.search.impl.lucene.index.IndexInfo$2.doWork(IndexInfo.java:348)
at org.alfresco.repo.search.impl.lucene.index.IndexInfo.doWithFileLock(IndexInfo.java:1742)
at org.alfresco.repo.search.impl.lucene.index.IndexInfo.<init>(IndexInfo.java:344)
at org.alfresco.repo.search.impl.lucene.index.IndexInfo.getIndexInfo(IndexInfo.java:243)
at org.alfresco.repo.search.impl.lucene.LuceneBase2.initialise(LuceneBase2.java:97)
at org.alfresco.repo.search.impl.lucene.LuceneIndexerImpl2.getUpdateIndexer(LuceneIndexerImpl2.java:477)
at org.alfresco.repo.search.impl.lucene.LuceneIndexerAndSearcherFactory2.createIndexer(LuceneIndexerAndSearcherFactory2.java:352)
at org.alfresco.repo.search.impl.lucene.LuceneIndexerAndSearcherFactory2.getThreadLocalIndexer(LuceneIndexerAndSearcherFactory2.java:309)
at org.alfresco.repo.search.impl.lucene.LuceneIndexerAndSearcherFactory2.getIndexer(LuceneIndexerAndSearcherFactory2.java:293)
at org.alfresco.repo.search.impl.lucene.LuceneIndexerAndSearcherFactory2.getIndexer(LuceneIndexerAndSearcherFactory2.java:72)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:64)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:615)
at org.alfresco.repo.service.StoreRedirectorProxyFactory$RedirectorInvocationHandler.invoke(StoreRedirectorProxyFactory.java:213)
at $Proxy17.getIndexer(Unknown Source)
at org.alfresco.repo.search.IndexerComponent.updateNode(IndexerComponent.java:51)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:64)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:615)
at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:335)
at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:165)
at $Proxy57.updateNode(Unknown Source)
at org.alfresco.repo.node.index.NodeIndexer.onUpdateNode(NodeIndexer.java:96)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:64)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:615)
at org.alfresco.repo.policy.JavaBehaviour$JavaMethodInvocationHandler.invoke(JavaBehaviour.java:243)
at $Proxy60.onUpdateNode(Unknown Source)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:64)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:615)
at org.alfresco.repo.policy.PolicyFactory$MultiHandler.invoke(PolicyFactory.java:243)
at org.alfresco.repo.policy.$Proxy76.onUpdateNode(Unknown Source)
at org.alfresco.repo.node.AbstractNodeServiceImpl.invokeOnUpdateNode(AbstractNodeServiceImpl.java:267)
at org.alfresco.repo.node.db.DbNodeServiceImpl.setProperties(DbNodeServiceImpl.java:889)
at org.alfresco.repo.node.db.DbNodeServiceImpl.addAspect(DbNodeServiceImpl.java:589)
at org.alfresco.repo.node.db.DbNodeServiceImpl.createStore(DbNodeServiceImpl.java:193)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:64)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:615)
at org.alfresco.repo.service.StoreRedirectorProxyFactory$RedirectorInvocationHandler.invoke(StoreRedirectorProxyFactory.java:213)
at $Proxy13.createStore(Unknown Source)
at org.alfresco.repo.importer.ImporterBootstrap.bootstrap(ImporterBootstrap.java:358)
… 100 more
Ne connaissant pas trop la spécificité d'AIX en terme de gestion de fichier ou celle du JDK d'IBM (installé das Websphere), je suis preneur de tout conseil sur le sujet.
Par ailleurs, est ce qu'il est possible de désactiver Lucene - proprement ;-) - dans Alfresco (je suis surtout intéressé par la pile JCR) ?
merci pour votre aide
JM