Dear Hilton Gibson,

Thanks for your reply...

http://wiki.lib.sun.ac.za/index.php/SUNScholar/SOLR_Discovery/3.2

Into Step 3 : nano
/home/dspace/source/dspace/config/spring/api/discovery.xml

Suppose I want to change directly on
[dspace-installation-directory]/config/spring/api/discovery.xml   (I have
not change into dspace-source directory)

Can I able to do without rebuild dspace ?

and then I try to update-discovery-index -b then it's show me the error
----------------------------------------------------------------------
[dspace@localhost dspace]$ vim update-discovery-index-log.txt
[dspace@localhost dspace]$ /dspace/bin/dspace update-discovery-index -b
Failed to startup the DSpace Service Manager: failure starting up spring
service manager: Line 320 in XML document from file
[/dspace/config/spring/api/discovery.xml] is invalid; nested exception is
org.xml.sax.SAXParseException; lineNumber: 320; columnNumber: 38;
cvc-complex-type.2.4.a: Invalid content was found starting with element
'property'. One of '{"http://www.springframework.org/schema/beans":description,
"http://www.springframework.org/schema/beans":meta, "
http://www.springframework.org/schema/beans":bean, "
http://www.springframework.org/schema/beans":ref, "
http://www.springframework.org/schema/beans":idref, "
http://www.springframework.org/schema/beans":value, "
http://www.springframework.org/schema/beans":null, "
http://www.springframework.org/schema/beans":array, "
http://www.springframework.org/schema/beans":list, "
http://www.springframework.org/schema/beans":set, "
http://www.springframework.org/schema/beans":map, "
http://www.springframework.org/schema/beans":props, WC[##other:"
http://www.springframework.org/schema/beans"]}' is expected.
Failure during filter init: Failed to startup the DSpace Service Manager:
failure starting up spring service manager: Line 320 in XML document from
file [/dspace/config/spring/api/discovery.xml] is invalid; nested exception
is org.xml.sax.SAXParseException; lineNumber: 320; columnNumber: 38;
cvc-complex-type.2.4.a: Invalid content was found starting with element
'property'. One of '{"http://www.springframework.org/schema/beans":description,
"http://www.springframework.org/schema/beans":meta, "
http://www.springframework.org/schema/beans":bean, "
http://www.springframework.org/schema/beans":ref, "
http://www.springframework.org/schema/beans":idref, "
http://www.springframework.org/schema/beans":value, "
http://www.springframework.org/schema/beans":null, "
http://www.springframework.org/schema/beans":array, "
http://www.springframework.org/schema/beans":list, "
http://www.springframework.org/schema/beans":set, "
http://www.springframework.org/schema/beans":map, "
http://www.springframework.org/schema/beans":props, WC[##other:"
http://www.springframework.org/schema/beans"]}' is
expected.:java.lang.RuntimeException: Failed to startup the DSpace Service
Manager: failure starting up spring service manager: Line 320 in XML
document from file [/dspace/config/spring/api/discovery.xml] is invalid;
nested exception is org.xml.sax.SAXParseException; lineNumber: 320;
columnNumber: 38; cvc-complex-type.2.4.a: Invalid content was found
starting with element 'property'. One of '{"
http://www.springframework.org/schema/beans":description, "
http://www.springframework.org/schema/beans":meta, "
http://www.springframework.org/schema/beans":bean, "
http://www.springframework.org/schema/beans":ref, "
http://www.springframework.org/schema/beans":idref, "
http://www.springframework.org/schema/beans":value, "
http://www.springframework.org/schema/beans":null, "
http://www.springframework.org/schema/beans":array, "
http://www.springframework.org/schema/beans":list, "
http://www.springframework.org/schema/beans":set, "
http://www.springframework.org/schema/beans":map, "
http://www.springframework.org/schema/beans":props, WC[##other:"
http://www.springframework.org/schema/beans"]}' is expected.
Exception in thread "main" java.lang.IllegalStateException: Failure during
filter init: Failed to startup the DSpace Service Manager: failure starting
up spring service manager: Line 320 in XML document from file
[/dspace/config/spring/api/discovery.xml] is invalid; nested exception is
org.xml.sax.SAXParseException; lineNumber: 320; columnNumber: 38;
cvc-complex-type.2.4.a: Invalid content was found starting with element
'property'. One of '{"http://www.springframework.org/schema/beans":description,
"http://www.springframework.org/schema/beans":meta, "
http://www.springframework.org/schema/beans":bean, "
http://www.springframework.org/schema/beans":ref, "
http://www.springframework.org/schema/beans":idref, "
http://www.springframework.org/schema/beans":value, "
http://www.springframework.org/schema/beans":null, "
http://www.springframework.org/schema/beans":array, "
http://www.springframework.org/schema/beans":list, "
http://www.springframework.org/schema/beans":set, "
http://www.springframework.org/schema/beans":map, "
http://www.springframework.org/schema/beans":props, WC[##other:"
http://www.springframework.org/schema/beans"]}' is expected.
    at org.dspace.app.launcher.ScriptLauncher.main(ScriptLauncher.java:72)
