Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

Can i run 2 instances of Bamboo server in same Linux server with different ports?

Raju Adluru
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
December 12, 2019

I have old version of bamboo running on this Linux server, want to install latest version of bamboo on the same with different port.

old bamboo - 5.9.7 using java 1.8.0.65

new bamboo - 6.10.4, want to install latest java for this java 1.8.0-231

can we two instances of tomcats on the same server?

can we have two java- jdks installed on the same, how to point to another java for this latest bamboo.

once latest bamboo is functional want to migrate data from old to new bamboo.

Thanks for your help.

1 answer

1 accepted

1 vote
Answer accepted
Daniel Santos
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
December 16, 2019

Hi @Raju Adluru

Yes, you can =]

First of all, both Bamboo versions should be able to use any 1.8.x Java versions.
If you still want to keep different versions of JDK you can do it:

  1. Install both JDK versions in your machine.
  2. Edit the setenv.sh file.
  3. Add both JAVA_HOME and JRE_HOME variables with the adequate path for the Java JDK you want to use.
    e.g. 
    JAVA_HOME=/Library/Java/JavaVirtualMachines/jdk1.8.0_231.jdk/Contents/Home
    JRE_HOME=/Library/Java/JavaVirtualMachines/jdk1.8.0_231.jdk/Contents/Home

Regarding the ports, they must be different.
There are at least two ports you need to adjust (you may have more connectors), they are configured in server.xml:

  1. server port used for shutdown (default to 8007)
  2. service connector (default to 8085)

Make sure your Bamboo home is set in a different location. The Bamboo home path is configured in <Bamboo_Install>/atlassian-bamboo/WEB-INF/classes/bamboo-init.properties.

I hope that helps you to move forward in this migration process.

Raju Adluru
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
December 16, 2019

Daniel

Thank you for the info.

Already figured out about the ports.

Yes, i knew for port 8085, changed it, did not knew about 8007, while starting, i got the error, changed that also. I am running 2 instances on the same server.

Thanks for JDK info, i will install new Java and update setenv.sh.

Like Daniel Santos likes this
Daniel Santos
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
December 16, 2019

Hi @Raju Adluru

That is great. Thank you for sharing!
I glad you have the skills to find out things on your own, that is good!
=]

Like Raju Adluru likes this

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events