// Connect to the JBAS instance's Profile Service and JMX MBeanServer.
connectToProfileService();
initializeEmsConnection();
// Now create all our helpers and delegates.
this.logFileEventDelegate = new LogFileEventResourceComponentHelper(this.resourceContext);
this.logFileEventDelegate.startLogFileEventPollers();
JBPMWorkflowManager workflowManager = createJbpmWorkflowManager(resourceContext);
File configPath = getConfigurationPath();