Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

SpringMVC dispatcher [springMvc] could not be started

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

Same issue here.

This is reported as JDK issue.

Solved by patching lib/rt.jar with fix.

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.

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

same issue for me

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

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

0 votes

Hi Dennis,

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

Cheers,

Christian

Premier Support Engineer

Atlassian

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
Community showcase
Published in Bitbucket

New improvements to user management in Bitbucket Cloud 👥

Hey Community! We’re willing to wager that quite a few of you not only use Bitbucket, but administer it too. Our team is excited to share that we’ll be releasing improvements throughout this month of...

3,711 views 10 16
Read article

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you