Configuration Server Bonita-Studio 6.4.0

1
+2
-1

Hi,

It seems like we can't configure our engine with Bonita studio, the "Configure" button doesn't work. I had the same problem with the Bonita-6.4RC3 ...

Is this a known issue ?

Thanks.

3 answers

1
+1
-1

I also have the problem when exchanging diagrams between myself an another person. We can import the processes and organization. But the "Configuration" button is dead. In the error log I see that there indicates that upon hitting the "Configure" button, an error is generated as described by mfidalgo above.

!ENTRY org.bonitasoft.studio.common 4 0 2015-02-03 15:25:47.928 !ERROR org.eclipse.emf.ecore.xmi.FeatureNotFoundException: Feature 'group' not found. (file:/C:/BonitaBPMCommunity-6.4.0/workspace/default/process_configurations/_tIViUZgwEeSFrPV_tqo1rQ.conf, 13, 52) !STACK 0 org.eclipse.emf.ecore.resource.impl.ResourceSetImpl$1DiagnosticWrappedException: org.eclipse.emf.ecore.xmi.FeatureNotFoundException: Feature 'group' not found.

I found the .conf file mentioned by mfidalgo:

  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <configuration:Configuration xmi:version="2.0" xmlns:xmi="http://www.omg.org/XMI" xmlns:configuration="http://www.bonitasoft.org/ns/studio/configuration" name="Local" username="Jason.Luchenbill" password="bpm" version="6.4.0-005">
  3. <processDependencies id="ACTOR_FILTER"/>
  4. <processDependencies id="CONNECTOR"/>
  5. <processDependencies id="GROOVY_SCRIPT"/>
  6. <processDependencies id="OTHER"/>
  7. <actorMappings>
  8. <actorMapping name="ActorGroup">
  9. <users/>
  10. <groups/>
  11. <roles/>
  12. <memberships>
  13. <membership group="/Group1" role="Leader"/>
  14. </memberships>
  15. </actorMapping>
  16. <actorMapping name="New Actor Group">
  17. <users/>
  18. <groups>
  19. <group>/Group1</group>
  20. </groups>
  21. <roles/>
  22. <memberships/>
  23. </actorMapping>
  24. </actorMappings>
  25. <applicationDependencies id="GROOVY_SCRIPT"/>
  26. <applicationDependencies id="VALIDATOR"/>
  27. <applicationDependencies id="OTHER"/>
  28. </configuration:Configuration>

The error appears to be related to the 'group' attribute mentioned on line 13.

I consulted a working config, and it looks like this:

  1. [stuff deleted]
  2. <actorMappings>
  3. <actorMapping name="plam">
  4. <users/>
  5. <groups/>
  6. <roles/>
  7. <memberships>
  8. <membership>
  9. <group>/PL/Service</group>
  10. <role>AM</role>
  11. </membership>
  12. </memberships>
  13. </actorMapping>
  14. <actorMapping name="plagent">
  15. <users/>
  16. <groups/>
  17. <roles/>
  18. <memberships>
  19. <membership>
  20. <group>/PL/Sales</group>
  21. <role>Agent</role>
  22. </membership>
  23. </memberships>
  24. </actorMapping>
  25. </actorMappings>

So exported files appear to generate the membership mapping incorrectly. Notice the code on lines 8-11. The values should not be attributes (as in original example line 13, they are child nodes.

So I corrected the XML in the first example to the proper XML structure:

  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <configuration:Configuration xmi:version="2.0" xmlns:xmi="http://www.omg.org/XMI"
  3.  
  4. xmlns:configuration="http://www.bonitasoft.org/ns/studio/configuration" name="Local"
  5.  
  6. username="Jason.Luchenbill" password="bpm" version="6.4.0-005">
  7. <processDependencies id="ACTOR_FILTER"/>
  8. <processDependencies id="CONNECTOR"/>
  9. <processDependencies id="GROOVY_SCRIPT"/>
  10. <processDependencies id="OTHER"/>
  11. <actorMappings>
  12. <actorMapping name="ActorGroup">
  13. <users/>
  14. <groups/>
  15. <roles/>
  16. <memberships>
  17. <membership>
  18. <group>/Group1</group>
  19. <role>Leader</role>
  20. </membership>
  21. </memberships>
  22. </actorMapping>
  23. <actorMapping name="New Actor Group">
  24. <users/>
  25. <groups>
  26. <group>/Group1</group>
  27. </groups>
  28. <roles/>
  29. <memberships/>
  30. </actorMapping>
  31. </actorMappings>
  32. <applicationDependencies id="GROOVY_SCRIPT"/>
  33. <applicationDependencies id="VALIDATOR"/>
  34. <applicationDependencies id="OTHER"/>
  35. </configuration:Configuration>

Voila! Configuration works.

The exporter needs to be fixed.

1
+1
-1

I had the same problem and i solution it at the respective config file at C:\BonitaBPMCommunity-.4.1\workspace\default\process_configurations

my problem was in a atribute 'group' in the tag membership that wasn't recognized, so i deleted the membership and restarted bonita. That solve my problem.

1
0
-1

Hello,

I had the same problem yesterday, too. I deleted the process i tried to configure and re-imported it. Then it worked again. It may help.

Kind regards, Pascal

Comments

Submitted by florian.baillagou on Tue, 01/06/2015 - 15:19

If I delete the process, I can't configure anything since configuration is done for a specific process.

After closing, re-importing, re-launching ... Still doesn't work.

Submitted by marcy.ira on Wed, 01/07/2015 - 10:42

I have the same problem. I imported diagram from previous version and when i want to configure actors, i click on button configure, but nothing happens. No window is opening. Any solution?

Submitted by roberth on Tue, 02/03/2015 - 22:36

Moved my response to post.

Notifications