Thanks, I've added it to JIRA as a task. http://jira.dspace.org/jira/browse/DS-556 <http://jira.dspace.org/jira/browse/DS-556>Mark
On Fri, Apr 23, 2010 at 5:27 AM, Tonny Hjelmberg Laursen <thl....@cbs.dk>wrote: > > I have now tried to move the file to solr/WEB-INF/lib directory and that > also seems to work. If you want me to debug more, just say so. > > Tonny > > > > Den 23-04-2010 00:02, Mark Diggory skrev: > > Apparently this is a larger issue in the Solr Community and Tomcat/JVM >> instances not sharing the JVN Xalan instance properly for some reason. >> http://wiki.apache.org/solr/SolrTomcat >> >> I'll assume we need to start to package Xalan with Solr to try to >> alleviate this. Can you verify if you place Xalan in your >> solr/WEB-INF/lib directory, that the application starts properly? >> >> Mark >> >> On Thu, Apr 22, 2010 at 4:43 AM, Tonny Hjelmberg Laursen<thl....@cbs.dk> >> wrote: >> >> >>> Mark, >>> >>> Im using Sun JDK, but I have tested with multiple different versions, so >>> there might be a a mismach in my directories. The version im running >>> Tomcat >>> with now is: Java(TM) SE Runtime Environment (build 1.6.0_20-b02) 64bit. >>> >>> Tonny >>> >>> Den 22-04-2010 01:11, Mark Diggory skrev: >>> >>> >>>> Tonny, >>>> >>>> Solr doesn't add the jar because most jvm's these days have a sun >>>> branded version of Xalan, are you using GCJ or something other than >>>> OpenJDK/Sun? >>>> >>>> Mark >>>> >>>> On Wed, Apr 21, 2010 at 5:33 AM, Tonny Hjelmberg Laursen<thl....@cbs.dk >>>> > >>>> wrote: >>>> >>>> >>>> >>>>> It was a problem with xalan.jar, it did not exist in the Tomcat CLASS >>>>> PATH. I added/copied the file and now is SOLR working. >>>>> >>>>> #cp [dspace]/lib/xalan-2.7.0.jar /usr/share/tomcat5/shared/lib >>>>> >>>>> >>>>> >>>>> -- >>>>> Venlig hilsen | Kind Regards >>>>> >>>>> Tonny Hjelmberg Laursen >>>>> Systemadministrator >>>>> >>>>> CBS Library IT >>>>> Copenhagen Business School >>>>> Solbjerg Plads 3 (D2.30), DK-2000 Frederiksberg >>>>> Tel.: (+45) 3815 3697 | Mob.: (+45) 2427 3242 | thl....@cbs.dk >>>>> >>>>> >>>>> >>>>> >>>>> Den 21-04-2010 13:14, Tonny Hjelmberg Laursen skrev: >>>>> >>>>> >>>>> >>>>>> Im having a problem with SOLR when I start tomcat5. In my catalina.out >>>>>> I >>>>>> receive the error below. It's on a upraded installation from 1.5.2 to >>>>>> 1.6. Everything else seems to work in Dspace. It's running on a Redhat >>>>>> ES 5.4, Java 1.5.0_22, Tomcat 5-5.5.23. >>>>>> >>>>>> My DSpace install location is /www/dspace >>>>>> >>>>>> Any ideas? >>>>>> >>>>>> Thanks, >>>>>> Tonny >>>>>> >>>>>> >>>>>> INFO: Loading provided config file: /www/dspace/config/dspace.cfg >>>>>> INFO: Using dspace provided log configuration (log.init.config) >>>>>> INFO: Loading: /www/dspace/config/log4j.properties >>>>>> - Loading provided config file: /www/dspace/config/dspace.cfg >>>>>> - Using dspace provided log configuration (log.init.config) >>>>>> - Loading: /www/dspace/config/log4j.properties >>>>>> Apr 21, 2010 11:51:35 AM org.apache.solr.servlet.SolrDispatchFilter >>>>>> init >>>>>> INFO: SolrDispatchFilter.init() >>>>>> Apr 21, 2010 11:51:35 AM org.apache.solr.core.SolrResourceLoader >>>>>> locateInstanceDir >>>>>> INFO: Using JNDI solr.home: /www/dspace/solr >>>>>> Apr 21, 2010 11:51:35 AM >>>>>> org.apache.solr.core.CoreContainer$Initializer >>>>>> initialize >>>>>> INFO: looking for solr.xml: /www/dspace/solr/solr.xml >>>>>> Apr 21, 2010 11:51:35 AM org.apache.solr.core.SolrResourceLoader<init> >>>>>> INFO: Solr home set to '/www/dspace/solr/' >>>>>> Apr 21, 2010 11:51:35 AM org.apache.solr.core.SolrResourceLoader >>>>>> createClassLoader >>>>>> INFO: Reusing parent classloader >>>>>> Apr 21, 2010 11:51:35 AM org.apache.solr.servlet.SolrDispatchFilter >>>>>> init >>>>>> SEVERE: Could not start SOLR. Check solr/home property >>>>>> java.lang.ExceptionInInitializerError >>>>>> at >>>>>> org.apache.solr.core.CoreContainer.load(CoreContainer.java:169) >>>>>> at >>>>>> >>>>>> >>>>>> org.apache.solr.core.CoreContainer$Initializer.initialize(CoreContainer.java:104) >>>>>> at >>>>>> >>>>>> >>>>>> org.apache.solr.servlet.SolrDispatchFilter.init(SolrDispatchFilter.java:69) >>>>>> at >>>>>> >>>>>> >>>>>> org.apache.catalina.core.ApplicationFilterConfig.getFilter(ApplicationFilterConfig.java:221) >>>>>> at >>>>>> >>>>>> >>>>>> org.apache.catalina.core.ApplicationFilterConfig.setFilterDef(ApplicationFilterConfig.java:302) >>>>>> at >>>>>> >>>>>> >>>>>> org.apache.catalina.core.ApplicationFilterConfig.<init>(ApplicationFilterConfig.java:78) >>>>>> at >>>>>> >>>>>> >>>>>> org.apache.catalina.core.StandardContext.filterStart(StandardContext.java:3635) >>>>>> at >>>>>> >>>>>> >>>>>> org.apache.catalina.core.StandardContext.start(StandardContext.java:4218) >>>>>> at >>>>>> org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1014) >>>>>> at >>>>>> org.apache.catalina.core.StandardHost.start(StandardHost.java:736) >>>>>> at >>>>>> org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1014) >>>>>> at >>>>>> org.apache.catalina.core.StandardEngine.start(StandardEngine.java:443) >>>>>> at >>>>>> >>>>>> org.apache.catalina.core.StandardService.start(StandardService.java:448) >>>>>> at >>>>>> org.apache.catalina.core.StandardServer.start(StandardServer.java:700) >>>>>> at >>>>>> org.apache.catalina.startup.Catalina.start(Catalina.java:552) >>>>>> 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:592) >>>>>> at >>>>>> org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:295) >>>>>> at >>>>>> org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:433) >>>>>> Caused by: java.lang.RuntimeException: XPathFactory#newInstance() >>>>>> failed >>>>>> to create an XPathFactory for the default object model: >>>>>> http://java.sun.com/jaxp/xpath/dom with the >>>>>> XPathFactoryConfigurationException: >>>>>> javax.xml.xpath.XPathFactoryConfigurationException: No XPathFctory >>>>>> implementation found for the object model: >>>>>> http://java.sun.com/jaxp/xpath/dom >>>>>> at javax.xml.xpath.XPathFactory.newInstance(Unknown Source) >>>>>> at org.apache.solr.core.Config.<clinit>(Config.java:41) >>>>>> ... 21 more >>>>>> Apr 21, 2010 11:51:35 AM org.apache.catalina.core.StandardContext >>>>>> filterStart >>>>>> SEVERE: Exception starting filter SolrRequestFilter >>>>>> java.lang.NoClassDefFoundError: org.apache.solr.core.Config >>>>>> at >>>>>> >>>>>> >>>>>> org.apache.solr.servlet.SolrDispatchFilter.init(SolrDispatchFilter.java:76) >>>>>> at >>>>>> >>>>>> >>>>>> org.apache.catalina.core.ApplicationFilterConfig.getFilter(ApplicationFilterConfig.java:221) >>>>>> at >>>>>> >>>>>> >>>>>> org.apache.catalina.core.ApplicationFilterConfig.setFilterDef(ApplicationFilterConfig.java:302) >>>>>> at >>>>>> >>>>>> >>>>>> org.apache.catalina.core.ApplicationFilterConfig.<init>(ApplicationFilterConfig.java:78) >>>>>> at >>>>>> >>>>>> >>>>>> org.apache.catalina.core.StandardContext.filterStart(StandardContext.java:3635) >>>>>> at >>>>>> >>>>>> >>>>>> org.apache.catalina.core.StandardContext.start(StandardContext.java:4218) >>>>>> at >>>>>> org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1014) >>>>>> at >>>>>> org.apache.catalina.core.StandardHost.start(StandardHost.java:736) >>>>>> at >>>>>> org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1014) >>>>>> at >>>>>> org.apache.catalina.core.StandardEngine.start(StandardEngine.java:443) >>>>>> at >>>>>> >>>>>> org.apache.catalina.core.StandardService.start(StandardService.java:448) >>>>>> at >>>>>> org.apache.catalina.core.StandardServer.start(StandardServer.java:700) >>>>>> at >>>>>> org.apache.catalina.startup.Catalina.start(Catalina.java:552) >>>>>> 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:592) >>>>>> at >>>>>> org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:295) >>>>>> at >>>>>> org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:433) >>>>>> Apr 21, 2010 11:51:35 AM org.apache.catalina.core.StandardContext >>>>>> start >>>>>> SEVERE: Error filterStart >>>>>> Apr 21, 2010 11:51:35 AM org.apache.catalina.core.StandardContext >>>>>> start >>>>>> SEVERE: Context [/solr] startup failed due to previous errors >>>>>> log4j:WARN No appenders could be found for logger >>>>>> (org.apache.commons.digester.Digester.sax). >>>>>> log4j:WARN Please initialize the log4j system properly. >>>>>> INFO: Loading provided config file: /www/dspace/config/dspace.cfg >>>>>> >>>>>> >>>>>> >>>>>> >>>>>> >>>>> >>>>> >>>>> >>>>> >>>>> ------------------------------------------------------------------------------ >>>>> _______________________________________________ >>>>> DSpace-tech mailing list >>>>> DSpace-tech@lists.sourceforge.net >>>>> https://lists.sourceforge.net/lists/listinfo/dspace-tech >>>>> >>>>> >>>>> >>>>> >>>> >>>> >>>> >>>> >>> >>> -- >>> Venlig hilsen | Kind Regards >>> >>> Tonny Hjelmberg Laursen >>> Systemadministrator >>> >>> CBS Library IT >>> Copenhagen Business School >>> Solbjerg Plads 3 (D2.30), DK-2000 Frederiksberg >>> Tel.: (+45) 3815 3697 | Mob.: (+45) 2427 3242 | thl....@cbs.dk >>> >>> >>> >>> >>> >>> >>> >> >> >> >> > > > -- > Venlig hilsen | Kind Regards > > Tonny Hjelmberg Laursen > Systemadministrator > > CBS Library IT > Copenhagen Business School > Solbjerg Plads 3 (D2.30), DK-2000 Frederiksberg > Tel.: (+45) 3815 3697 | Mob.: (+45) 2427 3242 | thl....@cbs.dk > > > > > -- Mark R. Diggory Head of U.S. Operations - @mire http://www.atmire.com - Institutional Repository Solutions http://www.togather.eu - Before getting together, get t...@ther
------------------------------------------------------------------------------
_______________________________________________ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech