Skip to Content.
Sympa Menu

mace-opensaml-users - Re: Re: [OpenSAML] SAML assertion JAXB Error

Subject: OpenSAML user discussion

List archive

Re: Re: [OpenSAML] SAML assertion JAXB Error


Chronological Thread 
  • From: "Stepan Hrbacek" <>
  • To:
  • Subject: Re: Re: [OpenSAML] SAML assertion JAXB Error
  • Date: Tue, 23 Dec 2008 21:58:03 +0100
  • Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:in-reply-to:mime-version :content-type:references; b=oC8Ua64d0VmPiKA7cq72wQLXLCC+Xp5SqIGvD6yhfkIzUarDwuekt51tbwZlCzMDxa mimkYcPqh8OGg+88bPsJSsFZMacnl1orOWV4zBxAjpxip1Pbz9wGT8IzUpUG/bhchQ4s 1nj333sprUGG4OPAljnVK8iR3/gbBMDyNQaYo=

I am not an expert for logging but I guess that the issue is SLF4J configuration.
Instead of using logback (I have no experiences with) you can bridge SLF4J with log4j (we use it) or Java logging API (WSIT uses it) as described in https://spaces.internet2.edu/display/OpenSAML/OSTwoUsrManJavaBB.

--Stepan

2008/12/23 <>
Hi,

Thanks for the reply.
I have re-do my project after configuring Metro. However, There is a problem occurred which I guess it's related with the logging. I have added logback-core and logback-classic jars to my class path but it still doesn't work. Here is the error:
...
------------------------------------- CAUSED PROBLEM------------------------
Caused by: java.lang.IllegalAccessError: tried to access field org.slf4j.impl.StaticLoggerBinder.SINGLETON from class org.slf4j.LoggerFactory
       at org.slf4j.LoggerFactory.staticInitialize(LoggerFactory.java:83)
       at org.slf4j.LoggerFactory.<clinit>(LoggerFactory.java:73)
       at org.opensaml.DefaultBootstrap.<clinit>(DefaultBootstrap.java:36)
       at org.me.calculator.SOAPConstruct.handleMessage(SOAPConstruct.java:73)
       at org.me.calculator.SOAPConstruct.handleMessage(SOAPConstruct.java:60)
       at com.sun.xml.ws.handler.HandlerProcessor.callHandleMessageReverse(HandlerProcessor.java:336)
       at com.sun.xml.ws.handler.HandlerProcessor.callHandlersResponse(HandlerProcessor.java:207)

Is there a need to use maven for building the logback?
Any help is really appreciated.

Thanks,

Rick.




Archive powered by MHonArc 2.6.16.

Top of Page