ambari-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Hudson (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (AMBARI-14230) Ranger admin component stops with exception in log
Date Sat, 05 Dec 2015 17:48:11 GMT

    [ https://issues.apache.org/jira/browse/AMBARI-14230?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15043404#comment-15043404
] 

Hudson commented on AMBARI-14230:
---------------------------------

FAILURE: Integrated in Ambari-trunk-Commit #3976 (See [https://builds.apache.org/job/Ambari-trunk-Commit/3976/])
AMBARI-14230. Ranger admin component stops with exception in log (aonishuk: [http://git-wip-us.apache.org/repos/asf?p=ambari.git&a=commit&h=96088ab7aa3347602bba73af35827010eadaf20c])
* ambari-common/src/main/python/resource_management/libraries/functions/conf_select.py


> Ranger admin component stops with exception in log
> --------------------------------------------------
>
>                 Key: AMBARI-14230
>                 URL: https://issues.apache.org/jira/browse/AMBARI-14230
>             Project: Ambari
>          Issue Type: Bug
>            Reporter: Andrew Onischuk
>            Assignee: Andrew Onischuk
>             Fix For: 2.2.0
>
>
> In some moment ranger-admin component become stopped by itself. This bug
> reproduces every time. In file /var/log/ranger/admin/catalina.out found
> exception.
>     
>     
>     Nov 30, 2015 5:50:20 PM org.apache.catalina.core.ContainerBase.[Tomcat].[os-r6-hirdwu-ambari-rare-9-re-5.novalocal].[/]
listenerStart
>     SEVERE: Exception sending context initialized event to listener instance of class
org.springframework.web.context.ContextLoaderListener
>     org.springframework.beans.factory.BeanDefinitionStoreException: IOException parsing
XML document from ServletContext resource [/WEB-INF/classes/conf/security-applicationContext.xml];
nested exception is java.io.FileNotFoundException: Could not open ServletContext resource
[/WEB-INF/classes/conf/security-applicationContext.xml]
>     	at org.springframework.beans.factory.xml.XmlBeanDefinitionReader.loadBeanDefinitions(XmlBeanDefinitionReader.java:341)
>     	at org.springframework.beans.factory.xml.XmlBeanDefinitionReader.loadBeanDefinitions(XmlBeanDefinitionReader.java:302)
>     	at org.springframework.beans.factory.support.AbstractBeanDefinitionReader.loadBeanDefinitions(AbstractBeanDefinitionReader.java:174)
>     	at org.springframework.beans.factory.support.AbstractBeanDefinitionReader.loadBeanDefinitions(AbstractBeanDefinitionReader.java:209)
>     	at org.springframework.beans.factory.support.AbstractBeanDefinitionReader.loadBeanDefinitions(AbstractBeanDefinitionReader.java:180)
>     	at org.springframework.web.context.support.XmlWebApplicationContext.loadBeanDefinitions(XmlWebApplicationContext.java:125)
>     	at org.springframework.web.context.support.XmlWebApplicationContext.loadBeanDefinitions(XmlWebApplicationContext.java:94)
>     	at org.springframework.context.support.AbstractRefreshableApplicationContext.refreshBeanFactory(AbstractRefreshableApplicationContext.java:131)
>     	at org.springframework.context.support.AbstractApplicationContext.obtainFreshBeanFactory(AbstractApplicationContext.java:530)
>     	at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:444)
>     	at org.springframework.web.context.ContextLoader.configureAndRefreshWebApplicationContext(ContextLoader.java:383)
>     	at org.springframework.web.context.ContextLoader.initWebApplicationContext(ContextLoader.java:283)
>     	at org.springframework.web.context.ContextLoaderListener.contextInitialized(ContextLoaderListener.java:111)
>     	at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:4992)
>     	at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5490)
>     	at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150)
>     	at org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1575)
>     	at org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1565)
>     	at java.util.concurrent.FutureTask.run(FutureTask.java:266)
>     	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
>     	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
>     	at java.lang.Thread.run(Thread.java:745)
>     Caused by: java.io.FileNotFoundException: Could not open ServletContext resource
[/WEB-INF/classes/conf/security-applicationContext.xml]
>     	at org.springframework.web.context.support.ServletContextResource.getInputStream(ServletContextResource.java:140)
>     	at org.springframework.beans.factory.xml.XmlBeanDefinitionReader.loadBeanDefinitions(XmlBeanDefinitionReader.java:328)
>     	... 21 more
>     
>     Nov 30, 2015 5:50:20 PM org.apache.catalina.core.StandardContext startInternal
>     SEVERE: Error listenerStart
>     Nov 30, 2015 5:50:20 PM org.apache.catalina.core.StandardContext startInternal
>     SEVERE: Context [/] startup failed due to previous errors
>     Nov 30, 2015 5:50:20 PM org.apache.catalina.core.ContainerBase.[Tomcat].[os-r6-hirdwu-ambari-rare-9-re-5.novalocal].[/]
log
>     INFO: Closing Spring root WebApplicationContext
>     Nov 30, 2015 5:50:20 PM org.apache.catalina.core.ContainerBase.[Tomcat].[os-r6-hirdwu-ambari-rare-9-re-5.novalocal].[/]
listenerStop
>     SEVERE: Exception sending context destroyed event to listener instance of class org.springframework.web.context.ContextLoaderListener
>     java.lang.IllegalStateException: BeanFactory not initialized or already closed -
call 'refresh' before accessing beans via the ApplicationContext
>     	at org.springframework.context.support.AbstractRefreshableApplicationContext.getBeanFactory(AbstractRefreshableApplicationContext.java:172)
>     	at org.springframework.context.support.AbstractApplicationContext.destroyBeans(AbstractApplicationContext.java:1078)
>     	at org.springframework.context.support.AbstractApplicationContext.doClose(AbstractApplicationContext.java:1052)
>     	at org.springframework.context.support.AbstractApplicationContext.close(AbstractApplicationContext.java:1000)
>     	at org.springframework.web.context.ContextLoader.closeWebApplicationContext(ContextLoader.java:548)
>     	at org.springframework.web.context.ContextLoaderListener.contextDestroyed(ContextLoaderListener.java:142)
>     	at org.apache.catalina.core.StandardContext.listenerStop(StandardContext.java:5033)
>     	at org.apache.catalina.core.StandardContext.stopInternal(StandardContext.java:5685)
>     	at org.apache.catalina.util.LifecycleBase.stop(LifecycleBase.java:232)
>     	at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:160)
>     	at org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1575)
>     	at org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1565)
>     	at java.util.concurrent.FutureTask.run(FutureTask.java:266)
>     	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
>     	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
>     	at java.lang.Thread.run(Thread.java:745)
>     
> Cluster with reproduce: 172.22.80.219. (updating lifetime to 48h)



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message