i also encountered this same problem during an installation. i found out that 
the config.xml file was a malformed XML document. you might want to check there.

  ----- Original Message ----- 
  From: rdancy 
  To: solr-user@lucene.apache.org 
  Sent: Thursday, March 29, 2012 1:20 AM
  Subject: Solr Tomcat Install


  Hello, I have configured Solr inside Tomcat and I get the following error
  when I go to browser and click on the solr admin link:

  HTTP Status 500 - Severe errors in solr configuration. Check your log files
  for more detailed information on what may be wrong. If you want solr to
  continue after configuration errors, change:
  <abortOnConfigurationError>false</abortOnConfigurationError> in solr.xml
  -------------------------------------------------------------
  java.lang.NoClassDefFoundError: org/apache/velocity/context/Context at
  java.lang.Class.forName0(Native Method) at
  java.lang.Class.forName(Class.java:247) at
  org.apache.solr.core.SolrResourceLoader.findClass(SolrResourceLoader.java:383)
  at org.apache.solr.core.SolrCore.createInstance(SolrCore.java:425) at
  org.apache.solr.core.SolrCore.createInitInstance(SolrCore.java:447) at
  org.apache.solr.core.SolrCore.initPlugins(SolrCore.java:1556) at
  org.apache.solr.core.SolrCore.initPlugins(SolrCore.java:1550) at
  org.apache.solr.core.SolrCore.initPlugins(SolrCore.java:1583) at
  org.apache.solr.core.SolrCore.initWriters(SolrCore.java:1466) at
  org.apache.solr.core.SolrCore.<init>(SolrCore.java:556) at
  org.apache.solr.core.CoreContainer.create(CoreContainer.java:463) at
  org.apache.solr.core.CoreContainer.load(CoreContainer.java:316) at
  org.apache.solr.core.CoreContainer.load(CoreContainer.java:207) at
  
org.apache.solr.core.CoreContainer$Initializer.initialize(CoreContainer.java:130)
  at
  org.apache.solr.servlet.SolrDispatchFilter.init(SolrDispatchFilter.java:94)
  at
  
org.apache.catalina.core.ApplicationFilterConfig.getFilter(ApplicationFilterConfig.java:275)
  at
  
org.apache.catalina.core.ApplicationFilterConfig.setFilterDef(ApplicationFilterConfig.java:397)
  at
  
org.apache.catalina.core.ApplicationFilterConfig.<init>(ApplicationFilterConfig.java:108)
  at
  
org.apache.catalina.core.StandardContext.filterStart(StandardContext.java:3696)
  at org.apache.catalina.core.StandardContext.start(StandardContext.java:4343)
  at
  
org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:791)
  at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:771)
  at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:525) at
  org.apache.catalina.startup.HostConfig.deployDescriptor(HostConfig.java:626)
  at
  org.apache.catalina.startup.HostConfig.deployDescriptors(HostConfig.java:553)
  at org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:488) at
  org.apache.catalina.startup.HostConfig.start(HostConfig.java:1138) at
  org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:311)
  at
  
