You are viewing a plain text version of this content. The canonical link for it is here.
Posted to solr-user@lucene.apache.org by James liu <li...@gmail.com> on 2007/04/19 06:03:00 UTC

resin faile to start with solr.

It work well when i use tomcat with solr

now i wanna test resin,,,i use resin-3.1.0

now it show me

[03:47:34.047] WebApp[http://localhost:8080] starting
[03:47:34.691] WebApp[http://localhost:8080/resin-doc] starting
[03:47:34.927] WebApp[http://localhost:8080/solr1] starting
[03:47:35.051] SolrServlet.init()
[03:47:35.077] Solr home set to '/usr/solrapp/solr1/'
[03:47:35.077] user.dir=/tmp/resin-3.1.0/bin
[03:47:35.231] Loaded SolrConfig: solrconfig.xml
[03:47:35.522] adding requestHandler standard=solr.StandardRequestHandler
[03:47:35.621] adding requestHandler dismax=solr.DisMaxRequestHandler
[03:47:35.692] adding requestHandler partitioned=solr.DisMaxRequestHandler
[03:47:35.721] adding requestHandler instock=solr.DisMaxRequestHandler
[03:47:35.819] Opening new SolrCore at /usr/solrapp/solr1/,
dataDir=/usr/solrapp/solr1/data
[03:47:35.884] Reading Solr Schema
[03:47:35.916] Schema name=example
[03:47:35.929] org.apache.solr.core.SolrException: Schema Parsing Failed
[03:47:35.929]  at org.apache.solr.schema.IndexSchema.readConfig(
IndexSchema.java:441)
[03:47:35.929]  at org.apache.solr.schema.IndexSchema.<init>(
IndexSchema.java:69)
[03:47:35.929]  at org.apache.solr.core.SolrCore.<init>(SolrCore.java:191)



-- 
regards
jl

Re: resin faile to start with solr.

Posted by Ryan McKinley <ry...@gmail.com>.
Chris Hostetter wrote:
> : >>1. Which exact version of Resin? Still 3.0.23?
> 
> : >2. Just to confirm, you uncommented out the lines in web.xml
> : >>mentioned previously?
> 
> : Try uncommenting out the lines in the web.xml and see if that fixes
> : your problem.
> 
> Ken: I'm not very familiar withteh problem you are describing, would you
> mind adding a short section about it to the wiki? ..
> 
> http://wiki.apache.org/solr/SolrResin
> 
> 

If you are running the trunk version, resin should start fine w/o any 
changes.

solr1.1 had xml parsing issues (even for resin post 3.0.19)
https://issues.apache.org/jira/browse/SOLR-92

Otherwise, uncomment the "resin 3.0.19" message in web.xml:


   <!-- Uncomment if you are trying to use a Resin version before 3.0.19.
     Their XML implementation isn't entirely compatible with Xerces.
     Below are the implementations to use with Sun's JVM.
   <system-property javax.xml.xpath.XPathFactory=
              "com.sun.org.apache.xpath.internal.jaxp.XPathFactoryImpl"/>
   <system-property javax.xml.parsers.DocumentBuilderFactory=
 
"com.sun.org.apache.xerces.internal.jaxp.DocumentBuilderFactoryImpl"/>
   <system-property javax.xml.parsers.SAXParserFactory=
 
"com.sun.org.apache.xerces.internal.jaxp.SAXParserFactoryImpl"/>
    -->





Re: resin faile to start with solr.

Posted by Chris Hostetter <ho...@fucit.org>.
: >>1. Which exact version of Resin? Still 3.0.23?

: >2. Just to confirm, you uncommented out the lines in web.xml
: >>mentioned previously?

: Try uncommenting out the lines in the web.xml and see if that fixes
: your problem.

Ken: I'm not very familiar withteh problem you are describing, would you
mind adding a short section about it to the wiki? ..

http://wiki.apache.org/solr/SolrResin



-Hoss


Re: resin faile to start with solr.

Posted by Ken Krugler <kk...@transpac.com>.
>2007/4/29, Ken Krugler <kk...@transpac.com>:
>>
>>>now i test the newest solr (nothing modified)
>>>
>>>i failed to start solr with resin 3.0
>>
>>1. Which exact version of Resin? Still 3.0.23?
>
>
>3.0.23
>
>2. Just to confirm, you uncommented out the lines in web.xml
>>mentioned previously?
>
>
>just newest solr's web.xml. i  not modifie it.

Try uncommenting out the lines in the web.xml and see if that fixes 
your problem.

-- Ken


>>  >2007/4/28, James liu <li...@gmail.com>:
>>>>
>>>>yes, i tried and failed.
>>>>
>>>>afternoon i will redownload solr and test .
>>>>
>>>>2007/4/28, Bill Au <bi...@gmail.com>:
>>>>>
>>>>>   Have you tried using the schema.xml that is in example/solr/conf.  It
>>>>>   that
>>>>>   works then the problem is definitely in your schema.xml.
>>>>>
>>>>>   Bill
>>>>>
>>>>>   On 4/26/07, James liu < liuping.james@gmail.com> wrote:
>>>>>   >
>>>>>   > but it is ok when i use tomcat.
>>>>>   >
>>>>>   > 2007/4/26, Ken Krugler <kk...@transpac.com>:
>>>>>   > >
>>>>>   > > >3.0.23 yesterday i try and fail.
>>>>>   > > >
>>>>>   > > >which version u use,,,i just not use pro version.
>>>>>   > >
>>>>>   > > From the error below, either your schema.xml file is messed up,
>>or
>>>>>   it
>>>>>   > > might be that you still need to uncomment out the lines at the
>>>>>   > > beginning of the web.xml file.
>>>>>   > >
>>>>>   > > These are the ones that say "Uncomment if you are trying to use a
>>>>>   > > Resin version before 3.0.19"). Even though you're using a later
>>>>>   > > version of Resin, I've had lots of issues with their XML parsing.
>>>>>   > >
>>>>>   > > -- Ken
>>>>>   > >
>>>>>   > >
>>>>>   > >
>>>>>   > > >
>>>>>   > > >2007/4/26, Bill Au <bi...@gmail.com>:
>>>>>   > > >>
>>>>>   > > >>Have you tried resin 3.0.x?  3.1 is a development branch so it
>>is
>>>>>   less
>>>>>   > > >>stable as 3.0.
>>>>>   > > >>
>>>>>   > > >>Bill
>>>>>   > > >>
>>>>>   > > >>On 4/19/07, James liu <liuping.james@gmail.com > wrote:
>>>>>   > > >>>
>>>>>   > > >>>  It work well when i use tomcat with solr
>>>>>   > > >>>
>>>>>   > > >>>  now i wanna test resin,,,i use resin-3.1.0
>>>>>   > > >>>
>>>>>   > > >>>  now it show me
>>>>>   > > >>>
>>>>>   > > >>>  [03:47:34.047] WebApp[http://localhost:8080] starting
>>>>>   > > >>>  [03:47:34.691 ] WebApp[http://localhost:8080/resin-doc]
>>>>>   starting
>>>>>   > > >>>  [03:47:34.927] WebApp[http://localhost:8080/solr1] starting
>>>>>   > > >>>  [03:47:35.051] SolrServlet.init()
>>>>>   > > >>>  [03:47:35.077] Solr home set to '/usr/solrapp/solr1/'
>>>>>   > > >>>  [03:47:35.077] user.dir=/tmp/resin-3.1.0/bin
>>>>>   > > >>>  [03:47:35.231] Loaded SolrConfig: solrconfig.xml
>>>>>   > > >>>  [03:47:35.522] adding requestHandler standard=
>>>>>   > > >>solr.StandardRequestHandler
>>>>>   > > >>>  [03:47: 35.621] adding requestHandler dismax=
>>>>>   > solr.DisMaxRequestHandler
>>>>>   > > >>>  [03:47:35.692] adding requestHandler partitioned=
>>>>>   > > >>solr.DisMaxRequestHandler
>>>>>   > > >>>  [03:47: 35.721] adding requestHandler instock=
>>>>>   > > solr.DisMaxRequestHandler
>>>>>   > > >>>  [03:47:35.819] Opening new SolrCore at /usr/solrapp/solr1/,
>>>>>   > > >>>  dataDir=/usr/solrapp/solr1/data
>>>>>   > > >>>  [03:47:35.884] Reading Solr Schema
>>>>>   > > >>  > [03:47:35.916] Schema name=example
>>>>>   > > >>>  [03:47:35.929] org.apache.solr.core.SolrException: Schema
>>>>>   Parsing
>>>>>   > > Failed
>>>>>   > > >>  > [03:47:35.929]  at
>>>>>   org.apache.solr.schema.IndexSchema.readConfig(
>>>>>   > > >>>  IndexSchema.java:441)
>>>>>   > > >>>  [03:47:35.929]  at org.apache.solr.schema.IndexSchema.<init>(
>>>>>   > > >>>  IndexSchema.java:69)
>>>>>   > > >>>  [03:47:35.929]  at org.apache.solr.core.SolrCore.<init>(
>>>>>   > SolrCore.java
>>>>>   > > >>:191)
>>>>>   > > >>>
>>>>>   > > >>>
>>>>>   > > >>>
>>>>>   > > >>>  --
>>>>>   > > >>>  regards
>>>>>   > > >>  > jl
>>>>>   > >
>>>>>   > > --
>>>>>   > > Ken Krugler
>>>>>   > > Krugle, Inc.
>>>>>   > > +1 530-210-6378
>>>>>   > > "Find Code, Find Answers"
>>>>>   > >
>>>>>   >
>>>>>   >
>>>>>   >
>>>>>   > --
>>>>>   > regards
>>>>>   > jl
>>>>>   >
>>>>>
>>>>
>>>>
>>>>
>>>>--
>>>>regards
>>>>jl
>>>
>>>
>>>
>>>
>>>--
>>>regards
>>>jl
>>
>>
>>--
>>Ken Krugler
>>Krugle, Inc.
>>+1 530-210-6378
>>"Find Code, Find Answers"
>>
>
>
>
>--
>regards
>jl


-- 
Ken Krugler
Krugle, Inc.
+1 530-210-6378
"Find Code, Find Answers"

Re: resin faile to start with solr.

Posted by James liu <li...@gmail.com>.
2007/4/29, Ken Krugler <kk...@transpac.com>:
>
> >now i test the newest solr (nothing modified)
> >
> >i failed to start solr with resin 3.0
>
> 1. Which exact version of Resin? Still 3.0.23?


3.0.23

2. Just to confirm, you uncommented out the lines in web.xml
> mentioned previously?


just newest solr's web.xml. i  not modifie it.

-- Ken
>
>
> >2007/4/28, James liu <li...@gmail.com>:
> >>
> >>yes, i tried and failed.
> >>
> >>afternoon i will redownload solr and test .
> >>
> >>2007/4/28, Bill Au <bi...@gmail.com>:
> >>>
> >>>  Have you tried using the schema.xml that is in example/solr/conf.  It
> >>>  that
> >>>  works then the problem is definitely in your schema.xml.
> >>>
> >>>  Bill
> >>>
> >>>  On 4/26/07, James liu < liuping.james@gmail.com> wrote:
> >>>  >
> >>>  > but it is ok when i use tomcat.
> >>>  >
> >>>  > 2007/4/26, Ken Krugler <kk...@transpac.com>:
> >>>  > >
> >>>  > > >3.0.23 yesterday i try and fail.
> >>>  > > >
> >>>  > > >which version u use,,,i just not use pro version.
> >>>  > >
> >>>  > > From the error below, either your schema.xml file is messed up,
> or
> >>>  it
> >>>  > > might be that you still need to uncomment out the lines at the
> >>>  > > beginning of the web.xml file.
> >>>  > >
> >>>  > > These are the ones that say "Uncomment if you are trying to use a
> >>>  > > Resin version before 3.0.19"). Even though you're using a later
> >>>  > > version of Resin, I've had lots of issues with their XML parsing.
> >>>  > >
> >>>  > > -- Ken
> >>>  > >
> >>>  > >
> >>>  > >
> >>>  > > >
> >>>  > > >2007/4/26, Bill Au <bi...@gmail.com>:
> >>>  > > >>
> >>>  > > >>Have you tried resin 3.0.x?  3.1 is a development branch so it
> is
> >>>  less
> >>>  > > >>stable as 3.0.
> >>>  > > >>
> >>>  > > >>Bill
> >>>  > > >>
> >>>  > > >>On 4/19/07, James liu <liuping.james@gmail.com > wrote:
> >>>  > > >>>
> >>>  > > >>>  It work well when i use tomcat with solr
> >>>  > > >>>
> >>>  > > >>>  now i wanna test resin,,,i use resin-3.1.0
> >>>  > > >>>
> >>>  > > >>>  now it show me
> >>>  > > >>>
> >>>  > > >>>  [03:47:34.047] WebApp[http://localhost:8080] starting
> >>>  > > >>>  [03:47:34.691 ] WebApp[http://localhost:8080/resin-doc]
> >>>  starting
> >>>  > > >>>  [03:47:34.927] WebApp[http://localhost:8080/solr1] starting
> >>>  > > >>>  [03:47:35.051] SolrServlet.init()
> >>>  > > >>>  [03:47:35.077] Solr home set to '/usr/solrapp/solr1/'
> >>>  > > >>>  [03:47:35.077] user.dir=/tmp/resin-3.1.0/bin
> >>>  > > >>>  [03:47:35.231] Loaded SolrConfig: solrconfig.xml
> >>>  > > >>>  [03:47:35.522] adding requestHandler standard=
> >>>  > > >>solr.StandardRequestHandler
> >>>  > > >>>  [03:47: 35.621] adding requestHandler dismax=
> >>>  > solr.DisMaxRequestHandler
> >>>  > > >>>  [03:47:35.692] adding requestHandler partitioned=
> >>>  > > >>solr.DisMaxRequestHandler
> >>>  > > >>>  [03:47: 35.721] adding requestHandler instock=
> >>>  > > solr.DisMaxRequestHandler
> >>>  > > >>>  [03:47:35.819] Opening new SolrCore at /usr/solrapp/solr1/,
> >>>  > > >>>  dataDir=/usr/solrapp/solr1/data
> >>>  > > >>>  [03:47:35.884] Reading Solr Schema
> >>>  > > >>  > [03:47:35.916] Schema name=example
> >>>  > > >>>  [03:47:35.929] org.apache.solr.core.SolrException: Schema
> >>>  Parsing
> >>>  > > Failed
> >>>  > > >>  > [03:47:35.929]  at
> >>>  org.apache.solr.schema.IndexSchema.readConfig(
> >>>  > > >>>  IndexSchema.java:441)
> >>>  > > >>>  [03:47:35.929]  at org.apache.solr.schema.IndexSchema.<init>(
> >>>  > > >>>  IndexSchema.java:69)
> >>>  > > >>>  [03:47:35.929]  at org.apache.solr.core.SolrCore.<init>(
> >>>  > SolrCore.java
> >>>  > > >>:191)
> >>>  > > >>>
> >>>  > > >>>
> >>>  > > >>>
> >>>  > > >>>  --
> >>>  > > >>>  regards
> >>>  > > >>  > jl
> >>>  > >
> >>>  > > --
> >>>  > > Ken Krugler
> >>>  > > Krugle, Inc.
> >>>  > > +1 530-210-6378
> >>>  > > "Find Code, Find Answers"
> >>>  > >
> >>>  >
> >>>  >
> >>>  >
> >>>  > --
> >>>  > regards
> >>>  > jl
> >>>  >
> >>>
> >>
> >>
> >>
> >>--
> >>regards
> >>jl
> >
> >
> >
> >
> >--
> >regards
> >jl
>
>
> --
> Ken Krugler
> Krugle, Inc.
> +1 530-210-6378
> "Find Code, Find Answers"
>



-- 
regards
jl

Re: resin faile to start with solr.

Posted by Ken Krugler <kk...@transpac.com>.
>now i test the newest solr (nothing modified)
>
>i failed to start solr with resin 3.0

1. Which exact version of Resin? Still 3.0.23?

2. Just to confirm, you uncommented out the lines in web.xml 
mentioned previously?

-- Ken


>2007/4/28, James liu <li...@gmail.com>:
>>
>>yes, i tried and failed.
>>
>>afternoon i will redownload solr and test .
>>
>>2007/4/28, Bill Au <bi...@gmail.com>:
>>>
>>>  Have you tried using the schema.xml that is in example/solr/conf.  It
>>>  that
>>>  works then the problem is definitely in your schema.xml.
>>>
>>>  Bill
>>>
>>>  On 4/26/07, James liu < liuping.james@gmail.com> wrote:
>>>  >
>>>  > but it is ok when i use tomcat.
>>>  >
>>>  > 2007/4/26, Ken Krugler <kk...@transpac.com>:
>>>  > >
>>>  > > >3.0.23 yesterday i try and fail.
>>>  > > >
>>>  > > >which version u use,,,i just not use pro version.
>>>  > >
>>>  > > From the error below, either your schema.xml file is messed up, or
>>>  it
>>>  > > might be that you still need to uncomment out the lines at the
>>>  > > beginning of the web.xml file.
>>>  > >
>>>  > > These are the ones that say "Uncomment if you are trying to use a
>>>  > > Resin version before 3.0.19"). Even though you're using a later
>>>  > > version of Resin, I've had lots of issues with their XML parsing.
>>>  > >
>>>  > > -- Ken
>>>  > >
>>>  > >
>>>  > >
>>>  > > >
>>>  > > >2007/4/26, Bill Au <bi...@gmail.com>:
>>>  > > >>
>>>  > > >>Have you tried resin 3.0.x?  3.1 is a development branch so it is
>>>  less
>>>  > > >>stable as 3.0.
>>>  > > >>
>>>  > > >>Bill
>>>  > > >>
>>>  > > >>On 4/19/07, James liu <liuping.james@gmail.com > wrote:
>>>  > > >>>
>>>  > > >>>  It work well when i use tomcat with solr
>>>  > > >>>
>>>  > > >>>  now i wanna test resin,,,i use resin-3.1.0
>>>  > > >>>
>>>  > > >>>  now it show me
>>>  > > >>>
>>>  > > >>>  [03:47:34.047] WebApp[http://localhost:8080] starting
>>>  > > >>>  [03:47:34.691 ] WebApp[http://localhost:8080/resin-doc]
>>>  starting
>>>  > > >>>  [03:47:34.927] WebApp[http://localhost:8080/solr1] starting
>>>  > > >>>  [03:47:35.051] SolrServlet.init()
>>>  > > >>>  [03:47:35.077] Solr home set to '/usr/solrapp/solr1/'
>>>  > > >>>  [03:47:35.077] user.dir=/tmp/resin-3.1.0/bin
>>>  > > >>>  [03:47:35.231] Loaded SolrConfig: solrconfig.xml
>>>  > > >>>  [03:47:35.522] adding requestHandler standard=
>>>  > > >>solr.StandardRequestHandler
>>>  > > >>>  [03:47: 35.621] adding requestHandler dismax=
>>>  > solr.DisMaxRequestHandler
>>>  > > >>>  [03:47:35.692] adding requestHandler partitioned=
>>>  > > >>solr.DisMaxRequestHandler
>>>  > > >>>  [03:47: 35.721] adding requestHandler instock=
>>>  > > solr.DisMaxRequestHandler
>>>  > > >>>  [03:47:35.819] Opening new SolrCore at /usr/solrapp/solr1/,
>>>  > > >>>  dataDir=/usr/solrapp/solr1/data
>>>  > > >>>  [03:47:35.884] Reading Solr Schema
>>>  > > >>  > [03:47:35.916] Schema name=example
>>>  > > >>>  [03:47:35.929] org.apache.solr.core.SolrException: Schema
>>>  Parsing
>>>  > > Failed
>>>  > > >>  > [03:47:35.929]  at
>>>  org.apache.solr.schema.IndexSchema.readConfig(
>>>  > > >>>  IndexSchema.java:441)
>>>  > > >>>  [03:47:35.929]  at org.apache.solr.schema.IndexSchema .<init>(
>>>  > > >>>  IndexSchema.java:69)
>>>  > > >>>  [03:47:35.929]  at org.apache.solr.core.SolrCore.<init>(
>>>  > SolrCore.java
>>>  > > >>:191)
>>>  > > >>>
>>>  > > >>>
>>>  > > >>>
>>>  > > >>>  --
>>>  > > >>>  regards
>>>  > > >>  > jl
>>>  > >
>>>  > > --
>>>  > > Ken Krugler
>>>  > > Krugle, Inc.
>>>  > > +1 530-210-6378
>>>  > > "Find Code, Find Answers"
>>>  > >
>>>  >
>>>  >
>>>  >
>>>  > --
>>>  > regards
>>>  > jl
>>>  >
>>>
>>
>>
>>
>>--
>>regards
>>jl
>
>
>
>
>--
>regards
>jl


-- 
Ken Krugler
Krugle, Inc.
+1 530-210-6378
"Find Code, Find Answers"

Re: resin faile to start with solr.

Posted by James liu <li...@gmail.com>.
now i test the newest solr (nothing modified)

i failed to start solr with resin 3.0

2007/4/28, James liu <li...@gmail.com>:
>
> yes, i tried and failed.
>
> afternoon i will redownload solr and test .
>
> 2007/4/28, Bill Au <bi...@gmail.com>:
> >
> > Have you tried using the schema.xml that is in example/solr/conf.  It
> > that
> > works then the problem is definitely in your schema.xml.
> >
> > Bill
> >
> > On 4/26/07, James liu < liuping.james@gmail.com> wrote:
> > >
> > > but it is ok when i use tomcat.
> > >
> > > 2007/4/26, Ken Krugler <kk...@transpac.com>:
> > > >
> > > > >3.0.23 yesterday i try and fail.
> > > > >
> > > > >which version u use,,,i just not use pro version.
> > > >
> > > > From the error below, either your schema.xml file is messed up, or
> > it
> > > > might be that you still need to uncomment out the lines at the
> > > > beginning of the web.xml file.
> > > >
> > > > These are the ones that say "Uncomment if you are trying to use a
> > > > Resin version before 3.0.19"). Even though you're using a later
> > > > version of Resin, I've had lots of issues with their XML parsing.
> > > >
> > > > -- Ken
> > > >
> > > >
> > > >
> > > > >
> > > > >2007/4/26, Bill Au <bi...@gmail.com>:
> > > > >>
> > > > >>Have you tried resin 3.0.x?  3.1 is a development branch so it is
> > less
> > > > >>stable as 3.0.
> > > > >>
> > > > >>Bill
> > > > >>
> > > > >>On 4/19/07, James liu <liuping.james@gmail.com > wrote:
> > > > >>>
> > > > >>>  It work well when i use tomcat with solr
> > > > >>>
> > > > >>>  now i wanna test resin,,,i use resin-3.1.0
> > > > >>>
> > > > >>>  now it show me
> > > > >>>
> > > > >>>  [03:47:34.047] WebApp[http://localhost:8080] starting
> > > > >>>  [03:47:34.691 ] WebApp[http://localhost:8080/resin-doc]
> > starting
> > > > >>>  [03:47:34.927] WebApp[http://localhost:8080/solr1] starting
> > > > >>>  [03:47:35.051] SolrServlet.init()
> > > > >>>  [03:47:35.077] Solr home set to '/usr/solrapp/solr1/'
> > > > >>>  [03:47:35.077] user.dir=/tmp/resin-3.1.0/bin
> > > > >>>  [03:47:35.231] Loaded SolrConfig: solrconfig.xml
> > > > >>>  [03:47:35.522] adding requestHandler standard=
> > > > >>solr.StandardRequestHandler
> > > > >>>  [03:47: 35.621] adding requestHandler dismax=
> > > solr.DisMaxRequestHandler
> > > > >>>  [03:47:35.692] adding requestHandler partitioned=
> > > > >>solr.DisMaxRequestHandler
> > > > >>>  [03:47: 35.721] adding requestHandler instock=
> > > > solr.DisMaxRequestHandler
> > > > >>>  [03:47:35.819] Opening new SolrCore at /usr/solrapp/solr1/,
> > > > >>>  dataDir=/usr/solrapp/solr1/data
> > > > >>>  [03:47:35.884] Reading Solr Schema
> > > > >>  > [03:47:35.916] Schema name=example
> > > > >>>  [03:47:35.929] org.apache.solr.core.SolrException: Schema
> > Parsing
> > > > Failed
> > > > >>  > [03:47:35.929]  at
> > org.apache.solr.schema.IndexSchema.readConfig(
> > > > >>>  IndexSchema.java:441)
> > > > >>>  [03:47:35.929]  at org.apache.solr.schema.IndexSchema .<init>(
> > > > >>>  IndexSchema.java:69)
> > > > >>>  [03:47:35.929]  at org.apache.solr.core.SolrCore.<init>(
> > > SolrCore.java
> > > > >>:191)
> > > > >>>
> > > > >>>
> > > > >>>
> > > > >>>  --
> > > > >>>  regards
> > > > >>  > jl
> > > >
> > > > --
> > > > Ken Krugler
> > > > Krugle, Inc.
> > > > +1 530-210-6378
> > > > "Find Code, Find Answers"
> > > >
> > >
> > >
> > >
> > > --
> > > regards
> > > jl
> > >
> >
>
>
>
> --
> regards
> jl




-- 
regards
jl

Re: resin faile to start with solr.

Posted by James liu <li...@gmail.com>.
yes, i tried and failed.

afternoon i will redownload solr and test .

2007/4/28, Bill Au <bi...@gmail.com>:
>
> Have you tried using the schema.xml that is in example/solr/conf.  It that
> works then the problem is definitely in your schema.xml.
>
> Bill
>
> On 4/26/07, James liu <li...@gmail.com> wrote:
> >
> > but it is ok when i use tomcat.
> >
> > 2007/4/26, Ken Krugler <kk...@transpac.com>:
> > >
> > > >3.0.23 yesterday i try and fail.
> > > >
> > > >which version u use,,,i just not use pro version.
> > >
> > > From the error below, either your schema.xml file is messed up, or it
> > > might be that you still need to uncomment out the lines at the
> > > beginning of the web.xml file.
> > >
> > > These are the ones that say "Uncomment if you are trying to use a
> > > Resin version before 3.0.19"). Even though you're using a later
> > > version of Resin, I've had lots of issues with their XML parsing.
> > >
> > > -- Ken
> > >
> > >
> > >
> > > >
> > > >2007/4/26, Bill Au <bi...@gmail.com>:
> > > >>
> > > >>Have you tried resin 3.0.x?  3.1 is a development branch so it is
> less
> > > >>stable as 3.0.
> > > >>
> > > >>Bill
> > > >>
> > > >>On 4/19/07, James liu <li...@gmail.com> wrote:
> > > >>>
> > > >>>  It work well when i use tomcat with solr
> > > >>>
> > > >>>  now i wanna test resin,,,i use resin-3.1.0
> > > >>>
> > > >>>  now it show me
> > > >>>
> > > >>>  [03:47:34.047] WebApp[http://localhost:8080] starting
> > > >>>  [03:47:34.691] WebApp[http://localhost:8080/resin-doc] starting
> > > >>>  [03:47:34.927] WebApp[http://localhost:8080/solr1] starting
> > > >>>  [03:47:35.051] SolrServlet.init()
> > > >>>  [03:47:35.077] Solr home set to '/usr/solrapp/solr1/'
> > > >>>  [03:47:35.077] user.dir=/tmp/resin-3.1.0/bin
> > > >>>  [03:47:35.231] Loaded SolrConfig: solrconfig.xml
> > > >>>  [03:47:35.522] adding requestHandler standard=
> > > >>solr.StandardRequestHandler
> > > >>>  [03:47:35.621] adding requestHandler dismax=
> > solr.DisMaxRequestHandler
> > > >>>  [03:47:35.692] adding requestHandler partitioned=
> > > >>solr.DisMaxRequestHandler
> > > >>>  [03:47:35.721] adding requestHandler instock=
> > > solr.DisMaxRequestHandler
> > > >>>  [03:47:35.819] Opening new SolrCore at /usr/solrapp/solr1/,
> > > >>>  dataDir=/usr/solrapp/solr1/data
> > > >>>  [03:47:35.884] Reading Solr Schema
> > > >>  > [03:47:35.916] Schema name=example
> > > >>>  [03:47:35.929] org.apache.solr.core.SolrException: Schema Parsing
> > > Failed
> > > >>  > [03:47:35.929]  at org.apache.solr.schema.IndexSchema.readConfig
> (
> > > >>>  IndexSchema.java:441)
> > > >>>  [03:47:35.929]  at org.apache.solr.schema.IndexSchema.<init>(
> > > >>>  IndexSchema.java:69)
> > > >>>  [03:47:35.929]  at org.apache.solr.core.SolrCore.<init>(
> > SolrCore.java
> > > >>:191)
> > > >>>
> > > >>>
> > > >>>
> > > >>>  --
> > > >>>  regards
> > > >>  > jl
> > >
> > > --
> > > Ken Krugler
> > > Krugle, Inc.
> > > +1 530-210-6378
> > > "Find Code, Find Answers"
> > >
> >
> >
> >
> > --
> > regards
> > jl
> >
>



-- 
regards
jl

Re: resin faile to start with solr.

Posted by Bill Au <bi...@gmail.com>.
Have you tried using the schema.xml that is in example/solr/conf.  It that
works then the problem is definitely in your schema.xml.

Bill

On 4/26/07, James liu <li...@gmail.com> wrote:
>
> but it is ok when i use tomcat.
>
> 2007/4/26, Ken Krugler <kk...@transpac.com>:
> >
> > >3.0.23 yesterday i try and fail.
> > >
> > >which version u use,,,i just not use pro version.
> >
> > From the error below, either your schema.xml file is messed up, or it
> > might be that you still need to uncomment out the lines at the
> > beginning of the web.xml file.
> >
> > These are the ones that say "Uncomment if you are trying to use a
> > Resin version before 3.0.19"). Even though you're using a later
> > version of Resin, I've had lots of issues with their XML parsing.
> >
> > -- Ken
> >
> >
> >
> > >
> > >2007/4/26, Bill Au <bi...@gmail.com>:
> > >>
> > >>Have you tried resin 3.0.x?  3.1 is a development branch so it is less
> > >>stable as 3.0.
> > >>
> > >>Bill
> > >>
> > >>On 4/19/07, James liu <li...@gmail.com> wrote:
> > >>>
> > >>>  It work well when i use tomcat with solr
> > >>>
> > >>>  now i wanna test resin,,,i use resin-3.1.0
> > >>>
> > >>>  now it show me
> > >>>
> > >>>  [03:47:34.047] WebApp[http://localhost:8080] starting
> > >>>  [03:47:34.691] WebApp[http://localhost:8080/resin-doc] starting
> > >>>  [03:47:34.927] WebApp[http://localhost:8080/solr1] starting
> > >>>  [03:47:35.051] SolrServlet.init()
> > >>>  [03:47:35.077] Solr home set to '/usr/solrapp/solr1/'
> > >>>  [03:47:35.077] user.dir=/tmp/resin-3.1.0/bin
> > >>>  [03:47:35.231] Loaded SolrConfig: solrconfig.xml
> > >>>  [03:47:35.522] adding requestHandler standard=
> > >>solr.StandardRequestHandler
> > >>>  [03:47:35.621] adding requestHandler dismax=
> solr.DisMaxRequestHandler
> > >>>  [03:47:35.692] adding requestHandler partitioned=
> > >>solr.DisMaxRequestHandler
> > >>>  [03:47:35.721] adding requestHandler instock=
> > solr.DisMaxRequestHandler
> > >>>  [03:47:35.819] Opening new SolrCore at /usr/solrapp/solr1/,
> > >>>  dataDir=/usr/solrapp/solr1/data
> > >>>  [03:47:35.884] Reading Solr Schema
> > >>  > [03:47:35.916] Schema name=example
> > >>>  [03:47:35.929] org.apache.solr.core.SolrException: Schema Parsing
> > Failed
> > >>  > [03:47:35.929]  at org.apache.solr.schema.IndexSchema.readConfig(
> > >>>  IndexSchema.java:441)
> > >>>  [03:47:35.929]  at org.apache.solr.schema.IndexSchema.<init>(
> > >>>  IndexSchema.java:69)
> > >>>  [03:47:35.929]  at org.apache.solr.core.SolrCore.<init>(
> SolrCore.java
> > >>:191)
> > >>>
> > >>>
> > >>>
> > >>>  --
> > >>>  regards
> > >>  > jl
> >
> > --
> > Ken Krugler
> > Krugle, Inc.
> > +1 530-210-6378
> > "Find Code, Find Answers"
> >
>
>
>
> --
> regards
> jl
>

Re: resin faile to start with solr.

Posted by James liu <li...@gmail.com>.
but it is ok when i use tomcat.

2007/4/26, Ken Krugler <kk...@transpac.com>:
>
> >3.0.23 yesterday i try and fail.
> >
> >which version u use,,,i just not use pro version.
>
> From the error below, either your schema.xml file is messed up, or it
> might be that you still need to uncomment out the lines at the
> beginning of the web.xml file.
>
> These are the ones that say "Uncomment if you are trying to use a
> Resin version before 3.0.19"). Even though you're using a later
> version of Resin, I've had lots of issues with their XML parsing.
>
> -- Ken
>
>
>
> >
> >2007/4/26, Bill Au <bi...@gmail.com>:
> >>
> >>Have you tried resin 3.0.x?  3.1 is a development branch so it is less
> >>stable as 3.0.
> >>
> >>Bill
> >>
> >>On 4/19/07, James liu <li...@gmail.com> wrote:
> >>>
> >>>  It work well when i use tomcat with solr
> >>>
> >>>  now i wanna test resin,,,i use resin-3.1.0
> >>>
> >>>  now it show me
> >>>
> >>>  [03:47:34.047] WebApp[http://localhost:8080] starting
> >>>  [03:47:34.691] WebApp[http://localhost:8080/resin-doc] starting
> >>>  [03:47:34.927] WebApp[http://localhost:8080/solr1] starting
> >>>  [03:47:35.051] SolrServlet.init()
> >>>  [03:47:35.077] Solr home set to '/usr/solrapp/solr1/'
> >>>  [03:47:35.077] user.dir=/tmp/resin-3.1.0/bin
> >>>  [03:47:35.231] Loaded SolrConfig: solrconfig.xml
> >>>  [03:47:35.522] adding requestHandler standard=
> >>solr.StandardRequestHandler
> >>>  [03:47:35.621] adding requestHandler dismax=solr.DisMaxRequestHandler
> >>>  [03:47:35.692] adding requestHandler partitioned=
> >>solr.DisMaxRequestHandler
> >>>  [03:47:35.721] adding requestHandler instock=
> solr.DisMaxRequestHandler
> >>>  [03:47:35.819] Opening new SolrCore at /usr/solrapp/solr1/,
> >>>  dataDir=/usr/solrapp/solr1/data
> >>>  [03:47:35.884] Reading Solr Schema
> >>  > [03:47:35.916] Schema name=example
> >>>  [03:47:35.929] org.apache.solr.core.SolrException: Schema Parsing
> Failed
> >>  > [03:47:35.929]  at org.apache.solr.schema.IndexSchema.readConfig(
> >>>  IndexSchema.java:441)
> >>>  [03:47:35.929]  at org.apache.solr.schema.IndexSchema.<init>(
> >>>  IndexSchema.java:69)
> >>>  [03:47:35.929]  at org.apache.solr.core.SolrCore.<init>(SolrCore.java
> >>:191)
> >>>
> >>>
> >>>
> >>>  --
> >>>  regards
> >>  > jl
>
> --
> Ken Krugler
> Krugle, Inc.
> +1 530-210-6378
> "Find Code, Find Answers"
>



-- 
regards
jl

Re: resin faile to start with solr.

Posted by Ken Krugler <kk...@transpac.com>.
>3.0.23 yesterday i try and fail.
>
>which version u use,,,i just not use pro version.

 From the error below, either your schema.xml file is messed up, or it 
might be that you still need to uncomment out the lines at the 
beginning of the web.xml file.

These are the ones that say "Uncomment if you are trying to use a 
Resin version before 3.0.19"). Even though you're using a later 
version of Resin, I've had lots of issues with their XML parsing.

-- Ken



>
>2007/4/26, Bill Au <bi...@gmail.com>:
>>
>>Have you tried resin 3.0.x?  3.1 is a development branch so it is less
>>stable as 3.0.
>>
>>Bill
>>
>>On 4/19/07, James liu <li...@gmail.com> wrote:
>>>
>>>  It work well when i use tomcat with solr
>>>
>>>  now i wanna test resin,,,i use resin-3.1.0
>>>
>>>  now it show me
>>>
>>>  [03:47:34.047] WebApp[http://localhost:8080] starting
>>>  [03:47:34.691] WebApp[http://localhost:8080/resin-doc] starting
>>>  [03:47:34.927] WebApp[http://localhost:8080/solr1] starting
>>>  [03:47:35.051] SolrServlet.init()
>>>  [03:47:35.077] Solr home set to '/usr/solrapp/solr1/'
>>>  [03:47:35.077] user.dir=/tmp/resin-3.1.0/bin
>>>  [03:47:35.231] Loaded SolrConfig: solrconfig.xml
>>>  [03:47:35.522] adding requestHandler standard=
>>solr.StandardRequestHandler
>>>  [03:47:35.621] adding requestHandler dismax=solr.DisMaxRequestHandler
>>>  [03:47:35.692] adding requestHandler partitioned=
>>solr.DisMaxRequestHandler
>>>  [03:47:35.721] adding requestHandler instock=solr.DisMaxRequestHandler
>>>  [03:47:35.819] Opening new SolrCore at /usr/solrapp/solr1/,
>>>  dataDir=/usr/solrapp/solr1/data
>>>  [03:47:35.884] Reading Solr Schema
>>  > [03:47:35.916] Schema name=example
>>>  [03:47:35.929] org.apache.solr.core.SolrException: Schema Parsing Failed
>>  > [03:47:35.929]  at org.apache.solr.schema.IndexSchema.readConfig(
>>>  IndexSchema.java:441)
>>>  [03:47:35.929]  at org.apache.solr.schema.IndexSchema.<init>(
>>>  IndexSchema.java:69)
>>>  [03:47:35.929]  at org.apache.solr.core.SolrCore.<init>(SolrCore.java
>>:191)
>>>
>>>
>>>
>>>  --
>>>  regards
>>  > jl

-- 
Ken Krugler
Krugle, Inc.
+1 530-210-6378
"Find Code, Find Answers"

Re: resin faile to start with solr.

Posted by James liu <li...@gmail.com>.
3.0.23 yesterday i try and fail.

which version u use,,,i just not use pro version.

2007/4/26, Bill Au <bi...@gmail.com>:
>
> Have you tried resin 3.0.x?  3.1 is a development branch so it is less
> stable as 3.0.
>
> Bill
>
> On 4/19/07, James liu <li...@gmail.com> wrote:
> >
> > It work well when i use tomcat with solr
> >
> > now i wanna test resin,,,i use resin-3.1.0
> >
> > now it show me
> >
> > [03:47:34.047] WebApp[http://localhost:8080] starting
> > [03:47:34.691] WebApp[http://localhost:8080/resin-doc] starting
> > [03:47:34.927] WebApp[http://localhost:8080/solr1] starting
> > [03:47:35.051] SolrServlet.init()
> > [03:47:35.077] Solr home set to '/usr/solrapp/solr1/'
> > [03:47:35.077] user.dir=/tmp/resin-3.1.0/bin
> > [03:47:35.231] Loaded SolrConfig: solrconfig.xml
> > [03:47:35.522] adding requestHandler standard=
> solr.StandardRequestHandler
> > [03:47:35.621] adding requestHandler dismax=solr.DisMaxRequestHandler
> > [03:47:35.692] adding requestHandler partitioned=
> solr.DisMaxRequestHandler
> > [03:47:35.721] adding requestHandler instock=solr.DisMaxRequestHandler
> > [03:47:35.819] Opening new SolrCore at /usr/solrapp/solr1/,
> > dataDir=/usr/solrapp/solr1/data
> > [03:47:35.884] Reading Solr Schema
> > [03:47:35.916] Schema name=example
> > [03:47:35.929] org.apache.solr.core.SolrException: Schema Parsing Failed
> > [03:47:35.929]  at org.apache.solr.schema.IndexSchema.readConfig(
> > IndexSchema.java:441)
> > [03:47:35.929]  at org.apache.solr.schema.IndexSchema.<init>(
> > IndexSchema.java:69)
> > [03:47:35.929]  at org.apache.solr.core.SolrCore.<init>(SolrCore.java
> :191)
> >
> >
> >
> > --
> > regards
> > jl
> >
>



-- 
regards
jl

Re: resin faile to start with solr.

Posted by Bill Au <bi...@gmail.com>.
Have you tried resin 3.0.x?  3.1 is a development branch so it is less
stable as 3.0.

Bill

On 4/19/07, James liu <li...@gmail.com> wrote:
>
> It work well when i use tomcat with solr
>
> now i wanna test resin,,,i use resin-3.1.0
>
> now it show me
>
> [03:47:34.047] WebApp[http://localhost:8080] starting
> [03:47:34.691] WebApp[http://localhost:8080/resin-doc] starting
> [03:47:34.927] WebApp[http://localhost:8080/solr1] starting
> [03:47:35.051] SolrServlet.init()
> [03:47:35.077] Solr home set to '/usr/solrapp/solr1/'
> [03:47:35.077] user.dir=/tmp/resin-3.1.0/bin
> [03:47:35.231] Loaded SolrConfig: solrconfig.xml
> [03:47:35.522] adding requestHandler standard=solr.StandardRequestHandler
> [03:47:35.621] adding requestHandler dismax=solr.DisMaxRequestHandler
> [03:47:35.692] adding requestHandler partitioned=solr.DisMaxRequestHandler
> [03:47:35.721] adding requestHandler instock=solr.DisMaxRequestHandler
> [03:47:35.819] Opening new SolrCore at /usr/solrapp/solr1/,
> dataDir=/usr/solrapp/solr1/data
> [03:47:35.884] Reading Solr Schema
> [03:47:35.916] Schema name=example
> [03:47:35.929] org.apache.solr.core.SolrException: Schema Parsing Failed
> [03:47:35.929]  at org.apache.solr.schema.IndexSchema.readConfig(
> IndexSchema.java:441)
> [03:47:35.929]  at org.apache.solr.schema.IndexSchema.<init>(
> IndexSchema.java:69)
> [03:47:35.929]  at org.apache.solr.core.SolrCore.<init>(SolrCore.java:191)
>
>
>
> --
> regards
> jl
>