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

This widget could not be displayed.
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!

This widget could not be displayed.

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

This widget could not be displayed.

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
Atlassian Summit 2018

Meet the community IRL

Atlassian Summit is an excellent opportunity for in-person support, training, and networking.

Learn more
Community showcase
Posted Wednesday in Teamwork

What teamwork quotes inspire you?

Hey everyone! My name is Natalie and I'm an editor of the Atlassian Blog and I've got a question for you: What's your favorite quote about teamwork?  We've compiled a list here, along with...

134 views 16 7
Join discussion

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