Dear all,

Recently I updated my DSpace to 4.2 but i have many problems. The tomcat
simply stops working. In logs of tomcat I see the next error. ¡Please Help
me!
**
------------------------------------------ FILE: localhost.log**

INFORMACIÓN:  In context /solr, configuring Log4J from
file:/c:/dspace/config/log4j-solr.properties
ago 26, 2014 9:27:46 AM org.apache.catalina.core.ApplicationContext log
INFORMACIÓN: Can't create webapp MBean:  org.dspace.utils.DSpaceWebapp
ago 26, 2014 9:27:50 AM org.apache.catalina.core.ApplicationContext log
INFORMACIÓN: Initializing Spring root WebApplicationContext
ago 26, 2014 9:27:54 AM org.apache.catalina.core.ApplicationContext log
INFORMACIÓN: Can't create webapp MBean:  org.dspace.utils.DSpaceWebapp
ago 26, 2014 9:27:55 AM org.apache.catalina.core.ApplicationContext log
INFORMACIÓN: Can't create webapp MBean:  org.dspace.utils.DSpaceWebapp
ago 26, 2014 9:27:58 AM org.apache.catalina.core.ApplicationContext log
INFORMACIÓN: Initializing Spring root WebApplicationContext
ago 26, 2014 9:28:03 AM org.apache.catalina.core.ApplicationContext log
INFORMACIÓN: Can't create webapp MBean:  org.dspace.utils.DSpaceWebapp
ago 26, 2014 9:28:07 AM org.apache.catalina.core.ApplicationContext log
INFORMACIÓN: Can't create webapp MBean:  org.dspace.utils.DSpaceWebapp
ago 26, 2014 9:28:43 AM org.apache.catalina.core.StandardWrapperValve invoke
GRAVE: El Servlet.service() para el servlet [bitstream] en el contexto con
ruta [/jspui] lanzó la excepción [ClientAbortException:
java.net.SocketException: Connection reset by peer: socket write error] con
causa raíz
java.net.SocketException: Connection reset by peer: socket write error
        at java.net.SocketOutputStream.socketWrite0(Native Method)
        at java.net.SocketOutputStream.socketWrite(Unknown Source)
        at java.net.SocketOutputStream.write(Unknown Source)
        at
org.apache.coyote.http11.InternalOutputBuffer.realWriteBytes(InternalOutputBuffer.java:215)
        at
org.apache.tomcat.util.buf.ByteChunk.flushBuffer(ByteChunk.java:462)
        at org.apache.tomcat.util.buf.ByteChunk.append(ByteChunk.java:366)
        at
org.apache.coyote.http11.InternalOutputBuffer$OutputStreamOutputBuffer.doWrite(InternalOutputBuffer.java:240)
        at
org.apache.coyote.http11.filters.IdentityOutputFilter.doWrite(IdentityOutputFilter.java:84)
        at
org.apache.coyote.http11.AbstractOutputBuffer.doWrite(AbstractOutputBuffer.java:192)
        at org.apache.coyote.Response.doWrite(Response.java:504)
        at
org.apache.catalina.connector.OutputBuffer.realWriteBytes(OutputBuffer.java:383)
        at org.apache.tomcat.util.buf.ByteChunk.append(ByteChunk.java:342)
        at
org.apache.catalina.connector.OutputBuffer.writeBytes(OutputBuffer.java:413)
        at
org.apache.catalina.connector.OutputBuffer.write(OutputBuffer.java:401)
        at
org.apache.catalina.connector.CoyoteOutputStream.write(CoyoteOutputStream.java:91)
        at java.io.BufferedOutputStream.flushBuffer(Unknown Source)
        at java.io.BufferedOutputStream.write(Unknown Source)
        at org.dspace.core.Utils.copy(Utils.java:238)
        at org.dspace.core.Utils.bufferedCopy(Utils.java:264)
        at
org.dspace.app.webui.servlet.BitstreamServlet.doDSGet(BitstreamServlet.java:221)
        at
org.dspace.app.webui.servlet.DSpaceServlet.processRequest(DSpaceServlet.java:119)
        at
org.dspace.app.webui.servlet.DSpaceServlet.doGet(DSpaceServlet.java:67)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:621)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:722)
        at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:305)
        at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
        at
org.dspace.utils.servlet.DSpaceWebappServletFilter.doFilter(DSpaceWebappServletFilter.java:78)
        at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243)
        at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
        at
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:225)
        at
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:169)
        at
org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:472)
        at
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:168)
        at
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:98)
        at
org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:927)
        at
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:118)
        at
org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:407)
        at
org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:999)
        at
org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:565)
        at
