[
https://jira.jboss.org/jira/browse/GTNPORTAL-539?page=com.atlassian.jira....
]
Trong Tran commented on GTNPORTAL-539:
--------------------------------------
is there any way to avoid forking whole OrganizationService definition ? You know,
it's not good to do that
Can not login to another configured portal when upgrate to Gatein
Beta05
------------------------------------------------------------------------
Key: GTNPORTAL-539
URL:
https://jira.jboss.org/jira/browse/GTNPORTAL-539
Project: GateIn Portal
Issue Type: Bug
Affects Versions: 3.0.0-Beta05
Reporter: Hung Nguyen
Assignee: Boleslaw Dawidowicz
I configured ksdemo portal and it is working well with Gatein Beta04 but when upgrade to
Beta05 I got the exception when starting server and can not login to ksdemo portal. The
default portal is still working
The exception when starting Tomcat:
org.picketlink.idm.common.exception.IdentityException: Cannot find configured realm with
a given nam
e: realm_ksdemo
at
org.picketlink.idm.impl.api.IdentitySessionFactoryImpl.createIdentitySession(IdentitySess
ionFactoryImpl.java:70)
at
org.picketlink.idm.impl.api.IdentitySessionFactoryImpl.getCurrentIdentitySession(Identity
SessionFactoryImpl.java:97)
at
org.exoplatform.services.organization.idm.PicketLinkIDMServiceImpl.getIdentitySession(Pic
ketLinkIDMServiceImpl.java:143)
at
org.exoplatform.services.organization.idm.PicketLinkIDMOrganizationServiceImpl.startReque
st(PicketLinkIDMOrganizationServiceImpl.java:136)
at
org.exoplatform.container.component.RequestLifeCycle.doBegin(RequestLifeCycle.java:55)
at
org.exoplatform.container.component.RequestLifeCycleStack.begin(RequestLifeCycleStack.jav
a:57)
at
org.exoplatform.container.component.RequestLifeCycle.begin(RequestLifeCycle.java:127)
at
org.exoplatform.services.organization.idm.PicketLinkIDMOrganizationServiceImpl.start(Pick
etLinkIDMOrganizationServiceImpl.java:93)
at sun.reflect.GeneratedMethodAccessor44.invoke(Unknown Source)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at
org.picocontainer.defaults.LifecycleVisitor.traverse(LifecycleVisitor.java:75)
at org.picocontainer.defaults.LifecycleVisitor.start(LifecycleVisitor.java:113)
at
org.picocontainer.defaults.DefaultPicoContainer.start(DefaultPicoContainer.java:369)
at org.exoplatform.container.PortalContainer.start(PortalContainer.java:537)
at
org.exoplatform.container.RootContainer.createPortalContainer(RootContainer.java:349)
at
org.exoplatform.container.RootContainer.createPortalContainers(RootContainer.java:243)
at
org.exoplatform.container.web.PortalContainerCreator.contextInitialized(PortalContainerCr
eator.java:55)
at
org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:3843)
......
The Exception when login ksdemo portal
INFO: Parameter concurrency-level was not found in configuration, default 16 will be
used.
org.picketlink.idm.common.exception.IdentityException: Cannot find configured realm with
a given nam
e: realm_ksdemo
at
org.picketlink.idm.impl.api.IdentitySessionFactoryImpl.createIdentitySession(IdentitySess
ionFactoryImpl.java:70)
at
org.picketlink.idm.impl.api.IdentitySessionFactoryImpl.getCurrentIdentitySession(Identity
SessionFactoryImpl.java:97)
at
org.exoplatform.services.organization.idm.PicketLinkIDMServiceImpl.getIdentitySession(Pic
ketLinkIDMServiceImpl.java:143)
at
org.exoplatform.services.organization.idm.PicketLinkIDMOrganizationServiceImpl.startReque
st(PicketLinkIDMOrganizationServiceImpl.java:136)
at
org.exoplatform.container.component.RequestLifeCycle.doBegin(RequestLifeCycle.java:55)
at
org.exoplatform.container.component.RequestLifeCycleStack.begin(RequestLifeCycleStack.jav
a:57)
at
org.exoplatform.container.component.RequestLifeCycle.begin(RequestLifeCycle.java:127)
at
org.exoplatform.services.organization.auth.OrganizationAuthenticatorImpl.begin(Organizati
onAuthenticatorImpl.java:144)
at
org.exoplatform.services.organization.auth.OrganizationAuthenticatorImpl.validateUser(Org
anizationAuthenticatorImpl.java:130)
at
org.exoplatform.services.security.jaas.SharedStateLoginModule.login(SharedStateLoginModul
e.java:68)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at javax.security.auth.login.LoginContext.invoke(LoginContext.java:769)
at javax.security.auth.login.LoginContext.access$000(LoginContext.java:186)
at javax.security.auth.login.LoginContext$4.run(LoginContext.java:683)
at java.security.AccessController.doPrivileged(Native Method)
at javax.security.auth.login.LoginContext.invokePriv(LoginContext.java:680)
at javax.security.auth.login.LoginContext.login(LoginContext.java:579)
at org.apache.catalina.realm.JAASRealm.authenticate(JAASRealm.java:363)
at
org.apache.catalina.authenticator.FormAuthenticator.authenticate(FormAuthenticator.java:2
58)
at
org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:417)
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:844)
at
org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.ja
va:583)
at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:447)
at java.lang.Thread.run(Thread.java:619)
20-01-2010 11:06:25 org.exoplatform.services.security.jaas.DefaultLoginModule login
SEVERE: Cannot find configured realm with a given name: realm_ksdemo
20-01-2010 11:06:25 org.apache.catalina.realm.JAASRealm authenticate
WARNING: Login exception authenticating username "root"
javax.security.auth.login.LoginException: Cannot find configured realm with a given name:
realm_ksde
mo
at
org.exoplatform.services.security.jaas.SharedStateLoginModule.login(SharedStateLoginModul
e.java:80)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at javax.security.auth.login.LoginContext.invoke(LoginContext.java:769)
at javax.security.auth.login.LoginContext.access$000(LoginContext.java:186)
at javax.security.auth.login.LoginContext$4.run(LoginContext.java:683)
at java.security.AccessController.doPrivileged(Native Method)
at javax.security.auth.login.LoginContext.invokePriv(LoginContext.java:680)
at javax.security.auth.login.LoginContext.login(LoginContext.java:579)
at org.apache.catalina.realm.JAASRealm.authenticate(JAASRealm.java:363)
at
org.apache.catalina.authenticator.FormAuthenticator.authenticate(FormAuthenticator.java:2
58)
at
org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:417)
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:844)
at
org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.ja
va:583)
at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:447)
at java.lang.Thread.run(Thread.java:619)
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira