Problem to install Stash 1.3.0

Hi,

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 http://37.59.59.205:8080/stash/unavailable :

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 :)

Huy

3 answers

1 accepted

1 vote
Bryan Turner Atlassian Team Oct 15, 2012

Huy,

As discussed on your support.atlassian.com 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
How to earn badges on the Atlassian Community

How to earn badges on the Atlassian Community

Badges are a great way to show off community activity, whether you’re a newbie or a Champion.

Learn more
Community showcase
Published Monday in Jira Software

How large do you think Jira Software can grow?

Hi Atlassian Community! My name is Shana, and I’m on the Jira Software team. One of the many reasons this Community exists is to connect you to others on similar product journeys or with comparabl...

442 views 6 11
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