So I setup my Jira and got pretty bad performance, the sites are loading very slow. Now two problems were detected: "modern http protocols" and "embedded database".
So I see the procedure is discribed in the help sites, but I just dont know how to even use the commands. I have Jira running on a Windows Server 2016. I see that its running on a Tomcat Webserver.
So where do I type in those commands like
a2enmod proxy_http headers; a2dismod proxy_http2
Thx for the help!
I think you have run into a common misunderstanding here, and although I suspect you're searching for and finding the right docs, the incorrect context makes it all seem like nonsense or inapplicable.
So, you're actually looking at four different products and services here:
So, you've mentioned three problems:
The second and third can feed into the first, so let's get them fixed first.
The embedded database is simple - stop using h2 and swap to one of the supported databases (postgres, mysql, oracle or ms-sql). h2 is a file and memory based database which can run into performance issues quite quickly as it grows. More importantly, it can (and will) fail catastrophically. It should only be used for throwaway systems (development and testing), never one that you actually want to keep real data in. You should migrate as soon as possible.
The http protocols are a bit more complex to explain. There's a whole load of protocols that computers use to talk to each other, and some of them are insecure. Plain http is totally insecure and shouldn't be used for anything other than reading public information, but there are some https protocols that are no longer secure. Your Jira is using one of them.
This is where protocols get a bit more complex - we do not know how you have implemented it. By default a Jira install uses http, but it's not actually the Jira (or database) that does https, and you should always use https for Jira access. You can do it in the Tomcat, or you can stick your Tomcat behind a proxy that does the https for you, and that's where the Apache web-server kicks in.
The a2en/a2dis commands you've mentioned are for the Apache web-server, not Tomcat.
So, two actions
1. Let us know how you are doing https (if at all! If it is https, is it just Tomcat, or have you got a proxy of some form?)
2. Migrate to a supported database
Sorry for the delayed answer. I now moved the database to MSSQL and got it back running. Now I dont get any issues anymore and performance is fine.
Thx for the help!
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Looks like you forget to put info
Protocols h2 h2c http/1.1
https://httpd.apache.org/docs/2.4/howto/http2.html
Also, in that situation I do recommend to look into database setup and JVM configuration.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Ok i understand that info is missing somewhere. But how and where exactly do I have to put it in?
Sorry but that leaves more questions to me than answers. :(
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.