lucene-solr-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jack Krupansky" <j...@basetechnology.com>
Subject Re: Start up errors
Date Tue, 04 Sep 2012 12:38:47 GMT
As the exception suggests, you have an XML syntax error. Look for "{1}" and 
"source" and correct the error. Compare your schema.xml to the Solr example 
schema.xml to see how it is different.

-- Jack Krupansky

-----Original Message----- 
From: Tolga
Sent: Tuesday, September 04, 2012 6:22 AM
To: solr-user@lucene.apache.org
Subject: Start up errors

Hi,

When I started Solr, I got the following errors. The same are at
http://www.example.com:8983/solr

SEVERE: Exception during parsing file:
schema:org.xml.sax.SAXParseException: Open quote is expected for
attribute "{1}" associated with an  element type  "source".
     at
com.sun.org.apache.xerces.internal.util.ErrorHandlerWrapper.createSAXParseException(ErrorHandlerWrapper.java:195)
     at
com.sun.org.apache.xerces.internal.util.ErrorHandlerWrapper.fatalError(ErrorHandlerWrapper.java:174)
     at
com.sun.org.apache.xerces.internal.impl.XMLErrorReporter.reportError(XMLErrorReporter.java:388)
     at
com.sun.org.apache.xerces.internal.impl.XMLScanner.reportFatalError(XMLScanner.java:1414)
     at
com.sun.org.apache.xerces.internal.impl.XMLScanner.scanAttributeValue(XMLScanner.java:807)
     at
com.sun.org.apache.xerces.internal.impl.XMLNSDocumentScannerImpl.scanAttribute(XMLNSDocumentScannerImpl.java:460)
     at
com.sun.org.apache.xerces.internal.impl.XMLNSDocumentScannerImpl.scanStartElement(XMLNSDocumentScannerImpl.java:277)
     at
com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl$FragmentContentDriver.next(XMLDocumentFragmentScannerImpl.java:2756)
     at
com.sun.org.apache.xerces.internal.impl.XMLDocumentScannerImpl.next(XMLDocumentScannerImpl.java:647)
     at
com.sun.org.apache.xerces.internal.impl.XMLNSDocumentScannerImpl.next(XMLNSDocumentScannerImpl.java:140)
     at
com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl.scanDocument(XMLDocumentFragmentScannerImpl.java:511)
     at
com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(XML11Configuration.java:808)
     at
com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(XML11Configuration.java:737)
     at
com.sun.org.apache.xerces.internal.parsers.XMLParser.parse(XMLParser.java:119)
     at
com.sun.org.apache.xerces.internal.parsers.DOMParser.parse(DOMParser.java:232)
     at
com.sun.org.apache.xerces.internal.jaxp.DocumentBuilderImpl.parse(DocumentBuilderImpl.java:284)
     at org.apache.solr.core.Config.<init>(Config.java:159)
     at org.apache.solr.schema.IndexSchema.readSchema(IndexSchema.java:418)
     at org.apache.solr.schema.IndexSchema.<init>(IndexSchema.java:123)
     at org.apache.solr.core.CoreContainer.create(CoreContainer.java:478)
     at org.apache.solr.core.CoreContainer.load(CoreContainer.java:332)
     at org.apache.solr.core.CoreContainer.load(CoreContainer.java:216)
     at
org.apache.solr.core.CoreContainer$Initializer.initialize(CoreContainer.java:161)
     at
org.apache.solr.servlet.SolrDispatchFilter.init(SolrDispatchFilter.java:96)
     at org.mortbay.jetty.servlet.FilterHolder.doStart(FilterHolder.java:97)
     at
org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:50)
     at
org.mortbay.jetty.servlet.ServletHandler.initialize(ServletHandler.java:713)
     at org.mortbay.jetty.servlet.Context.startContext(Context.java:140)
     at
org.mortbay.jetty.webapp.WebAppContext.startContext(WebAppContext.java:1282)
     at
org.mortbay.jetty.handler.ContextHandler.doStart(ContextHandler.java:518)
     at
org.mortbay.jetty.webapp.WebAppContext.doStart(WebAppContext.java:499)
     at
org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:50)
     at
org.mortbay.jetty.handler.HandlerCollection.doStart(HandlerCollection.java:152)
     at
org.mortbay.jetty.handler.ContextHandlerCollection.doStart(ContextHandlerCollection.java:156)
     at
org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:50)
     at
org.mortbay.jetty.handler.HandlerCollection.doStart(HandlerCollection.java:152)
     at
org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:50)
     at
org.mortbay.jetty.handler.HandlerWrapper.doStart(HandlerWrapper.java:130)
     at org.mortbay.jetty.Server.doStart(Server.java:224)
     at
org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:50)
     at org.mortbay.xml.XmlConfiguration.main(XmlConfiguration.java:985)
     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.mortbay.start.Main.invokeMain(Main.java:194)
     at org.mortbay.start.Main.start(Main.java:534)
     at org.mortbay.start.Main.start(Main.java:441)
     at org.mortbay.start.Main.main(Main.java:119)