org.apache.tomcat.util.net.JIoEndpoint$SocketProcessor.run(JIoEndpoint.java:307)
        at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
        at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown
Source)
        at java.lang.Thread.run(Unknown Source)


*------------------------------------------ FILE: Tomcat7-stderr*
INFO [pool-2-thread-1] (ConfigurationManager.java:955) - Loading provided
config file: c:/dspace/config/dspace.cfg
 INFO [pool-2-thread-1] (ConfigurationManager.java:955) - Using dspace
provided log configuration (log.init.config)
 INFO [pool-2-thread-1] (ConfigurationManager.java:955) - Loading:
c:/dspace/config/log4j.properties
[WARN] deprecation - The 'component-configurations' section in the sitemap
is deprecated. Please check for alternatives.
Exception in thread "http-bio-8080-exec-4" Exception in thread
"http-bio-8080-exec-10" Exception in thread "http-bio-8080-exec-5" Exception
in thread "http-bio-8080-exec-16" Exception in thread
"http-bio-8080-exec-19" Exception in thread "http-bio-8080-exec-8" Exception
in thread "http-bio-8080-exec-17" Exception in thread
"http-bio-8080-exec-20" Exception in thread "http-bio-8080-exec-23"
Exception in thread "http-bio-8080-exec-25" Exception in thread
"http-bio-8080-exec-26" Exception in thread "http-bio-8080-exec-3" Exception
in thread "http-bio-8080-exec-27" Exception in thread
"http-bio-8080-exec-14" Exception in thread "http-bio-8080-exec-18"
Exception in thread "http-bio-8080-exec-37" Exception in thread
"http-bio-8080-exec-28" Exception in thread "http-bio-8080-exec-34"
Exception in thread "http-bio-8080-exec-24" Exception in thread
"http-bio-8080-exec-22" Exception in thread "http-bio-8080-exec-33"
Exception in thread "http-bio-8080-exec-21" Exception in thread
"http-bio-8080-exec-39"

*
*------------------------------------ FILE: log4j.properties**
###########################################################################
#
# log4j.properties
#
# Version: $Revision$
#
# Date: $Date$
#
###########################################################################

# This is the log4j configuration file for DSpace. Log4j can be configured
to
# write files that rotate every day or every month.
#
# Text surrounded by ${} symbols is replaced with the corresponding
# property from dspace.cfg by Ant when DSpace is deployed.  For example:
#
# dspace.url
#
# would be replaced with the dspace.url property in dspace.cfg.
#
# Additional properties expanded by Maven during the DSpace assembly
# process:
#
# loglevel.dspace (currently set to: DEBUG)
#   Log level for all DSpace-specific code (org.dspace.*)
#   Possible values (from most to least info): DEBUG, INFO, WARN, ERROR,
FATAL
#
# loglevel.other (currently set to: DEBUG)
#   Log level for other third-party tools/APIs used by DSpace
#   Possible values (from most to least info): DEBUG, INFO, WARN, ERROR,
FATAL

###########################################################################
# A1 is the name of the appender for most DSpace activity.
###########################################################################
# The root category is the default setting for all non-DSpace code.
# Change this from INFO to DEBUG to see extra logging created by non-DSpace
# code.
log4j.rootCategory=DEBUG, A1
# This line sets the logging level for DSpace code. Set this to DEBUG to see
# extra detailed logging for DSpace code.
log4j.logger.org.dspace=DEBUG, A1
# Do not change this line
log4j.additivity.org.dspace=false
# The name of the file appender
log4j.appender.A1=org.dspace.app.util.DailyFileAppender
# The filename of the log file created. A date stamp is appended to this
log4j.appender.A1.File=c:/dspace/log/dspace.log
# Set this to yyyy-MM-DD for daily log files, or yyyy-MM for monthly files
log4j.appender.A1.DatePattern=yyyy-MM-dd
# The number of log files to keep, or 0 to keep them all
log4j.appender.A1.MaxLogs=0
# A1 uses PatternLayout.
log4j.appender.A1.layout=org.apache.log4j.PatternLayout
log4j.appender.A1.layout.ConversionPattern=%d %-5p %c @ %m%n


###########################################################################
# A2 is the name of the appender for the Checker
###########################################################################
# This line sets the logging level for the checksum checker log file.
# Set this to DEBUG to see extra detailed logging.
log4j.logger.org.dspace.checker=INFO, A2
# Do not change this line
log4j.additivity.org.dspace.checker=false
# The name of the file appender
log4j.appender.A2=org.dspace.app.util.DailyFileAppender
# The filename of the log file created. A date stamp is appended to this
log4j.appender.A2.File=c:/dspace/log/checker.log
# Set this to yyyy-MM-DD for daily log files, or yyyy-MM for monthly files
log4j.appender.A2.DatePattern=yyyy-MM-dd
# The number of log files to keep, or 0 to keep them all
log4j.appender.A2.MaxLogs=0
# A2 uses PatternLayout.
log4j.appender.A2.layout=org.apache.log4j.PatternLayout
log4j.appender.A2.layout.ConversionPattern=%m%n


