IdP Setup - UnsupportedClassVersionError

Paul Hethmon paul.hethmon at clareitysecurity.com
Wed Sep 19 11:46:15 EDT 2012


That version of the JDK is not supported, you need 1.6 minimum. Check the
wiki for more specifics.

Paul

On 9/19/12 11:43 AM, "BT" <btbones at gmail.com> wrote:

>Sorry, I should have included that.
>jdk1.5.0_22
>
>
>-----Original Message-----
>From: users-bounces at shibboleth.net [mailto:users-bounces at shibboleth.net]
>On
>Behalf Of Chad La Joie
>Sent: Wednesday, September 19, 2012 10:13 AM
>To: Shib Users
>Subject: Re: IdP Setup - UnsupportedClassVersionError
>
>What JDK version are you using?
>
>On Wed, Sep 19, 2012 at 11:10 AM, BT <btbones at gmail.com> wrote:
>> I'm getting a "java.lang.UnsupportedClassVersionError: Bad version
>> number in .class file (unable to load class
>> edu.internet2.middleware.shibboleth.common.log.SLF4JMDCCleanupFilter)"
>> error when trying to deploy the idp.xml to Tomcat.
>>
>>
>>
>> It seems like this would be related to the setup of the endorsed jars
>> with Tomcat, but I can't seem to track it down.  I created
>> TOMCAT_HOME\endorsed and copied all the shibboleth endorsed jars
>> there.  I've validated that Tomcat6w.exe shows
>> "-Djava.endorsed.dirs=C:\Cypress\JSP\apache-tomcat-6.0.35\endorsed" as
>> an included Java option and also tried adding
>"${catalina.home}/endorsed/*.jar"
>> to the common.loader in catalina.properties for good measure.
>>
>>
>>
>> Any advice or direction would be much appreciated.
>>
>>
>> Thanks.
>>
>> Brian
>>
>>
>>
>>
>>
>> Environment:
>>
>> .        Windows 7
>>
>> .        Shibboleth 2.3.8
>>
>> .        Tomcat 6.0.35
>>
>> o   Apache 2.2.21 (providing SSL)
>>
>>
>>
>> Error (Tomcat catalina.out - no IdP logs are generated):
>>
>> Sep 19, 2012 12:56:43 AM org.apache.catalina.startup.HostConfig
>> deployDescriptor
>>
>> INFO: Deploying configuration descriptor idp.xml
>>
>> Sep 19, 2012 12:56:43 AM org.apache.tomcat.util.modeler.Registry
>> registerComponent
>>
>> SEVERE: Null component
>> Catalina:type=JspMonitor,name=shibboleth_jsp,WebModule=//localhost/idp
>> ,J2EEApplication=none,J2EEServer=none
>>
>> Sep 19, 2012 12:56:43 AM org.apache.tomcat.util.modeler.Registry
>> registerComponent
>>
>> SEVERE: Null component
>> Catalina:type=JspMonitor,name=jsp,WebModule=//localhost/idp,J2EEApplic
>> ation=none,J2EEServer=none
>>
>> Sep 19, 2012 12:56:43 AM org.apache.catalina.startup.HostConfig
>> deployDescriptor
>>
>> SEVERE: Error deploying configuration descriptor idp.xml
>>
>> java.lang.UnsupportedClassVersionError: Bad version number in .class
>> file (unable to load class
>> edu.internet2.middleware.shibboleth.common.log.SLF4JMDCCleanupFilter)
>>
>>                     at
>> org.apache.catalina.loader.WebappClassLoader.findClassInternal(WebappC
>> lassLoader.java:2822)
>>
>>                     at
>> org.apache.catalina.loader.WebappClassLoader.findClass(WebappClassLoad
>> er.java:1159)
>>
>>                     at
>> org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoad
>> er.java:1647)
>>
>>                     at
>> org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoad
>> er.java:1526)
>>
>>                     at
>> org.apache.catalina.startup.WebAnnotationSet.loadClassAnnotation(WebAn
>> notationSet.java:145)
>>
>>                     at
>> org.apache.catalina.startup.WebAnnotationSet.loadApplicationFilterAnno
>> tations(WebAnnotationSet.java:84)
>>
>>                     at
>> org.apache.catalina.startup.WebAnnotationSet.loadApplicationAnnotation
>> s(WebAnnotationSet.java:57)
>>
>>                     at
>> org.apache.catalina.startup.ContextConfig.applicationAnnotationsConfig
>> (ContextConfig.java:297)
>>
>>                     at
>> org.apache.catalina.startup.ContextConfig.start(ContextConfig.java:107
>> 8)
>>
>>                     at
>> org.apache.catalina.startup.ContextConfig.lifecycleEvent(ContextConfig
>> .java:261)
>>
>>                     at
>> org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(Lifecycle
>> Support.java:142)
>>
>>                     at
>> org.apache.catalina.core.StandardContext.start(StandardContext.java:46
>> 12)
>>
>>                     at
>> org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.
>> java:799)
>>
>>                     at
>> org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:779
>> )
>>
>>                     at
>> org.apache.catalina.core.StandardHost.addChild(StandardHost.java:601)
>>
>>                     at
>> org.apache.catalina.startup.HostConfig.deployDescriptor(HostConfig.jav
>> a:675)
>>
>>                     at
>> org.apache.catalina.startup.HostConfig.deployDescriptors(HostConfig.ja
>> va:601)
>>
>>                     at
>> org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:502)
>>
>>                     at
>> org.apache.catalina.startup.HostConfig.check(HostConfig.java:1385)
>>
>>                     at
>> org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:
>> 306)
>>
>>                     at
>> org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(Lifecycle
>> Support.java:142)
>>
>>                     at
>> org.apache.catalina.core.ContainerBase.backgroundProcess(ContainerBase
>> .java:1389)
>>
>>                     at
>> org.apache.catalina.core.ContainerBase$ContainerBackgroundProcessor.pr
>> ocessChildren(ContainerBase.java:1653)
>>
>>                     at
>> org.apache.catalina.core.ContainerBase$ContainerBackgroundProcessor.pr
>> ocessChildren(ContainerBase.java:1662)
>>
>>                     at
>> org.apache.catalina.core.ContainerBase$ContainerBackgroundProcessor.ru
>> n(ContainerBase.java:1642)
>>
>>                     at java.lang.Thread.run(Thread.java:595)
>>
>>
>> --
>> To unsubscribe from this list send an email to
>> users-unsubscribe at shibboleth.net
>
>
>
>--
>Chad La Joie
>www.itumi.biz
>trusted identities, delivered
>--
>To unsubscribe from this list send an email to
>users-unsubscribe at shibboleth.net
>
>--
>To unsubscribe from this list send an email to
>users-unsubscribe at shibboleth.net



More information about the users mailing list