04-21-2009 08:15 PM
04-23-2009 08:13 PM
04-24-2009 03:09 PM
04-24-2009 04:13 PM
04-29-2009 09:20 AM
04-30-2009 05:49 PM
WARNING: Parameters: Invalid chunk ignored
. com.iplanet.am.serverMode=false
com.iplanet.am.cookie.encode=true
com.iplanet.am.cookie.secure=false
But that did not work either. I wonder if at the client level you have to decode the parameters before building the token.
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)
05-01-2009 10:45 AM
05-01-2009 09:17 PM
com.iplanet.am.cookie.encode=true
. I think setting this property in all cases is probably a good idea.
05-14-2009 04:38 AM
05-14-2009 08:52 AM
07-10-2009 09:06 PM
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). I think setting this property in all cases is probably a good idea.com.iplanet.am.cookie.encode=true
Tags
Find what you came for
We want to make your experience in Hyland Connect as valuable as possible, so we put together some helpful links.