Solved

Trouble installing Atlassian Stash

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

Microsoft Certification Exam 74-409

Veeam® is happy to provide the Microsoft community with a study guide prepared by MVP and MCT, Orin Thomas. This guide will take you through each of the exam objectives, helping you to prepare for and pass the examination.

Question has a verified solution.

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

Suggested Solutions

Little introduction about CP: CP is a command on linux that use to copy files and folder from one location to another location. Example usage of CP as follow: cp /myfoder /pathto/destination/folder/ cp abc.tar.gz /pathto/destination/folder/ab…
This article is about some of the basic and important steps to be used to improve the performance in web-sphere commerce application development. 1) Always leverage the Dyna-caching facility provided by the product 2) Remove the unwanted code …
Learn several ways to interact with files and get file information from the bash shell. ls lists the contents of a directory: Using the -a flag displays hidden files: Using the -l flag formats the output in a long list: The file command gives us mor…
Connecting to an Amazon Linux EC2 Instance from Windows Using PuTTY.

920 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

15 Experts available now in Live!

Get 1:1 Help Now