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

Earn badges and make progress

You're on your way to the next level! Join the Kudos program to earn points and save your progress.

Deleted user Avatar
Deleted user

Level 1: Seed

25 / 150 points

Next: Root

Avatar

1 badge earned

Collect

Participate in fun challenges

Challenges come and go, but your rewards stay with you. Do more to earn more!

Challenges
Coins

Gift kudos to your peers

What goes around comes around! Share the love by gifting kudos to your peers.

Recognition
Ribbon

Rise up in the ranks

Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!

Leaderboard

Come for the products,
stay for the community

The Atlassian Community can help you and your team get more value out of Atlassian products and practices.

Atlassian Community about banner
4,458,285
Community Members
 
Community Events
176
Community Groups

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

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

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.

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

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

Atlassian Community Events