[JBoss jBPM] - Error in Process Definition Deployment.
by nassij
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
18 years, 2 months
[JBoss jBPM] - Error in Process Definition Deployment.
by nassij
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=4143203#4143203
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4143203
18 years, 2 months
[JBoss Tools (users)] - Re: Deploying Seam (Servers and Runtimes)
by redbird
I'm really having problems getting this basic application to work. I think I kinda got it to copy over. I think. What I did was just changed something in the application and saved it then rebuilt. That copied the files over (although I would prefer that it let me do it manually).
However, now I get a server error:
org.jboss.deployment.DeploymentException: No META-INF/application.xml found
I looked at was copied over, and it is a folder MyProject-ear.ear. I looked in the folder and there is another folder, MyProject-ejb.jar. And under that folder is the directory structure of the class I modified to get it to rebuild and copied over. There is nothing else in the folder. So something obviously is not being built correctly.
Other than creating a bunch of new servers and runtimes (which I still don't know how to delete), I pretty much just took the new Seam Project as-is, and didn't change anything, other than adding 2 Java classes to it. But the build and copy obviously isn't working. Any ideas? Thanks.
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4143201#4143201
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4143201
18 years, 2 months