org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:117)
  at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1053) at
  org.apache.catalina.core.StandardHost.start(StandardHost.java:719) at
  org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1045) at
  org.apache.catalina.core.StandardEngine.start(StandardEngine.java:443) at
  org.apache.catalina.core.StandardService.start(StandardService.java:516) at
  org.apache.catalina.core.StandardServer.start(StandardServer.java:710) at
  org.apache.catalina.startup.Catalina.start(Catalina.java:566) at
  sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at
  sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
  at
  
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
  at java.lang.reflect.Method.invoke(Method.java:597) at
  org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:288) at
  org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:413) Caused by:
  java.lang.ClassNotFoundException: org.apache.velocity.context.Context at
  java.net.URLClassLoader$1.run(URLClassLoader.java:202) at
  java.security.AccessController.doPrivileged(Native Method) at
  java.net.URLClassLoader.findClass(URLClassLoader.java:190) at
  java.lang.ClassLoader.loadClass(ClassLoader.java:307) at
  java.net.FactoryURLClassLoader.loadClass(URLClassLoader.java:627) at
  java.lang.ClassLoader.loadClass(ClassLoader.java:248) ... 42 more

  type Status report

  message Severe errors in solr configuration. Check your log files for more
  detailed information on what may be wrong. If you want solr to continue
  after configuration errors, change:
  <abortOnConfigurationError>false</abortOnConfigurationError> in solr.xml
  -------------------------------------------------------------
  java.lang.NoClassDefFoundError: org/apache/velocity/context/Context at
  java.lang.Class.forName0(Native Method) at
  java.lang.Class.forName(Class.java:247) at
  org.apache.solr.core.SolrResourceLoader.findClass(SolrResourceLoader.java:383)
  at org.apache.solr.core.SolrCore.createInstance(SolrCore.java:425) at
  org.apache.solr.core.SolrCore.createInitInstance(SolrCore.java:447) at
  org.apache.solr.core.SolrCore.initPlugins(SolrCore.java:1556) at
  org.apache.solr.core.SolrCore.initPlugins(SolrCore.java:1550) at
  org.apache.solr.core.SolrCore.initPlugins(SolrCore.java:1583) at
  org.apache.solr.core.SolrCore.initWriters(SolrCore.java:1466) at
  org.apache.solr.core.SolrCore.<init>(SolrCore.java:556) at
  org.apache.solr.core.CoreContainer.create(CoreContainer.java:463) at
  org.apache.solr.core.CoreContainer.load(CoreContainer.java:316) at
  org.apache.solr.core.CoreContainer.load(CoreContainer.java:207) at
  
org.apache.solr.core.CoreContainer$Initializer.initialize(CoreContainer.java:130)
  at
  org.apache.solr.servlet.SolrDispatchFilter.init(SolrDispatchFilter.java:94)
  at
  
org.apache.catalina.core.ApplicationFilterConfig.getFilter(ApplicationFilterConfig.java:275)
  at
  
org.apache.catalina.core.ApplicationFilterConfig.setFilterDef(ApplicationFilterConfig.java:397)
  at
  
org.apache.catalina.core.ApplicationFilterConfig.<init>(ApplicationFilterConfig.java:108)
  at
  
org.apache.catalina.core.StandardContext.filterStart(StandardContext.java:3696)
  at org.apache.catalina.core.StandardContext.start(StandardContext.java:4343)
  at
  
org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:791)
  at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:771)
  at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:525) at
  org.apache.catalina.startup.HostConfig.deployDescriptor(HostConfig.java:626)
  at
  org.apache.catalina.startup.HostConfig.deployDescriptors(HostConfig.java:553)
  at org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:488) at
  org.apache.catalina.startup.HostConfig.start(HostConfig.java:1138) at
  org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:311)
  at
  
