Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

Bitbucket upgrade - specify jvmRoute?

Greg Fischer
Contributor
July 12, 2018

I am starting to plan an upgrade from Bitbucket Data Center 4.8.1 to the latest Bitbucket version.  We have a load balancer, two Apache servers, then our Bitbucket Data Center app servers.  I've read where server.xml modifications must now be placed in bitbucket.properties.  We're using JSESSIONID for session affinity so that I can set.  But how do I specify jvmRoute?  I haven't found any tag for that to put in bitbucket.properties.

 

 

2 answers

1 accepted

0 votes
Answer accepted
Caterina Curti
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
July 15, 2018

Hi @Greg Fischer,

When you say jvmRoute, are you referring to AJP connections?

If that's the case, this is not supported starting from Bitbucket Data Center 5.0. Here is the note on the release notes page:

Bitbucket Server 5+ no long supports AJP connections

Starting from version 5.0, Bitbucket Server does not support reverse proxies using AJP connections. While never officially supported, previous versions of Bitbucket Server could use AJP connections. However, with changes to how Bitbucket Server uses Tomcat, using AJP connections with Bitbucket Server (or Data Center) 5.0+ will cause the application to fail on startup.

 

Let me also share that the cookie name is now BITBUCKETSESSIONID, see the Install Bitbucket Data Center guide for more details.

 

Cheers,

Caterina - Atlassian

Greg Fischer
Contributor
July 16, 2018

Thanks Caterina.  The Apache servers were set up for me, along with most of the modifications to server.xml in Bitbucket that we have.  And the people that set up all that are no longer here, so I'm trying to learn it as I go!  I understand now - should have looked up more information before I asked here :-)

 

Thanks,

-Greg

Caterina Curti
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
July 18, 2018

No problem at all Greg! Happy to help!

Sébastien Lucchini September 18, 2018

Hello, I also want to define also an architecture with a load balancer that addresses 2 IHS (IBM HTTP Server) Web Servers that manage load balancing with the 4 Bitbucket nodes (Data Center).

In the Atlassian documentation, we only talk about a load balancer for the 4 Bitbucket nodes: https://confluence.atlassian.com/bitbucketserver/install-bitbucket-data-center-872139817.html#InstallBitbucketDataCenter-8.Installyourloadbalancer

I'm looking at how to set up the 2 IHS Web servers with mod_proxy.

What do you think of this architecture?

 

Best regards.

 

Sébastien Lucchini

0 votes
Gertjan Bijl
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
October 12, 2019

I think in Bitbucket 6 AJP is supported again by setting  server.connector-protocol to AJP/1.3 in bitbucket.properties, see https://confluence.atlassian.com/bitbucketserver/bitbucket-server-config-properties-776640155.html

To add jvmRoute to the process, set environment variable JAVA_OPTS='-DjvmRoute=<something>' before starting Bitbucket.

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events