Stash hangs on "Starting plugin framework"

When starting stash as a service it hangs on "Starting pluging framework". 

atlassianstash-stdout.2015-02-17.log contains:

ERROR: Bundle org.springframework.osgi.extender [7] Error starting file:/D:/Atlassian/ApplicationData/Stash/plugins/.osgi-cache/framework-bundles/spring-osgi-extender-1.2.1.jar (org.osgi.framework.BundleException: Activator start error in bundle org.springframework.osgi.extender [7].)


When I start stash by "startup_stash.bat" it works fine! But I would like to run it as a service...

2 answers

1 accepted

1 vote
Accepted answer
Jeff Thomas Atlassian Team Feb 21, 2015

Hi Daan,

I wanted to close the loop here since we resolved this by raising a support request and if other people find their way here, they'll have an answer.

This was caused by the -XX:MaxPermSize=256m Java option not being set for the Stash Windows service. Using this guide we were able to -XX:MaxPermSize=256m to the end of the Java Options.


Just to complement, this has been resolved and tracked by

0 votes

Hi @Daan Gerrits Could you please open the support ticket over at where you can privately show us your logs You can generate a support zip with all the logs with these instrunctions (You will need to start stash with to be able to make the support zip) It would be good if you can include all the details about your environment: Stash version, operating system, Java version, and how you have installed Stash. Also if you can it would help us alot if you can include a thread dump Thanks Scott Goodhew, Atlassian Stash

Suggest an answer

Log in or Sign up to answer
Community showcase
Published Nov 06, 2018 in Bitbucket

Upgrade Best Practices

Hello! My name is Mark Askew and I am a Premier Support Engineer for products Bitbucket Server/Data Center, Fisheye & Crucible. Today, I want to bring the discussion that Jennifer, Matt, and ...

1,897 views 7 10
Read article

Atlassian User Groups

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

Find a group

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

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you