Configure an Independent Environment

An independent EnterWorks configuration is sometimes used for QA environments. By default, EnterWorks is installed with at least three JBoss (Wildfly) processes, a Controller and two Workers. To configure an independent environment, after EnterWorks has been installed, configure it to run with only a single JBoss process. Do this on servers where the following processes are located.

  • EnableServerTomcat

  • EnableServerWildflyController

  • EnableServerWildflyWorker<n>

Perform the following.

  1. Stop all services.
  2. Open the EPIM database in SSMS.
  3. Run the following query to find the JBoss processes.
    select * from B_SERVER_PROPERTY Where PROPERTY_KEY like 'JBOSS_%'
  4. Verify that the query returns only a Jboss_Master process and one or more JBoss_Slave processes.
  5. Run the following query to remove all of these processes.
    delete from B_SERVER_PROPERTY Where PROPERTY_KEY like 'JBOSS_%'
  6. Update shared configuration properties to remove the Worker/Slave processes:
    1. Change the job.controller.type to 0 for "independent only".
    2. Leave the job.controller.master= statement as it is.
    3. Delete the values for the job.controller.slave.list.
  7. Uninstall the Worker processes. For each Worker process:
    1. Open a command prompt and go to:
      <drive>:\Enterworks\EnableServer\jbossWorker<n>\bin\service
    2. Enter the command:
      service.bat uninstall
  8. Check the services to ensure that the EnableServerWildflyWorker<n> services no longer appear.
  9. Edit the stop script for EPIM so it no longer attempts to stop the Worker processes. Edit:
     <drive>:\Enterworks\bin\EPIM Stop.cmd
    Comment out all the statements for Worker processes by inserting rem at the beginnng of each line pertaining to Worker<n>.
  10. Edit the start script for EPIM so it no longer attempts to start the Worker processes. In:
    <drive>:\Enterworks\bin\EPIM Start.cmd
    Comment out all the statements for Worker processes by inserting rem at the beginnng of each line pertaining to Worker<n>.
  11. Restart all services.
  12. Open the EPIM database in SSMS.
  13. Run the following query to find the JBoss processes.
    select * from B_SERVER_PROPERTY Where PROPERTY_KEY like 'JBOSS_%'
  14. Verify that the query returns only a Jboss_Independent process.