###########################################################################
# A3 is the name of the appender for Cocoon (XMLUI only)
###########################################################################
# These lines sets the logging level for the cocoon log file.
# Set these to DEBUG to see extra detailed logging.
log4j.logger.org.apache.cocoon=INFO, A3
log4j.logger.cocoon=INFO, A3
log4j.logger.org.springframework=INFO, A3
# Do not change these lines
log4j.additivity.org.apache.cocoon=false
log4j.additivity.cocoon=false
log4j.additivity.org.springframework=false
# The name of the file appender
log4j.appender.A3=org.dspace.app.util.DailyFileAppender
# The filename of the log file created. A date stamp is appended to this
log4j.appender.A3.File=c:/dspace/log/cocoon.log
# Set this to yyyy-MM-DD for daily log files, or yyyy-MM for monthly files
log4j.appender.A3.DatePattern=yyyy-MM-dd
# The number of log files to keep, or 0 to keep them all
log4j.appender.A3.MaxLogs=14
# A2 uses PatternLayout.
log4j.appender.A3.layout=org.apache.log4j.PatternLayout
log4j.appender.A3.layout.ConversionPattern=%d %-5p %c %x - %m%n


###########################################################################
# A4 is the name of the appender for Solr
###########################################################################
log4j.logger.org.apache.solr=ERROR, A4
log4j.additivity.org.apache.solr=false
log4j.appender.A4=org.dspace.app.util.DailyFileAppender
log4j.appender.A4.File=c:/dspace/log/solr.log
log4j.appender.A4.DatePattern=yyyy-MM-dd
log4j.appender.A4.MaxLogs=14
log4j.appender.A4.layout=org.apache.log4j.PatternLayout
log4j.appender.A4.layout.ConversionPattern=%d %-5p %c %x - %m%n


###########################################################################
# Other settings
###########################################################################

# Block passwords from being exposed in Axis logs.
# (DEBUG exposes passwords in Basic Auth)
log4j.logger.org.apache.axis.handlers.http.HTTPAuthHandler=INFO

# Block services logging except on exceptions
log4j.logger.org.dspace.kernel=ERROR
log4j.logger.org.dspace.services=ERROR
log4j.logger.org.dspace.servicemanager=ERROR
log4j.logger.org.dspace.providers=ERROR
log4j.logger.org.dspace.utils=ERROR

**------------------------------- FILE:  log4j-solr.properties**
#  Logging level
solr.log=logs/
log4j.rootLogger=INFO, file

log4j.appender.CONSOLE=org.apache.log4j.ConsoleAppender

log4j.appender.CONSOLE.layout=org.apache.log4j.PatternLayout
log4j.appender.CONSOLE.layout.ConversionPattern=%-4r [%t] %-5p %c %x \u2013
%m%n

#- size rotation with log cleanup.
log4j.appender.file=org.apache.log4j.DailyRollingFileAppender
# Set this to yyyy-MM-DD for daily log files, or yyyy-MM for monthly files
log4j.appender.file.DatePattern='.'yyyy-MM-dd

#- File to log to and log format
log4j.appender.file.File=c:/dspace/log/solr.log
log4j.appender.file.layout=org.apache.log4j.PatternLayout
log4j.appender.file.layout.ConversionPattern=%d %-5p %c @ %m%n

log4j.logger.org.apache.zookeeper=WARN
log4j.logger.org.apache.hadoop=WARN

# set to INFO to enable infostream log messages
log4j.logger.org.apache.solr.update.LoggingInfoStream=OFF

My Operative System is Windows 7, with Tomcat7, JDK7, Postgres 8.4

In JAVA_OPTS I have -Xmx512M -Xms512M -Dfile.encoding=UTF-8
-XX:MaxPermSize=128m

But yet any petition in DSpace may take a lot.

Thank You



--
View this message in context: 
http://dspace.2283337.n4.nabble.com/Error-log4j-solr-properties-and-log4j-properties-tp4674602.html
Sent from the DSpace - Tech mailing list archive at Nabble.com.

------------------------------------------------------------------------------
Slashdot TV.  
Video for Nerds.  Stuff that matters.
http://tv.slashdot.org/
_______________________________________________
DSpace-tech mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/dspace-tech
List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette

Reply via email to