Youtrack 3 changing default port
I'm starting youtrack jar as a service using new method as described here http://confluence.jetbrains.net/display/YTD3/Linux.+YouTrack+JAR+as+a+Service
There is a notice
By default, the new YouTrack instance is configured to use TCP port 8080. You can change this setting in the wrappers.conf file, or you can edit the configuration of the Nginx frontend.
I've not found the file wrapperS.conf but there is wrapper.conf in ./standalone/conf/wrapper.conf
How can I change default port in this file?
Please sign in to leave a comment.
Hello, Andrew! Thanks for pointing out to this documentation inaccuracy. In order to change port, you have to replace 8080 in line wrapper.app.parameter.2=8080 of mentioned file with desired port value.
If I set following parameters
# Application parameters. Add parameters as needed starting from 1
wrapper.app.parameter.1=jetbrains.charisma.standalone.CharismaStandalone
wrapper.app.parameter.2=8112
youtrack does not start and there is an error message in wrapper.log
ERROR: "jetbrains.charisma.standalone.CharismaStandalone" is an unknown action.
and if I set only first parameter (wrapper.app.parameter.1=8112) I get the same error message
ERROR: "8112" is an unknown action.
Have you followed all steps at http://confluence.jetbrains.net/display/YTD3/Linux.+YouTrack+JAR+as+a+Service? Especially, this ones:
cd ~youtrack/standalone/ln -s youtrack-<version>.jar youtrack.jarYes, I've followed all steps.
I have attached my wrapper.conf file.
Attachment(s):
wrapper.conf.zip
Your wrapper.conf is based on some sample, not our wrapper.conf. It contains references to some file called wrappertest.jar, which is obviously not what you want to run. Please, use this wrapper.conf as source for your wrapper config file, as the documentation says ("7. Replace an existing wrapper's configuration file ~youtrack/standalone/conf/wrapper.conf with the following configuration file: wrapper.conf"). It should contain lines like this for example: