Solved

Trouble installing Atlassian Stash

Posted on 2013-05-17
1
2,830 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
Comment Utility
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

Windows Server 2016: All you need to know

Learn about Hyper-V features that increase functionality and usability of Microsoft Windows Server 2016. Also, throughout this eBook, you’ll find some basic PowerShell examples that will help you leverage the scripts in your environments!

Join & Write a Comment

Convert websphere application server default chained Certificates from 1024 to 2048 keysize or higher size and also you can change signatureAlgorithm . Please make sure Websphere Application Server fixpack 7.0.0.23 or Above. The following steps a…
It’s 2016. Password authentication should be dead — or at least close to dying. But, unfortunately, it has not traversed Quagga stage yet. Using password authentication is like laundering hotel guest linens with a washboard — it’s Passé.
Connecting to an Amazon Linux EC2 Instance from Windows Using PuTTY.
This demo shows you how to set up the containerized NetScaler CPX with NetScaler Management and Analytics System in a non-routable Mesos/Marathon environment for use with Micro-Services applications.

771 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

Need Help in Real-Time?

Connect with top rated Experts

10 Experts available now in Live!

Get 1:1 Help Now