cancel
Showing results for 
Search instead for 
Did you mean: 

bonjour cheras amisje voudrais deployer le alfresco...

pempy
Champ in-the-making
Champ in-the-making
bonjour cheras amis

je voudrais deployer le alfresco community sdk 2.0 sous eclipse mais seulement, je n'ai pas le procédure pour le faire. Quelqu'un pourrait -il s'il vous plait m'aider à la trouver ?

Merci d'avance

adolphe
5 REPLIES 5

bmagnier
Champ in-the-making
Champ in-the-making
Bonjour,

La procédure en question est décrite sur le wiki.

Bertrand.

pempy
Champ in-the-making
Champ in-the-making
Bonjour bertrand

je suis la procedure que tu me propose mais j'obtiens les messages d'erreurs suivants:

Exception in thread "main" org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'serverConnector' defined in class path resource [alfresco/core-services-context.xml]: Initialization of bean failed; nested exception is java.io.IOException: Cannot bind to URL [rmi://localhost:50500/alfresco/jmxrmi]: javax.naming.NameAlreadyBoundException: alfresco/jmxrmi [Root exception is java.rmi.AlreadyBoundException: alfresco/jmxrmi]
java.io.IOException: Cannot bind to URL [rmi://localhost:50500/alfresco/jmxrmi]: javax.naming.NameAlreadyBoundException: alfresco/jmxrmi [Root exception is java.rmi.AlreadyBoundException: alfresco/jmxrmi]14:45:55,078 ERROR [transform.magick.AbstractImageMagickContentTransformer] ImageMagickContentTransformer not available: Failed to execute command: imconvert "CSmiley Very HappyOCUME~1aseppaLOCALS~1TempAlfrescoImageMagickContentTransformer_init_source_24081.gif"  "CSmiley Very HappyOCUME~1aseppaLOCALS~1TempAlfrescoImageMagickContentTransformer_init_target_24082.png"

   at javax.management.remote.rmi.RMIConnectorServer.newIOException(Unknown Source)
   at javax.management.remote.rmi.RMIConnectorServer.start(Unknown Source)
   at org.springframework.jmx.support.ConnectorServerFactoryBean.afterPropertiesSet(ConnectorServerFactoryBean.java:183)
   at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.invokeInitMethods(AbstractAutowireCapableBeanFactory.java:1059)
   at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:363)
   at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:226)
   at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:147)
   at org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:269)
   at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:320)
   at org.springframework.context.support.ClassPathXmlApplicationContext.<init>(ClassPathXmlApplicationContext.java:87)
   at org.springframework.context.support.ClassPathXmlApplicationContext.<init>(ClassPathXmlApplicationContext.java:72)
   at org.alfresco.util.ApplicationContextHelper.getApplicationContext(ApplicationContextHelper.java:48)
   at org.alfresco.sample.FirstFoundationClient.main(FirstFoundationClient.java:70)
Caused by: javax.naming.NameAlreadyBoundException: alfresco/jmxrmi [Root exception is java.rmi.AlreadyBoundException: alfresco/jmxrmi]
   at com.sun.jndi.rmi.registry.RegistryContext.bind(Unknown Source)
   at com.sun.jndi.toolkit.url.GenericURLContext.bind(Unknown Source)
   at javax.naming.InitialContext.bind(Unknown Source)
   at javax.management.remote.rmi.RMIConnectorServer.bind(Unknown Source)
   … 12 more
Caused by: java.rmi.AlreadyBoundException: alfresco/jmxrmi
   at sun.rmi.registry.RegistryImpl.bind(Unknown Source)
   at sun.rmi.registry.RegistryImpl_Skel.dispatch(Unknown Source)
   at sun.rmi.server.UnicastServerRef.oldDispatch(Unknown Source)
   at sun.rmi.server.UnicastServerRef.dispatch(Unknown Source)
   at sun.rmi.transport.Transport$1.run(Unknown Source)
   at java.security.AccessController.doPrivileged(Native Method)
   at sun.rmi.transport.Transport.serviceCall(Unknown Source)
   at sun.rmi.transport.tcp.TCPTransport.handleMessages(Unknown Source)
   at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run(Unknown Source)
   at java.lang.Thread.run(Unknown Source)
   at sun.rmi.transport.StreamRemoteCall.exceptionReceivedFromServer(Unknown Source)
   at sun.rmi.transport.StreamRemoteCall.executeCall(Unknown Source)
   at sun.rmi.server.UnicastRef.invoke(Unknown Source)
   at sun.rmi.registry.RegistryImpl_Stub.bind(Unknown Source)
   … 16 more


je ne sais pas ce qui cloche


adolphe

bmagnier
Champ in-the-making
Champ in-the-making
Une première piste ici-même.
Il doit rester des processus Java en mémoire centrale

Bertrand.

pempy
Champ in-the-making
Champ in-the-making
çà ne marche toujours pas et çà genere les messages d'erreurs suivants:

