Solved

Trouble installing Atlassian Stash

Posted on 2013-05-17
1
2,962 Views
Last Modified: 2013-05-17
See attached file for install procedure, or look here for the guide:
https://confluence.atlassian.com/display/STASH/Installing+Stash+on+Linux+and+Mac

In the end I deleted Stash and started over again. I had to do this change to setenv.sh:
https://confluence.atlassian.com/display/STASHKB/OpenJDK+64-Bit+Server+VM+is+an+unsupported+JVM

After that was done, setenv.sh gave this output:
# ./setenv.sh
Detecting JVM PermGen support...
./permgen.sh: line 15: /bin/setclasspath.sh: No such file or directory
./permgen.sh: line 16: /bin/setclasspath.sh: No such file or directory
PermGen switch is supported. Setting to 256m\n
Using STASH_HOME:      /home/home-stash


# ./start-stash.sh
To run Stash in the foreground, start the server with start-stash.sh -fg
Starting Atlassian Stash as current user

Detecting JVM PermGen support...
PermGen switch is supported. Setting to 256m

Using STASH_HOME:      /home/home-stash
Using CATALINA_BASE:   /home/home-stash
Using CATALINA_HOME:   /home/home-stash
Using CATALINA_TMPDIR: /home/home-stash/temp
Using JRE_HOME:        /usr/lib/jvm/java-6-openjdk-amd64/jre
Using CLASSPATH:       /home/home-stash/bin/bootstrap.jar:/home/home-stash/bin/tomcat-juli.jar
Using CATALINA_PID:    /home/home-stash/work/catalina.pid

Success! You can now use Stash at the following address:

http://localhost:7990/

If you encounter issues starting or stopping Atlassian Stash, please see the Troubleshooting guide at:

http://confluence.atlassian.com/display/STASH/Installation+Troubleshooting+Guide


When running http://ip-addr:7990/ I get:
A fatal error has occurred

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

The Spring WebApplicationContext could not be started


