Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Table of Contents
outlinetrue
stylenone

Error Log Files

...

  • Wiki Markup
  • *DSpace log file:* {{\[dspace\]/log/dspace.log}}   (usually)

...

  • Wiki Markup
    *Tomcat log directory:* {{\[tomcat\]/logs}}   (usually)

...

  • (

...

  • XMLUI

...

  • Only

...

  • )

...

  • *Cocoon

...

  • log

...

  • file:*

...

    • Wiki Markup
      DSpace 1.5.1 or previous: {{\[tomcat\]/webapps/<name-of-webapp>/WEB-INF/logs/}}

...

    • Wiki Markup
      DSpace 1.5.2 or later:  {{\[dspace\]/log/cocoon.log}}

...

Resources

...

  • mailing

...

  • list:

...

...

...

  • dspace-tech

...

  • (or

...

  • any

...

  • DSpace

...

  • mailing

...

  • list):

...

...

General Instructions

  1. Wiki Markup
    If the expected information simply never appears, leaving a blank browser screen, the problem is likely with either a servlet (for JSPUI) or an XSLT Theme (for XMLUI).  The error message should be in either {{\[dspace\]/log/dspace.log}} OR {{\[tomcat\]/logs/}}.  For the XMLUI, you may also want to check the Cocoon logs (see above for path) to see if any extra information can be found there.

...

  1. If

...

  1. you

...

  1. get

...

  1. an

...

  1. "Internal

...

  1. Server

...

  1. Error"

...

  1. message,

...

  1. you

...

  1. will

...

  1. have

...

  1. to

...

  1. check

...

  1. the

...

  1. log

...

  1. files

...

  1. for

...

  1. a

...

  1. full

...

  1. error

...

  1. listing.

...

  1. If

...

  1. your

...

  1. email

...

  1. address

...

  1. is

...

  1. set

...

  1. up

...

  1. in

...

  1. dspace.cfg

...

  1. (

...

  1. alert.recipient

...

  1. )

...

  1. as

...

  1. the

...

  1. DSpace

...

  1. Administrator,

...

  1. you

...

  1. should

...

  1. receive

...

  1. an

...

  1. email

...

  1. with

...

  1. this

...

  1. full

...

  1. error

...

  1. listing.

...

  1. If

...

  1. not,

...

  1. move

...

  1. into

...

  1. the

...

  1. DSpace

...

  1. log

...

  1. directory

...

  1. and

...

  1. view

...

  1. the

...

  1. end

...

  1. of

...

  1. the

...

  1. log

...

  1. file:

...

    • (Linux

...

    • or

...

    • Mac

...

    • OSX)

...

    • Go

...

    • to

...

    • the

...

    • DSpace

...

    • log

...

    • directory

...

    • via

...

    • the

...

    • command

...

    • line

...

    • and

...

    • enter:

...

    • tail

...

    • -100

...

    • dspace.log

...

    • Alternatively,

...

    • you

...

    • can

...

    • open

...

    • up

...

    • the

...

    • dspace.log

...

    • file

...

    • in

...

    • your

...

    • favorite

...

    • text

...

    • editor

...

    • and

...

    • look

...

    • near

...

    • the

...

    • bottom

...

    • of

...

    • the

...

    • file

...

    • for

...

    • the

...

    • error

...

    • message.

...

    • (Windows)

...

    • Go

...

    • to

...

    • the

...

    • DSpace

...

    • log

...

    • directory,

...

    • and

...

    • open

...

    • dspace.log

...

    • in

...

    • your

...

    • favorite

...

    • text

...

    • editor.

...

    • Look

...

    • near

...

    • the

...

    • bottom

...

    • for

...

    • the

...

    • error

...

    • message.

...

  1. Usually,

...

  1. the

...

  1. culprit

...

  1. file

...

  1. is

...

  1. in

...

  1. the

...

  1. first

...

  1. five

...

  1. to

...

  1. ten

...

  1. lines

...

  1. of

...

  1. the

...

  1. error

...

  1. stack

...

  1. listing.

...

  1. The

...

  1. error

...

  1. stack

...

  1. starts

...

  1. with

...

  1. a

...

  1. line

...

  1. similar

...

  1. to

...

  1. one

...

  1. of

...

  1. the

...

  1. following:

...

    • yyyy-mm-dd

...

    • time

...

    • WARN

...

    • ...

...

    • OR,

...

    • yyyy-mm-dd

...

    • time

...

    • ERROR

...

    • ...

...

  1. Search

...

  1. the

...

  1. DSpace

...

  1. technical

...

  1. FAQ

...

  1. and

...

  1. the

...

  1. dspace-tech

...

  1. mailing

...

  1. list

...

  1. for

...

  1. information

...

  1. on

...

  1. the

...

  1. error.

...

  1. Key

...

  1. words

...

  1. in

...

  1. the

...

  1. error

...

  1. often

...

  1. are

...

  1. useful

...

  1. search

...

  1. terms.

...

  1. Wiki Markup
    If you'd like to try and do some debugging yourself, you can change the DSpace logger settings to {{DEBUG}} which will sometimes provide you with more information about the error.  To turn on debugging, visit the {{\[dspace\]/config/log4j.properties}} file and do the following:

...

    • To

...

    • enable

...

    • DEBUG

...

    • logging

...

    • in

...

    • the

...

    • dspace.log

...

    • file,

...

    • change

...

    • the

...

    • log4j.rootCategory

...

    • and

...

    • log4j.logger.org.dspace

...

    • settings

...

    • to

...

    • DEBUG

...

    • rather

...

    • than

...

    • INFO

...

    • .
    • (XMLUI Only) To enable DEBUG logging in the cocoon.log file, change the log4j.logger.org.apache.cocoon

...

    • setting

...

    • to

...

    • DEBUG

...

    • rather

...

    • than

...

    • INFO

...

    • .
    • NOTE:

...

    • You'll

...

    • need

...

    • to

...

    • restart

...

    • Tomcat

...

    • after

...

    • enabling

...

    • DEBUG

...

    • mode

...

    • in

...

    • the

...

    • log4j.properties

...

    • file.

...

    • WARNING:

...

    • Make

...

    • sure

...

    • to

...

    • turn

...

    • off

...

    • debugging

...

    • once

...

    • you

...

    • are

...

    • finished.

...

    • Leaving

...

    • debugging

...

    • turned

...

    • on

...

    • will

...

    • cause

...

    • the

...

    • log

...

    • files

...

    • to

...

    • grow

...

    • very

...

    • large

...

    • very

...

    • quickly!

...

  1. If

...

  1. all

...

  1. else

...

  1. fails,

...

  1. email

...

  1. a

...

  1. description

...

  1. of

...

  1. the

...

  1. error

...

  1. along

...

  1. with

...

  1. the

...

  1. error

...

  1. stack

...

  1. listing

...

  1. to

...

  1. dspace-tech@lists.sourceforge.net.

...

  1. Try

...

  1. to

...

  1. include

...

  1. the

...

  1. following

...

  1. in

...

  1. your

...

  1. email:

...

    • Your

...

    • environment:

...

    • Operating

...

    • system,

...

    • version

...

    • of

...

    • DSpace,

...

    • version

...

    • of

...

    • Tomcat,

...

    • Java,

...

    • etc.

...

    • The

...

    • exact

...

    • steps

...

    • you

...

    • took

...

    • to

...

    • encounter

...

    • the

...

    • error

...

    • The

...

    • error

...

    • stack

...

    • that

...

    • you

...

    • found

...

    • in

...

    • your

...

    • log

...

    • file

...