Bonjour, Je suis entrain de créer un Workflow pour mon alfresco, mais j'ai une erreur que je n'arrive pas à résoudre:processdefinition.xml:<?xml version="1.0" encoding="UTF-8"?>
<process-definition xmlns="urn:jbpm.org:jpdl-3.2" name="wf:ProcessusDocumentaireUI">
<swimlane name="Utilisateurs">
<assignment actor-id="#{people.getGroup('GROUP_lecteurs')"></assignment>
</swimlane>
<swimlane name="Directeur hiearchique">
<assignment actor-id="#{people.getGroup('GROUP_Directeurs')"></assignment>
</swimlane>
<swimlane name="DDO">
<assignment pooled-actors="#{people.getGroup('GROUP_Contributeurs')"></assignment>
</swimlane>
<swimlane name="Administrateur">
<assignment pooled-actors="#{people.getGroup('GROUP_Administrateurs')"></assignment>
</swimlane>
<start-state name="Demande de document (utilisateur)">
<task swimlane="Utilisateurs" name="wf:DeposerDemande"></task>
<transition to="Approuver le droit d'utilisation ( Directeur Hierarchique)" name="Approbation">
<description>
transition pour approuver le droit d'utilisation
</description>
<action class="org.alfresco.repo.workflow.jbpm.AlfrescoJavaScript">
<script>
<variable name="wf_DocumentRecherche" access="write"/>
<expression>
logger.log("Hello, " + wf_DocumentRecherche+ "!");
</expression>
</script>
</action>
</transition>
</start-state>
<task-node name="Approuver le droit d'utilisation ( Directeur Hierarchique)">
<description>
Le directeur hierarchique accorde l'autorisation à l'utilisateur pour utiliser le document
</description>
<task name="wf:Approuver" swimlane="Directeur hiearchique"></task>
<transition to="Rechercher le document(automatique)" name="Accordé">
</transition>
<transition to="Notification: pas d'autorisation d'utilisation" name="Non Accordé"></transition>
</task-node>
<node name="Rechercher le document(automatique)">
<description>
cette tache se fait automatiquement
</description>
<action name="Recherche" class="org.alfresco.service.cmr.search.SearchParameters">
<query>
document
</query>
</action>
<transition to="Trier les document (DDO): choisir le bon document" name="Trouvé">
<condition>
org.alfresco.service.cmr.search.ResultSet !=Null;
</condition>
</transition>
<transition to=" Notification: Document non trouvé" name="Non trouvé">
<condition>
org.alfresco.service.cmr.search.ResultSet==Null;
</condition>
</transition>
</node>
<task-node name="Trier les document (DDO): choisir le bon document">
<description>
pour trouver le document souhaité
</description>
<task name="wf:TrierDocuments" swimlane="DDO" notify="true"></task>
<transition to="Accorder le droit de lecture (Administrateur)" name="Trouvé">
</transition>
<transition to=" Notification: Document non trouvé" name="Non trouvé">
</transition>
</task-node>
<task-node name="Accorder le droit de lecture (Administrateur)">
<transition to="Notification: Document trouvé et autorisation Accordée"></transition>
</task-node>
<node name="Notification: pas d'autorisation d'utilisation">
<transition to="Fin du process"></transition>
</node>
<node name=" Notification: Document non trouvé">
<transition to="Fin du process"></transition>
</node>
<node name="Notification: Document trouvé et autorisation Accordée">
<transition to="Fin du process"></transition>
</node>
<end-state name="Fin du process"></end-state>
</process-definition>scWorkflow.xml
<?xml version="1.0" encoding="UTF-8"?>
<!– Definition of new Model –>
<model name="wf:scworkflowmodel" xmlns="http://www.alfresco.org/model/dictionary/1.0">
<!– Optional meta-data about the model –>
<description>Processus documentaireUI</description>
<author>Ana</author>
<version>1.0</version>
<!– Imports are required to allow references to definitions in other models –>
<imports>
<import uri="http://www.alfresco.org/model/dictionary/1.0" prefix="d" />
<import uri="http://www.alfresco.org/model/bpm/1.0" prefix="bpm" />
</imports>
<!– Introduction of new namespaces defined by this model –>
<namespaces>
<namespace uri="http://www.someco.com/model/workflow/1.0" prefix="wf" />
</namespaces>
<types>
<type name="wf:DeposerDemande">
<parent>bpm:StartTask</parent>
<properties>
<property name="wf:DocumentRecherche">
<type>d:text</type>
<mandatory>true</mandatory>
<multiple>false</multiple>
</property>
</properties>
</type>
<type name="wf:Approuver">
<parent>bpm:workflowTask</parent>
</type>
<type name="wf:TrierDocuments">
<parent>bpm:workflowTask</parent>
</type>
</types>
</model>
scModel.xml<?xml version="1.0" encoding="UTF-8"?>
<!– Definition of new Model –>
<model name="sc:somecomodel" xmlns="http://www.alfresco.org/model/dictionary/1.0">
<!– Optional meta-data about the model –>
<description>Someco Model</description>
<author>Optaros</author>
<version>1.0</version>
<!– Imports are required to allow references to definitions in other models –>
<imports>
<!– Import Alfresco Dictionary Definitions –>
<import uri="http://www.alfresco.org/model/dictionary/1.0" prefix="d" />
<!– Import Alfresco Content Domain Model Definitions –>
<import uri="http://www.alfresco.org/model/content/1.0" prefix="cm" />
<import uri="http://www.alfresco.org/model/system/1.0" prefix="sys" />
</imports>
<!– Introduction of new namespaces defined by this model –>
<namespaces>
<namespace uri="http://www.someco.com/model/content/1.0" prefix="sc" />
</namespaces>
<constraints>
<constraint name="sc:bassinList" type="LIST">
<parameter name="allowedValues">
<list>
<value>Bassin1</value>
<value>Bassin2</value>
<value>Bassin3</value>
</list>
</parameter>
</constraint>
<constraint name="sc:domaineList" type="LIST">
<parameter name="allowedValues">
<list>
<value>Mines</value>
<value>Petrole</value>
</list>
</parameter>
</constraint>
<constraint name="sc:categorieList" type="LIST">
<parameter name="allowedValues">
<list>
<value>Accord Petrolier</value>
<value>Contrat de reconnaissance</value>
<value>Convention</value>
<value>Autre</value>
</list>
</parameter>
</constraint>
<constraint name="sc:typeList" type="LIST">
<parameter name="allowedValues">
<list>
<value>Claque</value>
<value>Rapport</value>
<value>Bande</value>
<value>Carte</value>
</list>
</parameter>
</constraint>
<constraint name="sc:off/OnshoreList" type="LIST">
<parameter name="allowedValues">
<list>
<value>OffShore</value>
<value>OnShore</value>
</list>
</parameter>
</constraint>
<constraint name="sc:zoneInteretList" type="LIST">
<parameter name="allowedValues">
<list>
<value>Mohamedia</value>
<value>El Jadida</value>
<value>Temara</value>
</list>
</parameter>
</constraint>
<constraint name="sc:partenaireList" type="LIST">
<parameter name="allowedValues">
<list>
<value>Partenaire1</value>
<value>Partenaire2</value>
</list>
</parameter>
</constraint>
</constraints>
<types>
<!– Enterprise-wide generic document type –>
<type name="sc:doc">
<title>Géophysique</title>
<parent>cm:content</parent>
<associations>
<association name="sc:relatedDocuments">
<title>Related Documents</title>
<source>
<mandatory>false</mandatory>
<many>true</many>
</source>
<target>
<class>sc:doc</class>
<mandatory>false</mandatory>
<many>true</many>
</target>
</association>
</associations>
<mandatory-aspects>
<aspect>cm:generalclassifiable</aspect>
</mandatory-aspects>
</type>
<type name="sc:geophysique">
<title>Geophysique</title>
<parent>sc:doc</parent>
<properties>
<property name="sc:codeCompagne">
<type>d:text</type>
</property>
</properties>
</type>
<type name="sc:MineEtPetroleDoc">
<title>Mine et Petrole</title>
<parent>sc:doc</parent>
<properties>
<property name="sc:observations">
<type>d:text</type>
</property>
<property name="sc:bassin">
<type>d:text</type>
<multiple>false</multiple>
<constraints>
<constraint ref="sc:bassinList" >
</constraint>
</constraints>
</property>
<property name="sc:zoneInteret">
<type>d:text</type>
<multiple>false</multiple>
<constraints>
<constraint ref="sc:zoneInteretList" />
</constraints>
</property>
<property name="sc:domaine">
<type>d:text</type>
<multiple>false</multiple>
<constraints>
<constraint ref="sc:domaineList" />
</constraints>
</property>
<property name="sc:categorie">
<type>d:text</type>
<multiple>false</multiple>
<constraints>
<constraint ref="sc:categorieList" />
</constraints>
</property>
<property name="sc:type">
<type>d:text</type>
<multiple>false</multiple>
<constraints>
<constraint ref="sc:typeList" />
</constraints>
</property>
<property name="sc:off/Onshore">
<type>d:text</type>
<multiple>false</multiple>
<constraints>
<constraint ref="sc:off/OnshoreList" />
</constraints>
</property>
<property name="sc:partenaire">
<type>d:text</type>
<multiple>false</multiple>
<constraints>
<constraint ref="sc:partenaireList" />
</constraints>
</property>
</properties>
</type>
</types>
<aspects>
<aspect name="sc:webable">
<title>Someco Webable</title>
<properties>
<property name="sc:published">
<type>d:date</type>
</property>
<property name="sc:isActive">
<type>d:boolean</type>
<default>false</default>
</property>
</properties>
</aspect>
<aspect name="sc:clientRelated">
<title>Someco Client Metadata</title>
<properties>
<property name="sc:clientName">
<type>d:text</type>
<mandatory>true</mandatory>
</property>
<property name="sc:projectName">
<type>d:text</type>
<mandatory>false</mandatory>
</property>
</properties>
</aspect>
</aspects>
</model>
someco-model-context.xml<?xml version='1.0' encoding='UTF-8'?>
<!DOCTYPE beans PUBLIC '-//SPRING//DTD BEAN//EN' 'http://www.springframework.org/dtd/spring-beans.dtd'>
<beans>
<!– Registration of new models –>
<bean id="extension.dictionaryBootstrap" parent="dictionaryModelBootstrap" depends-on="dictionaryBootstrap">
<property name="models">
<list>
<value>alfresco/extension/model/scModel.xml</value>
<value>alfresco/extension/model/scWorkflowModel.xml</value>
</list>
</property>
</bean>
<bean id="extension.workflowBootstrap" parent="workflowDeployer">
<property name="labels">
<list>
<value>alfresco.extension.scWorkflow</value>
</list>
</property>
</bean>
</beans>
scWorkflow.properties#
# Hello World UI Workflow
#
# scWorkflowModel related strings
wf_scworkflowmodel.type.wf_DeposerDemande.title=Demander un document
wf_scworkflowmodel.type.wf_DeposerDemande.description=Demande Document
wf_scworkflowmodel.type.wf_Approuver.title=Approuver un document
wf_scworkflowmodel.type.wf_Approuver.description=Approuver Document
wf_scworkflowmodel.type.wf_TrierDocuments.title=TrierDocuments
wf_scworkflowmodel.type.wf_TrierDocuments.description=Trier Documents
wf_scworkflowmodel.property.wf_DocumentRecherche.title=Document
wf_scworkflowmodel.property.wf_DocumentRecherche.description=Entrer le nom du document recherché
# process definition related strings
wfcm_scworkflowmodel.workflow.title=Processus Documentaire
wfcm_scworkflowmodel.workflow.description=Notre Processus Documentaire
Pour les fichiers log:stdout_20110517.log:16:44:10,890 INFO [alfresco.config.JndiPropertiesFactoryBean] Loading properties file from class path resource [alfresco/repository.properties]
16:44:10,906 INFO [alfresco.config.JndiPropertiesFactoryBean] Loading properties file from class path resource [alfresco/domain/transaction.properties]
16:44:10,906 INFO [alfresco.config.JndiPropertiesFactoryBean] Loading properties file from file [C:\Alfresco\tomcat\webapps\alfresco\WEB-INF\classes\alfresco\module\org_alfresco_module_dod5015\alfresco-global.properties]
16:44:10,921 INFO [alfresco.config.JndiPropertiesFactoryBean] Loading properties file from file [C:\Alfresco\tomcat\webapps\alfresco\WEB-INF\classes\alfresco\module\org_alfresco_module_wcmquickstart\alfresco-global.properties]
16:44:10,921 INFO [alfresco.config.JndiPropertiesFactoryBean] Loading properties file from file [C:\Alfresco\tomcat\webapps\alfresco\WEB-INF\classes\alfresco\module\test\alfresco-global.properties]
16:44:10,921 INFO [alfresco.config.JndiPropertiesFactoryBean] Loading properties file from file [C:\Alfresco\tomcat\webapps\alfresco\WEB-INF\classes\alfresco\module\tests\alfresco-global.properties]
16:44:10,921 INFO [alfresco.config.JndiPropertiesFactoryBean] Loading properties file from URL [file:/C:/Alfresco/tomcat/shared/classes/alfresco-global.properties]
16:44:11,031 INFO [alfresco.config.JndiPropertyPlaceholderConfigurer] Loading properties file from class path resource [alfresco/alfresco-shared.properties]
16:44:11,281 INFO [alfresco.config.FixedPropertyPlaceholderConfigurer] Loading properties file from class path resource [alfresco/version.properties]
16:44:11,375 INFO [alfresco.config.FixedPropertyPlaceholderConfigurer] Loading properties file from class path resource [alfresco/domain/cache-strategies.properties]
16:44:11,437 INFO [alfresco.config.FixedPropertyPlaceholderConfigurer] Loading properties file from class path resource [alfresco/module/org.alfresco.module.vti/context/vti.properties]
16:44:11,437 INFO [alfresco.config.FixedPropertyPlaceholderConfigurer] Loading properties file from URL [file:/C:/Alfresco/tomcat/shared/classes/alfresco/extension/custom-vti.properties]
16:44:30,640 ERROR [web.context.ContextLoader] Context initialization failed
org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'extension.dictionaryBootstrap' defined in file [C:\Alfresco\tomcat\webapps\alfresco\WEB-INF\classes\alfresco\extension\someco-model-context.xml]: Invocation of init method failed; nested exception is org.alfresco.service.cmr.dictionary.DictionaryException: 04170002 Could not import bootstrap model alfresco/extension/model/scWorkflowModel.xml
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1401)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:512)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:450)
at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:290)
at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:222)
at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:287)
at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:189)
at org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:557)
at org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:842)
at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:416)
at org.springframework.web.context.ContextLoader.createWebApplicationContext(ContextLoader.java:261)
at org.springframework.web.context.ContextLoader.initWebApplicationContext(ContextLoader.java:192)
at org.springframework.web.context.ContextLoaderListener.contextInitialized(ContextLoaderListener.java:47)
at org.alfresco.web.app.ContextLoaderListener.contextInitialized(ContextLoaderListener.java:63)
at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:3972)
at org.apache.catalina.core.StandardContext.start(StandardContext.java:4467)
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:546)
at org.apache.catalina.startup.HostConfig.deployDescriptor(HostConfig.java:637)
at org.apache.catalina.startup.HostConfig.deployDescriptors(HostConfig.java:563)
at org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:498)
at org.apache.catalina.startup.HostConfig.start(HostConfig.java:1277)
at org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:321)
at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:119)
at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1053)
at org.apache.catalina.core.StandardHost.start(StandardHost.java:785)
at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1045)
at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:443)
at org.apache.catalina.core.StandardService.start(StandardService.java:519)
at org.apache.catalina.core.StandardServer.start(StandardServer.java:710)
at org.apache.catalina.startup.Catalina.start(Catalina.java:581)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:289)
at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:414)
Caused by: org.alfresco.service.cmr.dictionary.DictionaryException: 04170002 Could not import bootstrap model alfresco/extension/model/scWorkflowModel.xml
at org.alfresco.repo.dictionary.DictionaryBootstrap.onDictionaryInit(DictionaryBootstrap.java:158)
at org.alfresco.repo.dictionary.DictionaryBootstrap.bootstrap(DictionaryBootstrap.java:105)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.invokeCustomInitMethod(AbstractAutowireCapableBeanFactory.java:1529)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.invokeInitMethods(AbstractAutowireCapableBeanFactory.java:1468)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1398)
… 37 more
Caused by: org.alfresco.service.cmr.dictionary.DictionaryException: 04170001 Failed to compile model wf:scworkflowmodel
at org.alfresco.repo.dictionary.CompiledModel.<init>(CompiledModel.java:106)
at org.alfresco.repo.dictionary.M2Model.compile(M2Model.java:128)
at org.alfresco.repo.dictionary.DictionaryDAOImpl.putModel(DictionaryDAOImpl.java:270)
at org.alfresco.repo.dictionary.DictionaryBootstrap.onDictionaryInit(DictionaryBootstrap.java:154)
… 45 more
Caused by: org.alfresco.service.cmr.dictionary.DictionaryException: 04170000 Parent class bpm:StartTask of class wf:DeposerDemande is not found
at org.alfresco.repo.dictionary.M2ClassDefinition.resolveDependencies(M2ClassDefinition.java:204)
at org.alfresco.repo.dictionary.CompiledModel.resolveDependencies(CompiledModel.java:230)
at org.alfresco.repo.dictionary.CompiledModel.<init>(CompiledModel.java:92)
… 48 more
log4j:ERROR LogMananger.repositorySelector was null likely due to error in class reloading, using NOPLoggerRepository.
16:45:52,406 INFO [extensions.webscripts.DeclarativeRegistry] Registered 309 Web Scripts (+0 failed), 319 URLs
16:45:52,406 INFO [extensions.webscripts.DeclarativeRegistry] Registered 8 Package Description Documents (+0 failed)
16:45:52,406 INFO [extensions.webscripts.DeclarativeRegistry] Registered 0 Schema Description Documents (+0 failed)
16:45:53,234 INFO [extensions.webscripts.AbstractRuntimeContainer] Initialised Spring Surf Container Web Script Container (in 5952.3804ms)
16:45:53,484 INFO [extensions.webscripts.TemplateProcessorRegistry] Registered template processor freemarker for extension ftl
16:45:53,859 INFO [extensions.webscripts.ScriptProcessorRegistry] Registered script processor javascript for extension js
16:45:54,281 INFO [extensions.webscripts.TemplateProcessorRegistry] Registered template processor freemarker for extension ftl
16:45:54,296 INFO [extensions.webscripts.ScriptProcessorRegistry] Registered script processor javascript for extension js
16:45:54,640 INFO [extensions.webscripts.TemplateProcessorRegistry] Registered template processor freemarker for extension ftl
16:45:54,656 INFO [extensions.webscripts.ScriptProcessorRegistry] Registered script processor javascript for extension js
WARN : org.apache.myfaces.shared_impl.util.LocaleUtils - Locale name in faces-config.xml null or empty, setting locale to default locale : fr_FR
WARN : org.springframework.beans.GenericTypeAwarePropertyDescriptor - Invalid JavaBean property 'baseUrl' being accessed! Ambiguous write methods found next to actually used [public void org.alfresco.wcm.client.impl.WebScriptCallerImpl.setBaseUrl(java.net.URI)]: [public void org.alfresco.wcm.client.impl.WebScriptCallerImpl.setBaseUrl(java.lang.String) throws java.net.URISyntaxException]
WARN : org.alfresco.wcm.client.util.impl.GuestSessionFactoryImpl - WQS unable to connect to repository: Introuvable
WARN : org.alfresco.wcm.client.util.impl.GuestSessionFactoryImpl - WQS unable to connect to repository: Introuvable
WARN : org.alfresco.wcm.client.util.impl.GuestSessionFactoryImpl - WQS unable to connect to repository: Introuvable
WARN : org.alfresco.wcm.client.util.impl.GuestSessionFactoryImpl - WQS unable to connect to repository: Introuvable
WARN : org.alfresco.wcm.client.util.impl.GuestSessionFactoryImpl - WQS unable to connect to repository: Introuvable
WARN : org.alfresco.wcm.client.util.impl.GuestSessionFactoryImpl - WQS unable to connect to repository: Introuvable
WARN : org.alfresco.wcm.client.util.impl.GuestSessionFactoryImpl - WQS unable to connect to repository: Introuvable
WARN : org.alfresco.wcm.client.util.impl.GuestSessionFactoryImpl - WQS unable to connect to repository: Introuvable
WARN : org.alfresco.wcm.client.util.impl.GuestSessionFactoryImpl - WQS unable to connect to repository: Introuvable
WARN : org.alfresco.wcm.client.util.impl.GuestSessionFactoryImpl - WQS unable to connect to repository: Introuvable
WARN : org.alfresco.wcm.client.util.impl.GuestSessionFactoryImpl - WQS unable to connect to repository: Introuvable
WARN : org.alfresco.wcm.client.util.impl.GuestSessionFactoryImpl - WQS unable to connect to repository: Introuvable
WARN : org.alfresco.wcm.client.util.impl.GuestSessionFactoryImpl - WQS unable to connect to repository: Introuvable
WARN : org.alfresco.wcm.client.util.impl.GuestSessionFactoryImpl - WQS unable to connect to repository: Introuvable
WARN : org.alfresco.wcm.client.util.impl.GuestSessionFactoryImpl - WQS unable to connect to repository: Introuvable
stderr_20110517.log17 mai 2011 16:43:53 org.apache.catalina.core.AprLifecycleListener init
INFO: Loaded APR based Apache Tomcat Native library 1.1.20.
17 mai 2011 16:43:53 org.apache.catalina.core.AprLifecycleListener init
INFO: APR capabilities: IPv6 [true], sendfile [true], accept filters [false], random [true].
17 mai 2011 16:43:54 org.apache.coyote.http11.Http11AprProtocol init
INFO: Initialisation de Coyote HTTP/1.1 sur http-8080
17 mai 2011 16:43:54 org.apache.coyote.ajp.AjpAprProtocol init
INFO: Initializing Coyote AJP/1.3 on ajp-8009
17 mai 2011 16:43:54 org.apache.catalina.startup.Catalina load
INFO: Initialization processed in 1679 ms
17 mai 2011 16:43:54 org.apache.catalina.core.StandardService start
INFO: Démarrage du service Catalina
17 mai 2011 16:43:54 org.apache.catalina.core.StandardEngine start
INFO: Starting Servlet Engine: Apache Tomcat/6.0.26
17 mai 2011 16:43:54 org.apache.catalina.startup.HostConfig deployDescriptor
INFO: Déploiement du descripteur de configuration alfresco.xml
17 mai 2011 16:43:56 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.
17 mai 2011 16:43:59 org.apache.catalina.core.ApplicationContext log
INFO: Initializing Spring root WebApplicationContext
17 mai 2011 16:44:30 org.apache.catalina.core.StandardContext listenerStart
GRAVE: Exception lors de l'envoi de l'évènement contexte initialisé (context initialized) à l'instance de classe d'écoute (listener) org.alfresco.web.app.ContextLoaderListener
org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'extension.dictionaryBootstrap' defined in file [C:\Alfresco\tomcat\webapps\alfresco\WEB-INF\classes\alfresco\extension\someco-model-context.xml]: Invocation of init method failed; nested exception is org.alfresco.service.cmr.dictionary.DictionaryException: 04170002 Could not import bootstrap model alfresco/extension/model/scWorkflowModel.xml
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1401)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:512)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:450)
at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:290)
at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:222)
at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:287)
at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:189)
at org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:557)
at org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:842)
at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:416)
at org.springframework.web.context.ContextLoader.createWebApplicationContext(ContextLoader.java:261)
at org.springframework.web.context.ContextLoader.initWebApplicationContext(ContextLoader.java:192)
at org.springframework.web.context.ContextLoaderListener.contextInitialized(ContextLoaderListener.java:47)
at org.alfresco.web.app.ContextLoaderListener.contextInitialized(ContextLoaderListener.java:63)
at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:3972)
at org.apache.catalina.core.StandardContext.start(StandardContext.java:4467)
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:546)
at org.apache.catalina.startup.HostConfig.deployDescriptor(HostConfig.java:637)
at org.apache.catalina.startup.HostConfig.deployDescriptors(HostConfig.java:563)
at org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:498)
at org.apache.catalina.startup.HostConfig.start(HostConfig.java:1277)
at org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:321)
at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:119)
at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1053)
at org.apache.catalina.core.StandardHost.start(StandardHost.java:785)
at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1045)
at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:443)
at org.apache.catalina.core.StandardService.start(StandardService.java:519)
at org.apache.catalina.core.StandardServer.start(StandardServer.java:710)
at org.apache.catalina.startup.Catalina.start(Catalina.java:581)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:289)
at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:414)
Caused by: org.alfresco.service.cmr.dictionary.DictionaryException: 04170002 Could not import bootstrap model alfresco/extension/model/scWorkflowModel.xml
at org.alfresco.repo.dictionary.DictionaryBootstrap.onDictionaryInit(DictionaryBootstrap.java:158)
at org.alfresco.repo.dictionary.DictionaryBootstrap.bootstrap(DictionaryBootstrap.java:105)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.invokeCustomInitMethod(AbstractAutowireCapableBeanFactory.java:1529)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.invokeInitMethods(AbstractAutowireCapableBeanFactory.java:1468)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1398)
… 37 more
Caused by: org.alfresco.service.cmr.dictionary.DictionaryException: 04170001 Failed to compile model wf:scworkflowmodel
at org.alfresco.repo.dictionary.CompiledModel.<init>(CompiledModel.java:106)
at org.alfresco.repo.dictionary.M2Model.compile(M2Model.java:128)
at org.alfresco.repo.dictionary.DictionaryDAOImpl.putModel(DictionaryDAOImpl.java:270)
at org.alfresco.repo.dictionary.DictionaryBootstrap.onDictionaryInit(DictionaryBootstrap.java:154)
… 45 more
Caused by: org.alfresco.service.cmr.dictionary.DictionaryException: 04170000 Parent class bpm:StartTask of class wf:DeposerDemande is not found
at org.alfresco.repo.dictionary.M2ClassDefinition.resolveDependencies(M2ClassDefinition.java:204)
at org.alfresco.repo.dictionary.CompiledModel.resolveDependencies(CompiledModel.java:230)
at org.alfresco.repo.dictionary.CompiledModel.<init>(CompiledModel.java:92)
… 48 more
17 mai 2011 16:44:30 org.apache.catalina.core.StandardContext listenerStart
GRAVE: Exception lors de l'envoi de l'évènement contexte initialisé (context initialized) à l'instance de classe d'écoute (listener) org.alfresco.web.app.ContextListener
org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'extension.dictionaryBootstrap' defined in file [C:\Alfresco\tomcat\webapps\alfresco\WEB-INF\classes\alfresco\extension\someco-model-context.xml]: Invocation of init method failed; nested exception is org.alfresco.service.cmr.dictionary.DictionaryException: 04170002 Could not import bootstrap model alfresco/extension/model/scWorkflowModel.xml
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1401)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:512)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:450)
at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:290)
at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:222)
at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:287)
at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:189)
at org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:557)
at org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:842)
at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:416)
at org.springframework.web.context.ContextLoader.createWebApplicationContext(ContextLoader.java:261)
at org.springframework.web.context.ContextLoader.initWebApplicationContext(ContextLoader.java:192)
at org.springframework.web.context.ContextLoaderListener.contextInitialized(ContextLoaderListener.java:47)
at org.alfresco.web.app.ContextLoaderListener.contextInitialized(ContextLoaderListener.java:63)
at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:3972)
at org.apache.catalina.core.StandardContext.start(StandardContext.java:4467)
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:546)
at org.apache.catalina.startup.HostConfig.deployDescriptor(HostConfig.java:637)
at org.apache.catalina.startup.HostConfig.deployDescriptors(HostConfig.java:563)
at org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:498)
at org.apache.catalina.startup.HostConfig.start(HostConfig.java:1277)
at org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:321)
at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:119)
at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1053)
at org.apache.catalina.core.StandardHost.start(StandardHost.java:785)
at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1045)
at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:443)
at org.apache.catalina.core.StandardService.start(StandardService.java:519)
at org.apache.catalina.core.StandardServer.start(StandardServer.java:710)
at org.apache.catalina.startup.Catalina.start(Catalina.java:581)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:289)
at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:414)
Caused by: org.alfresco.service.cmr.dictionary.DictionaryException: 04170002 Could not import bootstrap model alfresco/extension/model/scWorkflowModel.xml
at org.alfresco.repo.dictionary.DictionaryBootstrap.onDictionaryInit(DictionaryBootstrap.java:158)
at org.alfresco.repo.dictionary.DictionaryBootstrap.bootstrap(DictionaryBootstrap.java:105)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.invokeCustomInitMethod(AbstractAutowireCapableBeanFactory.java:1529)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.invokeInitMethods(AbstractAutowireCapableBeanFactory.java:1468)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1398)
… 37 more
Caused by: org.alfresco.service.cmr.dictionary.DictionaryException: 04170001 Failed to compile model wf:scworkflowmodel
at org.alfresco.repo.dictionary.CompiledModel.<init>(CompiledModel.java:106)
at org.alfresco.repo.dictionary.M2Model.compile(M2Model.java:128)
at org.alfresco.repo.dictionary.DictionaryDAOImpl.putModel(DictionaryDAOImpl.java:270)
at org.alfresco.repo.dictionary.DictionaryBootstrap.onDictionaryInit(DictionaryBootstrap.java:154)
… 45 more
Caused by: org.alfresco.service.cmr.dictionary.DictionaryException: 04170000 Parent class bpm:StartTask of class wf:DeposerDemande is not found
at org.alfresco.repo.dictionary.M2ClassDefinition.resolveDependencies(M2ClassDefinition.java:204)
at org.alfresco.repo.dictionary.CompiledModel.resolveDependencies(CompiledModel.java:230)
at org.alfresco.repo.dictionary.CompiledModel.<init>(CompiledModel.java:92)
… 48 more
17 mai 2011 16:44:30 org.apache.catalina.core.StandardContext start
GRAVE: Error listenerStart
17 mai 2011 16:44:30 org.apache.catalina.core.StandardContext start
GRAVE: Erreur de démarrage du contexte [/alfresco] suite aux erreurs précédentes
17 mai 2011 16:44:30 org.apache.catalina.core.ApplicationContext log
INFO: Closing Spring root WebApplicationContext
17 mai 2011 16:44:30 org.apache.catalina.core.ApplicationContext log
INFO: Shutting down log4j
17 mai 2011 16:44:30 org.apache.catalina.loader.WebappClassLoader clearReferencesJdbc
GRAVE: A web application registered the JBDC driver [org.postgresql.Driver] but failed to unregister it when the web application was stopped. To prevent a memory leak, the JDBC Driver has been forcibly unregistered.
17 mai 2011 16:44:30 org.apache.catalina.loader.WebappClassLoader clearThreadLocalMap
GRAVE: A web application created a ThreadLocal with key of type [java.lang.ThreadLocal] (value [java.lang.ThreadLocal@147bc1]) and a value of type [org.alfresco.util.CachingDateFormat] (value [yyyy-MM-dd]) but failed to remove it when the web application was stopped. To prevent a memory leak, the ThreadLocal has been forcibly removed.
17 mai 2011 16:44:30 org.apache.catalina.loader.WebappClassLoader clearThreadLocalMap
GRAVE: A web application created a ThreadLocal with key of type [null] (value [com.sun.xml.bind.v2.runtime.Coordinator$1@c8ea1a]) and a value of type [com.sun.xml.bind.v2.runtime.Coordinator[]] (value [[Lcom.sun.xml.bind.v2.runtime.Coordinator;@818de3]) but failed to remove it when the web application was stopped. To prevent a memory leak, the ThreadLocal has been forcibly removed.
17 mai 2011 16:44:30 org.apache.catalina.loader.WebappClassLoader clearThreadLocalMap
GRAVE: A web application created a ThreadLocal with key of type [null] (value [com.sun.xml.bind.v2.ClassFactory$1@18a3257]) and a value of type [java.util.WeakHashMap] (value [{class org.alfresco.repo.audit.model._3.Audit=java.lang.ref.WeakReference@ef57f8, class org.alfresco.repo.audit.model._3.DataExtractors=java.lang.ref.WeakReference@1788551, class org.alfresco.repo.audit.model._3.DataGenerator=java.lang.ref.WeakReference@178b9ce, class org.alfresco.repo.audit.model._3.GenerateValue=java.lang.ref.WeakReference@eeb560, class org.alfresco.repo.audit.model._3.DataExtractor=java.lang.ref.WeakReference@1c5d0e0, class org.alfresco.repo.audit.model._3.AuditPath=java.lang.ref.WeakReference@145132, class org.alfresco.repo.audit.model._3.Application=java.lang.ref.WeakReference@1deb5f7, class org.alfresco.repo.audit.model._3.DataGenerators=java.lang.ref.WeakReference@7c9b46, class org.alfresco.repo.audit.model._3.RecordValue=java.lang.ref.WeakReference@b635d7, class org.alfresco.repo.audit.model._3.PathMap=java.lang.ref.WeakReference@88ee03, class org.alfresco.repo.audit.model._3.PathMappings=java.lang.ref.WeakReference@1c21ed3, class java.util.ArrayList=java.lang.ref.WeakReference@175beef}]) but failed to remove it when the web application was stopped. To prevent a memory leak, the ThreadLocal has been forcibly removed.
17 mai 2011 16:44:30 org.apache.catalina.loader.WebappClassLoader clearThreadLocalMap
GRAVE: A web application created a ThreadLocal with key of type [java.lang.ThreadLocal] (value [java.lang.ThreadLocal@14a3da8]) and a value of type [org.apache.cxf.bus.CXFBusImpl] (value [org.apache.cxf.bus.CXFBusImpl@1160e64]) but failed to remove it when the web application was stopped. To prevent a memory leak, the ThreadLocal has been forcibly removed.
jakarta_service_20110517.log[2011-05-17 16:43:46] [info] Commons Daemon procrun (1.0.2.0) started
[2011-05-17 16:43:46] [info] Running Service…
[2011-05-17 16:43:46] [info] Starting service…
[2011-05-17 16:43:53] [info] Service started in 6468 ms.
Je vous pris de m'aider à corriger toutes les erreurs qui peuvent exister pour que je puisse continuer dans l'implémentation, Merci.J'utilise Alfresco community 3.4.d sous Windows, je travaille avec mysql qui est installée par défaut avec la version communautaire .