in the atlassian-stash.log I find the following:
2013-05-17 16:52:26,853 ERROR [localhost-startStop-1]  c.a.j.s.w.c.s.JohnsonHttpRequestHandlerServlet Bypassing HttpRequestHandlerServlet [fileServerServlet] initialisation; Spring initialisation failed: The Spring WebApplicationContext could not be started
2013-05-17 16:52:26,854 ERROR [localhost-startStop-1]  c.a.j.s.w.c.s.JohnsonHttpRequestHandlerServlet Bypassing HttpRequestHandlerServlet [scmServlet] initialisation; Spring initialisation failed: The Spring WebApplicationContext could not be started
2013-05-17 16:52:26,855 ERROR [localhost-startStop-1]  c.a.j.s.w.c.s.JohnsonHttpRequestHandlerServlet Bypassing HttpRequestHandlerServlet [streamsEmptyActivityServlet] initialisation; Spring initialisation failed: The Spring WebApplicationContext could not be started
2013-05-17 16:52:26,875 ERROR [localhost-startStop-1]  c.a.j.s.w.s.JohnsonDispatcherServlet Bypassing SpringMVC dispatcher [spring-mvc] initialisation; Spring initialisation failed: The Spring WebApplicationContext could not be started
2013-05-17 16:52:27,311 WARN  [http-bio-7990-exec-1]  c.a.j.s.w.f.BypassableDelegatingFilterProxy Bypassing [requestAttributeFilter]; no Spring WebApplicationContext is available
2013-05-17 16:52:27,324 WARN  [http-bio-7990-exec-1]  c.a.j.s.w.f.BypassableDelegatingFilterProxy Bypassing [pluginProvidedAuthenticationFilter]; no Spring WebApplicationContext is available
2013-05-17 16:52:27,326 WARN  [http-bio-7990-exec-1]  c.a.j.s.w.f.BypassableDelegatingFilterProxy Bypassing [trustedApplicationsAuthenticationFilter]; no Spring WebApplicationContext is available
2013-05-17 16:52:27,373 WARN  [http-bio-7990-exec-1]  c.a.j.s.w.f.BypassableDelegatingFilterProxy Bypassing [requestAttributeFilter]; no Spring WebApplicationContext is available
2013-05-17 16:52:27,373 WARN  [http-bio-7990-exec-1]  c.a.j.s.w.f.BypassableDelegatingFilterProxy Bypassing [trustedApplicationsAuthenticationFilter]; no Spring WebApplicationContext is available
2013-05-17 16:52:27,373 WARN  [http-bio-7990-exec-1]  c.a.j.s.w.f.BypassableDelegatingFilterProxy Bypassing [springSecurityFilterChain]; no Spring WebApplicationContext is available
2013-05-17 16:52:27,373 WARN  [http-bio-7990-exec-1]  c.a.j.s.w.f.BypassableDelegatingFilterProxy Bypassing [authenticationAttributeFilter]; no Spring WebApplicationContext is available
2013-05-17 16:52:27,373 WARN  [http-bio-7990-exec-1]  c.a.j.s.w.f.BypassableDelegatingFilterProxy Bypassing [standardResponseHeadersFilter]; no Spring WebApplicationContext is available
2013-05-17 16:52:27,374 WARN  [http-bio-7990-exec-1]  c.a.j.s.w.f.BypassableDelegatingFilterProxy Bypassing [requestAttributeFilter]; no Spring WebApplicationContext is available
2013-05-17 16:52:27,374 WARN  [http-bio-7990-exec-1]  c.a.j.s.w.f.BypassableDelegatingFilterProxy Bypassing [trustedApplicationsAuthenticationFilter]; no Spring WebApplicationContext is available
2013-05-17 16:52:27,374 WARN  [http-bio-7990-exec-1]  c.a.j.s.w.f.BypassableDelegatingFilterProxy Bypassing [springSecurityFilterChain]; no Spring WebApplicationContext is available
2013-05-17 16:52:27,374 WARN  [http-bio-7990-exec-1]  c.a.j.s.w.f.BypassableDelegatingFilterProxy Bypassing [authenticationAttributeFilter]; no Spring WebApplicationContext is available
2013-05-17 16:52:27,374 WARN  [http-bio-7990-exec-1]  c.a.j.s.w.f.BypassableDelegatingFilterProxy Bypassing [standardResponseHeadersFilter]; no Spring WebApplicationContext is available
2013-05-17 16:52:27,581 WARN  [http-bio-7990-exec-3]  c.a.j.s.w.f.BypassableDelegatingFilterProxy Bypassing [requestAttributeFilter]; no Spring WebApplicationContext is available
2013-05-17 16:52:27,592 WARN  [http-bio-7990-exec-4]  c.a.j.s.w.f.BypassableDelegatingFilterProxy Bypassing [requestAttributeFilter]; no Spring WebApplicationContext is available
2013-05-17 16:52:27,592 WARN  [http-bio-7990-exec-4]  c.a.j.s.w.f.BypassableDelegatingFilterProxy Bypassing [pluginProvidedAuthenticationFilter]; no Spring WebApplicationContext is available
2013-05-17 16:52:27,592 WARN  [http-bio-7990-exec-4]  c.a.j.s.w.f.BypassableDelegatingFilterProxy Bypassing [trustedApplicationsAuthenticationFilter]; no Spring WebApplicationContext is available
2013-05-17 16:52:27,593 WARN  [http-bio-7990-exec-4]  c.a.j.s.w.f.BypassableDelegatingFilterProxy Bypassing [requestAttributeFilter]; no Spring WebApplicationContext is available
2013-05-17 16:52:27,593 WARN  [http-bio-7990-exec-4]  c.a.j.s.w.f.BypassableDelegatingFilterProxy Bypassing [trustedApplicationsAuthenticationFilter]; no Spring WebApplicationContext is available
2013-05-17 16:52:27,593 WARN  [http-bio-7990-exec-4]  c.a.j.s.w.f.BypassableDelegatingFilterProxy Bypassing [springSecurityFilterChain]; no Spring WebApplicationContext is available
2013-05-17 16:52:27,593 WARN  [http-bio-7990-exec-4]  c.a.j.s.w.f.BypassableDelegatingFilterProxy Bypassing [authenticationAttributeFilter]; no Spring WebApplicationContext is available
2013-05-17 16:52:27,593 WARN  [http-bio-7990-exec-4]  c.a.j.s.w.f.BypassableDelegatingFilterProxy Bypassing [standardResponseHeadersFilter]; no Spring WebApplicationContext is available
2013-05-17 16:52:27,593 WARN  [http-bio-7990-exec-4]  c.a.j.s.w.f.BypassableDelegatingFilterProxy Bypassing [requestAttributeFilter]; no Spring WebApplicationContext is available
2013-05-17 16:52:27,593 WARN  [http-bio-7990-exec-4]  c.a.j.s.w.f.BypassableDelegatingFilterProxy Bypassing [trustedApplicationsAuthenticationFilter]; no Spring WebApplicationContext is available
2013-05-17 16:52:27,593 WARN  [http-bio-7990-exec-4]  c.a.j.s.w.f.BypassableDelegatingFilterProxy Bypassing [springSecurityFilterChain]; no Spring WebApplicationContext is available
2013-05-17 16:52:27,594 WARN  [http-bio-7990-exec-4]  c.a.j.s.w.f.BypassableDelegatingFilterProxy Bypassing [authenticationAttributeFilter]; no Spring WebApplicationContext is available
2013-05-17 16:52:27,594 WARN  [http-bio-7990-exec-4]  c.a.j.s.w.f.BypassableDelegatingFilterProxy Bypassing [standardResponseHeadersFilter]; no Spring WebApplicationContext is available
0
Comment
Question by:itnifl
1 Comment
 
LVL 2

Accepted Solution

by:
itnifl earned 0 total points
ID: 39175160
I installed Tomcat with the Ubuntu installation. This was Tomcat 6. I uninstalled Java and Tomcat 6, then Installed Java version 1.7 and Tomcat 7 using this guide: http://hendrelouw73.wordpress.com/2012/11/14/how-to-install-apache-tomcat-7-0-30-on-ubuntu-12-10-linux/

That fixed the problem
0

Featured Post

Migrating Your Company's PCs

To keep pace with competitors, businesses must keep employees productive, and that means providing them with the latest technology. This document provides the tips and tricks you need to help you migrate an outdated PC fleet to new desktops, laptops, and tablets.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
Looking for a program called HoneyMine. 3 74
RPM creation 6 27
CentOs root password/fsck issue 7 34
Windows 10 linux VM 22 48
Over the last ten+ years I have seen Linux configuration tools come and go. In the early days there was the tried-and-true, all-powerful linuxconf that many thought would remain the one and only Linux configuration tool until the end of times. Well,…
There are numerous questions about how to setup an IBM HTTP Server to be administered from WebSphere Application Server administrative console. I do hope this article will wrap things up and become a reference for this task. You need three things…
Get a first impression of how PRTG looks and learn how it works.   This video is a short introduction to PRTG, as an initial overview or as a quick start for new PRTG users.
How to Install VMware Tools in Red Hat Enterprise Linux 6.4 (RHEL 6.4) Step-by-Step Tutorial

697 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question