Re: Solr: ERRORs at Startup

2009-09-10 Thread con

Hi Giovanni, 

i am facing same issue. Can you share some info on how you solved this
puzzle.. 





hossman wrote:
 
 
 : Even setting everything to INFO through
 : http://localhost:8080/solr/admin/logging didn't help.
 : 
 : But considering you do not see any bad issue here, at this time I will
 : ignore those ERROR messages :-)
 
 i would read up more on how to configure logging in JBoss.
 
 as far as i can tell, Solr is logging messages, which are getting handled 
 by a logger that writes them to STDERR using a fairly standard format 
 (date, class, method, level, msg) ... except some other piece of code 
 seems to be reading from STDERR, and assuming anything that got written 
 there is an ERROR, so it's loging those writes to stderr using a format 
 with a date, a level (of ERROR), and a group or some other identifier of 
 STDERR
 
 the problem is if you ignore them completely, you're going to miss 
 noticing when you really have a problem.
 
 Like i said: figure out how to configure logging in JBoss, you might need 
 to change the slf4j adapater jar or something if it can't deal with JUL 
 (which is the default).
 
 :  10:51:20,525 INFO  [TomcatDeployment] deploy, ctxPath=/solr
 :  10:51:20,617 ERROR [STDERR] Mar 13, 2009 10:51:20 AM
 :  org.apache.solr.servlet.SolrDispatchFilter init
 :  INFO: SolrDispatchFilter.init()
 
 
 
 -Hoss
 
 
 

-- 
View this message in context: 
http://www.nabble.com/Solr%3A-ERRORs-at-Startup-tp22493300p25382340.html
Sent from the Solr - User mailing list archive at Nabble.com.



Re: Solr: ERRORs at Startup

2009-03-13 Thread Toby Cole

Hi Giovanni,
	It looks like logging is configured strangely. Those messages in my  
solr setup (on tomcat 6 or jetty) appear as INFO level messages.
It could have something to do with your SLF4J setup, but I'm no expert  
on that side of things.
I wouldn't worry too much, the content of the messages doesn't imply  
anything bad going on.


Toby.

On 13 Mar 2009, at 09:57, Giovanni De Stefano wrote:


Hello everybody,

I am currently using:
Solr v1.3.0
Jboss jboss-5.0.1.GA
Java jdk 1.5_06

When I start Solr within Jboss I see a lot of errors in the log but  
Solr seems working (meaning I can see the admin interface but I  
cannot index my DB...but that is another story :-) ).


Attached is the log file. Here just some of the error messages I see:
...
10:51:19,976 INFO  [ConnectionFactoryBindingService] Bound  
ConnectionManager  
'jboss.jca:service=ConnectionFactoryBinding,name=JmsXA' to JNDI name  
'java:JmsXA'

10:51:20,006 INFO  [TomcatDeployment] deploy, ctxPath=/
10:51:20,126 INFO  [TomcatDeployment] deploy, ctxPath=/jmx-console
10:51:20,525 INFO  [TomcatDeployment] deploy, ctxPath=/solr
10:51:20,617 ERROR [STDERR] Mar 13, 2009 10:51:20 AM  
org.apache.solr.servlet.SolrDispatchFilter init

INFO: SolrDispatchFilter.init()
10:51:20,631 ERROR [STDERR] Mar 13, 2009 10:51:20 AM  
org.apache.solr.core.SolrResourceLoader locateInstanceDir

INFO: No /solr/home in JNDI
10:51:20,631 ERROR [STDERR] Mar 13, 2009 10:51:20 AM  
org.apache.solr.core.SolrResourceLoader locateInstanceDir
INFO: using system property solr.solr.home: /home/giovanni/ 
development/search/solr
10:51:20,637 ERROR [STDERR] Mar 13, 2009 10:51:20 AM  
org.apache.solr.core.CoreContainer$Initializer initialize
INFO: looking for solr.xml: /home/giovanni/development/search/solr/ 
solr.xml
10:51:20,637 ERROR [STDERR] Mar 13, 2009 10:51:20 AM  
org.apache.solr.core.SolrResourceLoader init

