We get this error on our sites that use J2EE auth to protect some areas of the public site. What happens is the web admins log into the protected areas of the public site (which is a different login system), and then try to go edit pages in Magnolia and it gives this error in the logs and the user just sees a blank screen. We just tell them to make sure to logout of the public site first before they go to Magnolia.
Not sure if this is your issue or not, but hope it helps. :-) -- Miranda On Fri, Jul 25, 2008 at 11:09 AM, Francois Dion <[email protected]> wrote: > > I installed magnolia-bundled-webapp-3.6-rc4.war , deployed as > /magnoliaAuthor, on Sun Java System Application Server 9.1 (build > b58g-fcs), on a machine running Solaris 10 OS, JDK 1.6. This is a demo > machine we use to evaluate applications. The install process seemed to > go ok as bootstrap.log shows: > [...] > INFO 24.07.2008 18:02:35 Repository [mgnlSystem] has been initialized. > INFO 24.07.2008 18:02:35 Repository [userroles] has been initialized. > INFO 24.07.2008 18:02:35 Repository [config] has been initialized. > INFO 24.07.2008 18:02:35 Repository [website] has been initialized. > INFO 24.07.2008 18:02:35 Repository [usergroups] has been initialized. > INFO 24.07.2008 18:02:35 Repository [dms] has been initialized. > INFO 24.07.2008 18:02:35 Repository [mgnlVersion] has been initialized. > INFO 24.07.2008 18:02:35 Repository [users] has been initialized. > > but once I get to the login screen and try any of the default username > / passwords, I get: > > Error during login. Please try again. > > Both debug and error logs show (in part, I truncated the end): > ERROR info.magnolia.cms.security.SecuritySupportBase 25.07.2008 11:00:04 -- > Can > 't login due to: > javax.security.auth.login.LoginException: No LoginModules configured for > magnoli > a > at javax.security.auth.login.LoginContext.init(LoginContext.java:256) > at javax.security.auth.login.LoginContext.<init>(LoginContext.java:403) > at > info.magnolia.cms.security.SecuritySupportBase.createLoginContext(Sec > uritySupportBase.java:93) > at > info.magnolia.cms.security.SecuritySupportBase.authenticate(SecurityS > upportBase.java:60) > at > info.magnolia.cms.security.auth.login.LoginHandlerBase.authenticate(L > oginHandlerBase.java:47) > at > info.magnolia.cms.security.auth.login.FormLogin.handle(FormLogin.java > :74) > at > info.magnolia.cms.security.auth.login.LoginFilter.doFilter(LoginFilte > r.java:65) > [...] > > I've searched google, the list archive and the documentation, and > couldn't find if I had to do an additional step to setup or activate > those predefined logins. > > Any ideas as to what I'm missing in term of configuration? > > Thanks > > ---------------------------------------------------------------- > for list details see > http://documentation.magnolia.info/ > ---------------------------------------------------------------- -- Miranda Jones Objective Consulting, Inc. http://www.spiders.com ---------------------------------------------------------------- for list details see http://documentation.magnolia.info/ ----------------------------------------------------------------
