{"action":"created","issue":{"url":"https://api.github.com/repos/javaee/glassfish/issues/16193","repository_url":"https://api.github.com/repos/javaee/glassfish","labels_url":"https://api.github.com/repos/javaee/glassfish/issues/16193/labels{/name}","comments_url":"https://api.github.com/repos/javaee/glassfish/issues/16193/comments","events_url":"https://api.github.com/repos/javaee/glassfish/issues/16193/events","html_url":"https://github.com/javaee/glassfish/issues/16193","id":223268403,"node_id":"MDU6SXNzdWUyMjMyNjg0MDM=","number":16193,"title":"Inconsistent, stopped already stopped instance, with --kill=true - failed, without - pass. ","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":588175415,"node_id":"MDU6TGFiZWw1ODgxNzU0MTU=","url":"https://api.github.com/repos/javaee/glassfish/labels/3_1_1-scrubbed","name":"3_1_1-scrubbed","color":"ededed","default":false},{"id":587834530,"node_id":"MDU6TGFiZWw1ODc4MzQ1MzA=","url":"https://api.github.com/repos/javaee/glassfish/labels/Component:%20admin","name":"Component: admin","color":"ffe7cc","default":false},{"id":587834363,"node_id":"MDU6TGFiZWw1ODc4MzQzNjM=","url":"https://api.github.com/repos/javaee/glassfish/labels/Priority:%20Minor","name":"Priority: Minor","color":"5bf7b9","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":"barchetta","id":6116667,"node_id":"MDQ6VXNlcjYxMTY2Njc=","avatar_url":"https://avatars1.githubusercontent.com/u/6116667?v=4","gravatar_id":"","url":"https://api.github.com/users/barchetta","html_url":"https://github.com/barchetta","followers_url":"https://api.github.com/users/barchetta/followers","following_url":"https://api.github.com/users/barchetta/following{/other_user}","gists_url":"https://api.github.com/users/barchetta/gists{/gist_id}","starred_url":"https://api.github.com/users/barchetta/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/barchetta/subscriptions","organizations_url":"https://api.github.com/users/barchetta/orgs","repos_url":"https://api.github.com/users/barchetta/repos","events_url":"https://api.github.com/users/barchetta/events{/privacy}","received_events_url":"https://api.github.com/users/barchetta/received_events","type":"User","site_admin":false},"assignees":[{"login":"barchetta","id":6116667,"node_id":"MDQ6VXNlcjYxMTY2Njc=","avatar_url":"https://avatars1.githubusercontent.com/u/6116667?v=4","gravatar_id":"","url":"https://api.github.com/users/barchetta","html_url":"https://github.com/barchetta","followers_url":"https://api.github.com/users/barchetta/followers","following_url":"https://api.github.com/users/barchetta/following{/other_user}","gists_url":"https://api.github.com/users/barchetta/gists{/gist_id}","starred_url":"https://api.github.com/users/barchetta/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/barchetta/subscriptions","organizations_url":"https://api.github.com/users/barchetta/orgs","repos_url":"https://api.github.com/users/barchetta/repos","events_url":"https://api.github.com/users/barchetta/events{/privacy}","received_events_url":"https://api.github.com/users/barchetta/received_events","type":"User","site_admin":false}],"milestone":null,"comments":8,"created_at":"2011-03-10T19:09:16Z","updated_at":"2018-09-16T20:54:46Z","closed_at":null,"author_association":"CONTRIBUTOR","body":"Build 43, Solaris 10 Sparc.\n\nOn the local machine I've created a cluster with one instance. The instance was stopped. Then I've executed the follow commands:\n\n1) asadmin --passwordfile password.txt --user admin --host localhost --port 3000 stop-cluster --kill=true c1\nremote failure: in1: Failed to stop instance in1 on node node1 using stop-local-instance --kill in1\n\nCommand failed on node node1 (localhost): Command stop-local-instance failed.\n\nCan not find the process ID of the server. It is supposed to be here: /opt/glassfish3/glassfish/nodes/node1/in1/config/pid.prev. Unable to kill the process.\n\nTo complete this operation run the following command locally on host localhost from the GlassFish install location /opt/glassfish3:\n\nstop-local-instance --kill in1\n\nThe command stop-instance failed for: in1\nCommand stop-cluster failed.\n\n2) asadmin --passwordfile password.txt --user admin --host localhost --port 3000 stop-cluster c1\nCommand stop-cluster executed successfully.\n\n3) asadmin --passwordfile password.txt --user admin --host localhost --port 3000 stop-instance --kill=true in1\nremote failure: Failed to stop instance in1 on node node1 using stop-local-instance --kill in1\n\nCommand failed on node node1 (localhost): Command stop-local-instance failed.\n\nCan not find the process ID of the server. It is supposed to be here: /opt/glassfish3/glassfish/nodes/node1/in1/config/pid.prev. Unable to kill the process.\n\nTo complete this operation run the following command locally on host localhost from the GlassFish install location /opt/glassfish3:\n\nstop-local-instance --kill in1\nCommand stop-instance failed.\n\n4) asadmin --passwordfile password.txt --user admin --host localhost --port 3000 stop-instance in1\nThe instance, in1, is stopped.\nCommand stop-instance executed successfully.\n\n==========================================\n\nSo when --kill=true was used in stop-instance or stop-cluster, the correspondent stop commands - failed, without --kill=true - passed. I believe that with or without --kill=true, when an instance was stopped already, the stop commands have to create a consist result: executed successfully\n#### Affected Versions\n[3.1]"},"comment":{"url":"https://api.github.com/repos/javaee/glassfish/issues/comments/421831839","html_url":"https://github.com/javaee/glassfish/issues/16193#issuecomment-421831839","issue_url":"https://api.github.com/repos/javaee/glassfish/issues/16193","id":421831839,"node_id":"MDEyOklzc3VlQ29tbWVudDQyMTgzMTgzOQ==","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-16T20:54:46Z","updated_at":"2018-09-16T20:54:46Z","author_association":"CONTRIBUTOR","body":"**Closing this as this issue is migrated to** https://github.com/eclipse-ee4j/glassfish/issues/16193"}}
{"actor":{"display_login":"glassfishrobot"}}