Blog

  • 2024
  • 2023
  • 2022
  • 2021
  • 2020
  • 2019
  • 2018
  • 2017
  • 2016
  • 2015
  • 2014
  • 2013
  • 2012

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

I'm new to developing plugins for Confluence. Starting the server with atlas-run worked out of the box. But when I tried to reload a Confluence plugin with FastDev, I got the following error message on the console:

 

Code Block
[INFO] [talledLocalContainer] [INFO] --- maven-amps-dispatcher-plugin:4.2.10:cli 
                                         (default-cli) @ simplebp ---
[INFO] [talledLocalContainer] [INFO] Opening port 4330 for socket cli access
[INFO] [talledLocalContainer] [INFO] Waiting for commands...
[INFO] [talledLocalContainer] maven2>2013-12-21 18:40:00,116 WARN [http-1990-6] 
  [atlassian.seraph.auth.DefaultAuthenticator] login login : 'admin' 
  tried to login but they do not have USE permission or weren't found. 
  Deleting remember me cookie.

Searching on the internet, I only found references to configuration problems concerning Jira and Crowd. This was definitely not my problem. It took me quite some time to figure out (thanks to Michael Griffel's answer to atlas-cli, pi execution gets stuck at "upload plugin to server http://localhost:2990/jira"), that the problem could be solved by setting the following properties:

Code Block
set ATLAS_OPTS=-Dusername=admin -Dpassword=admin

Now the hot deployment works like a charm!

 


Comments copied from our old blog server:

Quote External
authorAdrian
author-urihttp://blog.scrobble.me/
source-dateMarch 24, 2014 at 9:10 am

Thanks a lot, helped me a lot. For a direct Maven call: -DATLAS_OPTS=-Dusername=admin -Dpassword=admin