Problem-solving on Windows

If AcuThin or AcuToWeb does not work in the container:

  1. While the container is still running, execute the following commands to list, stop, and remove the application container:
    docker ps -a
    docker stop container-id
    docker rm container-id
  2. Check the error output files in the SharedContainerDirectory for errors.
  3. If there are no obvious errors, you can run the application container interactively by executing run_app_container.bat, which runs the docker run command as follows:
    docker run 
           -it 
           --rm 
           --publish 5632:5632 
           --publish 3000:3000 
           --publish 8009:8009 
           --name acu_app_interactive 
           --volume "%CD%\SharedContainerDirectory":"C:\SharedContainerDirectory"
           microfocus/extend-app:win_10.5.0_x64

    Where all the options shown here are similar to run_container_AcuRCL.bat and run_container_AcuToWeb.bat but without the -d and --entrypoint options and with the addition of the -it option. The -it option runs the application container interactively with a command prompt.

  4. At the container command prompt, interactively run the commands that the --entrypoint option ran in start_acurcl.bat or start_acutoweb.bat to help determine where the problem is.

    For example, for AcuRCL, change to AppContainerDirectory, and start AcuRCL in the foreground without an error file so you can see all the output:

    cd C:\AppContainerDirectory
     acurcl -start -c C:\AppContainerDirectory\acurcl_windows.cfg -l -t7 -f
  5. If something fails, then fix the problem and try it again.
  6. If AcuRCL is running in the foreground and waiting for input, try running tour and newftest with AcuThin again. Errors, if any, appear in the AcuRCL output in the container window.
  7. Fix any errors and try again.

If you have made any changes to files in AppContainerDirectory, you must create a new application image.

  1. If the application container is still running, execute the commands specified in step 1 above.
  2. List the images to get the ID of the application image:
    docker images
  3. Remove the application image:
    docker rmi image-id
  4. Make any changes, build the application image, and try again.