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
Community moderators have prevented the ability to post new answers.
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.
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!!!!!!
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
() 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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Just a note. Since I switched from Windows 7 to Ubuntu 12.04, I never had to add
<useFastdevCli>false</useFastdevCli>
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.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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:
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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)
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Community moderators have prevented the ability to post new answers.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.