i used the openAm for sso . when i run the tomcat server . i got the following Error in my page Help me to solve this issue
java.lang.NoClassDefFoundError: Could not initialize class com.sun.identity.shared.encode.CookieUtils
at com.iplanet.dpro.session.SessionID.<init>(SessionID.java:120) at com.iplanet.sso.providers.dpro.SSOProviderImpl.createSSOToken(SSOProviderImpl.java:87) at com.iplanet.sso.SSOTokenManager.createSSOToken(SSOTokenManager.java:239) at com.sun.comms.client.security.sso.impl.SunBaseIdentitySSOProvider.SingleSignOn(Unknown Source) at com.sun.comms.client.web.sso.SSOFilter.doFilter(Unknown Source) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:246) … 37 more
which kind of Java VM are you using? Since a Sun-specific class is required, it seems that the library you are using requires a Sun/Oracle JVM, as other JVMs may not provide the same class.
based on some research of myself, I take back my assumption this may have something to do with your Java VM.
Which version of OpenAM are you using? Do the instructions you based your configuration on match that version? As far as I can see from the JavaDoc of the current version, there isn't any class named com.sun.identity.shared.encode.CookieUtils in the OpenAM codebase.