Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

Jira Fastdev execution gets stuck at "upload plugin to server http://localhost:2990/jira"

Nir Zolotorevsky
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
February 12, 2013

When I execute fastdev link - http://localhost:2990/jira/plugins/servlet/fastdev

I get following messages and execution stucks.

this happens after I have created new plugin and imported my production environment into it.

I need to import this environment because the plugin is for production and I need to use it's schema and other settings.

INFO Scanning for projects...

INFO Searching repository for plugin with prefix: 'resources'.

INFO ------------------------------------------------------------------------

INFO Building complex

INFO task-segment: resources:resources, com.atlassian.maven.plugins:maven-amps-plugin:filter-plugin-descriptor, compile, com.atlassian.maven.plugins:maven-amps-plugin:copy-bundled-dependencies, com.atlassian.maven.plugins:maven-amps-plugin:compress-resources, com.atlassian.maven.plugins:maven-amps-plugin:generate-manifest, com.atlassian.maven.plugins:maven-amps-plugin:jar, com.atlassian.maven.plugins:maven-amps-plugin:install

INFO ------------------------------------------------------------------------

INFO resources:resources

WARNING Using platform encoding (Cp1252 actually) to copy filtered resources, i.e. build is platform dependent!

INFO Copying 32 resources

INFO amps:filter-plugin-descriptor

INFO resources:copy-resources {execution: virtual-execution}

INFO Using 'UTF-8' encoding to copy filtered resources.

INFO Copying 1 resource

INFO jira:copy-bundled-dependencies

INFO dependency:copy-dependencies

INFO jira:compress-resources

INFO yuicompressor:compress

INFO nothing to do, C: Projects JIRA complex target classes js VersionFieldHide-min.js is younger than original, use 'force' option or clean your target

INFO nothing to do, C: Projects JIRA complex target classes secure revisions-validation-min.js is younger than original, use 'force' option or clean your target

INFO nb warnings: 0, nb errors: 0

INFO resources:resources

WARNING Using platform encoding (Cp1252 actually) to copy filtered resources, i.e. build is platform dependent!

INFO Copying 32 resources

INFO jira:filter-plugin-descriptor

INFO resources:copy-resources {execution: virtual-execution}

INFO Using 'UTF-8' encoding to copy filtered resources.

INFO Copying 1 resource

INFO compiler:compile

INFO Compiling 1 source file to C: Projects JIRA complex target classes

INFO amps:copy-bundled-dependencies

INFO dependency:unpack-dependencies {execution: virtual-execution}

INFO amps:compress-resources

INFO Compiling javascript using YUI

INFO amps:generate-manifest

INFO No manifest instructions found, adding only non-OSGi manifest attributes

INFO amps:jar

INFO jar:jar

INFO Building jar: C: Projects JIRA complex target complex-1.0.jar

INFO amps:install

INFO atlassian-pdk:install

INFO Install Plugin: Couldn't get the token from upm. Headers. Falling back to legacy upload.

INFO Install Plugin: Uploading 'complex-1.0.jar' to server: http://localhost:2990/jira

7 answers

1 accepted

Comments for this post are closed

Community moderators have prevented the ability to post new answers.

Post a new question

1 vote
Answer accepted
Joe Clark
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
February 28, 2013

I tried running with your backup file and it did take a very long time to install the plugin. I think this is because it's try to connect to your LDAP directory to authenticate the user.

[INFO] [talledLocalContainer] 2013-03-01 14:09:34,463 http-2990-6 ERROR anonymous 849x2477x2 - 127.0.0.1 /rest/plugins/1.0/pending/70fc1c45-708d-4556-9b9f-399183943990 [crowd.manager.application.ApplicationServiceGeneric] Directory 'MISL Active Directory server' is not functional during authentication of 'admin'. Skipped.

However, it did eventually succeed for me.

I think you should try using the work-around mentioned in https://ecosystem.atlassian.net/browse/AMPS-903 - try setting useFastdevCli to false in your pom.xml.

Nir Zolotorevsky
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
March 2, 2013

Thanks a lot Joseph,

I have disabled LDAP connection to Active Directory

and set <useFastdevCli>false</useFastdevCli>

that fixed my problem.

Now fastdev running ok and I can quickly reload java changes.

Thanks a lot!!!!!!

2 votes
Joe Clark
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
February 25, 2013

Oh, I bet I know what it is! After you import your JIRA data from production, does the username and password "admin"/"admin" still work? If not, this will be the problem! FastDev needs to login to JIRA to install the plugin.

Try re-creating the "admin"/"admin" user.

Nir Zolotorevsky
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
February 25, 2013

I have re-created admin/admin user .

But that didn't solve my problem still fastdev get stuck with ""Opening port 4331 for socket cli access"

thanks

Joe Clark
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
February 26, 2013

OK, I'm running out of ideas. Would you mind sharing the backup that you are using to import into your development environment that breaks your FastDev? If it has sensitive data, you can use this guide to anonymise the data: https://confluence.atlassian.com/display/JIRA/Anonymising+JIRA+Data

I'd like to try and reproduce the problem locally so I can debug it.

Nir Zolotorevsky
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
February 26, 2013

() I have uploaded our reduced backup here and at my Service request at atlassian

I have deleted most of the issues but it still get stuck in fastdev.

please check the uploaded file

thanks for the help

0 votes
MB
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
May 9, 2013

Using FastDev in CLI mode sometimes hangs and the plugin re-install never completes

https://ecosystem.atlassian.net/browse/AMPS-940

MB
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
July 29, 2013

Just a note. Since I switched from Windows 7 to Ubuntu 12.04, I never had to add

&lt;useFastdevCli&gt;false&lt;/useFastdevCli&gt;

again in my pom.xml. I thought this issue was fixed in JIRA 6.x but it's not. My friend just tried it on Windows 7 and the issue is still present. So, shortly, this issue is not present on Ubuntu.

0 votes
moetech February 25, 2013

The Default Admin / Admin still work, I have not changed it and works fines

0 votes
moetech February 24, 2013

I am having the same problem here...

JIRA Base URL "http://localhost:2990/jira"

Latest SDK version (4.1.4)

0 votes
Joe Clark
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
February 24, 2013

Also, please make sure that you are running the latest version of the Plugin SDK, which is currently 4.1.4 - Download here - https://marketplace.atlassian.com/plugins/atlassian-plugin-sdk-mac (Mac)

Have you tried running your development environment on a different computer? Do you get the same problem? Does the problem happen with any restore of data, or only with restore of data from your production instance?

Nir Zolotorevsky
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
February 24, 2013

Hi Joseph,

I have changed JIRA Base URL to "http://localhost:2990/jira" and updated my plugin SDK to the latest version (4.1.4).

It still doesn't work now it stucks with message : "Opening port 4331 for socket cli access"

see attched screen:


0 votes
Joe Clark
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
February 24, 2013

Hi NirZ,

After importing your production system data, make sure that you re-set the JIRA Base URL in your local development environment back to "http://localhost:2990/jira". The Base URL probably got set to the Base URL of your production JIRA instance.

A correct Base URL is necessary for the FastDev operation to succeed.

In case you don't know, you can change the JIRA Base URL in the General Configuration screen (here is the documentation: https://confluence.atlassian.com/display/JIRA/Configuring+JIRA+Options)

Joe Clark
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
February 24, 2013

If this does not solve the problem for you, could you please attach the contents of your JIRA application log and also double-check the amount of assigned heap memory in JIRA's administration page?

Comments for this post are closed

Community moderators have prevented the ability to post new answers.

Post a new question

TAGS
AUG Leaders

Atlassian Community Events