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
Atlassian Community Anniversary

Happy Anniversary, Atlassian Community!

This community is celebrating its one-year anniversary and Atlassian co-founder Mike Cannon-Brookes has all the feels.

Read more
Community showcase
Piotr Plewa
Published Dec 27, 2017 in Bitbucket

Recipe: Deploying AWS Lambda functions with Bitbucket Pipelines

Bitbucket Pipelines helps me manage and automate a number of serverless deployments to AWS Lambda and this is how I do it. I'm building Node.js Lambda functions using node-lambda&nbsp...

1,940 views 1 5
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