Skip to Content.
Sympa Menu

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

Subject: OpenSAML user discussion

List archive

Re: [OpenSAML] SAML assertion JAXB Error


Chronological Thread 
  • From: Paul Hethmon <>
  • To: OpenSAML List <>
  • Subject: Re: [OpenSAML] SAML assertion JAXB Error
  • Date: Tue, 23 Dec 2008 17:23:40 -0500

Title: Re: [OpenSAML] SAML assertion JAXB Error
I had this come up deploying Shibboleth yesterday and it was caused by an old version of slf4j on the class path.

Paul


On 12/23/08 3:58 PM, "Stepan Hrbacek" <> wrote:

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.





-----
Paul Hethmon
Chief Software Architect
Clareity Security, LLC
865.824.1350 - office
865.250.3517 - mobile
www.clareitysecurity.com
-----

Give a man a fire and he's warm for the day. But set fire to him and he's warm for the rest of his life.

 -- Terry Pratchett, Discworld




Archive powered by MHonArc 2.6.16.

Top of Page