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

1 vote
Accepted answer

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

433 views 6 9
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