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?

5 comments
Comment actions Permalink

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.

0
Comment actions Permalink

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.

0
Comment actions Permalink

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.jar
0
Comment actions Permalink

Yes, I've followed all steps.

I have attached my wrapper.conf file.



Attachment(s):
wrapper.conf.zip
0
Comment actions Permalink

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:

wrapper.java.classpath.1=../lib/wrapper.jar

wrapper.java.classpath.2=%JAVA_HOME%/lib/tools.jar

wrapper.java.classpath.3=%CATALINA_HOME%/youtrack.jar

0

Please sign in to leave a comment.