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]
17:03:34,890 User:admin WARN [repo.dictionary.DictionaryDAO] Type not found: {http://www.alfresco.org/model/workflow/1.0}DeposerDemande
17:08:58,390 User:tima ERROR [ui.common.Utils] A system error happened during the operation: 04310002 Failed to signal transition trouvé from workflow task jbpm$69.
org.alfresco.service.cmr.workflow.WorkflowException: 04310002 Failed to signal transition trouvé from workflow task jbpm$69.
at org.alfresco.repo.workflow.jbpm.JBPMEngine.endTask(JBPMEngine.java:1849)
at org.alfresco.repo.workflow.WorkflowServiceImpl.endTask(WorkflowServiceImpl.java:648)
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.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:307)
at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:183)
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:150)
at org.alfresco.repo.security.permissions.impl.AlwaysProceedMethodInterceptor.invoke(AlwaysProceedMethodInterceptor.java:34)
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172)
at org.alfresco.repo.security.permissions.impl.ExceptionTranslatorMethodInterceptor.invoke(ExceptionTranslatorMethodInterceptor.java:44)
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172)
at org.alfresco.repo.audit.AuditMethodInterceptor.proceedWithAudit(AuditMethodInterceptor.java:217)
at org.alfresco.repo.audit.AuditMethodInterceptor.proceed(AuditMethodInterceptor.java:184)
at org.alfresco.repo.audit.AuditMethodInterceptor.invoke(AuditMethodInterceptor.java:137)
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172)
at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:107)
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172)
at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:202)
at $Proxy71.endTask(Unknown Source)
at org.alfresco.web.bean.workflow.ManageTaskDialog.transition(ManageTaskDialog.java:446)
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.myfaces.el.MethodBindingImpl.invoke(MethodBindingImpl.java:132)
at org.apache.myfaces.application.ActionListenerImpl.processAction(ActionListenerImpl.java:61)
at javax.faces.component.UICommand.broadcast(UICommand.java:109)
at javax.faces.component.UIViewRoot._broadcastForPhase(UIViewRoot.java:97)
at javax.faces.component.UIViewRoot.processApplication(UIViewRoot.java:171)
at org.apache.myfaces.lifecycle.InvokeApplicationExecutor.execute(InvokeApplicationExecutor.java:32)
at org.apache.myfaces.lifecycle.LifecycleImpl.executePhase(LifecycleImpl.java:95)
at org.apache.myfaces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:70)
at javax.faces.webapp.FacesServlet.service(FacesServlet.java:139)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at org.alfresco.web.app.servlet.AuthenticationFilter.doFilter(AuthenticationFilter.java:104)
at sun.reflect.GeneratedMethodAccessor503.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at org.alfresco.repo.management.subsystems.ChainingSubsystemProxyFactory$1.invoke(ChainingSubsystemProxyFactory.java:116)
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172)
at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:202)
at $Proxy239.doFilter(Unknown Source)
at org.alfresco.repo.web.filter.beans.BeanProxyFilter.doFilter(BeanProxyFilter.java:82)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at org.alfresco.repo.web.filter.beans.NullFilter.doFilter(NullFilter.java:68)
at sun.reflect.GeneratedMethodAccessor503.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at org.alfresco.repo.management.subsystems.ChainingSubsystemProxyFactory$1.invoke(ChainingSubsystemProxyFactory.java:116)
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172)
at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:202)
at $Proxy239.doFilter(Unknown Source)
at org.alfresco.repo.web.filter.beans.BeanProxyFilter.doFilter(BeanProxyFilter.java:82)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at org.alfresco.web.app.servlet.GlobalLocalizationFilter.doFilter(GlobalLocalizationFilter.java:58)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:298)
at org.apache.coyote.http11.Http11AprProcessor.process(Http11AprProcessor.java:859)
at org.apache.coyote.http11.Http11AprProtocol$Http11ConnectionHandler.process(Http11AprProtocol.java:579)
at org.apache.tomcat.util.net.AprEndpoint$Worker.run(AprEndpoint.java:1555)
at java.lang.Thread.run(Thread.java:619)
Caused by: org.jbpm.graph.def.DelegationException: Cannot load resource: jbpm.mail.templates.xml
at org.jbpm.graph.def.GraphElement.raiseException(GraphElement.java:388)
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.hibernate.proxy.pojo.cglib.CGLIBLazyInitializer.invoke(CGLIBLazyInitializer.java:157)
at org.jbpm.graph.def.ProcessDefinition$$EnhancerByCGLIB$$f0a94c04.raiseException(<generated>)
at org.jbpm.graph.def.GraphElement.raiseException(GraphElement.java:379)
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.hibernate.proxy.pojo.cglib.CGLIBLazyInitializer.invoke(CGLIBLazyInitializer.java:157)
at org.jbpm.graph.node.TaskNode$$EnhancerByCGLIB$$34853f2.raiseException(<generated>)
at org.jbpm.graph.def.GraphElement.raiseException(GraphElement.java:379)
at org.jbpm.graph.def.GraphElement.executeAction(GraphElement.java:301)
at org.jbpm.graph.def.GraphElement.executeActions(GraphElement.java:241)
at org.jbpm.graph.def.GraphElement.fireAndPropagateEvent(GraphElement.java:213)
at org.jbpm.graph.def.GraphElement.fireEvent(GraphElement.java:196)
at org.jbpm.taskmgmt.exe.TaskInstance.setActorId(TaskInstance.java:301)
at org.jbpm.taskmgmt.exe.TaskInstance.setActorId(TaskInstance.java:271)
at org.jbpm.taskmgmt.exe.TaskInstance.copySwimlaneInstanceAssignment(TaskInstance.java:248)
at org.jbpm.taskmgmt.exe.TaskInstance.assign(TaskInstance.java:205)
at org.jbpm.taskmgmt.exe.TaskMgmtInstance.createTaskInstance(TaskMgmtInstance.java:223)
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.hibernate.proxy.pojo.cglib.CGLIBLazyInitializer.invoke(CGLIBLazyInitializer.java:157)
at org.jbpm.taskmgmt.exe.TaskMgmtInstance$$EnhancerByCGLIB$$2f3badf6.createTaskInstance(<generated>)
at org.jbpm.graph.node.TaskNode.execute(TaskNode.java:174)
at org.jbpm.graph.def.Node.enter(Node.java:390)
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.hibernate.proxy.pojo.cglib.CGLIBLazyInitializer.invoke(CGLIBLazyInitializer.java:157)
at org.jbpm.graph.def.Node$$EnhancerByCGLIB$$75ef4db4.enter(<generated>)
at org.jbpm.graph.def.Transition.take(Transition.java:167)
at org.jbpm.graph.def.Node.leave(Node.java:479)
at org.jbpm.graph.node.TaskNode.leave(TaskNode.java:213)
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.hibernate.proxy.pojo.cglib.CGLIBLazyInitializer.invoke(CGLIBLazyInitializer.java:157)
at org.jbpm.graph.node.TaskNode$$EnhancerByCGLIB$$34853f2.leave(<generated>)
at org.jbpm.graph.exe.Token.signal(Token.java:223)
at org.jbpm.graph.exe.Token.signal(Token.java:188)
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.hibernate.proxy.pojo.cglib.CGLIBLazyInitializer.invoke(CGLIBLazyInitializer.java:157)
at org.jbpm.graph.exe.Token$$EnhancerByCGLIB$$39c5e830.signal(<generated>)
at org.jbpm.taskmgmt.exe.TaskInstance.end(TaskInstance.java:495)
at org.alfresco.repo.workflow.jbpm.WorkflowTaskInstance.end(WorkflowTaskInstance.java:135)
at org.jbpm.taskmgmt.exe.TaskInstance.end(TaskInstance.java:436)
at org.alfresco.repo.workflow.jbpm.JBPMEngine$26.doInJbpm(JBPMEngine.java:1833)
at org.springmodules.workflow.jbpm31.JbpmTemplate$1.doInHibernate(JbpmTemplate.java:87)
at org.springframework.orm.hibernate3.HibernateTemplate.doExecute(HibernateTemplate.java:406)
at org.springframework.orm.hibernate3.HibernateTemplate.execute(HibernateTemplate.java:339)
at org.springmodules.workflow.jbpm31.JbpmTemplate.execute(JbpmTemplate.java:80)
at org.alfresco.repo.workflow.jbpm.JBPMEngine.endTask(JBPMEngine.java:1798)
… 71 more
Caused by: java.lang.IllegalArgumentException: Cannot load resource: jbpm.mail.templates.xml
at org.jbpm.util.XmlUtil.parseXmlResource(XmlUtil.java:75)
at org.jbpm.mail.Mail.getMailTemplateProperties(Mail.java:349)
at org.jbpm.mail.Mail.send(Mail.java:150)
at org.jbpm.mail.Mail.execute(Mail.java:76)
at org.jbpm.graph.def.Action.execute(Action.java:129)
at org.jbpm.graph.def.GraphElement.executeAction(GraphElement.java:284)
… 119 more
<?xml version="1.0" encoding="UTF-8"?>
<process-definition xmlns="urn:jbpm.org:jpdl-3.2" name="wcf:ProcessusDocumentaireUI">
<swimlane name="Utilisateurs">
<assignment class="org.alfresco.repo.workflow.jbpm.AlfrescoAssignment">
<actor>#{people.getPerson("admin")}</actor>
</assignment>
</swimlane>
<swimlane name="Directeur hiearchique">
<assignment class="org.alfresco.repo.workflow.jbpm.AlfrescoAssignment">
<actor>#{people.getPerson("bouchra")}</actor>
</assignment>
</swimlane>
<swimlane name="DDO">
<assignment class="org.alfresco.repo.workflow.jbpm.AlfrescoAssignment">
<actor>#{people.getPerson("tima")}</actor>
</assignment>
</swimlane>
<swimlane name="Administrateur">
<assignment class="org.alfresco.repo.workflow.jbpm.AlfrescoAssignment">
<actor>#{people.getPerson("kawthar")}</actor>
</assignment>
</swimlane>
<swimlane name="initiator"></swimlane>
<start-state name="Demande de document (utilisateur)">
<task swimlane="initiator" name="wcf:DeposerDemande"></task>
<transition to="Approuver le droit d'utilisation ( Directeur Hierarchique)" name="Approbation">
<description>
transition pour approuver le droit d'utilisation
</description>
</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="wcf:Approuver" swimlane="Directeur hiearchique"></task>
<transition to="Notification: pas d'autorisation d'utilisation" name="Non Accordé"></transition>
<transition to="Rechercher le document(automatique) " name="Accordé"></transition>
</task-node>
<task-node name="Trier les document (DDO): choisir le bon document">
<description>
pour trouver le document souhaité
</description>
<task name="wcf: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)">
<task swimlane="Administrateur" name="wcf:AccorderDroit"></task>
<transition to="Notification: Document Trouvé"></transition>
</task-node>
<node name="Notification: pas d'autorisation d'utilisation">
<transition to="FIN">
</transition>
</node>
<node name="Notification: Document non trouvé">
<transition to="FIN">
</transition>
</node>
<node name="Notification: Document Trouvé">
<transition to="FIN">
</transition>
</node>
<task-node name="Rechercher le document(automatique) ">
<description>
cette tache se fait automatiquement
</description>
<task swimlane="DDO" name="wcf:Search">
</task>
<transition to="Notification: pas d'autorisation d'utilisation" name="Non trouvé"></transition>
<transition to="Trier les document (DDO): choisir le bon document" name="trouvé"></transition>
</task-node>
<end-state name="FIN"></end-state>
</process-definition>
<?xml version="1.0" encoding="UTF-8"?>
<!– Definition of new Model –>
<model name="wcf: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" />
<!–<import uri="http://www.alfresco.org/model/workflow/1.0" prefix="voir" />
–>
</imports>
<!– Introduction of new namespaces defined by this model –>
<namespaces>
<namespace uri="http://www.onhym.ma/model/wkflw/1.0" prefix="wcf"/>
</namespaces>
<types>
<type name="wcf:DeposerDemande">
<parent>bpm:startTask</parent>
<properties>
<property name="wcf:PretDocument">
<type>d:text</type>
<!– Obligatoire –>
<mandatory>true</mandatory>
<multiple>false</multiple>
</property>
<property name="wcf:descriptionDemande">
<type>d:text</type>
</property>
</properties>
</type>
<type name="wcf:Approuver">
<parent>wcf:DeposerDemande</parent>
<properties>
<property name="wcf:DescriptionApprobation">
<type>d:text</type>
<mandatory>true</mandatory>
<multiple>false</multiple>
</property>
</properties>
</type>
<type name="wcf:Search">
<parent>wcf:Approuver</parent>
<properties>
<property name="wcf:Trouve">
<type>d:text</type>
<multiple>false</multiple>
</property>
</properties>
</type>
<type name="wcf:AccorderDroit">
<parent>wcf:Search</parent>
<properties>
<property name="wcf:accorde">
<type>d:text</type>
<multiple>false</multiple>
</property>
</properties>
</type>
<type name="wcf:TrierDocuments">
<parent>wcf:Search</parent>
<properties>
<property name="wcf:trie">
<type>d:text</type>
<multiple>false</multiple>
</property>
</properties>
</type>
</types>
</model>
Caused by: java.lang.IllegalArgumentException: Cannot load resource: jbpm.mail.templates.xml
Mettez un titre explicite à votre demande en évitant "Bug !", "Aidez moi", ou "Urgent"
17:03:34,890 User:admin WARN [repo.dictionary.DictionaryDAO] Type not found: {http://www.alfresco.org/model/workflow/1.0}DeposerDemande
<alfresco-config>
<config evaluator="node-type" condition="wcf:DeposerDemande" replace="true">
<property-sheet>
<separator name="sep2" display-label="Détails de la demande" component-generator="HeaderSeparatorGenerator" />
<show-property display-label="Document" name="wcf:PretDocument" component-generator="TextFieldGenerator" />
<show-property display-label="Description de la demande" name="wcf:descriptionDemande" component-generator="TextFieldGenerator" />
</property-sheet>
</config>
<config evaluator="node-type" condition="wcf:Approuver" >
- <property-sheet>
<separator name="sep2" display-label="Approbation" component-generator="HeaderSeparatorGenerator" />
<show-property display-label="Document" name="wcf:PretDocument" component-generator="TextFieldGenerator" read-only="true" />
<show-property display-label="Description de l'approbation" name="wcf:DescriptionApprobation" component-generator="TextFieldGenerator" />
</property-sheet>
</config>
-
</alfresco-config>
Merci pour votre réponse.
je le déclare en tant que wcfeposerDemande et pas bpmeposerDemandeOK, sauf que http://www.alfresco.org/model/workflow/1.0 correspond au préfixe wf et pas bpm.
OK, sauf que http://www.alfresco.org/model/workflow/1.0 correspond au préfixe wf et pas bpmje ne vois plus d'où vient l'erreur car si vous regarder le fichier scWorkflowModel.xml j'ai :
!– Imports are required to allow references to definitions in other models –>l'uri "http://www.alfresco.org/model/workflow/1.0" n'est même pas définit , il est en commentaire.
<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" />
<!–<import uri="http://www.alfresco.org/model/workflow/1.0" prefix="voir" />
–>
</imports>
<!– Introduction of new namespaces defined by this model –>
<namespaces>
<namespace uri="http://www.onhym.ma/model/wkflw/1.0" prefix="wcf"/>
</namespaces>
org.alfresco.service.namespace.NamespaceException: URI http://www.alfresco.org/model/workflow/1.0 cannot be imported as it is not defined (with prefix wf
l'uri "http://www.alfresco.org/model/workflow/1.0" n'est même pas définit , il est en commentaire.
c'est quoi la différence entre bpm et workflowbpm et workflow sont deux espaces de noms qui définissent des types qui seront utilisés dans les workflows. Ils sont réciproquement définis dans bpmModel.xml et workflowModel.xml.
<?xml version="1.0" encoding="UTF-8"?>
<!– Definition of new Model –>
<model name="wf:onhymWorkflowModel" xmlns="http://www.alfresco.org/model/dictionary/1.0">
<!– Optional meta-data about the model –>
<description>Processus documentaireUI</description>
<author>Me</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>
<namespaces>
<namespace uri="http://www.alfresco.org/model/workflow/1.0" prefix="wf"/>
</namespaces>
<types>
<type name="wf:DeposerDemande">
<parent>bpm:startTask</parent>
<properties>
<property name="wf:PretDocument">
<type>d:text</type>
<!– Obligatoire –>
<mandatory>true</mandatory>
<multiple>false</multiple>
</property>
<property name="wf:descriptionDemande">
<type>d:text</type>
</property>
</properties>
</type>
<type name="wf:Approuver">
<parent>wf:DeposerDemande</parent>
<properties>
<property name="wf:DescriptionApprobation">
<type>d:text</type>
<mandatory>true</mandatory>
<multiple>false</multiple>
</property>
</properties>
</type>
<type name="wf:Search">
<parent>wf:Approuver</parent>
<properties>
<property name="wf:Trouve">
<type>d:text</type>
<multiple>false</multiple>
</property>
</properties>
</type>
<type name="wf:AccorderDroit">
<parent>wf:Search</parent>
<properties>
<property name="wf:accorde">
<type>d:text</type>
<multiple>false</multiple>
</property>
</properties>
</type>
<type name="wf:TrierDocuments">
<parent>wf:Search</parent>
<properties>
<property name="wf:trie">
<type>d:text</type>
<multiple>false</multiple>
</property>
</properties>
</type>
</types>
</model>
en gros j'ai changé la définition du namespace par celle la:06:29:39,609 INFO [alfresco.config.JndiPropertiesFactoryBean] Loading properties file from class path resource [alfresco/repository.properties]
06:29:39,640 INFO [alfresco.config.JndiPropertiesFactoryBean] Loading properties file from class path resource [alfresco/domain/transaction.properties]
06:29:39,656 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]
06:29:39,656 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]
06:29:39,656 INFO [alfresco.config.JndiPropertiesFactoryBean] Loading properties file from file [C:\Alfresco\tomcat\webapps\alfresco\WEB-INF\classes\alfresco\module\test\alfresco-global.properties]
06:29:39,656 INFO [alfresco.config.JndiPropertiesFactoryBean] Loading properties file from file [C:\Alfresco\tomcat\webapps\alfresco\WEB-INF\classes\alfresco\module\tests\alfresco-global.properties]
06:29:39,656 INFO [alfresco.config.JndiPropertiesFactoryBean] Loading properties file from URL [file:/C:/Alfresco/tomcat/shared/classes/alfresco-global.properties]
06:29:39,750 INFO [alfresco.config.JndiPropertyPlaceholderConfigurer] Loading properties file from class path resource [alfresco/alfresco-shared.properties]
06:29:39,937 INFO [alfresco.config.FixedPropertyPlaceholderConfigurer] Loading properties file from class path resource [alfresco/version.properties]
06:29:40,031 INFO [alfresco.config.FixedPropertyPlaceholderConfigurer] Loading properties file from class path resource [alfresco/domain/cache-strategies.properties]
06:29:40,093 INFO [alfresco.config.FixedPropertyPlaceholderConfigurer] Loading properties file from class path resource [alfresco/module/org.alfresco.module.vti/context/vti.properties]
06:29:40,093 INFO [alfresco.config.FixedPropertyPlaceholderConfigurer] Loading properties file from URL [file:/C:/Alfresco/tomcat/shared/classes/alfresco/extension/custom-vti.properties]
06:30:27,781 WARN [springframework.beans.GenericTypeAwarePropertyDescriptor] Invalid JavaBean property 'serviceBeans' being accessed! Ambiguous write methods found next to actually used [public void org.apache.cxf.jaxrs.JAXRSServerFactoryBean.setServiceBeans(java.lang.Object[])]: [public void org.apache.cxf.jaxrs.JAXRSServerFactoryBean.setServiceBeans(java.util.List)]
06:30:32,828 INFO [extensions.webscripts.TemplateProcessorRegistry] Registered template processor Repository Template Processor for extension ftl
06:30:32,843 INFO [extensions.webscripts.ScriptProcessorRegistry] Registered script processor Repository Script Processor for extension js
06:30:44,140 INFO [domain.schema.SchemaBootstrap] Schema managed by database dialect org.hibernate.dialect.MySQLInnoDBDialect.
06:30:56,546 INFO [domain.schema.SchemaBootstrap] No changes were made to the schema.
06:30:56,796 INFO [management.subsystems.ChildApplicationContextFactory] Starting 'sysAdmin' subsystem, ID: [sysAdmin, default]
06:30:56,859 INFO [alfresco.config.FixedPropertyPlaceholderConfigurer] Loading properties file from class path resource [alfresco/version.properties]
06:30:56,859 INFO [alfresco.config.JndiPropertyPlaceholderConfigurer] Loading properties file from class path resource [alfresco/alfresco-shared.properties]
06:30:56,859 INFO [alfresco.config.FixedPropertyPlaceholderConfigurer] Loading properties file from class path resource [alfresco/domain/cache-strategies.properties]
06:30:56,875 INFO [alfresco.config.FixedPropertyPlaceholderConfigurer] Loading properties file from class path resource [alfresco/module/org.alfresco.module.vti/context/vti.properties]
06:30:56,875 INFO [alfresco.config.FixedPropertyPlaceholderConfigurer] Loading properties file from URL [file:/C:/Alfresco/tomcat/shared/classes/alfresco/extension/custom-vti.properties]
06:30:58,453 INFO [management.subsystems.ChildApplicationContextFactory] Startup of 'sysAdmin' subsystem, ID: [sysAdmin, default] complete
06:31:06,562 ERROR [web.context.ContextLoader] Context initialization failed
org.alfresco.error.AlfrescoRuntimeException: 05010000 Workflow deployment failed
at org.alfresco.repo.workflow.WorkflowDeployer.init(WorkflowDeployer.java:330)
at org.alfresco.repo.workflow.WorkflowDeployer$1.doWork(WorkflowDeployer.java:437)
at org.alfresco.repo.security.authentication.AuthenticationUtil.runAs(AuthenticationUtil.java:508)
at org.alfresco.repo.workflow.WorkflowDeployer.onBootstrap(WorkflowDeployer.java:433)
at org.springframework.extensions.surf.util.AbstractLifecycleBean.onApplicationEvent(AbstractLifecycleBean.java:56)
at org.springframework.context.event.SimpleApplicationEventMulticaster.multicastEvent(SimpleApplicationEventMulticaster.java:97)
at org.alfresco.repo.management.SafeApplicationEventMulticaster.multicastEvent(SafeApplicationEventMulticaster.java:78)
at org.springframework.context.support.AbstractApplicationContext.publishEvent(AbstractApplicationContext.java:294)
at org.springframework.context.support.AbstractApplicationContext.finishRefresh(AbstractApplicationContext.java:858)
at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:419)
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.namespace.NamespaceException: URI http://www.alfresco.org/model/workflow/1.0 has already been defined
at org.alfresco.repo.dictionary.NamespaceDAOImpl.addURI(NamespaceDAOImpl.java:275)
at org.alfresco.repo.dictionary.DictionaryDAOImpl.putModel(DictionaryDAOImpl.java:292)
at org.alfresco.repo.dictionary.DictionaryBootstrap.onDictionaryInit(DictionaryBootstrap.java:154)
at org.alfresco.repo.dictionary.DictionaryBootstrap.bootstrap(DictionaryBootstrap.java:105)
at org.alfresco.repo.workflow.WorkflowDeployer.init(WorkflowDeployer.java:260)
… 37 more
log4j:ERROR LogMananger.repositorySelector was null likely due to error in class reloading, using NOPLoggerRepository.
06:32:03,234 INFO [extensions.webscripts.DeclarativeRegistry] Registered 309 Web Scripts (+0 failed), 319 URLs
06:32:03,234 INFO [extensions.webscripts.DeclarativeRegistry] Registered 8 Package Description Documents (+0 failed)
06:32:03,234 INFO [extensions.webscripts.DeclarativeRegistry] Registered 0 Schema Description Documents (+0 failed)
06:32:03,671 INFO [extensions.webscripts.AbstractRuntimeContainer] Initialised Spring Surf Container Web Script Container (in 3785.5862ms)
06:32:03,765 INFO [extensions.webscripts.TemplateProcessorRegistry] Registered template processor freemarker for extension ftl
06:32:04,031 INFO [extensions.webscripts.ScriptProcessorRegistry] Registered script processor javascript for extension js
06:32:04,375 INFO [extensions.webscripts.TemplateProcessorRegistry] Registered template processor freemarker for extension ftl
06:32:04,390 INFO [extensions.webscripts.ScriptProcessorRegistry] Registered script processor javascript for extension js
06:32:04,640 INFO [extensions.webscripts.TemplateProcessorRegistry] Registered template processor freemarker for extension ftl
06:32:04,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
org.alfresco.service.namespace.NamespaceException: URI http://www.alfresco.org/model/workflow/1.0 has already been defined
17:03:34,890 User:admin WARN [repo.dictionary.DictionaryDAO] Type not found: {http://www.alfresco.org/model/workflow/1.0}DeposerDemande
Il me semble souhaitable dans votre cas de recommencer votre apprentissage du workflow à partir d'une installation neuve, en procédant par étapes (définition du modèle, puis mise en place du workflow) et en vérifiant à chaque étape qu'Alfresco démarre correctement.
Vous pouvez retracer dans le forum chaque étape en indiquant les fichiers que vous avez définis et leur emplacement dans l'arborescence de votre système.
Content from pre 2016 and from language groups that have been closed.
Content is read-only.
By using this site, you are agreeing to allow us to collect and use cookies as outlined in Alfresco’s Cookie Statement and Terms of Use (and you have a legitimate interest in Alfresco and our products, authorizing us to contact you in such methods). If you are not ok with these terms, please do not use this website.