{"action":"created","issue":{"url":"https://api.github.com/repos/SaschaMoellering/jboss7/issues/2","labels_url":"https://api.github.com/repos/SaschaMoellering/jboss7/issues/2/labels{/name}","comments_url":"https://api.github.com/repos/SaschaMoellering/jboss7/issues/2/comments","events_url":"https://api.github.com/repos/SaschaMoellering/jboss7/issues/2/events","html_url":"https://github.com/SaschaMoellering/jboss7/issues/2","id":64414688,"number":2,"title":"Enable/Start doesn't actually start Jboss on Amazon Linux","user":{"login":"lantrix","id":117008,"avatar_url":"https://avatars.githubusercontent.com/u/117008?v=3","gravatar_id":"","url":"https://api.github.com/users/lantrix","html_url":"https://github.com/lantrix","followers_url":"https://api.github.com/users/lantrix/followers","following_url":"https://api.github.com/users/lantrix/following{/other_user}","gists_url":"https://api.github.com/users/lantrix/gists{/gist_id}","starred_url":"https://api.github.com/users/lantrix/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lantrix/subscriptions","organizations_url":"https://api.github.com/users/lantrix/orgs","repos_url":"https://api.github.com/users/lantrix/repos","events_url":"https://api.github.com/users/lantrix/events{/privacy}","received_events_url":"https://api.github.com/users/lantrix/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-03-26T01:40:45Z","updated_at":"2015-03-26T01:46:53Z","closed_at":null,"body":"The final action in the install.rb:\r\n\r\n```\r\n# enable service\r\nservice 'jboss' do\r\n  service_name 'jboss'\r\n  action [:enable, :start]\r\nend\r\n```\r\n\r\nDoesn't seem to start the service on Amazon Linux, only to enable it.\r\n\r\n```\r\n  * service[jboss] action enable[2015-03-26T01:23:55+00:00] INFO: Processing service[jboss] action enable (jboss7::install line 86)\r\n[2015-03-26T01:23:55+00:00] DEBUG: providers for generic service resource enabled on node include: [Chef::Provider::Service::Init, Chef::Provider::Service::Redhat, Chef::Provider::Service::Upstart]\r\n[2015-03-26T01:23:55+00:00] DEBUG: providers that refused resource service[jboss] were: [Chef::Provider::Service::Upstart]\r\n[2015-03-26T01:23:55+00:00] DEBUG: providers that support resource service[jboss] include: [Chef::Provider::Service::Init, Chef::Provider::Service::Redhat]\r\n[2015-03-26T01:23:55+00:00] DEBUG: providers that survived replacement include: [Chef::Provider::Service::Redhat]\r\n[2015-03-26T01:23:55+00:00] DEBUG: service[jboss] supports status, running\r\nUsage: /etc/init.d/jboss {start|stop|restart}\r\njboss          \t0:off\t1:off\t2:on\t3:on\t4:on\t5:on\t6:off\r\n[2015-03-26T01:23:55+00:00] DEBUG: service[jboss] already enabled - nothing to do\r\n (up to date)\r\n  * service[jboss] action start[2015-03-26T01:23:55+00:00] INFO: Processing service[jboss] action start (jboss7::install line 86)\r\n[2015-03-26T01:23:55+00:00] DEBUG: providers for generic service resource enabled on node include: [Chef::Provider::Service::Init, Chef::Provider::Service::Redhat, Chef::Provider::Service::Upstart]\r\n[2015-03-26T01:23:55+00:00] DEBUG: providers that refused resource service[jboss] were: [Chef::Provider::Service::Upstart]\r\n[2015-03-26T01:23:55+00:00] DEBUG: providers that support resource service[jboss] include: [Chef::Provider::Service::Init, Chef::Provider::Service::Redhat]\r\n[2015-03-26T01:23:55+00:00] DEBUG: providers that survived replacement include: [Chef::Provider::Service::Redhat]\r\n[2015-03-26T01:23:55+00:00] DEBUG: service[jboss] supports status, running\r\nUsage: /etc/init.d/jboss {start|stop|restart}\r\njboss          \t0:off\t1:off\t2:on\t3:on\t4:on\t5:on\t6:off\r\nStarting JBoss AS 8.2.0\r\n[2015-03-26T01:23:55+00:00] INFO: service[jboss] started\r\n\r\n    - start service service[jboss]\r\n```\r\n\r\nAnd then; no jBoss:\r\n```\r\n[ec2-user@ip-172-21-1-28 ~]$ curl localhost:8080/status.txt\r\ncurl: (7) Failed to connect to localhost port 8080: Connection refused\r\n```"},"comment":{"url":"https://api.github.com/repos/SaschaMoellering/jboss7/issues/comments/86290688","html_url":"https://github.com/SaschaMoellering/jboss7/issues/2#issuecomment-86290688","issue_url":"https://api.github.com/repos/SaschaMoellering/jboss7/issues/2","id":86290688,"user":{"login":"lantrix","id":117008,"avatar_url":"https://avatars.githubusercontent.com/u/117008?v=3","gravatar_id":"","url":"https://api.github.com/users/lantrix","html_url":"https://github.com/lantrix","followers_url":"https://api.github.com/users/lantrix/followers","following_url":"https://api.github.com/users/lantrix/following{/other_user}","gists_url":"https://api.github.com/users/lantrix/gists{/gist_id}","starred_url":"https://api.github.com/users/lantrix/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lantrix/subscriptions","organizations_url":"https://api.github.com/users/lantrix/orgs","repos_url":"https://api.github.com/users/lantrix/repos","events_url":"https://api.github.com/users/lantrix/events{/privacy}","received_events_url":"https://api.github.com/users/lantrix/received_events","type":"User","site_admin":false},"created_at":"2015-03-26T01:46:53Z","updated_at":"2015-03-26T01:46:53Z","body":"This branch/commit fixes it, but it's a command workaround and may not be a viable option for all platforms chef can run on.\r\n\r\nhttps://github.com/lantrix/jboss7/commit/ce5b4ed6a08d0dd88e47a2f82449f0e10cbb305d"}}