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

Next challenges

Recent achievements

Recognition

  • Give kudos
  • My kudos

Leaderboard

  • Global

Trophy case

Kudos (beta program)

Kudos logo

You've been invited into the Kudos (beta program) private group. Chat with others in the program, or give feedback to Atlassian.

View group

It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

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
Community showcase
Published in Bamboo

Bamboo 7.1 is here and is packed with value!

I'm happy to announce that Bamboo 7.1 has been released and it’s overflowing with awesome new features. Top-voted issues First and foremost, a bunch of JAC top voted issues has been delivered - y...

675 views 1 6
Read article

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you