Go Premium for a chance to win a PS4. Enter to Win

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 3213
  • Last Modified:

Trouble installing Atlassian Stash

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
itnifl
Asked:
itnifl
1 Solution
 
itniflAuthor Commented:
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

Hire Technology Freelancers with Gigs

Work with freelancers specializing in everything from database administration to programming, who have proven themselves as experts in their field. Hire the best, collaborate easily, pay securely, and get projects done right.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now