Caused by: java.lang.RuntimeException: Failed to startup the DSpace Service
Manager: failure starting up spring service manager: Line 320 in XML
document from file [/dspace/config/spring/api/discovery.xml] is invalid;
nested exception is org.xml.sax.SAXParseException; lineNumber: 320;
columnNumber: 38; cvc-complex-type.2.4.a: Invalid content was found
starting with element 'property'. One of '{"
http://www.springframework.org/schema/beans":description, "
http://www.springframework.org/schema/beans":meta, "
http://www.springframework.org/schema/beans":bean, "
http://www.springframework.org/schema/beans":ref, "
http://www.springframework.org/schema/beans":idref, "
http://www.springframework.org/schema/beans":value, "
http://www.springframework.org/schema/beans":null, "
http://www.springframework.org/schema/beans":array, "
http://www.springframework.org/schema/beans":list, "
http://www.springframework.org/schema/beans":set, "
http://www.springframework.org/schema/beans":map, "
http://www.springframework.org/schema/beans":props, WC[##other:"
http://www.springframework.org/schema/beans"]}' is expected.
    at
org.dspace.servicemanager.DSpaceServiceManager.startup(DSpaceServiceManager.java:224)
    at
org.dspace.servicemanager.DSpaceKernelImpl.start(DSpaceKernelImpl.java:150)
    at org.dspace.app.launcher.ScriptLauncher.main(ScriptLauncher.java:57)
Caused by: java.lang.IllegalStateException: failure starting up spring
service manager: Line 320 in XML document from file
[/dspace/config/spring/api/discovery.xml] is invalid; nested exception is
org.xml.sax.SAXParseException; lineNumber: 320; columnNumber: 38;
cvc-complex-type.2.4.a: Invalid content was found starting with element
'property'. One of '{"http://www.springframework.org/schema/beans":description,
"http://www.springframework.org/schema/beans":meta, "
http://www.springframework.org/schema/beans":bean, "
http://www.springframework.org/schema/beans":ref, "
http://www.springframework.org/schema/beans":idref, "
http://www.springframework.org/schema/beans":value, "
http://www.springframework.org/schema/beans":null, "
http://www.springframework.org/schema/beans":array, "
http://www.springframework.org/schema/beans":list, "
http://www.springframework.org/schema/beans":set, "
http://www.springframework.org/schema/beans":map, "
http://www.springframework.org/schema/beans":props, WC[##other:"
http://www.springframework.org/schema/beans"]}' is expected.
    at
org.dspace.servicemanager.DSpaceServiceManager.startup(DSpaceServiceManager.java:208)
    ... 2 more
Caused by:
org.springframework.beans.factory.xml.XmlBeanDefinitionStoreException: Line
320 in XML document from file [/dspace/config/spring/api/discovery.xml] is
invalid; nested exception is org.xml.sax.SAXParseException; lineNumber:
320; columnNumber: 38; cvc-complex-type.2.4.a: Invalid content was found
starting with element 'property'. One of '{"
http://www.springframework.org/schema/beans":description, "
http://www.springframework.org/schema/beans":meta, "
http://www.springframework.org/schema/beans":bean, "
http://www.springframework.org/schema/beans":ref, "
http://www.springframework.org/schema/beans":idref, "
http://www.springframework.org/schema/beans":value, "
http://www.springframework.org/schema/beans":null, "
http://www.springframework.org/schema/beans":array, "
http://www.springframework.org/schema/beans":list, "
http://www.springframework.org/schema/beans":set, "
http://www.springframework.org/schema/beans":map, "
http://www.springframework.org/schema/beans":props, WC[##other:"
http://www.springframework.org/schema/beans"]}' is expected.
    at
org.springframework.beans.factory.xml.XmlBeanDefinitionReader.doLoadBeanDefinitions(XmlBeanDefinitionReader.java:396)
    at
org.springframework.beans.factory.xml.XmlBeanDefinitionReader.loadBeanDefinitions(XmlBeanDefinitionReader.java:334)
    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.beans.factory.support.AbstractBeanDefinitionReader.loadBeanDefinitions(AbstractBeanDefinitionReader.java:243)
    at
org.springframework.context.support.AbstractXmlApplicationContext.loadBeanDefinitions(AbstractXmlApplicationContext.java:127)
    at
org.springframework.context.support.AbstractXmlApplicationContext.loadBeanDefinitions(AbstractXmlApplicationContext.java:93)
    at
org.springframework.context.support.AbstractRefreshableApplicationContext.refreshBeanFactory(AbstractRefreshableApplicationContext.java:131)
    at
org.springframework.context.support.AbstractApplicationContext.obtainFreshBeanFactory(AbstractApplicationContext.java:522)
    at
org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:436)
    at
org.dspace.servicemanager.spring.SpringServiceManager.startup(SpringServiceManager.java:207)
    at