INFO: Solr home set to '/home/giovanni/development/search/solr/'
10:51:20,710 ERROR [STDERR] Mar 13, 2009 10:51:20 AM  
org.apache.solr.core.SolrResourceLoader createClassLoader
INFO: Adding 'file:/home/giovanni/development/search/solr/lib/ 
ojdbc14.jar' to Solr classloader
10:51:20,734 ERROR [STDERR] Mar 13, 2009 10:51:20 AM  
org.apache.solr.core.SolrResourceLoader locateInstanceDir

INFO: No /solr/home in JNDI
10:51:20,734 ERROR [STDERR] Mar 13, 2009 10:51:20 AM  
org.apache.solr.core.SolrResourceLoader locateInstanceDir
INFO: using system property solr.solr.home: /home/giovanni/ 
development/search/solr
10:51:20,735 ERROR [STDERR] Mar 13, 2009 10:51:20 AM  
org.apache.solr.core.SolrResourceLoader init

INFO: Solr home set to '/home/giovanni/development/search/solr/'
10:51:20,736 ERROR [STDERR] Mar 13, 2009 10:51:20 AM  
org.apache.solr.core.SolrResourceLoader createClassLoader
INFO: Adding 'file:/home/giovanni/development/search/solr/lib/ 
ojdbc14.jar' to Solr classloader
10:51:21,964 ERROR [STDERR] Mar 13, 2009 10:51:21 AM  
org.apache.solr.core.SolrConfig init

INFO: Loaded SolrConfig: solrconfig.xml
10:51:21,977 ERROR [STDERR] Mar 13, 2009 10:51:21 AM  
org.apache.solr.core.SolrCore init
INFO: Opening new SolrCore at /home/giovanni/development/search/ 
solr/, dataDir=./solr/data/
10:51:21,991 ERROR [STDERR] Mar 13, 2009 10:51:21 AM  
org.apache.solr.schema.IndexSchema readSchema

INFO: Reading Solr Schema
10:51:22,027 ERROR [STDERR] Mar 13, 2009 10:51:22 AM  
org.apache.solr.schema.IndexSchema readSchema

INFO: Schema name=search
10:51:22,051 ERROR [STDERR] Mar 13, 2009 10:51:22 AM  
org.apache.solr.util.plugin.AbstractPluginLoader load

INFO: created string: org.apache.solr.schema.StrField
10:51:22,061 ERROR [STDERR] Mar 13, 2009 10:51:22 AM  
org.apache.solr.util.plugin.AbstractPluginLoader load

INFO: created boolean: org.apache.solr.schema.BoolField
10:51:22,067 ERROR [STDERR] Mar 13, 2009 10:51:22 AM  
org.apache.solr.util.plugin.AbstractPluginLoader load

INFO: created integer: org.apache.solr.schema.IntField

10:51:22,472 ERROR [STDERR] Mar 13, 2009 10:51:22 AM  
org.apache.solr.util.plugin.AbstractPluginLoader load

INFO: created ignored: org.apache.solr.schema.StrField
10:51:22,483 ERROR [STDERR] Mar 13, 2009 10:51:22 AM  
org.apache.solr.schema.IndexSchema readSchema

INFO: default search field is text
10:51:22,485 ERROR [STDERR] Mar 13, 2009 10:51:22 AM  
org.apache.solr.schema.IndexSchema readSchema

INFO: query parser default operator is OR
10:51:22,486 ERROR [STDERR] Mar 13, 2009 10:51:22 AM  
org.apache.solr.schema.IndexSchema readSchema

INFO: unique key field: uri
10:51:22,541 ERROR [STDERR] Mar 13, 2009 10:51:22 AM  
org.apache.solr.core.JmxMonitoredMap init
INFO: JMX monitoring is enabled. Adding Solr mbeans to JMX Server:  
org.jboss.mx.server.mbeanserveri...@3deff3[ defaultDomain='jboss' ]
10:51:22,543 ERROR [STDERR] Mar 13, 2009 10:51:22 AM  
org.apache.solr.core.SolrCore parseListener

