[JBoss Portal] - JBoss 2.7.0.GA Integration with OpenSSO Under Linux
by ratheesh.nair
Hi,
I am having couple of issues in integrating JBoss Portal with OpenSSO under Linux, it will be great if somebody can throw some thoughts on this.
I am integrating under the following environment,
a) Red Hat Linux 5.2, X86_32
b) JDK 1.5.0_14
c) JBoss Portal Server 2.7.0.GA
d) OpenSSO Enterprise 8.0 Build 6(2008-October-31 09:07) with Embedded repository
e) MySQL 5.1 (for JBoss Portal repository)
f) Apache Tomcat 6.0.1 (for OpenSSO deployment)
The following configurations have been done in the box and its working fine,
a) JBoss Portal running in port 8080 with MySQL as portal repository
b) OpenSSO under Apache Tomcat running in port 8081
The following configuration have been done for integrating JBoss portal with OpenSSO, I am not sure whether this is correct since there are not enough official documentation on this part. Also JBoss Portal Server 2.7.0.GA have only an experimental support for OpenSSO.
a) Modified $JBOSS_PORTAL_HOME/servers/ssor-appserver/deploy/jboss-portal.sar/portal-server.war/WEB-INF/context.xml file and uncommented the following section,
b) Copied openssoclientsdk.jar file to $JBOSS_PORTAL_HOME/server/ssor-appserver/deploy/jboss-portal.sar/lib folder
c) Modified port number in $TOMCAT_HOME/conf/server.xml as below,
and commented out AJP connector
d) Created a user "admin" under subject in openSSO (under top realm)
While accessing JBoss portal through browser it throws some Java stack trace and but gets forwarded to OpenSSO login page which is desired behavior, but when I try to login through opensso, the redirection happens in a loop and stack traces are printed in the JBoss console in a loop (find below stack trace). Interestingly I dont get any stacktrace in Tomcat console (where openSSO is deployed).
00:42:25,057 INFO [Server] JBoss (MX MicroKernel) [4.2.3.GA (build: SVNTag=JBoss_4_2_3_GA date=200807181417)] Started in 1m:16s:164ms
00:42:43,612 INFO [STDOUT] amSDK:01/06/2009 12:42:43:611 AM PST: Thread[-1,5,jboss]
Constructing a new instance of SSOTokenManager
00:42:43,615 INFO [STDOUT] amSDK:01/06/2009 12:42:43:615 AM PST: Thread[,5,jboss]
Obtained Grappa SSO Provider
00:42:43,623 INFO [STDOUT] amSDK:01/06/2009 12:42:43:622 AM PST: Thread-1,5,jboss]
Obtained DPRO SSO Provider
00:42:43,661 INFO [STDOUT] amNaming:01/06/2009 12:42:43:661 AM PST: Thread[,jboss]
ERROR: WebtopNaming.getServerId():noServerId
00:42:43,694 INFO [STDOUT] amNaming:01/06/2009 12:42:43:693 AM PST: Thread[,jboss]
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.(Session.java:311)
at com.iplanet.sso.providers.dpro.SSOProviderImpl.createSSOToken(SSOProviderImpl.java:88)
at com.iplanet.sso.SSOTokenManager.createSSOToken(SSOTokenManager.java:239)
at org.jboss.portal.identity.sso.opensso.OpenSSOAuthenticationValve.getToken(OpenSSOAuthenticationValve.java:214)
at org.jboss.portal.identity.sso.opensso.OpenSSOAuthenticationValve.invoke(OpenSSOAuthenticationValve.java:76)
at org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:84)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
at org.jboss.web.tomcat.service.jca.CachedConnectionValve.invoke(CachedConnectionValve.java:157)
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:262)
at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:844)
at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:583)
at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:446)
at java.lang.Thread.run(Thread.java:595)
00:42:43,739 INFO [STDOUT] amSSOProvider:01/06/2009 12:42:43:739 AM PST: Thread[jboss]
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 org.jboss.portal.identity.sso.opensso.OpenSSOAuthenticationValve.getToken(OpenSSOAuthenticationValve.java:214)
at org.jboss.portal.identity.sso.opensso.OpenSSOAuthenticationValve.invoke(OpenSSOAuthenticationValve.java:76)
at org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:84)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
at org.jboss.web.tomcat.service.jca.CachedConnectionValve.invoke(CachedConnectionValve.java:157)
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:262)
at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:844)
at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:583)
at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:446)
at java.lang.Thread.run(Thread.java:595)
00:42:47,027 ERROR [STDERR] Jan 6, 2009 12:42:46 AM com.sun.facelets.compiler.TagLibraryConfig loadImplicit
INFO: Added Library from: jar:file:/usr/local/installed/jboss-portal-2.7.0.GA/server/ssor-appserver/deploy/jboss-portal.sar/portal-identity.sar/portal-identity.war/WEB-INF/lib/jsf-facelets.jar!/META-INF/jsf-core.taglib.xml
00:42:47,042 ERROR [STDERR] Jan 6, 2009 12:42:47 AM com.sun.facelets.compiler.TagLibraryConfig loadImplicit
INFO: Added Library from: jar:file:/usr/local/installed/jboss-portal-2.7.0.GA/server/ssor-appserver/deploy/jboss-portal.sar/portal-identity.sar/portal-identity.war/WEB-INF/lib/jsf-facelets.jar!/META-INF/jsf-html.taglib.xml
00:42:47,075 ERROR [STDERR] Jan 6, 2009 12:42:47 AM com.sun.facelets.compiler.TagLibraryConfig loadImplicit
INFO: Added Library from: jar:file:/usr/local/installed/jboss-portal-2.7.0.GA/server/ssor-appserver/deploy/jboss-portal.sar/portal-identity.sar/portal-identity.war/WEB-INF/lib/jsf-facelets.jar!/META-INF/jsf-ui.taglib.xml
00:42:47,104 ERROR [STDERR] Jan 6, 2009 12:42:47 AM com.sun.facelets.compiler.TagLibraryConfig loadImplicit
INFO: Added Library from: jar:file:/usr/local/installed/jboss-portal-2.7.0.GA/server/ssor-appserver/deploy/jboss-portal.sar/portal-identity.sar/portal-identity.war/WEB-INF/lib/jsf-facelets.jar!/META-INF/jstl-core.taglib.xml
00:42:47,117 ERROR [STDERR] Jan 6, 2009 12:42:47 AM com.sun.facelets.compiler.TagLibraryConfig loadImplicit
INFO: Added Library from: jar:file:/usr/local/installed/jboss-portal-2.7.0.GA/server/ssor-appserver/deploy/jboss-portal.sar/portal-identity.sar/portal-identity.war/WEB-INF/lib/jsf-facelets.jar!/META-INF/jstl-fn.taglib.xml
00:42:47,127 ERROR [STDERR] Jan 6, 2009 12:42:47 AM com.sun.facelets.compiler.TagLibraryConfig loadImplicit
INFO: Added Library from: jar:file:/usr/local/installed/jboss-portal-2.7.0.GA/server/ssor-appserver/deploy/jboss-portal.sar/portal-identity.sar/portal-identity.war/WEB-INF/lib/portal-faces-lib.jar!/META-INF/portal.taglib.xml
00:42:47,186 ERROR [STDERR] Jan 6, 2009 12:42:47 AM com.sun.facelets.compiler.TagLibraryConfig loadImplicit
INFO: Added Library from: jar:file:/usr/local/installed/jboss-portal-2.7.0.GA/server/ssor-appserver/deploy/jboss-portal.sar/portal-identity.sar/portal-identity.war/WEB-INF/lib/richfaces-ui.jar!/META-INF/a4j.taglib.xml
00:42:47,197 ERROR [STDERR] Jan 6, 2009 12:42:47 AM com.sun.facelets.compiler.TagLibraryConfig loadImplicit
INFO: Added Library from: jar:file:/usr/local/installed/jboss-portal-2.7.0.GA/server/ssor-appserver/deploy/jboss-portal.sar/portal-identity.sar/portal-identity.war/WEB-INF/lib/richfaces-ui.jar!/META-INF/ajax4jsf.taglib.xml
00:42:47,208 ERROR [STDERR] Jan 6, 2009 12:42:47 AM com.sun.facelets.compiler.TagLibraryConfig loadImplicit
INFO: Added Library from: jar:file:/usr/local/installed/jboss-portal-2.7.0.GA/server/ssor-appserver/deploy/jboss-portal.sar/portal-identity.sar/portal-identity.war/WEB-INF/lib/richfaces-ui.jar!/META-INF/jsp.taglib.xml
00:42:47,331 ERROR [STDERR] Jan 6, 2009 12:42:47 AM com.sun.facelets.compiler.TagLibraryConfig loadImplicit
INFO: Added Library from: jar:file:/usr/local/installed/jboss-portal-2.7.0.GA/server/ssor-appserver/deploy/jboss-portal.sar/portal-identity.sar/portal-identity.war/WEB-INF/lib/richfaces-ui.jar!/META-INF/rich.taglib.xml
00:42:47,346 ERROR [STDERR] Jan 6, 2009 12:42:47 AM com.sun.facelets.compiler.TagLibraryConfig loadImplicit
INFO: Added Library from: jar:file:/usr/local/installed/jboss-portal-2.7.0.GA/server/ssor-appserver/deploy/jboss-portal.sar/portal-identity.sar/portal-identity.war/WEB-INF/lib/richfaces-ui.jar!/META-INF/richfaces.taglib.xml
00:43:03,331 INFO [STDOUT] amSSOProvider:01/06/2009 12:43:03:330 AM PST: Thread[h5,jboss]
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 org.jboss.portal.identity.sso.opensso.OpenSSOAuthenticationValve.getToken(OpenSSOAuthenticationValve.java:214)
at org.jboss.portal.identity.sso.opensso.OpenSSOAuthenticationValve.invoke(OpenSSOAuthenticationValve.java:76)
at org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:84)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
at org.jboss.web.tomcat.service.jca.CachedConnectionValve.invoke(CachedConnectionValve.java:157)
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:262)
at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:844)
at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:583)
at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:446)
at java.lang.Thread.run(Thread.java:595)
00:43:03,334 INFO [STDOUT] amSSOProvider:01/06/2009 12:43:03:333 AM PST: Thread[,jboss]
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 org.jboss.portal.identity.sso.opensso.OpenSSOAuthenticationValve.getToken(OpenSSOAuthenticationValve.java:214)
at org.jboss.portal.identity.sso.opensso.OpenSSOAuthenticationValve.invoke(OpenSSOAuthenticationValve.java:76)
at org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:84)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
at org.jboss.web.tomcat.service.jca.CachedConnectionValve.invoke(CachedConnectionValve.java:157)
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:262)
at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:844)
at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:583)
at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:446)
at java.lang.Thread.run(Thread.java:595)
00:43:03,620 INFO [STDOUT] amSSOProvider:01/06/2009 12:43:03:619
thanks
Ratheesh.R. Nair
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4199986#4199986
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4199986
17 years, 3 months
[JBoss Portal] - JBoss 2.7.0.GA Integration with OpenSSO Under Linux
by ratheesh.nair
Hi,
I am having couple of issues in integrating JBoss Portal with OpenSSO under Linux, it will be great if somebody can throw some thoughts on this.
I am integrating under the following environment,
a) Red Hat Linux 5.2, X86_32
b) JDK 1.5.0_14
c) JBoss Portal Server 2.7.0.GA
d) OpenSSO Enterprise 8.0 Build 6(2008-October-31 09:07) with Embedded repository
e) MySQL 5.1 (for JBoss Portal repository)
f) Apache Tomcat 6.0.1 (for OpenSSO deployment)
The following configurations have been done in the box and its working fine,
a) JBoss Portal running in port 8080 with MySQL as portal repository
b) OpenSSO under Apache Tomcat running in port 8081
The following configuration have been done for integrating JBoss portal with OpenSSO, I am not sure whether this is correct since there are not enough official documentation on this part. Also JBoss Portal Server 2.7.0.GA have only an experimental support for OpenSSO.
a) Modified $JBOSS_PORTAL_HOME/servers/ssor-appserver/deploy/jboss-portal.sar/portal-server.war/WEB-INF/context.xml file and uncommented the following section,
b) Copied openssoclientsdk.jar file to $JBOSS_PORTAL_HOME/server/ssor-appserver/deploy/jboss-portal.sar/lib folder
c) Modified port number in $TOMCAT_HOME/conf/server.xml as below,
and commented out AJP connector
d) Created a user "admin" under subject in openSSO (under top realm)
While accessing JBoss portal through browser it throws some Java stack trace and but gets forwarded to OpenSSO login page which is desired behavior, but when I try to login through opensso, the redirection happens in a loop and stack traces are printed in the JBoss console in a loop (find below stack trace). Interestingly I dont get any stacktrace in Tomcat console (where openSSO is deployed).
00:42:25,057 INFO [Server] JBoss (MX MicroKernel) [4.2.3.GA (build: SVNTag=JBoss_4_2_3_GA date=200807181417)] Started in 1m:16s:164ms
00:42:43,612 INFO [STDOUT] amSDK:01/06/2009 12:42:43:611 AM PST: Thread[-1,5,jboss]
Constructing a new instance of SSOTokenManager
00:42:43,615 INFO [STDOUT] amSDK:01/06/2009 12:42:43:615 AM PST: Thread[,5,jboss]
Obtained Grappa SSO Provider
00:42:43,623 INFO [STDOUT] amSDK:01/06/2009 12:42:43:622 AM PST: Thread-1,5,jboss]
Obtained DPRO SSO Provider
00:42:43,661 INFO [STDOUT] amNaming:01/06/2009 12:42:43:661 AM PST: Thread[,jboss]
ERROR: WebtopNaming.getServerId():noServerId
00:42:43,694 INFO [STDOUT] amNaming:01/06/2009 12:42:43:693 AM PST: Thread[,jboss]
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.(Session.java:311)
at com.iplanet.sso.providers.dpro.SSOProviderImpl.createSSOToken(SSOProviderImpl.java:88)
at com.iplanet.sso.SSOTokenManager.createSSOToken(SSOTokenManager.java:239)
at org.jboss.portal.identity.sso.opensso.OpenSSOAuthenticationValve.getToken(OpenSSOAuthenticationValve.java:214)
at org.jboss.portal.identity.sso.opensso.OpenSSOAuthenticationValve.invoke(OpenSSOAuthenticationValve.java:76)
at org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:84)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
at org.jboss.web.tomcat.service.jca.CachedConnectionValve.invoke(CachedConnectionValve.java:157)
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:262)
at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:844)
at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:583)
at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:446)
at java.lang.Thread.run(Thread.java:595)
00:42:43,739 INFO [STDOUT] amSSOProvider:01/06/2009 12:42:43:739 AM PST: Thread[http-sdmv-ais-snd9.uboc.com%2F10.206.21.230-8080-1,5,jboss]
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 org.jboss.portal.identity.sso.opensso.OpenSSOAuthenticationValve.getToken(OpenSSOAuthenticationValve.java:214)
at org.jboss.portal.identity.sso.opensso.OpenSSOAuthenticationValve.invoke(OpenSSOAuthenticationValve.java:76)
at org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:84)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
at org.jboss.web.tomcat.service.jca.CachedConnectionValve.invoke(CachedConnectionValve.java:157)
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:262)
at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:844)
at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:583)
at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:446)
at java.lang.Thread.run(Thread.java:595)
00:42:47,027 ERROR [STDERR] Jan 6, 2009 12:42:46 AM com.sun.facelets.compiler.TagLibraryConfig loadImplicit
INFO: Added Library from: jar:file:/usr/local/installed/jboss-portal-2.7.0.GA/server/ssor-appserver/deploy/jboss-portal.sar/portal-identity.sar/portal-identity.war/WEB-INF/lib/jsf-facelets.jar!/META-INF/jsf-core.taglib.xml
00:42:47,042 ERROR [STDERR] Jan 6, 2009 12:42:47 AM com.sun.facelets.compiler.TagLibraryConfig loadImplicit
INFO: Added Library from: jar:file:/usr/local/installed/jboss-portal-2.7.0.GA/server/ssor-appserver/deploy/jboss-portal.sar/portal-identity.sar/portal-identity.war/WEB-INF/lib/jsf-facelets.jar!/META-INF/jsf-html.taglib.xml
00:42:47,075 ERROR [STDERR] Jan 6, 2009 12:42:47 AM com.sun.facelets.compiler.TagLibraryConfig loadImplicit
INFO: Added Library from: jar:file:/usr/local/installed/jboss-portal-2.7.0.GA/server/ssor-appserver/deploy/jboss-portal.sar/portal-identity.sar/portal-identity.war/WEB-INF/lib/jsf-facelets.jar!/META-INF/jsf-ui.taglib.xml
00:42:47,104 ERROR [STDERR] Jan 6, 2009 12:42:47 AM com.sun.facelets.compiler.TagLibraryConfig loadImplicit
INFO: Added Library from: jar:file:/usr/local/installed/jboss-portal-2.7.0.GA/server/ssor-appserver/deploy/jboss-portal.sar/portal-identity.sar/portal-identity.war/WEB-INF/lib/jsf-facelets.jar!/META-INF/jstl-core.taglib.xml
00:42:47,117 ERROR [STDERR] Jan 6, 2009 12:42:47 AM com.sun.facelets.compiler.TagLibraryConfig loadImplicit
INFO: Added Library from: jar:file:/usr/local/installed/jboss-portal-2.7.0.GA/server/ssor-appserver/deploy/jboss-portal.sar/portal-identity.sar/portal-identity.war/WEB-INF/lib/jsf-facelets.jar!/META-INF/jstl-fn.taglib.xml
00:42:47,127 ERROR [STDERR] Jan 6, 2009 12:42:47 AM com.sun.facelets.compiler.TagLibraryConfig loadImplicit
INFO: Added Library from: jar:file:/usr/local/installed/jboss-portal-2.7.0.GA/server/ssor-appserver/deploy/jboss-portal.sar/portal-identity.sar/portal-identity.war/WEB-INF/lib/portal-faces-lib.jar!/META-INF/portal.taglib.xml
00:42:47,186 ERROR [STDERR] Jan 6, 2009 12:42:47 AM com.sun.facelets.compiler.TagLibraryConfig loadImplicit
INFO: Added Library from: jar:file:/usr/local/installed/jboss-portal-2.7.0.GA/server/ssor-appserver/deploy/jboss-portal.sar/portal-identity.sar/portal-identity.war/WEB-INF/lib/richfaces-ui.jar!/META-INF/a4j.taglib.xml
00:42:47,197 ERROR [STDERR] Jan 6, 2009 12:42:47 AM com.sun.facelets.compiler.TagLibraryConfig loadImplicit
INFO: Added Library from: jar:file:/usr/local/installed/jboss-portal-2.7.0.GA/server/ssor-appserver/deploy/jboss-portal.sar/portal-identity.sar/portal-identity.war/WEB-INF/lib/richfaces-ui.jar!/META-INF/ajax4jsf.taglib.xml
00:42:47,208 ERROR [STDERR] Jan 6, 2009 12:42:47 AM com.sun.facelets.compiler.TagLibraryConfig loadImplicit
INFO: Added Library from: jar:file:/usr/local/installed/jboss-portal-2.7.0.GA/server/ssor-appserver/deploy/jboss-portal.sar/portal-identity.sar/portal-identity.war/WEB-INF/lib/richfaces-ui.jar!/META-INF/jsp.taglib.xml
00:42:47,331 ERROR [STDERR] Jan 6, 2009 12:42:47 AM com.sun.facelets.compiler.TagLibraryConfig loadImplicit
INFO: Added Library from: jar:file:/usr/local/installed/jboss-portal-2.7.0.GA/server/ssor-appserver/deploy/jboss-portal.sar/portal-identity.sar/portal-identity.war/WEB-INF/lib/richfaces-ui.jar!/META-INF/rich.taglib.xml
00:42:47,346 ERROR [STDERR] Jan 6, 2009 12:42:47 AM com.sun.facelets.compiler.TagLibraryConfig loadImplicit
INFO: Added Library from: jar:file:/usr/local/installed/jboss-portal-2.7.0.GA/server/ssor-appserver/deploy/jboss-portal.sar/portal-identity.sar/portal-identity.war/WEB-INF/lib/richfaces-ui.jar!/META-INF/richfaces.taglib.xml
00:43:03,331 INFO [STDOUT] amSSOProvider:01/06/2009 12:43:03:330 AM PST: Thread[http-sdmv-ais-snd9.uboc.com%2F10.206.21.230-8080-1,5,jboss]
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 org.jboss.portal.identity.sso.opensso.OpenSSOAuthenticationValve.getToken(OpenSSOAuthenticationValve.java:214)
at org.jboss.portal.identity.sso.opensso.OpenSSOAuthenticationValve.invoke(OpenSSOAuthenticationValve.java:76)
at org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:84)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
at org.jboss.web.tomcat.service.jca.CachedConnectionValve.invoke(CachedConnectionValve.java:157)
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:262)
at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:844)
at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:583)
at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:446)
at java.lang.Thread.run(Thread.java:595)
00:43:03,334 INFO [STDOUT] amSSOProvider:01/06/2009 12:43:03:333 AM PST: Thread[http-sdmv-ais-snd9.uboc.com%2F10.206.21.230-8080-2,5,jboss]
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 org.jboss.portal.identity.sso.opensso.OpenSSOAuthenticationValve.getToken(OpenSSOAuthenticationValve.java:214)
at org.jboss.portal.identity.sso.opensso.OpenSSOAuthenticationValve.invoke(OpenSSOAuthenticationValve.java:76)
at org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:84)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
at org.jboss.web.tomcat.service.jca.CachedConnectionValve.invoke(CachedConnectionValve.java:157)
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:262)
at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:844)
at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:583)
at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:446)
at java.lang.Thread.run(Thread.java:595)
00:43:03,620 INFO [STDOUT] amSSOProvider:01/06/2009 12:43:03:619
thanks
Ratheesh.R. Nair
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4199985#4199985
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4199985
17 years, 3 months
[JBoss Cache: Core Edition] - How to control invalidation cache mode? is this a Jboss cach
by hangzhouwestlake
our Cluster has two physical servers, cache mode is set as invalidation and async
application is deployed on websphere 6.1 and windows XP and jboss cache 3
below is the Java code
method (){
| System.out.println("Cluster members:"+cache.getMembers());
| Object obj = cache.get(Fqn.fromString("/a"),"b");
| if (obj == null) {
| cache.put(Fqn.fromString("/a"),"b", "testdata");
| }
|
|
| }
Below are steps to reproduce my issue, it caused cache invalidated loop, how to control avoid the cache invalidated loop?
appreciate for your help!
Step 1
start server 1
and then start server 2 after 1 minutes
Step 2:
call method on server 1
below is the debug information in server 1 cache lisetner:
node /a created;
node /a modified;
step 3:
call method on server 2
Server Console print: Cluster members:[10.111.35.76:3918, 10.111.35.58:3525]
below is the debug information in server 2 cache lisetner:
node /a created;
node /a modified;
below is the debug information in server 1 cache lisetner:
node /a invalidated
Step 4:
call method on server 1
Server Console print: Cluster members:[10.111.35.76:3918, 10.111.35.58:3525]
below is the debug information in server 1 cache lisetner:
node /a created;
node /a modified;
below is the debug information in server 2 cache lisetner:
node /a invalidated
Step 5:
call method on server 2
Server Console print: Cluster members:[10.111.35.76:3918, 10.111.35.58:3525]
below is the debug information in server 2 cache lisetner:
node /a created;
node /a modified;
below is the debug information in server 1 cache lisetner:
node /a invalidated
......
This is cache configuration xml:
<?xml version="1.0" encoding="UTF-8"?>
|
| <jbosscache xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns="urn:jboss:jbosscache-core:config:3.0">
| <!--
| Used to enable invocation batching and allow the use of Cache.startBatch()/endBatch() methods.
| -->
| <invocationBatching
| enabled="true"/>
|
| <!--
| Used to register JMX statistics in any available MBean server
| -->
| <jmxStatistics
| enabled="false"/>
| <!-- Configure the TransactionManager -->
| <transaction transactionManagerLookupClass="org.jboss.cache.transaction.GenericTransactionManagerLookup"/>
|
| <clustering mode="invalidation">
| <!--
| timeout: The max amount of time (in milliseconds) we wait until the
| state (i.e. the contents of the cache) are retrieved from
| existing members in a clustered environment
| -->
| <stateRetrieval timeout="20000"/>
|
| <!-- JGroups protocol stack properties. -->
| <jgroupsConfig>
| <UDP discard_incompatible_packets="true" enable_bundling="true" enable_diagnostics="false" ip_ttl="2"
| loopback="false" max_bundle_size="64000" max_bundle_timeout="30" mcast_addr="228.10.10.10"
| mcast_port="45588" mcast_recv_buf_size="100000000" mcast_send_buf_size="640000"
| oob_thread_pool.enabled="true" oob_thread_pool.keep_alive_time="10000" oob_thread_pool.max_threads="20"
| oob_thread_pool.min_threads="8" oob_thread_pool.queue_enabled="false" oob_thread_pool.queue_max_size="10"
| oob_thread_pool.rejection_policy="Run" thread_naming_pattern="pl" thread_pool.enabled="true"
| thread_pool.keep_alive_time="10000" thread_pool.max_threads="15" thread_pool.min_threads="8"
| thread_pool.queue_enabled="true" thread_pool.queue_max_size="100000"
| thread_pool.rejection_policy="Discard"
| tos="8" ucast_recv_buf_size="20000000" ucast_send_buf_size="640000" use_concurrent_stack="true"
| use_incoming_packet_handler="true"/>
| <PING num_initial_members="3" timeout="2000"/>
| <MERGE2 max_interval="30000" min_interval="10000"/>
| <FD_SOCK/>
| <FD max_tries="5" shun="true" timeout="10000"/>
| <VERIFY_SUSPECT timeout="1500"/>
| <pbcast.NAKACK discard_delivered_msgs="true" gc_lag="0" retransmit_timeout="300,600,1200,2400,4800"
| use_mcast_xmit="true"/>
| <UNICAST timeout="300,600,1200,2400,3600"/>
| <pbcast.STABLE desired_avg_gossip="50000" max_bytes="400000" stability_delay="1000"/>
| <pbcast.GMS join_timeout="5000" print_local_addr="true" shun="false" view_ack_collection_timeout="5000"
| view_bundling="true"/>
| <FC max_credits="500000" min_threshold="0.2"/>
| <FRAG2 frag_size="60000"/>
| <pbcast.STREAMING_STATE_TRANSFER/>
| <pbcast.FLUSH timeout="0"/>
| </jgroupsConfig>
|
| <async />
| <!-- Alternatively, to use sync replication, comment out the element above and uncomment the element below. -->
| <!-- <sync /> -->
|
| </clustering>
|
|
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4199984#4199984
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4199984
17 years, 3 months
[JBoss Portal] - JBoss 2.7.0.GA Integration with OpenSSO Under Linux
by ratheesh.nair
Hi,
I am having couple of issues in integrating JBoss Portal with OpenSSO under Linux, it will be great if somebody can throw some thoughts on this.
I am integrating under the following environment,
a) Red Hat Linux 5.2, X86_32
b) JDK 1.5.0_14
c) JBoss Portal Server 2.7.0.GA
d) OpenSSO Enterprise 8.0 Build 6(2008-October-31 09:07) with Embedded repository
e) MySQL 5.1 (for JBoss Portal repository)
f) Apache Tomcat 6.0.1 (for OpenSSO deployment)
The following configurations have been done in the box and its working fine,
a) JBoss Portal running in port 8080 with MySQL as portal repository
b) OpenSSO under Apache Tomcat running in port 8081
The following configuration have been done for integrating JBoss portal with OpenSSO, I am not sure whether this is correct since there are not enough official documentation on this part. Also JBoss Portal Server 2.7.0.GA have only an experimental support for OpenSSO.
a) Modified $JBOSS_PORTAL_HOME/servers/ssor-appserver/deploy/jboss-portal.sar/portal-server.war/WEB-INF/context.xml file and uncommented the following section,
b) Copied openssoclientsdk.jar file to $JBOSS_PORTAL_HOME/server/ssor-appserver/deploy/jboss-portal.sar/lib folder
c) Modified port number in $TOMCAT_HOME/conf/server.xml as below,
and commented out AJP connector
d) Created a user "admin" under subject in openSSO (under top realm)
While accessing JBoss portal through browser it throws some Java stack trace and but gets forwarded to OpenSSO login page which is desired behavior, but when I try to login through opensso, the redirection happens in a loop and stack traces are printed in the JBoss console in a loop (find below stack trace). Interestingly I dont get any stacktrace in Tomcat console (where openSSO is deployed).
00:42:25,057 INFO [Server] JBoss (MX MicroKernel) [4.2.3.GA (build: SVNTag=JBoss_4_2_3_GA date=200807181417)] Started in 1m:16s:164ms
00:42:43,612 INFO [STDOUT] amSDK:01/06/2009 12:42:43:611 AM PST: Thread[http-sdmv-ais-snd9.uboc.com%2F10.206.21.230-8080-1,5,jboss]
Constructing a new instance of SSOTokenManager
00:42:43,615 INFO [STDOUT] amSDK:01/06/2009 12:42:43:615 AM PST: Thread[http-sdmv-ais-snd9.uboc.com%2F10.206.21.230-8080-1,5,jboss]
Obtained Grappa SSO Provider
00:42:43,623 INFO [STDOUT] amSDK:01/06/2009 12:42:43:622 AM PST: Thread[http-sdmv-ais-snd9.uboc.com%2F10.206.21.230-8080-1,5,jboss]
Obtained DPRO SSO Provider
00:42:43,661 INFO [STDOUT] amNaming:01/06/2009 12:42:43:661 AM PST: Thread[http-sdmv-ais-snd9.uboc.com%2F10.206.21.230-8080-1,5,jboss]
ERROR: WebtopNaming.getServerId():noServerId
00:42:43,694 INFO [STDOUT] amNaming:01/06/2009 12:42:43:693 AM PST: Thread[http-sdmv-ais-snd9.uboc.com%2F10.206.21.230-8080-1,5,jboss]
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.(Session.java:311)
at com.iplanet.sso.providers.dpro.SSOProviderImpl.createSSOToken(SSOProviderImpl.java:88)
at com.iplanet.sso.SSOTokenManager.createSSOToken(SSOTokenManager.java:239)
at org.jboss.portal.identity.sso.opensso.OpenSSOAuthenticationValve.getToken(OpenSSOAuthenticationValve.java:214)
at org.jboss.portal.identity.sso.opensso.OpenSSOAuthenticationValve.invoke(OpenSSOAuthenticationValve.java:76)
at org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:84)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
at org.jboss.web.tomcat.service.jca.CachedConnectionValve.invoke(CachedConnectionValve.java:157)
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:262)
at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:844)
at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:583)
at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:446)
at java.lang.Thread.run(Thread.java:595)
00:42:43,739 INFO [STDOUT] amSSOProvider:01/06/2009 12:42:43:739 AM PST: Thread[http-sdmv-ais-snd9.uboc.com%2F10.206.21.230-8080-1,5,jboss]
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 org.jboss.portal.identity.sso.opensso.OpenSSOAuthenticationValve.getToken(OpenSSOAuthenticationValve.java:214)
at org.jboss.portal.identity.sso.opensso.OpenSSOAuthenticationValve.invoke(OpenSSOAuthenticationValve.java:76)
at org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:84)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
at org.jboss.web.tomcat.service.jca.CachedConnectionValve.invoke(CachedConnectionValve.java:157)
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:262)
at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:844)
at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:583)
at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:446)
at java.lang.Thread.run(Thread.java:595)
00:42:47,027 ERROR [STDERR] Jan 6, 2009 12:42:46 AM com.sun.facelets.compiler.TagLibraryConfig loadImplicit
INFO: Added Library from: jar:file:/usr/local/installed/jboss-portal-2.7.0.GA/server/ssor-appserver/deploy/jboss-portal.sar/portal-identity.sar/portal-identity.war/WEB-INF/lib/jsf-facelets.jar!/META-INF/jsf-core.taglib.xml
00:42:47,042 ERROR [STDERR] Jan 6, 2009 12:42:47 AM com.sun.facelets.compiler.TagLibraryConfig loadImplicit
INFO: Added Library from: jar:file:/usr/local/installed/jboss-portal-2.7.0.GA/server/ssor-appserver/deploy/jboss-portal.sar/portal-identity.sar/portal-identity.war/WEB-INF/lib/jsf-facelets.jar!/META-INF/jsf-html.taglib.xml
00:42:47,075 ERROR [STDERR] Jan 6, 2009 12:42:47 AM com.sun.facelets.compiler.TagLibraryConfig loadImplicit
INFO: Added Library from: jar:file:/usr/local/installed/jboss-portal-2.7.0.GA/server/ssor-appserver/deploy/jboss-portal.sar/portal-identity.sar/portal-identity.war/WEB-INF/lib/jsf-facelets.jar!/META-INF/jsf-ui.taglib.xml
00:42:47,104 ERROR [STDERR] Jan 6, 2009 12:42:47 AM com.sun.facelets.compiler.TagLibraryConfig loadImplicit
INFO: Added Library from: jar:file:/usr/local/installed/jboss-portal-2.7.0.GA/server/ssor-appserver/deploy/jboss-portal.sar/portal-identity.sar/portal-identity.war/WEB-INF/lib/jsf-facelets.jar!/META-INF/jstl-core.taglib.xml
00:42:47,117 ERROR [STDERR] Jan 6, 2009 12:42:47 AM com.sun.facelets.compiler.TagLibraryConfig loadImplicit
INFO: Added Library from: jar:file:/usr/local/installed/jboss-portal-2.7.0.GA/server/ssor-appserver/deploy/jboss-portal.sar/portal-identity.sar/portal-identity.war/WEB-INF/lib/jsf-facelets.jar!/META-INF/jstl-fn.taglib.xml
00:42:47,127 ERROR [STDERR] Jan 6, 2009 12:42:47 AM com.sun.facelets.compiler.TagLibraryConfig loadImplicit
INFO: Added Library from: jar:file:/usr/local/installed/jboss-portal-2.7.0.GA/server/ssor-appserver/deploy/jboss-portal.sar/portal-identity.sar/portal-identity.war/WEB-INF/lib/portal-faces-lib.jar!/META-INF/portal.taglib.xml
00:42:47,186 ERROR [STDERR] Jan 6, 2009 12:42:47 AM com.sun.facelets.compiler.TagLibraryConfig loadImplicit
INFO: Added Library from: jar:file:/usr/local/installed/jboss-portal-2.7.0.GA/server/ssor-appserver/deploy/jboss-portal.sar/portal-identity.sar/portal-identity.war/WEB-INF/lib/richfaces-ui.jar!/META-INF/a4j.taglib.xml
00:42:47,197 ERROR [STDERR] Jan 6, 2009 12:42:47 AM com.sun.facelets.compiler.TagLibraryConfig loadImplicit
INFO: Added Library from: jar:file:/usr/local/installed/jboss-portal-2.7.0.GA/server/ssor-appserver/deploy/jboss-portal.sar/portal-identity.sar/portal-identity.war/WEB-INF/lib/richfaces-ui.jar!/META-INF/ajax4jsf.taglib.xml
00:42:47,208 ERROR [STDERR] Jan 6, 2009 12:42:47 AM com.sun.facelets.compiler.TagLibraryConfig loadImplicit
INFO: Added Library from: jar:file:/usr/local/installed/jboss-portal-2.7.0.GA/server/ssor-appserver/deploy/jboss-portal.sar/portal-identity.sar/portal-identity.war/WEB-INF/lib/richfaces-ui.jar!/META-INF/jsp.taglib.xml
00:42:47,331 ERROR [STDERR] Jan 6, 2009 12:42:47 AM com.sun.facelets.compiler.TagLibraryConfig loadImplicit
INFO: Added Library from: jar:file:/usr/local/installed/jboss-portal-2.7.0.GA/server/ssor-appserver/deploy/jboss-portal.sar/portal-identity.sar/portal-identity.war/WEB-INF/lib/richfaces-ui.jar!/META-INF/rich.taglib.xml
00:42:47,346 ERROR [STDERR] Jan 6, 2009 12:42:47 AM com.sun.facelets.compiler.TagLibraryConfig loadImplicit
INFO: Added Library from: jar:file:/usr/local/installed/jboss-portal-2.7.0.GA/server/ssor-appserver/deploy/jboss-portal.sar/portal-identity.sar/portal-identity.war/WEB-INF/lib/richfaces-ui.jar!/META-INF/richfaces.taglib.xml
00:43:03,331 INFO [STDOUT] amSSOProvider:01/06/2009 12:43:03:330 AM PST: Thread[http-sdmv-ais-snd9.uboc.com%2F10.206.21.230-8080-1,5,jboss]
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 org.jboss.portal.identity.sso.opensso.OpenSSOAuthenticationValve.getToken(OpenSSOAuthenticationValve.java:214)
at org.jboss.portal.identity.sso.opensso.OpenSSOAuthenticationValve.invoke(OpenSSOAuthenticationValve.java:76)
at org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:84)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
at org.jboss.web.tomcat.service.jca.CachedConnectionValve.invoke(CachedConnectionValve.java:157)
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:262)
at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:844)
at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:583)
at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:446)
at java.lang.Thread.run(Thread.java:595)
00:43:03,334 INFO [STDOUT] amSSOProvider:01/06/2009 12:43:03:333 AM PST: Thread[http-sdmv-ais-snd9.uboc.com%2F10.206.21.230-8080-2,5,jboss]
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 org.jboss.portal.identity.sso.opensso.OpenSSOAuthenticationValve.getToken(OpenSSOAuthenticationValve.java:214)
at org.jboss.portal.identity.sso.opensso.OpenSSOAuthenticationValve.invoke(OpenSSOAuthenticationValve.java:76)
at org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:84)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
at org.jboss.web.tomcat.service.jca.CachedConnectionValve.invoke(CachedConnectionValve.java:157)
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:262)
at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:844)
at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:583)
at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:446)
at java.lang.Thread.run(Thread.java:595)
00:43:03,620 INFO [STDOUT] amSSOProvider:01/06/2009 12:43:03:619 AM PST: Thread[http-sdmv-ais-snd9.uboc.com%2F10.206.21.230-8080-3,5,jboss]
thanks
Ratheesh.R. Nair
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4199983#4199983
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4199983
17 years, 3 months
JBossWeb losing POST data during FORM Authentication
by Fran Diaz
Hi,
I found this issue https://jira.jboss.org/jira/browse/JBAS-5645 while
looking for help with a trouble that I'm having with a custom authenticacion
form.
My problem is the same described in the link that i have wrote below: the
username and password from the form are lost in the method trace when I do
the submit via POST. It does not happen when I do it via GET.
Using JBOSS 3.2.6 I didn't have any problem, but runnig JBOSS 4.2.3 I
noticed that bug. I know that 5.0.0 release fixes that problem, but for now
I can't move to JBOSS 5 and I wonder if anyone know if exists any
workaround.
Thanks and excuse my bad english.
Best regards
17 years, 3 months