org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:117)
  at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1053) at
  org.apache.catalina.core.StandardHost.start(StandardHost.java:719) at
  org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1045) at
  org.apache.catalina.core.StandardEngine.start(StandardEngine.java:443) at
  org.apache.catalina.core.StandardService.start(StandardService.java:516) at
  org.apache.catalina.core.StandardServer.start(StandardServer.java:710) at
  org.apache.catalina.startup.Catalina.start(Catalina.java:566) at
  sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at
  sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
  at
  
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
  at java.lang.reflect.Method.invoke(Method.java:597) at
  org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:288) at
  org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:413) Caused by:
  java.lang.ClassNotFoundException: org.apache.velocity.context.Context at
  java.net.URLClassLoader$1.run(URLClassLoader.java:202) at
  java.security.AccessController.doPrivileged(Native Method) at
  java.net.URLClassLoader.findClass(URLClassLoader.java:190) at
  java.lang.ClassLoader.loadClass(ClassLoader.java:307) at
  java.net.FactoryURLClassLoader.loadClass(URLClassLoader.java:627) at
  java.lang.ClassLoader.loadClass(ClassLoader.java:248) ... 42 more

  description The server encountered an internal error (Severe errors in solr
  configuration. Check your log files for more detailed information on what
  may be wrong. If you want solr to continue after configuration errors,
  change: <abortOnConfigurationError>false</abortOnConfigurationError> in
  solr.xml -------------------------------------------------------------
  java.lang.NoClassDefFoundError: org/apache/velocity/context/Context at
  java.lang.Class.forName0(Native Method) at
  java.lang.Class.forName(Class.java:247) at
  org.apache.solr.core.SolrResourceLoader.findClass(SolrResourceLoader.java:383)
  at org.apache.solr.core.SolrCore.createInstance(SolrCore.java:425) at
  org.apache.solr.core.SolrCore.createInitInstance(SolrCore.java:447) at
  org.apache.solr.core.SolrCore.initPlugins(SolrCore.java:1556) at
  org.apache.solr.core.SolrCore.initPlugins(SolrCore.java:1550) at
  org.apache.solr.core.SolrCore.initPlugins(SolrCore.java:1583) at
  org.apache.solr.core.SolrCore.initWriters(SolrCore.java:1466) at
  org.apache.solr.core.SolrCore.<init>(SolrCore.java:556) at
  org.apache.solr.core.CoreContainer.create(CoreContainer.java:463) at
  org.apache.solr.core.CoreContainer.load(CoreContainer.java:316) at
  org.apache.solr.core.CoreContainer.load(CoreContainer.java:207) at
  
org.apache.solr.core.CoreContainer$Initializer.initialize(CoreContainer.java:130)
  at
  org.apache.solr.servlet.SolrDispatchFilter.init(SolrDispatchFilter.java:94)
  at
  
org.apache.catalina.core.ApplicationFilterConfig.getFilter(ApplicationFilterConfig.java:275)
  at
  
org.apache.catalina.core.ApplicationFilterConfig.setFilterDef(ApplicationFilterConfig.java:397)
  at
  
org.apache.catalina.core.ApplicationFilterConfig.<init>(ApplicationFilterConfig.java:108)
  at
  
org.apache.catalina.core.StandardContext.filterStart(StandardContext.java:3696)
  at org.apache.catalina.core.StandardContext.start(StandardContext.java:4343)
  at
  
org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:791)
  at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:771)
  at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:525) at
  org.apache.catalina.startup.HostConfig.deployDescriptor(HostConfig.java:626)
  at
  org.apache.catalina.startup.HostConfig.deployDescriptors(HostConfig.java:553)
  at org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:488) at
  org.apache.catalina.startup.HostConfig.start(HostConfig.java:1138) at
  org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:311)
  at
  
org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:117)
  at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1053) at
  org.apache.catalina.core.StandardHost.start(StandardHost.java:719) at
  org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1045) at
  org.apache.catalina.core.StandardEngine.start(StandardEngine.java:443) at
  org.apache.catalina.core.StandardService.start(StandardService.java:516) at
  org.apache.catalina.core.StandardServer.start(StandardServer.java:710) at
  org.apache.catalina.startup.Catalina.start(Catalina.java:566) at
  sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at
  sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
  at
  
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
  at java.lang.reflect.Method.invoke(Method.java:597) at
  org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:288) at
  org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:413) Caused by:
  java.lang.ClassNotFoundException: org.apache.velocity.context.Context at
  java.net.URLClassLoader$1.run(URLClassLoader.java:202) at
  java.security.AccessController.doPrivileged(Native Method) at
  java.net.URLClassLoader.findClass(URLClassLoader.java:190) at
  java.lang.ClassLoader.loadClass(ClassLoader.java:307) at
  java.net.FactoryURLClassLoader.loadClass(URLClassLoader.java:627) at
  java.lang.ClassLoader.loadClass(ClassLoader.java:248) ... 42 more ) that
  prevented it from fulfilling this request.
  Apache Tomcat/6.0.14

  Any ideas?

  --
  View this message in context: 
http://lucene.472066.n3.nabble.com/Solr-Tomcat-Install-tp3865290p3865290.html
  Sent from the Solr - User mailing list archive at Nabble.com.

Reply via email to