15:26:18,687 ERROR [transform.magick.AbstractImageMagickContentTransformer] ImageMagickContentTransformer not available: Failed to execute command: imconvert "CSmiley Very HappyOCUME~1aseppaLOCALS~1TempAlfrescoImageMagickContentTransformer_init_source_36500.gif"  "CSmiley Very HappyOCUME~1aseppaLOCALS~1TempAlfrescoImageMagickContentTransformer_init_target_36501.png"
15:26:20,875 WARN  [remoting.rmi.RmiRegistryFactoryBean] Could not detect RMI registry - creating new one
15:26:23,703 WARN  [alfresco.util.OpenOfficeConnectionTester] A connection to OpenOffice could not be established.
15:26:35,343 ERROR [util.transaction.SpringAwareUserTransaction] Transaction didn't commit
java.lang.RuntimeException: Unable to load analyser for property of type {http://www.alfresco.org/model/dictionary/1.0}text using org.apache.lucene.analysis.fr.FrenchAnalyzer
   at org.alfresco.repo.search.impl.lucene.analysis.MLAnalayser.loadAnalyzer(MLAnalayser.java:180)
   at org.alfresco.repo.search.impl.lucene.analysis.MLAnalayser.findAnalyser(MLAnalayser.java:159)
   at org.alfresco.repo.search.impl.lucene.analysis.MLAnalayser.getAnalyser(MLAnalayser.java:151)
   at org.alfresco.repo.search.impl.lucene.analysis.MLAnalayser.tokenStream(MLAnalayser.java:113)
   at org.alfresco.repo.search.impl.lucene.LuceneAnalyser.tokenStream(LuceneAnalyser.java:117)
   at org.apache.lucene.index.DocumentWriter.invertDocument(DocumentWriter.java:162)
   at org.apache.lucene.index.DocumentWriter.addDocument(DocumentWriter.java:93)
   at org.apache.lucene.index.IndexWriter.addDocument(IndexWriter.java:476)
   at org.apache.lucene.index.IndexWriter.addDocument(IndexWriter.java:462)
   at org.alfresco.repo.search.impl.lucene.LuceneIndexerImpl2.indexImpl(LuceneIndexerImpl2.java:1175)
   at org.alfresco.repo.search.impl.lucene.LuceneIndexerImpl2.indexImpl(LuceneIndexerImpl2.java:1158)
   at org.alfresco.repo.search.impl.lucene.LuceneIndexerImpl2.flushPending(LuceneIndexerImpl2.java:961)
   at org.alfresco.repo.search.impl.lucene.LuceneIndexerImpl2.prepare(LuceneIndexerImpl2.java:732)
   at org.alfresco.repo.search.impl.lucene.LuceneIndexerAndSearcherFactory2.prepare(LuceneIndexerAndSearcherFactory2.java:706)
   at org.alfresco.repo.transaction.AlfrescoTransactionSupport$TransactionSynchronizationImpl.beforeCommit(AlfrescoTransactionSupport.java:599)
   at org.springframework.transaction.support.AbstractPlatformTransactionManager.triggerBeforeCommit(AbstractPlatformTransactionManager.java:657)
   at org.springframework.transaction.support.AbstractPlatformTransactionManager.processCommit(AbstractPlatformTransactionManager.java:482)
   at org.springframework.transaction.support.AbstractPlatformTransactionManager.commit(AbstractPlatformTransactionManager.java:469)
   at org.springframework.transaction.interceptor.TransactionAspectSupport.doCommitTransactionAfterReturning(TransactionAspectSupport.java:266)
   at org.alfresco.util.transaction.SpringAwareUserTransaction.commit(SpringAwareUserTransaction.java:405)
   at org.alfresco.repo.transaction.TransactionUtil.executeInTransaction(TransactionUtil.java:186)
   at org.alfresco.repo.transaction.TransactionUtil.executeInUserTransaction(TransactionUtil.java:82)
   at org.alfresco.repo.descriptor.DescriptorServiceImpl.onBootstrap(DescriptorServiceImpl.java:182)
   at org.alfresco.util.AbstractLifecycleBean.onApplicationEvent(AbstractLifecycleBean.java:62)
   at org.springframework.context.event.SimpleApplicationEventMulticaster.multicastEvent(SimpleApplicationEventMulticaster.java:45)
   at org.springframework.context.support.AbstractApplicationContext.publishEvent(AbstractApplicationContext.java:225)
   at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:323)
   at org.springframework.context.support.ClassPathXmlApplicationContext.<init>(ClassPathXmlApplicationContext.java:87)
   at org.springframework.context.support.ClassPathXmlApplicationContext.<init>(ClassPathXmlApplicationContext.java:72)
   at org.alfresco.util.ApplicationContextHelper.getApplicationContext(ApplicationContextHelper.java:48)
   at org.alfresco.sample.FirstFoundationClient.main(FirstFoundationClient.java:70)
