I installed bamboo as a service on my centos 6 server, but when i start it and try to access the url (localhost:8085) there is nothing running. i accessed the logs and found this error message.
SEVERE [localhost-startStop-1] org.apache.catalina.core.StandardContext.listenerStart Error configuring application listener of class com.atlassian.bamboo.session.SeraphHttpSessionDestroyedListener
java.lang.UnsupportedClassVersionError: com/atlassian/bamboo/session/SeraphHttpSessionDestroyedListener : Unsupported major.minor version 52.0 (unable to load class com.atlassian.bamboo.session.SeraphHttpSessionDestroyedListener)
can anyone please help me get this running?
Hi Thiago, the Unsupported major.minor version 52.0 error happens when we try to run a class that was compiled using the Java 8 compiler into a lower Java version e.g. Java 7 or Java 6. This is the case with the Bamboo Server (and remote agents) after Bamboo 5.10.x. Java is backward compatible, meaning we can run a Java class file (or JAR file) compiled in a lower version (Java 6) into a higher version e.g. Java 8, but it doesn't mean we can run a class compiled using Java 7 into Java 5. Why? because higher versions usually have features that are not supported by lower versions.
If you have multiple Java versions installed, please make sure that the latest one comes first in the PATH environment variable. This is to say, you need to ensure Bamboo is starting up using Java 8, otherwise it won't work.
Thiago, if you're running Bamboo on a Linux box, this is what I mean: http://superuser.com/questions/135580/multiple-java-environment-on-the-same-linux-machine. On the other hand, if you want, you can also force Bamboo to start using a specific Java version. In this case you can edit the <BAMBOO_INSTALL>/bin/start-bamboo.sh file and add the following to the first line of the file:
Please replace the path with the actual path to Java 8.
Badges are a great way to show off community activity, whether you’re a newbie or a Champion.Learn more
Bamboo 5.9 will no longer be supported after June 12, 2017. What does this mean? As part of our End of Life policy, Atlassian supports major versions for two years after the first major iteratio...
Connect with like-minded Atlassian users at free events near you!Find a group
Connect with like-minded Atlassian users at free events near you!
Unfortunately there are no AUG chapters near you at the moment.Start an AUG
You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs