As we transition to the new Hyland Community, some post links may be temporarily disrupted as we finalize redirects. We apologize for the inconvenience and are working to resolve this as quickly as possible. Details.
java.lang.NoClassDefFoundError: Could not initialize class com.iplanet.services.naming.service.NamingService
java.lang.NoClassDefFoundError: Could not initialize class com.iplanet.dpro.session.Session
WARNING: Parameters: Invalid chunk ignored
com.iplanet.am.serverMode=false com.iplanet.am.cookie.encode=true com.iplanet.am.cookie.secure=false
amNaming:04/30/2009 02:14:53:846 PM PDT: Thread[http-8080-1,5,main] ERROR: WebtopNaming.getServerId():noServerId amNaming:04/30/2009 02:14:53:884 PM PDT: Thread[http-8080-1,5,main] ERROR: WebtopNaming.getServerId() java.lang.Exception: Cannot find server ID. at com.iplanet.services.naming.WebtopNaming.getServerID(WebtopNaming.java:626) at com.iplanet.services.naming.WebtopNaming.getServerID(WebtopNaming.java:590) at com.iplanet.services.naming.WebtopNaming.getAMServerID(WebtopNaming.java:226) at com.iplanet.dpro.session.Session.<clinit>(Session.java:311) at com.iplanet.sso.providers.dpro.SSOProviderImpl.createSSOToken(SSOProviderImpl.java:88) at com.iplanet.sso.SSOTokenManager.createSSOToken(SSOTokenManager.java:239) at com.sourcesense.alfresco.opensso.OpenSSOClient.createTokenFrom(OpenSSOClient.java:79) at com.sourcesense.alfresco.webscript.OpenSSOAuthenticationFactory$OpenSSOAuthenticator.authenticate(OpenSSOAuthenticationFactory.java:91) at org.alfresco.repo.web.scripts.RepositoryContainer.executeScript(RepositoryContainer.java:265) at org.alfresco.web.scripts.AbstractRuntime.executeScript(AbstractRuntime.java:261) at org.alfresco.web.scripts.AbstractRuntime.executeScript(AbstractRuntime.java:139) at org.alfresco.web.scripts.servlet.WebScriptServlet.service(WebScriptServlet.java:116) at javax.servlet.http.HttpServlet.service(HttpServlet.java:717) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233) at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191) at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:128) at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102) at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109) at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:286) at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:845) at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:583) at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:447) at java.lang.Thread.run(Thread.java:619) amSSOProvider:04/30/2009 02:14:53:988 PM PDT: Thread[http-8080-1,5,main] could not create SSOToken from HttpRequest com.iplanet.dpro.session.SessionException: Invalid session ID. at com.iplanet.dpro.session.Session.getSession(Session.java:970) at com.iplanet.sso.providers.dpro.SSOProviderImpl.createSSOToken(SSOProviderImpl.java:88) at com.iplanet.sso.SSOTokenManager.createSSOToken(SSOTokenManager.java:239) at com.sourcesense.alfresco.opensso.OpenSSOClient.createTokenFrom(OpenSSOClient.java:79) at com.sourcesense.alfresco.webscript.OpenSSOAuthenticationFactory$OpenSSOAuthenticator.authenticate(OpenSSOAuthenticationFactory.java:91) at org.alfresco.repo.web.scripts.RepositoryContainer.executeScript(RepositoryContainer.java:265) at org.alfresco.web.scripts.AbstractRuntime.executeScript(AbstractRuntime.java:261) at org.alfresco.web.scripts.AbstractRuntime.executeScript(AbstractRuntime.java:139) at org.alfresco.web.scripts.servlet.WebScriptServlet.service(WebScriptServlet.java:116) at javax.servlet.http.HttpServlet.service(HttpServlet.java:717) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233) at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191) at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:128) at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102) at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109) at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:286) at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:845) at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:583) at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:447) at java.lang.Thread.run(Thread.java:619)
com.iplanet.am.cookie.encode=true
The OpenSSO server and the Alfresco server are in the same domain.The naming URL is accessible from the Alfresco machine I used the Tomcat version bundled with Alfresco 3.1 which happens to be 6.0.18.That being said, I finally got it working. I moved the AMConfig.properties and the openssosdk-8.0 jar file to the individual webapps (alfresco and share) WEB-INF directory instead of the tomcat container level directories as listed in the HOWTO and everything seems to be working now! I'm not sure why this would be the case, but since its working, I'm moving on for now.Also, for integration with Liferay Portal, I had to set the com.iplanet.am.cookie.encode=true both on the Alfresco side AMConfig.properties and in the OpenSSO server (using their console)com.iplanet.am.cookie.encode=true. I think setting this property in all cases is probably a good idea.
Hi,Please refer to http://opensource.sourcesense.com/confluence/display/ALE/version+0.6 to integrate Share and webscripts in general with OpenSSO. CIFS is not yet supported in this version, but will be shortly!Regards,–Gustavo Nalle Fernandesg.fernandes at sourcesense.com
We at Sourcesense (http://www.sourcesense.com) are maintainers of an opensource project that integrates Alfresco and OpenSSO.Please check the quick start guide at https://dev.sourcesense.com/svn/alfresco/sso/opensso/tags/alfresco-opensso-0.5/READMEFeedbacks and contributions will be most welcome!Regards,–Gustavo Nalle Fernandesg.fernandes at sourcesense.com
I tried essentially the same thing as you described except I am using alfresco-opennso v 0.7 and tomcat 5.5.27, and no luck. No liferay involved, just alfresco and opensso.Posted details at http://opensource.sourcesense.com/confluence/display/ALE/version+0.6Any other pointers.The OpenSSO server and the Alfresco server are in the same domain.The naming URL is accessible from the Alfresco machine I used the Tomcat version bundled with Alfresco 3.1 which happens to be 6.0.18.That being said, I finally got it working. I moved the AMConfig.properties and the openssosdk-8.0 jar file to the individual webapps (alfresco and share) WEB-INF directory instead of the tomcat container level directories as listed in the HOWTO and everything seems to be working now! I'm not sure why this would be the case, but since its working, I'm moving on for now.Also, for integration with Liferay Portal, I had to set the com.iplanet.am.cookie.encode=true both on the Alfresco side AMConfig.properties and in the OpenSSO server (using their console)com.iplanet.am.cookie.encode=true. I think setting this property in all cases is probably a good idea.