[ 
https://issues.apache.org/jira/browse/ATLAS-2755?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Mahesh Kakol updated ATLAS-2755:
--------------------------------
    Attachment: Solr5_error.rtf

> Atlas start up fail with error "Could not find implementation class: solr5'
> ---------------------------------------------------------------------------
>
>                 Key: ATLAS-2755
>                 URL: https://issues.apache.org/jira/browse/ATLAS-2755
>             Project: Atlas
>          Issue Type: Bug
>          Components:  atlas-core, atlas-webui
>            Reporter: Mahesh Kakol
>            Priority: Major
>         Attachments: Solr5_error.rtf
>
>
> Atlas startup failing with below error
>  
> 2018-06-12 12:59:29,469 WARN - [main:] ~ Using @Deprecated Class 
> org.springframework.web.util.Log4jConfigListener (DeprecationWarning:43)
> 2018-06-12 12:59:33,155 WARN - [main:] ~ Exception encountered during context 
> initialization - cancelling refresh attempt: 
> org.springframework.beans.factory.BeanCreationExceptio
> n: Error creating bean with name 
> 'org.springframework.context.event.internalEventListenerProcessor': 
> BeanPostProcessor before instantiation of bean failed; nested exception is or
> g.springframework.beans.factory.UnsatisfiedDependencyException: Error 
> creating bean with name 'graphTransactionAdvisor' defined in URL 
> [jar:file:/data/apache-atlas/apache-atlas-s
> ources-1.0.0/distro/target/apache-atlas-1.0.0-bin/apache-atlas-1.0.0/server/webapp/atlas/WEB-INF/lib/atlas-repository-1.0.0.jar!/org/apache/atlas/GraphTransactionAdvisor.class]:
> Unsatisfied dependency expressed through constructor parameter 0; nested 
> exception is 
> org.springframework.beans.factory.UnsatisfiedDependencyException: Error 
> creating bean with n
> ame 'graphTransactionInterceptor' defined in URL 
> [jar:file:/data/apache-atlas/apache-atlas-sources-1.0.0/distro/target/apache-atlas-1.0.0-bin/apache-atlas-1.0.0/server/webapp/atl
> as/WEB-INF/lib/atlas-repository-1.0.0.jar!/org/apache/atlas/GraphTransactionInterceptor.class]:
>  Unsatisfied dependency expressed through constructor parameter 0; nested 
> exception
>  is org.springframework.beans.factory.BeanCreationException: Error creating 
> bean with name 'get' defined in 
> org.apache.atlas.repository.graph.AtlasGraphProvider: Bean instantiati
> on via factory method failed; nested exception is 
> org.springframework.beans.BeanInstantiationException: Failed to instantiate 
> [org.apache.atlas.repository.graphdb.AtlasGraph]: Fa
> ctory method 'get' threw exception; nested exception is 
> java.lang.IllegalArgumentException: Could not find implementation class: 
> solr5 (AbstractApplicationContext:551)
> 2018-06-12 12:59:33,157 ERROR - [main:] ~ Context initialization failed 
> (ContextLoader:350)
> org.springframework.beans.factory.BeanCreationException: Error creating bean 
> with name 'org.springframework.context.event.internalEventListenerProcessor': 
> BeanPostProcessor befor
> e instantiation of bean failed; nested exception is 
> org.springframework.beans.factory.UnsatisfiedDependencyException: Error 
> creating bean with name 'graphTransactionAdvisor' defi
> ned in URL 
> [jar:file:/data/apache-atlas/apache-atlas-sources-1.0.0/distro/target/apache-atlas-1.0.0-bin/apache-atlas-1.0.0/server/webapp/atlas/WEB-INF/lib/atlas-repository-1.0.0.
> jar!/org/apache/atlas/GraphTransactionAdvisor.class]: Unsatisfied dependency 
> expressed through constructor parameter 0; nested exception is 
> org.springframework.beans.factory.Unsa
> tisfiedDependencyException: Error creating bean with name 
> 'graphTransactionInterceptor' defined in URL 
> [jar:file:/data/apache-atlas/apache-atlas-sources-1.0.0/distro/target/apach
> e-atlas-1.0.0-bin/apache-atlas-1.0.0/server/webapp/atlas/WEB-INF/lib/atlas-repository-1.0.0.jar!/org/apache/atlas/GraphTransactionInterceptor.class]:
>  Unsatisfied dependency expre
> ssed through constructor parameter 0; nested exception is 
> org.springframework.beans.factory.BeanCreationException: Error creating bean 
> with name 'get' defined in org.apache.atlas
> .repository.graph.AtlasGraphProvider: Bean instantiation via factory method 
> failed; nested exception is 
> org.springframework.beans.BeanInstantiationException: Failed to instantiat
> e [org.apache.atlas.repository.graphdb.AtlasGraph]: Factory method 'get' 
> threw exception; nested exception is java.lang.IllegalArgumentException: 
> Could not find implementation cl
> ass: solr5
>  at 
> org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:479)
>  at 
> org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:312)
>  at 
> org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:230)
>  at 
> org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:308)
>  at 
> org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:197)
>  at 
> org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:761)
>  at 
> org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:867)
>  at 
> org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:543)
>  at 
> org.springframework.web.context.ContextLoader.configureAndRefreshWebApplicationContext(ContextLoader.java:443)
>  at 
> org.springframework.web.context.ContextLoader.initWebApplicationContext(ContextLoader.java:325)
>  at 
> org.springframework.web.context.ContextLoaderListener.contextInitialized(ContextLoaderListener.java:107)
>  at 
> org.apache.atlas.web.setup.KerberosAwareListener.contextInitialized(KerberosAwareListener.java:31)
>  at 
> org.eclipse.jetty.server.handler.ContextHandler.callContextInitialized(ContextHandler.java:843)
>  at 
> org.eclipse.jetty.servlet.ServletContextHandler.callContextInitialized(ServletContextHandler.java:533)
>  at 
> org.eclipse.jetty.server.handler.ContextHandler.startContext(ContextHandler.java:816)
>  at 
> org.eclipse.jetty.servlet.ServletContextHandler.startContext(ServletContextHandler.java:345)
>  at 
> org.eclipse.jetty.webapp.WebAppContext.startWebapp(WebAppContext.java:1404)
>  at 
> org.eclipse.jetty.webapp.WebAppContext.startContext(WebAppContext.java:1366)
>  at 
> org.eclipse.jetty.server.handler.ContextHandler.doStart(ContextHandler.java:778)
>  at 
> org.eclipse.jetty.servlet.ServletContextHandler.doStart(ServletContextHandler.java:262)
>  at org.eclipse.jetty.webapp.WebAppContext.doStart(WebAppContext.java:520)
>  at 
> org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:68)
>  at 
> org.eclipse.jetty.util.component.ContainerLifeCycle.start(ContainerLifeCycle.java:131)
>  at org.eclipse.jetty.server.Server.start(Server.java:422)
>  at 
> org.eclipse.jetty.util.component.ContainerLifeCycle.doStart(ContainerLifeCycle.java:105)
>  at 
> org.eclipse.jetty.server.handler.AbstractHandler.doStart(AbstractHandler.java:61)
>  at org.eclipse.jetty.server.Server.doStart(Server.java:389)
>  at 
> org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:68)
>  at org.apache.atlas.web.service.EmbeddedServer.start(EmbeddedServer.java:98)
>  at org.apache.atlas.Atlas.main(Atlas.java:133)
> Caused by: org.springframework.beans.factory.UnsatisfiedDependencyException: 
> Error creating bean with name 'graphTransactionAdvisor' defined in URL 
> [jar:file:/data/apache-atlas/a
> pache-atlas-sources-1.0.0/distro/target/apache-atlas-1.0.0-bin/apache-atlas-1.0.0/server/webapp/atlas/WEB-INF/lib/atlas-repository-1.0.0.jar!/org/apache/atlas/GraphTransactionAdv
> isor.class]: Unsatisfied dependency expressed through constructor parameter 
> 0; nested exception is 
> org.springframework.beans.factory.UnsatisfiedDependencyException: Error 
> creatin
> g bean with name 'graphTransactionInterceptor' defined in URL 
> [jar:file:/data/apache-atlas/apache-atlas-sources-1.0.0/distro/target/apache-atlas-1.0.0-bin/apache-atlas-1.0.0/serv
> er/webapp/atlas/WEB-INF/lib/atlas-repository-1.0.0.jar!/org/apache/atlas/GraphTransactionInterceptor.class]:
>  Unsatisfied dependency expressed through constructor parameter 0; nes
> ted exception is org.springframework.beans.factory.BeanCreationException: 
> Error creating bean with name 'get' defined in 
> org.apache.atlas.repository.graph.AtlasGraphProvider: Bea
> n instantiation via factory method failed; nested exception is 
> org.springframework.beans.BeanInstantiationException: Failed to instantiate 
> [org.apache.atlas.repository.graphdb.At
> lasGraph]: Factory method 'get' threw exception; nested exception is 
> java.lang.IllegalArgumentException: Could not find implementation class: solr5
>  at 
> org.springframework.beans.factory.support.ConstructorResolver.createArgumentArray(ConstructorResolver.java:749)
>  at 
> org.springframework.beans.factory.support.ConstructorResolver.autowireConstructor(ConstructorResolver.java:189)
>  at 
> org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.autowireConstructor(AbstractAutowireCapableBeanFactory.java:1201)
>  at 
> org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBeanInstance(AbstractAutowireCapableBeanFactory.java:1103)
>  at 
> org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:513)
>  at 
> org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:483)
>  at 
> org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:312)
>  at 
> org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:230)
>  at 
> org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:308)
>  at 
> org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:202)
>  at 
> org.springframework.aop.framework.autoproxy.BeanFactoryAdvisorRetrievalHelper.findAdvisorBeans(BeanFactoryAdvisorRetrievalHelper.java:92)
>  at 
> org.springframework.aop.framework.autoproxy.AbstractAdvisorAutoProxyCreator.findCandidateAdvisors(AbstractAdvisorAutoProxyCreator.java:102)
>  at 
> org.springframework.aop.aspectj.autoproxy.AspectJAwareAdvisorAutoProxyCreator.shouldSkip(AspectJAwareAdvisorAutoProxyCreator.java:103)
>  at 
> org.springframework.aop.framework.autoproxy.AbstractAutoProxyCreator.postProcessBeforeInstantiation(AbstractAutoProxyCreator.java:248)
>  at 
> org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.applyBeanPostProcessorsBeforeInstantiation(AbstractAutowireCapableBeanFactory.java:1045)
>  at 
> org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.resolveBeforeInstantiation(AbstractAutowireCapableBeanFactory.java:1019)
>  at 
> org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:473)
>  ... 29 more
> Caused by: org.springframework.beans.factory.UnsatisfiedDependencyException: 
> Error creating bean with name 'graphTransactionInterceptor' defined in URL 
> [jar:file:/data/apache-atl
> as/apache-atlas-sources-1.0.0/distro/target/apache-atlas-1.0.0-bin/apache-atlas-1.0.0/server/webapp/atlas/WEB-INF/lib/atlas-repository-1.0.0.jar!/org/apache/atlas/GraphTransactio
> nInterceptor.class]: Unsatisfied dependency expressed through constructor 
> parameter 0; nested exception is 
> org.springframework.beans.factory.BeanCreationException: Error creating
>  bean with name 'get' defined in 
> org.apache.atlas.repository.graph.AtlasGraphProvider: Bean instantiation via 
> factory method failed; nested exception is org.springframework.beans
> .BeanInstantiationException: Failed to instantiate 
> [org.apache.atlas.repository.graphdb.AtlasGraph]: Factory method 'get' threw 
> exception; nested exception is java.lang.IllegalAr
> gumentException: Could not find implementation class: solr5
>  at 
> org.springframework.beans.factory.support.ConstructorResolver.createArgumentArray(ConstructorResolver.java:749)
>  at 
> org.springframework.beans.factory.support.ConstructorResolver.autowireConstructor(ConstructorResolver.java:189)
>  at 
> org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.autowireConstructor(AbstractAutowireCapableBeanFactory.java:1201)
>  at 
> org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBeanInstance(AbstractAutowireCapableBeanFactory.java:1103)
>  at 
> org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:513)
>  at 
> org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:483)
>  at 
> org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:312)
>  at 
> org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:230)
>  at 
> org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:308)
>  at 
> org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:202)
>  at 
> org.springframework.beans.factory.config.DependencyDescriptor.resolveCandidate(DependencyDescriptor.java:208)
>  at 
> org.springframework.beans.factory.support.DefaultListableBeanFactory.doResolveDependency(DefaultListableBeanFactory.java:1138)
>  at 
> org.springframework.beans.factory.support.DefaultListableBeanFactory.resolveDependency(DefaultListableBeanFactory.java:1066)
>  at 
> org.springframework.beans.factory.support.ConstructorResolver.resolveAutowiredArgument(ConstructorResolver.java:835)
>  at 
> org.springframework.beans.factory.support.ConstructorResolver.createArgumentArray(ConstructorResolver.java:741)
>  ... 45 more
> Caused by: org.springframework.beans.factory.BeanCreationException: Error 
> creating bean with name 'get' defined in 
> org.apache.atlas.repository.graph.AtlasGraphProvider: Bean inst
> antiation via factory method failed; nested exception is 
> org.springframework.beans.BeanInstantiationException: Failed to instantiate 
> [org.apache.atlas.repository.graphdb.AtlasGra
> ph]: Factory method 'get' threw exception; nested exception is 
> java.lang.IllegalArgumentException: Could not find implementation class: solr5
>  at 
> org.springframework.beans.factory.support.ConstructorResolver.instantiateUsingFactoryMethod(ConstructorResolver.java:599)
>  at 
> org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.instantiateUsingFactoryMethod(AbstractAutowireCapableBeanFactory.java:1181)
>  at 
> org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBeanInstance(AbstractAutowireCapableBeanFactory.java:1075)
>  at 
> org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:513)
>  at 
> org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:483)
>  at 
> org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:312)
>  at 
> org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:230)
>  at 
> org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:308)
>  at 
> org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:202)
>  at 
> org.springframework.beans.factory.config.DependencyDescriptor.resolveCandidate(DependencyDescriptor.java:208)
>  at 
> org.springframework.beans.factory.support.DefaultListableBeanFactory.doResolveDependency(DefaultListableBeanFactory.java:1138)
>  at 
> org.springframework.beans.factory.support.DefaultListableBeanFactory.resolveDependency(DefaultListableBeanFactory.java:1066)
>  at 
> org.springframework.beans.factory.support.ConstructorResolver.resolveAutowiredArgument(ConstructorResolver.java:835)
>  at 
> org.springframework.beans.factory.support.ConstructorResolver.createArgumentArray(ConstructorResolver.java:741)
>  ... 59 more
> Caused by: org.springframework.beans.BeanInstantiationException: Failed to 
> instantiate [org.apache.atlas.repository.graphdb.AtlasGraph]: Factory method 
> 'get' threw exception; nes
> ted exception is java.lang.IllegalArgumentException: Could not find 
> implementation class: solr5
>  at 
> org.springframework.beans.factory.support.SimpleInstantiationStrategy.instantiate(SimpleInstantiationStrategy.java:189)
>  at 
> org.springframework.beans.factory.support.ConstructorResolver.instantiateUsingFactoryMethod(ConstructorResolver.java:588)
>  ... 72 more
> Caused by: java.lang.IllegalArgumentException: Could not find implementation 
> class: solr5
>  at 
> org.janusgraph.util.system.ConfigurationUtil.instantiate(ConfigurationUtil.java:61)
>  at 
> org.janusgraph.diskstorage.Backend.getImplementationClass(Backend.java:477)
>  at org.janusgraph.diskstorage.Backend.getIndexes(Backend.java:464)
>  at org.janusgraph.diskstorage.Backend.<init>(Backend.java:149)
>  at 
> org.janusgraph.graphdb.configuration.GraphDatabaseConfiguration.getBackend(GraphDatabaseConfiguration.java:1897)
>  at 
> org.janusgraph.graphdb.database.StandardJanusGraph.<init>(StandardJanusGraph.java:136)
>  at org.janusgraph.core.JanusGraphFactory.open(JanusGraphFactory.java:164)
>  at org.janusgraph.core.JanusGraphFactory.open(JanusGraphFactory.java:133)
>  at org.janusgraph.core.JanusGraphFactory.open(JanusGraphFactory.java:113)
>  at 
> org.apache.atlas.repository.graphdb.janus.AtlasJanusGraphDatabase.getGraphInstance(AtlasJanusGraphDatabase.java:105)
>  at 
> org.apache.atlas.repository.graphdb.janus.AtlasJanusGraphDatabase.getGraph(AtlasJanusGraphDatabase.java:195)
>  at 
> org.apache.atlas.repository.graph.AtlasGraphProvider.getGraphInstance(AtlasGraphProvider.java:40)
>  at 
> org.apache.atlas.repository.graph.AtlasGraphProvider.get(AtlasGraphProvider.java:71)
>  at 
> org.apache.atlas.repository.graph.AtlasGraphProvider$$EnhancerBySpringCGLIB$$a76fa029.CGLIB$get$0(<generated>)
>  at 
> org.apache.atlas.repository.graph.AtlasGraphProvider$$EnhancerBySpringCGLIB$$a76fa029$$FastClassBySpringCGLIB$$3353d236.invoke(<generated>)
>  at 
> org.springframework.cglib.proxy.MethodProxy.invokeSuper(MethodProxy.java:228)
>  at 
> org.springframework.context.annotation.ConfigurationClassEnhancer$BeanMethodInterceptor.intercept(ConfigurationClassEnhancer.java:358)
>  at 
> org.apache.atlas.repository.graph.AtlasGraphProvider$$EnhancerBySpringCGLIB$$a76fa029.get(<generated>)
>  at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>  at 
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
>  at 
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
>  at java.lang.reflect.Method.invoke(Method.java:498)
>  at 
> org.springframework.beans.factory.support.SimpleInstantiationStrategy.instantiate(SimpleInstantiationStrategy.java:162)
>  ... 73 more
> Caused by: java.lang.ClassNotFoundException: solr5
>  at java.net.URLClassLoader.findClass(URLClassLoader.java:381)
>  at java.lang.ClassLoader.loadClass(ClassLoader.java:424)
>  at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:331)
>  at java.lang.ClassLoader.loadClass(ClassLoader.java:357)
>  at java.lang.Class.forName0(Native Method)
>  at java.lang.Class.forName(Class.java:264)
>  at 
> org.janusgraph.util.system.ConfigurationUtil.instantiate(ConfigurationUtil.java:56)
>  ... 95 more



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to