Exception in thread "main" org.alfresco.error.AlfrescoRuntimeException: Unexpected rollback of exception:
Transaction didn't commit: Unable to load analyser for property of type {http://www.alfresco.org/model/dictionary/1.0}text using org.apache.lucene.analysis.fr.FrenchAnalyzer
   at org.alfresco.repo.transaction.TransactionUtil.executeInTransaction(TransactionUtil.java:192)
   at org.alfresco.repo.transaction.TransactionUtil.executeInUserTransaction(TransactionUtil.java:82)
   at org.alfresco.repo.descriptor.DescriptorServiceImpl.onBootstrap(DescriptorServiceImpl.java:182)
   at org.alfresco.util.AbstractLifecycleBean.onApplicationEvent(AbstractLifecycleBean.java:62)
   at org.springframework.context.event.SimpleApplicationEventMulticaster.multicastEvent(SimpleApplicationEventMulticaster.java:45)
   at org.springframework.context.support.AbstractApplicationContext.publishEvent(AbstractApplicationContext.java:225)
   at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:323)
   at org.springframework.context.support.ClassPathXmlApplicationContext.<init>(ClassPathXmlApplicationContext.java:87)
   at org.springframework.context.support.ClassPathXmlApplicationContext.<init>(ClassPathXmlApplicationContext.java:72)
   at org.alfresco.util.ApplicationContextHelper.getApplicationContext(ApplicationContextHelper.java:48)
   at org.alfresco.sample.FirstFoundationClient.main(FirstFoundationClient.java:70)
Caused by: javax.transaction.RollbackException: Transaction didn't commit: Unable to load analyser for property of type {http://www.alfresco.org/model/dictionary/1.0}text using org.apache.lucene.analysis.fr.FrenchAnalyzer
   at org.alfresco.util.transaction.SpringAwareUserTransaction.commit(SpringAwareUserTransaction.java:412)
   at org.alfresco.repo.transaction.TransactionUtil.executeInTransaction(TransactionUtil.java:186)
   … 10 more
Caused by: java.lang.RuntimeException: Unable to load analyser for property of type {http://www.alfresco.org/model/dictionary/1.0}text using org.apache.lucene.analysis.fr.FrenchAnalyzer
   at org.alfresco.repo.search.impl.lucene.analysis.MLAnalayser.loadAnalyzer(MLAnalayser.java:180)
   at org.alfresco.repo.search.impl.lucene.analysis.MLAnalayser.findAnalyser(MLAnalayser.java:159)
   at org.alfresco.repo.search.impl.lucene.analysis.MLAnalayser.getAnalyser(MLAnalayser.java:151)
   at org.alfresco.repo.search.impl.lucene.analysis.MLAnalayser.tokenStream(MLAnalayser.java:113)
   at org.alfresco.repo.search.impl.lucene.LuceneAnalyser.tokenStream(LuceneAnalyser.java:117)
   at org.apache.lucene.index.DocumentWriter.invertDocument(DocumentWriter.java:162)
   at org.apache.lucene.index.DocumentWriter.addDocument(DocumentWriter.java:93)
   at org.apache.lucene.index.IndexWriter.addDocument(IndexWriter.java:476)
   at org.apache.lucene.index.IndexWriter.addDocument(IndexWriter.java:462)
   at org.alfresco.repo.search.impl.lucene.LuceneIndexerImpl2.indexImpl(LuceneIndexerImpl2.java:1175)
   at org.alfresco.repo.search.impl.lucene.LuceneIndexerImpl2.indexImpl(LuceneIndexerImpl2.java:1158)
   at org.alfresco.repo.search.impl.lucene.LuceneIndexerImpl2.flushPending(LuceneIndexerImpl2.java:961)
   at org.alfresco.repo.search.impl.lucene.LuceneIndexerImpl2.prepare(LuceneIndexerImpl2.java:732)
   at org.alfresco.repo.search.impl.lucene.LuceneIndexerAndSearcherFactory2.prepare(LuceneIndexerAndSearcherFactory2.java:706)
   at org.alfresco.repo.transaction.AlfrescoTransactionSupport$TransactionSynchronizationImpl.beforeCommit(AlfrescoTransactionSupport.java:599)
   at org.springframework.transaction.support.AbstractPlatformTransactionManager.triggerBeforeCommit(AbstractPlatformTransactionManager.java:657)
   at org.springframework.transaction.support.AbstractPlatformTransactionManager.processCommit(AbstractPlatformTransactionManager.java:482)
   at org.springframework.transaction.support.AbstractPlatformTransactionManager.commit(AbstractPlatformTransactionManager.java:469)
   at org.springframework.transaction.interceptor.TransactionAspectSupport.doCommitTransactionAfterReturning(TransactionAspectSupport.java:266)
   at org.alfresco.util.transaction.SpringAwareUserTransaction.commit(SpringAwareUserTransaction.java:405)
   … 11 more
15:27:23,250 WARN  [node.index.FullIndexRecoveryComponent] The indexes are not synchronized with the database.

bmagnier
Champ in-the-making
Champ in-the-making
Au moins, on change d'erreur.
Effectivement, je me souviens que certaines librairies n'ont pas été ajoutées au projet SDK AlfrescoEmbedded du SDK.
Les librairies manquantes sont trouvables dans <Alfresco SDK>/lib/server/dependencies.
Pour cette erreur, les analyzers Lucene semblent être en cause, le projet n'incluant pas la librairie "lucene-analyzers-2.0.0.jar".

Bertrand.