How can I get the Atlassian SDK to work with Bitbucket 5.0.1?

I've tried running the usual commands for my plugin, but after Tomcat starts up I always get a 404. I didn't see any errors in the log, but the Bitbucket app appears to not start completely.

I also tried with a fresh plugin created from atlas-create-bitbucket-plugin. The default plugin POM uses version 4.9.1, and that does work correctly. However, when I set the version to 5.0.1, I see the same behavior. I see a few warnings in the log:

 

[WARNING] [talledLocalContainer] WARNING: Problem with directory [/private/tmp/plugin/target/container/tomcat8x/cargo-bitbucket-home/common/classes], exists: [false], isDirectory: [false], canRead: [false]
[INFO] [talledLocalContainer] May 20, 2017 8:23:40 PM org.apache.catalina.startup.ClassLoaderFactory validateFile
[WARNING] [talledLocalContainer] WARNING: Problem with directory [/private/tmp/plugin/target/container/tomcat8x/cargo-bitbucket-home/common/lib], exists: [false], isDirectory: [false], canRead: [false]
[INFO] [talledLocalContainer] May 20, 2017 8:23:40 PM org.apache.catalina.startup.ClassLoaderFactory validateFile
[WARNING] [talledLocalContainer] WARNING: Problem with directory [/private/tmp/plugin/target/container/tomcat8x/cargo-bitbucket-home/shared/classes], exists: [false], isDirectory: [false], canRead: [false]
[INFO] [talledLocalContainer] May 20, 2017 8:23:40 PM org.apache.catalina.startup.ClassLoaderFactory validateFile
[WARNING] [talledLocalContainer] WARNING: Problem with directory [/private/tmp/plugin/target/container/tomcat8x/cargo-bitbucket-home/shared/lib], exists: [false], isDirectory: [false], canRead: [false]
[INFO] [talledLocalContainer] May 20, 2017 8:23:40 PM org.apache.catalina.startup.SetAllPropertiesRule begin
[WARNING] [talledLocalContainer] WARNING: [SetAllPropertiesRule]{Server/Service/Connector} Setting property 'emptySessionPath' to 'true' did not find a matching property.
[INFO] [talledLocalContainer] May 20, 2017 8:23:40 PM org.apache.tomcat.util.digester.SetPropertiesRule begin
[WARNING] [talledLocalContainer] WARNING: [SetPropertiesRule]{Server/Service/Engine/Host/Valve} Setting property 'resolveHosts' to 'false' did not find a matching property.

Is this a known issue?

1 answer

1 accepted

Try:

atlas-run -u 6.3.0

 

The Bitbucket-5.0.0 EAP announcement in the developer area included this info:  https://community.developer.atlassian.com/c/bitbucket-development

 

p.s.  Big fan here of PR Harmony and Token Auth!

Awesome, that did the trick! Glad you like my plugins, I'll get the 5.x versions out as soon as possible.

Suggest an answer

Log in or Sign up to answer
How to earn badges on the Atlassian Community

How to earn badges on the Atlassian Community

Badges are a great way to show off community activity, whether you’re a newbie or a Champion.

Learn more
Community showcase
Posted Jun 12, 2018 in Bitbucket

Do you use any Atlassian products for your personal projects?

After spinning my wheels trying to get organized enough to write a book for National Novel Writing Month (NaNoWriMo) I took my affinity for Atlassian products from my work life and decided to tr...

25,210 views 26 12
Join discussion

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