[jbosstools-issues] [JBoss JIRA] Commented: (JBIDE-5707) JBDS 2.1 GA, JBPM and Seam

Koen Aers (JIRA) jira-events at lists.jboss.org
Wed Jan 20 10:38:54 EST 2010


    [ https://jira.jboss.org/jira/browse/JBIDE-5707?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12507258#action_12507258 ] 

Koen Aers commented on JBIDE-5707:
----------------------------------

The thing is that when you create a process definition, it does create a new folder (e.g. called 'myProcess') containing the three files that make up the process definition (processdefinition.xml, gpd.xml and processimage.jpg). I think that what Gary wants is that you can create a process definition 'Seam style' in any folder. The naming scheme should then be myProcess.jdpl.xml, .myProcess.gpd.xml and myProcess.jpg. Currently it is not possible to create these files in this way, though you can edit them when this is the naming scheme.
If this is what Gary wants, I agree that it is valuable but I don't think it certainly cannot be done in JBDS 3.0 anymore.

> JBDS 2.1 GA, JBPM and Seam
> --------------------------
>
>                 Key: JBIDE-5707
>                 URL: https://jira.jboss.org/jira/browse/JBIDE-5707
>             Project: Tools (JBoss Tools)
>          Issue Type: Bug
>          Components: JBossAS
>    Affects Versions: 3.0.0.GA
>         Environment: JBDS 2.1 GA, EAP 5 Beta 2, Seam 2.2 , jBPM
>            Reporter: Gary Lamperillo
>            Assignee: Koen Aers
>             Fix For: 3.1.0.CR2
>
>
> The jBPM New Process Definition wizard will not create a process in the EAR level.  According to the Seam Reference manual, it should go at the EAR level.  The Process Definition created by the wizard creates 3 files in a directory.  the components.xml can not use the directory for the process definition, you get the following on deploy:
> Caused by: org.jbpm.jpdl.JpdlException: [[ERROR] resource not found: /seam_drools10_15-ejb/jbpm_to_rules]
> 	at org.jbpm.graph.def.ProcessDefinition.parseXmlResource(ProcessDefinition.java:162)
> 	at org.jboss.seam.bpm.Jbpm.deployProcess(Jbpm.java:311)
> 	at org.jboss.seam.bpm.Jbpm.installProcessDefinitions(Jbpm.java:294)
> 	... 85 more
> when using a location for the processdefinition.xml in this directory, you will get:
> Caused by: java.lang.RuntimeException: could not deploy a process definition
> 	at org.jboss.seam.bpm.Jbpm.installProcessDefinitions(Jbpm.java:300)
> 	at org.jboss.seam.bpm.Jbpm.startup(Jbpm.java:80)
> 	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> 	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
> 	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
> 	at java.lang.reflect.Method.invoke(Method.java:616)
> 	at org.jboss.seam.util.Reflections.invoke(Reflections.java:22)
> 	at org.jboss.seam.util.Reflections.invokeAndWrap(Reflections.java:144)
> 	at org.jboss.seam.Component.callComponentMethod(Component.java:2249)
> 	at org.jboss.seam.Component.callCreateMethod(Component.java:2172)
> 	at org.jboss.seam.Component.newInstance(Component.java:2132)
> 	... 75 more
> Caused by: org.jbpm.jpdl.JpdlException: [[ERROR] resource not found: /seam_drools10_15-ejb/jbpm_to_rules/processdefinition.xml]
> 	at org.jbpm.graph.def.ProcessDefinition.parseXmlResource(ProcessDefinition.java:162)
> 	at org.jboss.seam.bpm.Jbpm.deployProcess(Jbpm.java:311)
> 	at org.jboss.seam.bpm.Jbpm.installProcessDefinitions(Jbpm.java:294)
> 	... 85 more
> Is the plan for this process definition editor to work with Seam?  Is there something missing in this setup?

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        


More information about the jbosstools-issues mailing list