I need to configure a context-param in web.xml and a managed-bean in faces-config.xml but these files are automatically generated at the deployment of jbpm console. Is it possible to configure this in jbpm.cfg.xml ?
Can't you simply just unzip jbpm-console.war, make the changes you need to web.xml, and then re-zip jbpm-console.war and deploy that "modified" war file? The web.xml isn't "generated" when deploying the war file. The war file contains the web.xml file, and that's the one you should change.