SpringMVC dispatcher [springMvc] could not be started

Dennis Wegener September 6, 2018

Hi all,

I am facing the following issue:

 

ERROR [spring-startup]  c.a.j.s.w.s.JohnsonDispatcherServlet SpringMVC dispatcher [springMvc] could not be started
org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'gitBundledResources' defined in com.atlassian.stash.internal.scm.git.GitWiring: Invocation of init method failed; nested exception is java.io.IOException: Mount point not found
        at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1630)
        at org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:867)
        at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:543)
        at javax.servlet.GenericServlet.init(GenericServlet.java:158)
        at java.lang.Thread.run(Thread.java:748)
        ... 17 frames trimmed
Caused by: java.io.IOException: Mount point not found
        at sun.nio.fs.LinuxFileStore.findMountEntry(LinuxFileStore.java:91)
        at sun.nio.fs.UnixFileStore.<init>(UnixFileStore.java:65)
        at sun.nio.fs.LinuxFileStore.<init>(LinuxFileStore.java:44)
        at sun.nio.fs.LinuxFileSystemProvider.getFileStore(LinuxFileSystemProvider.java:51)
        at sun.nio.fs.LinuxFileSystemProvider.getFileStore(LinuxFileSystemProvider.java:39)
        at sun.nio.fs.UnixFileSystemProvider.getFileStore(UnixFileSystemProvider.java:368)
        at java.nio.file.Files.getFileStore(Files.java:1461)
        at com.atlassian.stash.internal.scm.git.BundledResources.isPosixFilesystem(BundledResources.java:103)
        at com.atlassian.stash.internal.scm.git.BundledResources.installScript(BundledResources.java:89)
        at com.atlassian.stash.internal.scm.git.BundledResources.unpack(BundledResources.java:36)
        ... 5 common frames omitted

 

Do you have any idea on what went wrong and how to check which mount point it is trying to use?

3 answers

0 votes
urenner October 18, 2019

Same issue here.

This is reported as JDK issue.

Solved by patching lib/rt.jar with fix.

0 votes
Nadica Gaber September 18, 2018

We have the same issue.  

We are running the Teams in Space environment for presentations.  All application were working fine, but after restart, bitbucket won't start with the same error message as above.

tjilal February 11, 2019

facing same issue , almost tried everything but issue is not going away. 

xf April 28, 2019

same issue for me

tobiasco May 21, 2019

Same here, reinstalled and tried a new machine, all versions of 6.3 have this problem, 2 is fine

Pradeep G November 13, 2020

I too have the same issue SpringMVC dispatcher [springMvc] could not be started

0 votes
Christian Glockner
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
September 6, 2018

Hi Dennis,

Most likely this is about the shared home directory (inside <BitbucketHome>).

Cheers,

Christian

Premier Support Engineer

Atlassian

Dennis Wegener September 10, 2018

Hi Christian,

thanks for the reply. I checked the directory, but for me everything looks fine:

 

$ ll /var/atlassian/application-data/bitbucket/       
total 48
drwxr-xr-x 11 atlbitbucket atlbitbucket 4096 Sep  6 07:57 ./
drwxr-xr-x  3 root         root         4096 Sep  6 07:44 ../
drwxr-xr-x  2 atlbitbucket atlbitbucket 4096 Sep  6 07:44 .oracle_jre_usage/
-rw-r--r--  1 atlbitbucket atlbitbucket   62 Sep  6 07:45 .version
drwxr-xr-x  4 atlbitbucket atlbitbucket 4096 Sep  6 07:48 bin/
drwxr-xr-x  4 atlbitbucket atlbitbucket 4096 Sep  6 07:57 caches/
drwxr-xr-x  2 atlbitbucket atlbitbucket 4096 Sep  6 07:45 export/
drwxr-xr-x  3 atlbitbucket atlbitbucket 4096 Sep  6 07:45 lib/
drwxr-xr-x  4 atlbitbucket atlbitbucket 4096 Sep 10 07:32 log/
drwxr-xr-x  3 atlbitbucket atlbitbucket 4096 Sep  6 07:45 plugins/
drwxr-xr-x  6 atlbitbucket atlbitbucket 4096 Sep  6 07:57 shared/
drwxr-xr-x  6 atlbitbucket atlbitbucket 4096 Sep  6 07:56 tmp/
$ ll /var/atlassian/application-data/bitbucket/shared/
total 24
drwxr-xr-x  6 atlbitbucket atlbitbucket 4096 Sep  6 07:57 ./
drwxr-xr-x 11 atlbitbucket atlbitbucket 4096 Sep  6 07:57 ../
drwxr-xr-x  4 atlbitbucket atlbitbucket 4096 Sep  6 07:48 config/
drwxr-xr-x  7 atlbitbucket atlbitbucket 4096 Sep  6 07:57 data/
drwxr-xr-x  3 atlbitbucket atlbitbucket 4096 Sep  6 07:45 plugins/
drwxr-xr-x  5 atlbitbucket atlbitbucket 4096 Sep  6 07:44 search/

 

Do you have any idea on why bitbucket cannot access this directory?

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events