4/09/2012 1:14:29 PM org.apache.solr.common.SolrException log
SEVERE: org.apache.solr.common.SolrException: Schema Parsing Failed:
Open quote is expected for attribute "{1}" associated with an element
type  "source".
     at org.apache.solr.schema.IndexSchema.readSchema(IndexSchema.java:688)
     at org.apache.solr.schema.IndexSchema.<init>(IndexSchema.java:123)
     at org.apache.solr.core.CoreContainer.create(CoreContainer.java:478)
     at org.apache.solr.core.CoreContainer.load(CoreContainer.java:332)
     at org.apache.solr.core.CoreContainer.load(CoreContainer.java:216)
     at
org.apache.solr.core.CoreContainer$Initializer.initialize(CoreContainer.java:161)
     at
org.apache.solr.servlet.SolrDispatchFilter.init(SolrDispatchFilter.java:96)
     at org.mortbay.jetty.servlet.FilterHolder.doStart(FilterHolder.java:97)
     at
org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:50)
     at
org.mortbay.jetty.servlet.ServletHandler.initialize(ServletHandler.java:713)
     at org.mortbay.jetty.servlet.Context.startContext(Context.java:140)
     at
org.mortbay.jetty.webapp.WebAppContext.startContext(WebAppContext.java:1282)
     at
org.mortbay.jetty.handler.ContextHandler.doStart(ContextHandler.java:518)
     at
org.mortbay.jetty.webapp.WebAppContext.doStart(WebAppContext.java:499)
     at
org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:50)
     at
org.mortbay.jetty.handler.HandlerCollection.doStart(HandlerCollection.java:152)
     at
org.mortbay.jetty.handler.ContextHandlerCollection.doStart(ContextHandlerCollection.java:156)
     at
org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:50)
     at
org.mortbay.jetty.handler.HandlerCollection.doStart(HandlerCollection.java:152)
     at
org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:50)
     at
org.mortbay.jetty.handler.HandlerWrapper.doStart(HandlerWrapper.java:130)
     at org.mortbay.jetty.Server.doStart(Server.java:224)
     at
org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:50)
     at org.mortbay.xml.XmlConfiguration.main(XmlConfiguration.java:985)
     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.mortbay.start.Main.invokeMain(Main.java:194)
     at org.mortbay.start.Main.start(Main.java:534)
     at org.mortbay.start.Main.start(Main.java:441)
     at org.mortbay.start.Main.main(Main.java:119)
Caused by: org.xml.sax.SAXParseException: Open quote is expected for
attribute "{1}" associated with an  element type  "source".
     at
com.sun.org.apache.xerces.internal.util.ErrorHandlerWrapper.createSAXParseException(ErrorHandlerWrapper.java:195)
     at
com.sun.org.apache.xerces.internal.util.ErrorHandlerWrapper.fatalError(ErrorHandlerWrapper.java:174)
     at
com.sun.org.apache.xerces.internal.impl.XMLErrorReporter.reportError(XMLErrorReporter.java:388)
     at
com.sun.org.apache.xerces.internal.impl.XMLScanner.reportFatalError(XMLScanner.java:1414)
     at
com.sun.org.apache.xerces.internal.impl.XMLScanner.scanAttributeValue(XMLScanner.java:807)
     at
com.sun.org.apache.xerces.internal.impl.XMLNSDocumentScannerImpl.scanAttribute(XMLNSDocumentScannerImpl.java:460)
     at
com.sun.org.apache.xerces.internal.impl.XMLNSDocumentScannerImpl.scanStartElement(XMLNSDocumentScannerImpl.java:277)
     at
com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl$FragmentContentDriver.next(XMLDocumentFragmentScannerImpl.java:2756)
     at
com.sun.org.apache.xerces.internal.impl.XMLDocumentScannerImpl.next(XMLDocumentScannerImpl.java:647)
     at
com.sun.org.apache.xerces.internal.impl.XMLNSDocumentScannerImpl.next(XMLNSDocumentScannerImpl.java:140)
     at
com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl.scanDocument(XMLDocumentFragmentScannerImpl.java:511)
     at
com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(XML11Configuration.java:808)
     at
com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(XML11Configuration.java:737)
     at
com.sun.org.apache.xerces.internal.parsers.XMLParser.parse(XMLParser.java:119)
     at
com.sun.org.apache.xerces.internal.parsers.DOMParser.parse(DOMParser.java:232)
     at
com.sun.org.apache.xerces.internal.jaxp.DocumentBuilderImpl.parse(DocumentBuilderImpl.java:284)
     at org.apache.solr.core.Config.<init>(Config.java:159)
     at org.apache.solr.schema.IndexSchema.readSchema(IndexSchema.java:418)
     ... 31 more

I understand it's got something related to the schema file, but what is it?

Regards, 


Mime
View raw message