Cycle Will Not Open After Adding Server Tuning Arguments

Cycle Will Not Open After Adding Server Tuning Arguments

The Server Tuning option found in Application Preferences gives you the ability to add command line arguments to be passed to Java when the Cycle Application opens.

These arguments are passed to Java when the Cycle Java process starts and can be very useful in affecting the behavior of Cycle.

Some uses of Server Tuning include:
  1. Setting JVM heap size to aid in memory management and garbage collection
  2. Passing an optional security file to override standard TLS 1 and TLS 1.1 security settings in Java to allow Cycle to connect to older, less secure databases
  3. Making Cycle proxy-aware if running the application behind a web proxy
Server tuning gives the benefit of added flexibility while initiating the Cycle Java process, however this option is an advanced user option and should be used with caution.

Any malformed or incorrect parameters saved in the Server Tuning field can result in the Java Cycle process from starting properly. This can very easily happen if any of the arguments are entered incorrectly.

Cycle may get stuck on the "Loading" screen as seen below if invalid Server Tuning arguments are saved in Application Preferences:



Getting stuck on the "Loading" screen happens when the Cycle Java process is unable to start due to incorrect arguments being passed in. 

This issue can be resolved by manually updating the Server Tuning arguments as described below:
      
      1. Close Cycle and kill any remaining Cycle processes using Task Manager
      2. Navigate to the directory "C:\Users\<your Windows user>\AppData\Roaming\cycle-client"
      3. Using a text editor, open the file "uisettings.JSON"
      4. Look for the "JVMArgs" entry. You should see the invalid arguments that were previously saved in Application Preferences>Server Tuning
      5. Remove the invalid arguments and save the changes made to the "uisettings.JSON" file. This should leave the entry looking as it does below:
            
      6. Re-start Cycle. They Java Cycle process should start as expected and you should progress beyond the "Loading" screen.


    • Related Articles

    • How to load and clean up test data efficiently in Cycle.

      Problem In order to properly evaluate system behavior it is required that known inputs produce desired outputs. This is especially critical when working with the JDA WMS due to its multitude of configuration options that drive specific system ...
    • Cycle Project Will Not Open

      You may encounter a Cycle project that will not open properly. This can happen when you double-click the Cycle project file in File Explorer or when you attempt to open the project from within the Cycle application. There are two possible root causes ...
    • Getting Started with Cycle 2

      Log In to Cycle Cloud In order to get started with Cycle 2, you will need to sign up for a Cycle Cloud account, and then download Cycle 2 from Cycle Cloud. The sign up process requires you to verify your email address. Please note, the email address ...
    • My SSH terminal connections are failing in Cycle with error adding to known hosts file.

      Problem My SSH terminal connections are failing in Cycle with error adding to known hosts file. Solution SSH terminal connections use a known_hosts file stored in the user’s home directory to store server information when you establish an SSH ...
    • Terminal Hangs or Does Not Open

      Problem My terminal appears to hang or returns unexpected results when using the Cycle step to open a terminal connection. Potential Issues and Solutions There are several common issues that can cause failures when opening a terminal in your Cycle ...