org.dspace.servicemanager.DSpaceServiceManager.startup(DSpaceServiceManager.java:205)
    ... 2 more
Caused by: org.xml.sax.SAXParseException; lineNumber: 320; columnNumber:
38; cvc-complex-type.2.4.a: Invalid content was found starting with element
'property'. One of '{"http://www.springframework.org/schema/beans":description,
"http://www.springframework.org/schema/beans":meta, "
http://www.springframework.org/schema/beans":bean, "
http://www.springframework.org/schema/beans":ref, "
http://www.springframework.org/schema/beans":idref, "
http://www.springframework.org/schema/beans":value, "
http://www.springframework.org/schema/beans":null, "
http://www.springframework.org/schema/beans":array, "
http://www.springframework.org/schema/beans":list, "
http://www.springframework.org/schema/beans":set, "
http://www.springframework.org/schema/beans":map, "
http://www.springframework.org/schema/beans":props, WC[##other:"
http://www.springframework.org/schema/beans"]}' is expected.
    at
org.apache.xerces.util.ErrorHandlerWrapper.createSAXParseException(Unknown
Source)
    at org.apache.xerces.util.ErrorHandlerWrapper.error(Unknown Source)
    at org.apache.xerces.impl.XMLErrorReporter.reportError(Unknown Source)
    at org.apache.xerces.impl.XMLErrorReporter.reportError(Unknown Source)
    at
org.apache.xerces.impl.xs.XMLSchemaValidator$XSIErrorReporter.reportError(Unknown
Source)
    at
org.apache.xerces.impl.xs.XMLSchemaValidator.reportSchemaError(Unknown
Source)
    at
org.apache.xerces.impl.xs.XMLSchemaValidator.handleStartElement(Unknown
Source)
    at org.apache.xerces.impl.xs.XMLSchemaValidator.startElement(Unknown
Source)
    at
org.apache.xerces.impl.XMLNSDocumentScannerImpl.scanStartElement(Unknown
Source)
    at
org.apache.xerces.impl.XMLDocumentFragmentScannerImpl$FragmentContentDispatcher.dispatch(Unknown
Source)
    at
org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(Unknown
Source)
    at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)
    at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)
    at org.apache.xerces.parsers.XMLParser.parse(Unknown Source)
    at org.apache.xerces.parsers.DOMParser.parse(Unknown Source)
    at org.apache.xerces.jaxp.DocumentBuilderImpl.parse(Unknown Source)
    at
org.springframework.beans.factory.xml.DefaultDocumentLoader.loadDocument(DefaultDocumentLoader.java:75)
    at
org.springframework.beans.factory.xml.XmlBeanDefinitionReader.doLoadBeanDefinitions(XmlBeanDefinitionReader.java:388)
    ... 15 more
--------------------
what may be the issue..?

Thanks & Regards,
*Bhavesh R. Patel *

   - www.bhaveshpatel.info
   - www.onlinequizportal.com
   - www.hindisuvichar.com

"Never leave till tomorrow which you can do today"
*Please consider the environment before printing this e-mail.*


On Tue, Apr 1, 2014 at 2:21 PM, Hilton Gibson <hilton.gib...@gmail.com>wrote:

> Perhaps try these for a start.
>
> http://wiki.lib.sun.ac.za/index.php/SUNScholar/Browse_Indexes/3.2
>  http://wiki.lib.sun.ac.za/index.php/SUNScholar/SOLR_Discovery/3.2
>
> Cheers
>
>  hg
>
> *Hilton Gibson*
> Ubuntu Linux Systems Administrator
> JS Gericke Library
> Room 1025D
> Stellenbosch University
> Private Bag X5036
> Stellenbosch
> 7599
> South Africa
>
> Tel: +27 21 808 4100 | Cell: +27 84 646 4758
> http://scholar.sun.ac.za
> http://bit.ly/goodir
> http://library.sun.ac.za
> http://za.linkedin.com/in/hiltongibson
>
>
> On 1 April 2014 10:38, Bhavesh Patel <bhavesh.bece...@gmail.com> wrote:
>
>> Dear all,
>>
>> We are using DSpace4.1 and we want to integrate other sidebarFacets
>>
>> Currently, It using Default setting shows Author, Subject & Date issue.
>>
>> Suppose I want to add one more then How I can add ? where I have to make
>> change..? (we want for both JSPUI & XMLUI)
>>
>>
>> Thanks & Regards,
>> *Bhavesh R. Patel *
>>
>>    - www.bhaveshpatel.info
>>    - www.onlinequizportal.com
>>    - www.hindisuvichar.com
>>
>> "Never leave till tomorrow which you can do today"
>> *Please consider the environment before printing this e-mail.*
>>
>>
>> ------------------------------------------------------------------------------
>>
>> _______________________________________________
>> DSpace-tech mailing list
>> DSpace-tech@lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/dspace-tech
>> List Etiquette:
>> https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette
>>
>
>
------------------------------------------------------------------------------
_______________________________________________
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech
List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette

Reply via email to