INFO: Searching for listeners: //listen...@event=firstSearcher]
10:51:22,564 ERROR [STDERR] Mar 13, 2009 10:51:22 AM  

Re: Solr: ERRORs at Startup

2009-03-13 Thread Giovanni De Stefano
Hello Toby,

thank you for your quick reply.

Even setting everything to INFO through
http://localhost:8080/solr/admin/logging didn't help.

But considering you do not see any bad issue here, at this time I will
ignore those ERROR messages :-)

Cheers,
Giovanni


On Fri, Mar 13, 2009 at 11:16 AM, Toby Cole toby.c...@semantico.com wrote:

 Hi Giovanni,
It looks like logging is configured strangely. Those messages in my
 solr setup (on tomcat 6 or jetty) appear as INFO level messages.
 It could have something to do with your SLF4J setup, but I'm no expert on
 that side of things.
 I wouldn't worry too much, the content of the messages doesn't imply
 anything bad going on.

 Toby.


 On 13 Mar 2009, at 09:57, Giovanni De Stefano wrote:

  Hello everybody,

 I am currently using:
 Solr v1.3.0
 Jboss jboss-5.0.1.GA
 Java jdk 1.5_06

 When I start Solr within Jboss I see a lot of errors in the log but Solr
 seems working (meaning I can see the admin interface but I cannot index my
 DB...but that is another story :-) ).

 Attached is the log file. Here just some of the error messages I see:
 ...
 10:51:19,976 INFO  [ConnectionFactoryBindingService] Bound
 ConnectionManager 'jboss.jca:service=ConnectionFactoryBinding,name=JmsXA' to
 JNDI name 'java:JmsXA'
 10:51:20,006 INFO  [TomcatDeployment] deploy, ctxPath=/
 10:51:20,126 INFO  [TomcatDeployment] deploy, ctxPath=/jmx-console
 10:51:20,525 INFO  [TomcatDeployment] deploy, ctxPath=/solr
 10:51:20,617 ERROR [STDERR] Mar 13, 2009 10:51:20 AM
 org.apache.solr.servlet.SolrDispatchFilter init
 INFO: SolrDispatchFilter.init()
 10:51:20,631 ERROR [STDERR] Mar 13, 2009 10:51:20 AM
 org.apache.solr.core.SolrResourceLoader locateInstanceDir
 INFO: No /solr/home in JNDI
 10:51:20,631 ERROR [STDERR] Mar 13, 2009 10:51:20 AM
 org.apache.solr.core.SolrResourceLoader locateInstanceDir
 INFO: using system property solr.solr.home:
 /home/giovanni/development/search/solr
 10:51:20,637 ERROR [STDERR] Mar 13, 2009 10:51:20 AM
 org.apache.solr.core.CoreContainer$Initializer initialize
 INFO: looking for solr.xml:
 /home/giovanni/development/search/solr/solr.xml
 10:51:20,637 ERROR [STDERR] Mar 13, 2009 10:51:20 AM
 org.apache.solr.core.SolrResourceLoader init
 INFO: Solr home set to '/home/giovanni/development/search/solr/'
 10:51:20,710 ERROR [STDERR] Mar 13, 2009 10:51:20 AM
 org.apache.solr.core.SolrResourceLoader createClassLoader
 INFO: Adding 'file:/home/giovanni/development/search/solr/lib/ojdbc14.jar'
 to Solr classloader
 10:51:20,734 ERROR [STDERR] Mar 13, 2009 10:51:20 AM
 org.apache.solr.core.SolrResourceLoader locateInstanceDir
 INFO: No /solr/home in JNDI
 10:51:20,734 ERROR [STDERR] Mar 13, 2009 10:51:20 AM
 org.apache.solr.core.SolrResourceLoader locateInstanceDir
 INFO: using system property solr.solr.home:
 /home/giovanni/development/search/solr
 10:51:20,735 ERROR [STDERR] Mar 13, 2009 10:51:20 AM
 org.apache.solr.core.SolrResourceLoader init
 INFO: Solr home set to '/home/giovanni/development/search/solr/'
 10:51:20,736 ERROR [STDERR] Mar 13, 2009 10:51:20 AM
 org.apache.solr.core.SolrResourceLoader createClassLoader
 INFO: Adding 'file:/home/giovanni/development/search/solr/lib/ojdbc14.jar'
 to Solr classloader
 10:51:21,964 ERROR [STDERR] Mar 13, 2009 10:51:21 AM
 org.apache.solr.core.SolrConfig init
 INFO: Loaded SolrConfig: solrconfig.xml
 10:51:21,977 ERROR [STDERR] Mar 13, 2009 10:51:21 AM
 org.apache.solr.core.SolrCore init
 INFO: Opening new SolrCore at /home/giovanni/development/search/solr/,
 dataDir=./solr/data/
 10:51:21,991 ERROR [STDERR] Mar 13, 2009 10:51:21 AM
 org.apache.solr.schema.IndexSchema readSchema
 INFO: Reading Solr Schema
 10:51:22,027 ERROR [STDERR] Mar 13, 2009 10:51:22 AM
 org.apache.solr.schema.IndexSchema readSchema
 INFO: Schema name=search
 10:51:22,051 ERROR [STDERR] Mar 13, 2009 10:51:22 AM
 org.apache.solr.util.plugin.AbstractPluginLoader load
 INFO: created string: org.apache.solr.schema.StrField
 10:51:22,061 ERROR [STDERR] Mar 13, 2009 10:51:22 AM
 org.apache.solr.util.plugin.AbstractPluginLoader load
 INFO: created boolean: org.apache.solr.schema.BoolField
 10:51:22,067 ERROR [STDERR] Mar 13, 2009 10:51:22 AM
 org.apache.solr.util.plugin.AbstractPluginLoader load
 INFO: created integer: org.apache.solr.schema.IntField
 
 10:51:22,472 ERROR [STDERR] Mar 13, 2009 10:51:22 AM
 org.apache.solr.util.plugin.AbstractPluginLoader load
 INFO: created ignored: org.apache.solr.schema.StrField
 10:51:22,483 ERROR [STDERR] Mar 13, 2009 10:51:22 AM
 org.apache.solr.schema.IndexSchema readSchema
 INFO: default search field is text
 10:51:22,485 ERROR [STDERR] Mar 13, 2009 10:51:22 AM
 org.apache.solr.schema.IndexSchema readSchema
 INFO: query parser default operator is OR
 10:51:22,486 ERROR [STDERR] Mar 13, 2009 10:51:22 AM
 org.apache.solr.schema.IndexSchema readSchema
 INFO: unique key field: uri
 10:51:22,541 ERROR [STDERR] Mar 13, 2009 10:51:22 AM
 org.apache.solr.core.JmxMonitoredMap init
 INFO: JMX monitoring is 

Re: Solr: ERRORs at Startup

2009-03-13 Thread Chris Hostetter

: Even setting everything to INFO through
: http://localhost:8080/solr/admin/logging didn't help.
: 
: But considering you do not see any bad issue here, at this time I will
: ignore those ERROR messages :-)

i would read up more on how to configure logging in JBoss.

as far as i can tell, Solr is logging messages, which are getting handled 
by a logger that writes them to STDERR using a fairly standard format 
(date, class, method, level, msg) ... except some other piece of code 
seems to be reading from STDERR, and assuming anything that got written 
there is an ERROR, so it's loging those writes to stderr using a format 
with a date, a level (of ERROR), and a group or some other identifier of 
STDERR

the problem is if you ignore them completely, you're going to miss 
noticing when you really have a problem.

Like i said: figure out how to configure logging in JBoss, you might need 
to change the slf4j adapater jar or something if it can't deal with JUL 
(which is the default).

:  10:51:20,525 INFO  [TomcatDeployment] deploy, ctxPath=/solr
:  10:51:20,617 ERROR [STDERR] Mar 13, 2009 10:51:20 AM
:  org.apache.solr.servlet.SolrDispatchFilter init
:  INFO: SolrDispatchFilter.init()



-Hoss