{"action":"created","issue":{"url":"https://api.github.com/repos/javaee/glassfish/issues/20992","repository_url":"https://api.github.com/repos/javaee/glassfish","labels_url":"https://api.github.com/repos/javaee/glassfish/issues/20992/labels{/name}","comments_url":"https://api.github.com/repos/javaee/glassfish/issues/20992/comments","events_url":"https://api.github.com/repos/javaee/glassfish/issues/20992/events","html_url":"https://github.com/javaee/glassfish/issues/20992","id":223313016,"node_id":"MDU6SXNzdWUyMjMzMTMwMTY=","number":20992,"title":"Clustered deployment sometimes fails with error \"Command disable failed on server instance xxx: remote failure: Application not registered Command deploy failed.\"","user":{"login":"glassfishrobot","id":6104758,"node_id":"MDQ6VXNlcjYxMDQ3NTg=","avatar_url":"https://avatars0.githubusercontent.com/u/6104758?v=4","gravatar_id":"","url":"https://api.github.com/users/glassfishrobot","html_url":"https://github.com/glassfishrobot","followers_url":"https://api.github.com/users/glassfishrobot/followers","following_url":"https://api.github.com/users/glassfishrobot/following{/other_user}","gists_url":"https://api.github.com/users/glassfishrobot/gists{/gist_id}","starred_url":"https://api.github.com/users/glassfishrobot/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/glassfishrobot/subscriptions","organizations_url":"https://api.github.com/users/glassfishrobot/orgs","repos_url":"https://api.github.com/users/glassfishrobot/repos","events_url":"https://api.github.com/users/glassfishrobot/events{/privacy}","received_events_url":"https://api.github.com/users/glassfishrobot/received_events","type":"User","site_admin":false},"labels":[{"id":587834382,"node_id":"MDU6TGFiZWw1ODc4MzQzODI=","url":"https://api.github.com/repos/javaee/glassfish/labels/Component:%20deployment","name":"Component: deployment","color":"93ed9a","default":false},{"id":587834411,"node_id":"MDU6TGFiZWw1ODc4MzQ0MTE=","url":"https://api.github.com/repos/javaee/glassfish/labels/Priority:%20Critical","name":"Priority: Critical","color":"8d95dd","default":false},{"id":587834333,"node_id":"MDU6TGFiZWw1ODc4MzQzMzM=","url":"https://api.github.com/repos/javaee/glassfish/labels/Type:%20Bug","name":"Type: Bug","color":"fcbfc5","default":false}],"state":"open","locked":false,"assignee":{"login":"honghzzhang","id":3010372,"node_id":"MDQ6VXNlcjMwMTAzNzI=","avatar_url":"https://avatars0.githubusercontent.com/u/3010372?v=4","gravatar_id":"","url":"https://api.github.com/users/honghzzhang","html_url":"https://github.com/honghzzhang","followers_url":"https://api.github.com/users/honghzzhang/followers","following_url":"https://api.github.com/users/honghzzhang/following{/other_user}","gists_url":"https://api.github.com/users/honghzzhang/gists{/gist_id}","starred_url":"https://api.github.com/users/honghzzhang/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/honghzzhang/subscriptions","organizations_url":"https://api.github.com/users/honghzzhang/orgs","repos_url":"https://api.github.com/users/honghzzhang/repos","events_url":"https://api.github.com/users/honghzzhang/events{/privacy}","received_events_url":"https://api.github.com/users/honghzzhang/received_events","type":"User","site_admin":false},"assignees":[{"login":"honghzzhang","id":3010372,"node_id":"MDQ6VXNlcjMwMTAzNzI=","avatar_url":"https://avatars0.githubusercontent.com/u/3010372?v=4","gravatar_id":"","url":"https://api.github.com/users/honghzzhang","html_url":"https://github.com/honghzzhang","followers_url":"https://api.github.com/users/honghzzhang/followers","following_url":"https://api.github.com/users/honghzzhang/following{/other_user}","gists_url":"https://api.github.com/users/honghzzhang/gists{/gist_id}","starred_url":"https://api.github.com/users/honghzzhang/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/honghzzhang/subscriptions","organizations_url":"https://api.github.com/users/honghzzhang/orgs","repos_url":"https://api.github.com/users/honghzzhang/repos","events_url":"https://api.github.com/users/honghzzhang/events{/privacy}","received_events_url":"https://api.github.com/users/honghzzhang/received_events","type":"User","site_admin":false}],"milestone":null,"comments":5,"created_at":"2014-02-21T21:56:03Z","updated_at":"2018-09-17T13:33:39Z","closed_at":null,"author_association":"CONTRIBUTOR","body":"Sometimes when redeploying an application, the deploy fails with the following error:\n\n```\nFailure: Command disable failed on server instance xxxxxx: remote failure: Application not registered Command deploy failed.\n```\n\nRepeated attempts always fail. After the error appears once it seems like nothing can be deployed.\n\nSometimes the error is:\n\n```\nError occurred during deployment: Keys cannot be duplicate. Old value of this key property, nullwill be retained.\n```\n\nHere is the command:\n\n```\nasadmin deploy --force=true --deploymentorder 300 --target yyyyy\n```\n\nSometimes by trial and error I can get the deploy to work. Here is what I've tried:\n\n1\\. Stop the domain then remove the \"generated\" and \"osgi-cache\" and re-start the domain\n2\\. Stop the cluster and the domain then remove the \"generated\" and \"osgi-cache\" from the domain and the nodes and re-start the domain and cluster\n3\\. Undeploy the problem app, then redeploy it. However, sometimes the app is listed as having been un-deployed already and this fails\n4\\. Undeploy everything that can be undeployed. Manually delete the applications that could not be undeployed via asadmin from the applications folder and manually edit the domain.xml to remove references to those apps.\n#### Environment\nLinux, JDK 1.7.0_45\n#### Affected Versions\n[4.0]"},"comment":{"url":"https://api.github.com/repos/javaee/glassfish/issues/comments/422017897","html_url":"https://github.com/javaee/glassfish/issues/20992#issuecomment-422017897","issue_url":"https://api.github.com/repos/javaee/glassfish/issues/20992","id":422017897,"node_id":"MDEyOklzc3VlQ29tbWVudDQyMjAxNzg5Nw==","user":{"login":"glassfishrobot","id":6104758,"node_id":"MDQ6VXNlcjYxMDQ3NTg=","avatar_url":"https://avatars0.githubusercontent.com/u/6104758?v=4","gravatar_id":"","url":"https://api.github.com/users/glassfishrobot","html_url":"https://github.com/glassfishrobot","followers_url":"https://api.github.com/users/glassfishrobot/followers","following_url":"https://api.github.com/users/glassfishrobot/following{/other_user}","gists_url":"https://api.github.com/users/glassfishrobot/gists{/gist_id}","starred_url":"https://api.github.com/users/glassfishrobot/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/glassfishrobot/subscriptions","organizations_url":"https://api.github.com/users/glassfishrobot/orgs","repos_url":"https://api.github.com/users/glassfishrobot/repos","events_url":"https://api.github.com/users/glassfishrobot/events{/privacy}","received_events_url":"https://api.github.com/users/glassfishrobot/received_events","type":"User","site_admin":false},"created_at":"2018-09-17T13:33:39Z","updated_at":"2018-09-17T13:33:39Z","author_association":"CONTRIBUTOR","body":"**Closing this as this issue is migrated to** https://github.com/eclipse-ee4j/glassfish/issues/20992"}}
{"actor":{"display_login":"glassfishrobot"}}