{"action":"created","issue":{"url":"https://api.github.com/repos/arquillian/continuous-enterprise-development/issues/110","labels_url":"https://api.github.com/repos/arquillian/continuous-enterprise-development/issues/110/labels{/name}","comments_url":"https://api.github.com/repos/arquillian/continuous-enterprise-development/issues/110/comments","events_url":"https://api.github.com/repos/arquillian/continuous-enterprise-development/issues/110/events","html_url":"https://github.com/arquillian/continuous-enterprise-development/issues/110","id":25466965,"number":110,"title":"Ch4. Wildfly start command should include TWITTER API env variables","user":{"login":"esteveavi","id":594522,"avatar_url":"https://avatars.githubusercontent.com/u/594522?v=3","gravatar_id":"","url":"https://api.github.com/users/esteveavi","html_url":"https://github.com/esteveavi","followers_url":"https://api.github.com/users/esteveavi/followers","following_url":"https://api.github.com/users/esteveavi/following{/other_user}","gists_url":"https://api.github.com/users/esteveavi/gists{/gist_id}","starred_url":"https://api.github.com/users/esteveavi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/esteveavi/subscriptions","organizations_url":"https://api.github.com/users/esteveavi/orgs","repos_url":"https://api.github.com/users/esteveavi/repos","events_url":"https://api.github.com/users/esteveavi/events{/privacy}","received_events_url":"https://api.github.com/users/esteveavi/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":{"login":"ALRubinger","id":199891,"avatar_url":"https://avatars.githubusercontent.com/u/199891?v=3","gravatar_id":"","url":"https://api.github.com/users/ALRubinger","html_url":"https://github.com/ALRubinger","followers_url":"https://api.github.com/users/ALRubinger/followers","following_url":"https://api.github.com/users/ALRubinger/following{/other_user}","gists_url":"https://api.github.com/users/ALRubinger/gists{/gist_id}","starred_url":"https://api.github.com/users/ALRubinger/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ALRubinger/subscriptions","organizations_url":"https://api.github.com/users/ALRubinger/orgs","repos_url":"https://api.github.com/users/ALRubinger/repos","events_url":"https://api.github.com/users/ALRubinger/events{/privacy}","received_events_url":"https://api.github.com/users/ALRubinger/received_events","type":"User","site_admin":false},"milestone":null,"comments":16,"created_at":"2014-01-12T18:17:26Z","updated_at":"2015-10-28T08:47:52Z","closed_at":null,"body":"Hi,\r\n\r\nIf app is deployed as Ch4 stands the application won't start due to Twitter API env variables are not set:\r\n\r\n\r\n17:38:58,006 ERROR [org.jboss.msc.service.fail] (ServerService Thread Pool -- 55) MSC000001: Failed to start service jboss.deployment.unit.\"geekseek-1.0.0-alpha-1-SNAPSHOT.war\".component.SettingsProducer.START: org.jboss.msc.service.StartException in service jboss.deployment.unit.\"geekseek-1.0.0-alpha-1-SNAPSHOT.war\".component.SettingsProducer.START: java.lang.IllegalStateException: JBAS011048: Failed to construct component instance\r\n\tat org.jboss.as.ee.component.ComponentStartService$1.run(ComponentStartService.java:57) [wildfly-ee-8.0.0.CR1.jar:8.0.0.CR1]\r\n\tat java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471) [rt.jar:1.7.0_21]\r\n\tat java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:334) [rt.jar:1.7.0_21]\r\n\tat java.util.concurrent.FutureTask.run(FutureTask.java:166) [rt.jar:1.7.0_21]\r\n\tat java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) [rt.jar:1.7.0_21]\r\n\tat java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) [rt.jar:1.7.0_21]\r\n\tat java.lang.Thread.run(Thread.java:722) [rt.jar:1.7.0_21]\r\n\tat org.jboss.threads.JBossThread.run(JBossThread.java:122)\r\nCaused by: java.lang.IllegalStateException: JBAS011048: Failed to construct component instance\r\n\tat org.jboss.as.ee.component.BasicComponent.constructComponentInstance(BasicComponent.java:162) [wildfly-ee-8.0.0.CR1.jar:8.0.0.CR1]\r\n\tat org.jboss.as.ee.component.BasicComponent.constructComponentInstance(BasicComponent.java:133) [wildfly-ee-8.0.0.CR1.jar:8.0.0.CR1]\r\n\tat org.jboss.as.ee.component.BasicComponent.createInstance(BasicComponent.java:89) [wildfly-ee-8.0.0.CR1.jar:8.0.0.CR1]\r\n\tat org.jboss.as.ejb3.component.singleton.SingletonComponent.getComponentInstance(SingletonComponent.java:123)\r\n\tat org.jboss.as.ejb3.component.singleton.SingletonComponent.start(SingletonComponent.java:138)\r\n\tat org.jboss.as.ee.component.ComponentStartService$1.run(ComponentStartService.java:54) [wildfly-ee-8.0.0.CR1.jar:8.0.0.CR1]\r\n\t... 7 more\r\nCaused by: javax.ejb.EJBException: java.lang.IllegalStateException: AUTH_API_KEY env variable must be set\r\n\tat org.jboss.as.ejb3.tx.CMTTxInterceptor.handleExceptionInOurTx(CMTTxInterceptor.java:190)\r\n\tat org.jboss.as.ejb3.tx.CMTTxInterceptor.invokeInOurTx(CMTTxInterceptor.java:275)\r\n\tat org.jboss.as.ejb3.tx.CMTTxInterceptor.requiresNew(CMTTxInterceptor.java:369)\r\n\tat org.jboss.as.ejb3.tx.LifecycleCMTTxInterceptor.processInvocation(LifecycleCMTTxInterceptor.java:66)\r\n\tat org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:309) [jboss-invocation-1.2.0.Beta4.jar:1.2.0.Beta4]\r\n\tat org.jboss.as.weld.injection.WeldInjectionContextInterceptor.processInvocation(WeldInjectionContextInterceptor.java:43)\r\n\tat org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:309) [jboss-invocation-1.2.0.Beta4.jar:1.2.0.Beta4]\r\n\tat org.jboss.as.ejb3.component.interceptors.CurrentInvocationContextInterceptor.processInvocation(CurrentInvocationContextInterceptor.java:41)\r\n\tat org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:309) [jboss-invocation-1.2.0.Beta4.jar:1.2.0.Beta4]\r\n\tat org.jboss.as.ee.concurrent.ConcurrentContextInterceptor.processInvocation(ConcurrentContextInterceptor.java:45) [wildfly-ee-8.0.0.CR1.jar:8.0.0.CR1]\r\n\tat org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:309) [jboss-invocation-1.2.0.Beta4.jar:1.2.0.Beta4]\r\n\tat org.jboss.invocation.ContextClassLoaderInterceptor.processInvocation(ContextClassLoaderInterceptor.java:64) [jboss-invocation-1.2.0.Beta4.jar:1.2.0.Beta4]\r\n\tat org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:309) [jboss-invocation-1.2.0.Beta4.jar:1.2.0.Beta4]\r\n\tat org.jboss.invocation.InterceptorContext.run(InterceptorContext.java:325) [jboss-invocation-1.2.0.Beta4.jar:1.2.0.Beta4]\r\n\tat org.jboss.invocation.PrivilegedWithCombinerInterceptor.processInvocation(PrivilegedWithCombinerInterceptor.java:80) [jboss-invocation-1.2.0.Beta4.jar:1.2.0.Beta4]\r\n\tat org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:309) [jboss-invocation-1.2.0.Beta4.jar:1.2.0.Beta4]\r\n\tat org.jboss.invocation.ChainedInterceptor.processInvocation(ChainedInterceptor.java:61) [jboss-invocation-1.2.0.Beta4.jar:1.2.0.Beta4]\r\n\tat org.jboss.as.ee.component.BasicComponent.constructComponentInstance(BasicComponent.java:160) [wildfly-ee-8.0.0.CR1.jar:8.0.0.CR1]\r\n\t... 12 more\r\nCaused by: java.lang.IllegalStateException: AUTH_API_KEY env variable must be set\r\n\tat org.cedj.geekseek.service.security.oauth.SettingsProducer.validateEnvironment(SettingsProducer.java:44)\r\n\tat sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) [rt.jar:1.7.0_21]\r\n\tat sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) [rt.jar:1.7.0_21]\r\n\tat sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) [rt.jar:1.7.0_21]\r\n\tat java.lang.reflect.Method.invoke(Method.java:601) [rt.jar:1.7.0_21]\r\n\tat org.jboss.as.ee.component.ManagedReferenceLifecycleMethodInterceptor.processInvocation(ManagedReferenceLifecycleMethodInterceptor.java:96) [wildfly-ee-8.0.0.CR1.jar:8.0.0.CR1]\r\n\tat org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:309) [jboss-invocation-1.2.0.Beta4.jar:1.2.0.Beta4]\r\n\tat org.jboss.invocation.WeavedInterceptor.processInvocation(WeavedInterceptor.java:53) [jboss-invocation-1.2.0.Beta4.jar:1.2.0.Beta4]\r\n\tat org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:309) [jboss-invocation-1.2.0.Beta4.jar:1.2.0.Beta4]\r\n\tat org.jboss.as.weld.ejb.Jsr299BindingsInterceptor.doLifecycleInterception(Jsr299BindingsInterceptor.java:114)\r\n\tat org.jboss.as.weld.ejb.Jsr299BindingsInterceptor.processInvocation(Jsr299BindingsInterceptor.java:103)\r\n\tat org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:309) [jboss-invocation-1.2.0.Beta4.jar:1.2.0.Beta4]\r\n\tat org.jboss.invocation.InterceptorContext$Invocation.proceed(InterceptorContext.java:406) [jboss-invocation-1.2.0.Beta4.jar:1.2.0.Beta4]\r\n\tat org.jboss.weld.ejb.AbstractEJBRequestScopeActivationInterceptor.aroundInvoke(AbstractEJBRequestScopeActivationInterceptor.java:55)\r\n\tat org.jboss.as.weld.ejb.EjbRequestScopeActivationInterceptor.processInvocation(EjbRequestScopeActivationInterceptor.java:84)\r\n\tat org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:309) [jboss-invocation-1.2.0.Beta4.jar:1.2.0.Beta4]\r\n\tat org.jboss.as.weld.injection.WeldInjectionInterceptor.processInvocation(WeldInjectionInterceptor.java:53)\r\n\tat org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:309) [jboss-invocation-1.2.0.Beta4.jar:1.2.0.Beta4]\r\n\tat org.jboss.as.ee.component.AroundConstructInterceptorFactory$1.processInvocation(AroundConstructInterceptorFactory.java:28) [wildfly-ee-8.0.0.CR1.jar:8.0.0.CR1]\r\n\tat org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:309) [jboss-invocation-1.2.0.Beta4.jar:1.2.0.Beta4]\r\n\tat org.jboss.as.weld.injection.WeldInterceptorInjectionInterceptor.processInvocation(WeldInterceptorInjectionInterceptor.java:56)\r\n\tat org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:309) [jboss-invocation-1.2.0.Beta4.jar:1.2.0.Beta4]\r\n\tat org.jboss.as.weld.ejb.Jsr299BindingsCreateInterceptor.processInvocation(Jsr299BindingsCreateInterceptor.java:94)\r\n\tat org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:309) [jboss-invocation-1.2.0.Beta4.jar:1.2.0.Beta4]\r\n\tat org.jboss.as.ee.component.NamespaceContextInterceptor.processInvocation(NamespaceContextInterceptor.java:50) [wildfly-ee-8.0.0.CR1.jar:8.0.0.CR1]\r\n\tat org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:309) [jboss-invocation-1.2.0.Beta4.jar:1.2.0.Beta4]\r\n\tat org.jboss.as.ejb3.tx.CMTTxInterceptor.invokeInOurTx(CMTTxInterceptor.java:273)\r\n\t... 28 more\r\n\r\n17:38:58,024 ERROR [org.jboss.as.controller.management-operation] (Controller Boot Thread) JBAS014613: Operation (\"deploy\") failed - address: ([(\"deployment\" => \"geekseek-1.0.0-alpha-1-SNAPSHOT.war\")]) - failure description: {\"JBAS014671: Failed services\" => {\"jboss.deployment.unit.\\\"geekseek-1.0.0-alpha-1-SNAPSHOT.war\\\".component.SettingsProducer.START\" => \"org.jboss.msc.service.StartException in service jboss.deployment.unit.\\\"geekseek-1.0.0-alpha-1-SNAPSHOT.war\\\".component.SettingsProducer.START: java.lang.IllegalStateException: JBAS011048: Failed to construct component instance\r\n    Caused by: java.lang.IllegalStateException: JBAS011048: Failed to construct component instance\r\n    Caused by: javax.ejb.EJBException: java.lang.IllegalStateException: AUTH_API_KEY env variable must be set\r\n    Caused by: java.lang.IllegalStateException: AUTH_API_KEY env variable must be set\"}}\r\n"},"comment":{"url":"https://api.github.com/repos/arquillian/continuous-enterprise-development/issues/comments/151768281","html_url":"https://github.com/arquillian/continuous-enterprise-development/issues/110#issuecomment-151768281","issue_url":"https://api.github.com/repos/arquillian/continuous-enterprise-development/issues/110","id":151768281,"user":{"login":"yuxh","id":1754573,"avatar_url":"https://avatars.githubusercontent.com/u/1754573?v=3","gravatar_id":"","url":"https://api.github.com/users/yuxh","html_url":"https://github.com/yuxh","followers_url":"https://api.github.com/users/yuxh/followers","following_url":"https://api.github.com/users/yuxh/following{/other_user}","gists_url":"https://api.github.com/users/yuxh/gists{/gist_id}","starred_url":"https://api.github.com/users/yuxh/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/yuxh/subscriptions","organizations_url":"https://api.github.com/users/yuxh/orgs","repos_url":"https://api.github.com/users/yuxh/repos","events_url":"https://api.github.com/users/yuxh/events{/privacy}","received_events_url":"https://api.github.com/users/yuxh/received_events","type":"User","site_admin":false},"created_at":"2015-10-28T08:47:52Z","updated_at":"2015-10-28T08:47:52Z","body":"so,is there any progress have been made?I meet this problem unfortunately."}}