Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in
Deleted user
0 / 0 points
Next:
badges earned

Your Points Tracker
Challenges
Leaderboard
  • Global
  • Feed

Badge for your thoughts?

You're enrolled in our new beta rewards program. Join our group to get the inside scoop and share your feedback.

Join group
Recognition
Give the gift of kudos
You have 0 kudos available to give
Who do you want to recognize?
Why do you want to recognize them?
Kudos
Great job appreciating your peers!
Check back soon to give more kudos.

Past Kudos Given
No kudos given
You haven't given any kudos yet. Share the love above and you'll see it here.

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

Bitbucket server: springmvc dispatcher error

I have installed bitbucket server 6.4 on Windows, with home directory being on mapped drive. After making this change, we are getting the below error:

`2019-05-21 14:53:56,969 ERROR [spring-startup] c.a.j.s.w.s.JohnsonDispatcherServlet SpringMVC dispatcher [springMvc] could not be started
org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'dateFormatter' defined in URL [jar:file:/C:/Atlassian/Bitbucket/6.3.0/app/WEB-INF/lib/bitbucket-service-impl-6.3.0.jar!/com/atlassian/stash/internal/util/DefaultDateFormatter.class]: Unsatisfied dependency expressed through constructor parameter 2; nested exception is org.springframework.beans.factory.BeanExpressionException: Expression parsing failed; nested exception is org.springframework.expression.spel.SpelEvaluationException: EL1021E: A problem occurred whilst attempting to access the property 'dateFormatProperties': 'Error creating bean with name 'dateFormatProperties' defined in class path resource [stash-context.xml]: Invocation of init method failed; nested exception is java.net.ConnectException: Connection refused: connect'
at org.springframework.beans.factory.support.ConstructorResolver.createArgumentArray(ConstructorResolver.java:769)
at org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:877)
at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:549)
at javax.servlet.GenericServlet.init(GenericServlet.java:158)
at java.lang.Thread.run(Thread.java:748)`

2 answers

1 accepted

0 votes
Answer accepted

Hi Milan,

Thanks for the included log snippet! From the stack trace, we believe what's happening is that it's attempting to retrieve configuration information that is reliant on files in your Bitbucket Home directory - but it's getting a connection refused error on attempting to do so.

This means that this could either be an issue that the Bitbucket instance is pointed to an incorrect location for the Bitbucket home, or that shared location isn't reachable on the network from the server hosting the Bitbucket Install directory.

We would recommend you test to make sure that the Bitbucket home is reachable from the server hosting the Bitbucket install directory as it is currently configured - and that the user running Bitbucket has access to all of the contents of the mapped drive.

If you're unable to identify the issue after checking the above information, just let us know and we can look to get a support ticket made for your team so we can investigate the logs and your configuration further.

Thanks,

Evan Slaughter

Thanks @Evan Slaughter 

We were able to resolve this issue. The service account user was not able to access or probably wasn't the owner of installation as well as home directories. So we re-installed Bitbuckte but not as a Service. We installed it using the service user account and it worked perfectly without any issues. Thanks for the response again.

 

Regards,
Milan

Absolutely - we're glad that we were able to help!

Thanks,

Evan Slaughter

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...

327 views 2 10
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