Skip to Content.
Sympa Menu

shibboleth-dev - Re: log4j...

Subject: Shibboleth Developers

List archive

Re: log4j...


Chronological Thread 
  • From: Tom Scavo <>
  • To: Atif Suleman <>
  • Cc:
  • Subject: Re: log4j...
  • Date: Thu, 12 May 2005 09:03:49 -0400
  • Domainkey-signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:reply-to:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=qLp62OmtTPNLxlRok//Bt6ai274L91+bqUCfH8bBU0W2Gn4wnL8ILQjn/ZLXOUgMn0Xw4kpMMEYvf3GuiBRk6emU3YzPF4l+mOjzKb9CfTbj0cf6J6YJ8Ixymwf3VoYPi7u21BMBhc5vgydVHCGyalC1QXLpH4xfc+Zp+GdwfLQ=

On 5/12/05, Atif Suleman
<>
wrote:
>
> INFO: Deploying web application archive shibboleth.war
> log4j:WARN No appenders could be found for logger
> (org.apache.catalina.session.ManagerBase).
> log4j:WARN Please initialize the log4j system properly.

I've always received these (spurious?) warning messages, too.

> 2005-05-12 12:44:08,195 ERROR
> - Encountered an error while parsing Shibboleth Identity Provider
> configuration file: org.xml.sax.SAXParseException:
> cvc-complex-type.2.4.a: Invalid content was found starting with element
> 'HSNameFormat'. One of '{"urn:mace:shibboleth:idp:config:1.0":NameID}'
> is expected.

Evidently, you have a bug in the RelyingParty element (or thereabouts)
in IdP.xml. Did you modify this file?

> 2005-05-12 12:44:08,205 ERROR
> - Problem setting up logging.
> edu.internet2.middleware.shibboleth.common.ShibbolethConfigurationException:
> Unable to parse IdP configuration file.

This may be a spurious error message. Fix the RelyingParty bug and
see if this goes away.

> I reckon it's got to do with the fact that the log4j properties file is
> missing from $tomcat_home/webapps/shibboleth/WEB-INF/classes

log4j is not configured out-of-the-box. I unsuccessfully tried to
activate the Logging elements in IdP.xml but fortunately I've not
needed it. See /shibboleth/diagnose/initialize.log for log entries.

Tom



Archive powered by MHonArc 2.6.16.

Top of Page