Data privacy notice

 

When this content is loaded, usage information is transmitted to Vimeo and may be processed there.

 

             

Change Tomcat user (under Windows)

Modified on Thu, 30 Apr at 12:49 PM


The current path to the config directory can be found in formcycle under System settings > Server information > System paths > Directory for configuration files. 
Make a note of this before you make the change. 

If you are doing a new installation, this step is not necessary.


If Tomcat is installed as a service, it will be started as a local service. In older versions, the local system account was used. As the local system account already has many access authorizations, it should be avoided.


When a file should be stored in the file system via the formcycle action Save to filesystem, the system requires write permissions to store files on the server's file system. If the Tomcat is started as a local service, no rights can be assigned to it. It is then necessary to start Tomcat with a separate user.

The login can be done via a local system user or domain user, it is only necessary that the user is available on the formcycle server.


Copy configuration files

Note that customizing the user’s settings affects formcycle’s configuration files, as these are stored in the user’s home directory. If the changes are made immediately after installation, the following steps do not apply.


You can find the current directory for the configuration files under System Settings > Server Information > System Paths as long as Tomcat is still running. An example of a path to the config directory for the local system is: C:\Windows\system32\config\systemprofile\xima\formcycle8\config.

Navigate to the directory and back up the properties files. Once the user has been switched over in Tomcat, the properties files must be copied.


Change user for service

The configuration should be done under Services in Windows.


Select the "Apache Tomcat X" service and right-click to open its properties. Select the Log in tab. Enter the user name and password under This account. You can also select the user directly using the Browse button.


If the configuration is done as specified, the security policy "Log on as a service" is automatically set for the user. The Tomcat must then be restarted.


The new user directory should now be located at C:\Users\<User>\xima\formcycle\config. Copy the properties files and theme.css into the new config directory. Tomcat will then automatically reinitialise, so that the database connection, logging settings and application settings are automatically applied.




Was this article helpful?

That’s Great!

Thank you for your feedback

Sorry! We couldn't be helpful

Thank you for your feedback

Let us know how can we improve this article!

Select at least one of the reasons
CAPTCHA verification is required.

Feedback sent

We appreciate your effort and will try to fix the article