How to customize location of jbpm.console.properties ?

Solution Verified - Updated -

Issue

Following code is used for manipulation with KnowledgeAgent:

final GuvnorConnectionUtils guvnorUtils = new GuvnorConnectionUtils();

if (guvnorUtils.guvnorExists())
{
   try
   {
      ...
knowledgeAgent.applyChangeSet(ResourceFactory.newReaderResource(guvnorUtils.createChangeSet())) ;
      ...
   }
   catch (final Throwable t)
      ...
"

The above code will crash if either "jbpm.console.properties" or "change-set.xml" is absent from the root directory.

Environment

  • Red Hat JBoss BRMS
    • 5.3.x

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.

Current Customers and Partners

Log in for full access

Log In