Hi,

I tried to deploy my process definition, but i received this error :
anonymous wrote : 
  | org.jbpm.JbpmException: couldn't find process definition 
'ValidationFicheIncident'
  | 
Cause:
anonymous wrote :  
  | org.hibernate.MappingException: Named query not known: 
GraphSession.findLatestProcessDefinitionQuery
  | 
Do we have to make specific change in database configuration.
Could anyone help me in sorting out the problem
Below is the code which i tried.

Thanks in advance. 
        public static void deployProcess(String path, JbpmContext jbpmCtx){
  |             FileInputStream fis = null;
  |             try {
  |                     fis = new FileInputStream(path);
  |                     if (fis != null)
  |                             System.out.println("------------>Fichier de 
process trouvé !!");
  | 
  |                     ProcessDefinition processDefinition = 
ProcessDefinition.parseXmlInputStream(fis);
  |                     try {
  |                             
jbpmCtx.deployProcessDefinition(processDefinition);
  |                     } catch (Exception e2) {
  |                             e2.printStackTrace();
  |                     } finally {
  |                             jbpmCtx.close();
  |                     }
  |             } catch (FileNotFoundException e1) {
  |                     System.out
  |                                     .println("------------> Aucune Trace du 
Fichier de process !!");
  |                     e1.printStackTrace();
  |             }               
  |     }

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4143204#4143204

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4143204

_______________________________________________
jboss-user mailing list
[email protected]
https://lists.jboss.org/mailman/listinfo/jboss-user

Reply via email to