Problem to install Stash 1.3.0


I'm running on Tomcat6, JRE6, Ubuntu 12.04 LTS. I have problems with installing stash 1.3.0, I got the following error when I go to the page :

A fatal error has occurred

The following problem occurred which prevents Atlassian Stash from starting correctly:

The Spring WebApplicationContext could not be started

(cf. log)

Thanks for your help :)


3 answers

1 accepted

1 vote
Accepted answer
Bryan Turner Atlassian Team Oct 15, 2012


As discussed on your ticket, this is caused by having Log4J in the classpath for Stash. Stash uses Logback and SLF4J, and it uses log4j-over-slf4j to support frameworks which have coded explicitly to Log4J's API. Because it uses log4j-over-slf4j, Log4J itself must not be in the classpath.

If you are deploying Stash into a Tomcat which is hosting Confluence or JIRA (or any other Atlassian webapp), you must separate it. The Tomcats for those webapps include Log4J in their lib/ directories, as they have not converted to Logback, and will cause the Stash webapp to fail.

Hope this helps!

I am running stash on its own Centos 6.3. Should I remove Log4j completely? How do I remove it from the classpath?

That stinks! I just encountered this problem and came across this post (I guess this explains the stack overflow error in catalina.out that gets thrown for the two jar files: log4j and slf4j). I think it is bizarre that the Atlassian suite of products does not share code base for stuff like logging, and thus make their products not play nicely together. I REALLY want to run everything in the same Tomcat stack for ease of management, but alas...

Suggest an answer

Log in or Sign up to answer
Community showcase
Published yesterday in Feedback & Announcements

How do you analyze GC logs, thread dumps and head dumps?

Hi awesome community!  In this article, I would like to describe the one of the toolset (service) for the analyze some problems on different Java-based instances, of course, as Atlassian admini...

94 views 0 7
Read article

Atlassian User Groups

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!

Find my local user group

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

Groups near you