: But the log message that is getting print in the server console, in my case
: jboss, is showing status as error.
: Why is this showing as ERROR, even though things are working fine.

Solr is not declaring that those messages are ERRORs, solr is just logging 
informational messages (hence then "INFO" lines) using the java logging 
framework.

My guess: since the logs are getting prefixed with "ERROR [STDERR]" 
something about the way your jboss container is configured is probably 
causing those log messages to be written to STDERR, and then jboss is 
capturing the STDERR and assuming that if it went there it mist be an 
"ERROR" of some kind and logging it to the console (using it's own log 
format, hence the touble timestamps per line message)

In short: jboss is doing this in response to normal logging from solr.  
you should investigate your options for configuriring jboss and how it 
deals with log messages from applications.


: 11:41:19,030 INFO  [TomcatDeployer] deploy, ctxPath=/solr,
: warUrl=.../tmp/deploy/tmp43266solr-exp.war/
: 11:41:19,948 ERROR [STDERR] 8 Sep, 2009 11:41:19 AM
: org.apache.solr.servlet.SolrDispatchFilter init
: INFO: SolrDispatchFilter.init()
: 11:41:19,975 ERROR [STDERR] 8 Sep, 2009 11:41:19 AM
: org.apache.solr.core.SolrResourceLoader locateInstanceDir
: INFO: No /solr/home in JNDI
: 11:41:19,976 ERROR [STDERR] 8 Sep, 2009 11:41:19 AM
: org.apache.solr.core.SolrResourceLoader locateInstanceDir
: INFO: using system property solr.solr.home: C:\app\Search
: 11:41:19,984 ERROR [STDERR] 8 Sep, 2009 11:41:19 AM
: org.apache.solr.core.CoreContainer$Initializer initialize
: INFO: looking for solr.xml: C:\app\Search\solr.xml
: 11:41:20,084 ERROR [STDERR] 8 Sep, 2009 11:41:20 AM
: org.apache.solr.core.SolrResourceLoader <init>
: INFO: Solr home set to 'C:\app\Search' 
: 11:41:20,142 ERROR [STDERR] 8 Sep, 2009 11:41:20 AM
: org.apache.solr.core.SolrResourceLoader createClassLoader
: INFO: Adding
: 'file:/C:/app/Search/lib/apache-solr-dataimporthandler-1.3.0.jar' to Solr
: classloader
: 11:41:20,144 ERROR [STDERR] 8 Sep, 2009 11:41:20 AM
: org.apache.solr.core.SolrResourceLoader createClassLoader
: INFO: Adding 'file:/C:/app/Search/lib/jsp-2.1/' to Solr classloader
: 
: ...........
: INFO: Reusing parent classloader
: 11:41:21,870 ERROR [STDERR] 8 Sep, 2009 11:41:21 AM
: org.apache.solr.core.SolrConfig <init>
: INFO: Loaded SolrConfig: solrconfig.xml
: 11:41:21,909 ERROR [STDERR] 8 Sep, 2009 11:41:21 AM
: org.apache.solr.schema.IndexSchema readSchema
: INFO: Reading Solr Schema
: 11:41:22,092 ERROR [STDERR] 8 Sep, 2009 11:41:22 AM
: org.apache.solr.schema.IndexSchema readSchema
: INFO: Schema name=contacts schema
: 11:41:22,121 ERROR [STDERR] 8 Sep, 2009 11:41:22 AM
: org.apache.solr.util.plugin.AbstractPluginLoader load
: INFO: created string: org.apache.solr.schema.StrField
: 
: .................
: -- 
: View this message in context: 
http://www.nabble.com/Misleading-log-messages-while-deploying-solr-tp25354654p25354654.html
: Sent from the Solr - User mailing list archive at Nabble.com.
: 



-Hoss

Reply via email to