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

This widget could not be displayed.

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
Community showcase
Published Aug 21, 2018 in Bitbucket

Branch Management with Bitbucket

As a project manager, I have discovered that different developers want to bring their previous branching method with them when they join the team. Some developers are used to performing individual wo...

1,354 views 8 11
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