Discussion:
Cannot login as a superuser
Dominik Jednoralski (via Magnolia Forums)
2014-10-16 07:35:59 UTC
Permalink
Magnolians,

I'm still new to Magnolia so I beg your patience. I've been working with this tutorial

http://academy.magnolia-cms.com/display/MA/U2+Starting+a+CE+project+with+Maven

and managed to build the project along with the template project from the archetypes. I built the project with

[code]
<magnoliaVersion>5.2.8</magnoliaVersion>
<javaVersion>1.7</javaVersion>
[/code]

and deployed the .war in a JBoss 6.3 EAP container. During startup, the server's output looks clean, i.e., there are no stacktraces/errors. Magnolia starts up and welcomes me with the installation splashscreen ('Modules need to be installed'). The installation goes through and leaves two notes

* Please set the config:/server/defaultBaseUrl property to a full URL to be used when generating absolute URLs for external systems.
* Property "pattern" was expected to exist at /server/filters/uriSecurity/bypasses/login with value "/.resources/loginForm" but has the value "/.resources/defaultLoginForm" instead.

before sending me to the login screen after clicking 'Start up Magnolia'. However, I got stuck at chapter 3.1 of the tutorial:

[quote]Open a browser window and navigate to http://localhost:8080/myProject-webapp. (Log in as superuser.)[/quote]

I've tried logging in as superuser/superuser and the default Eric and Peter, all with no luck.

[code]Error during login. Please try again.[/code]

The app server's log is not helpful to me at this point:

[code]09:08:45,063 INFO [stdout] (http-/127.0.0.1:8080-2) 2014-10-16 09:08:45,062 TRACE net.sf.ehcache.store.MemoryStore : defaultCache: defaultMemoryStore miss for DefaultCacheKey{uri='/.resources/defaultLoginForm/img/icon-error-white.png', serverName='localhost', locale='en', channel='all', params={}', secure='false', method='get'}
09:08:45,065 INFO [stdout] (http-/127.0.0.1:8080-2) 2014-10-16 09:08:45,065 TRACE net.sf.ehcache.Cache : default cache - Miss
09:09:37,036 INFO [stdout] (http-/127.0.0.1:8080-2) 2014-10-16 09:09:37,035 DEBUG freemarker.cache : "mgnl-resources/defaultLoginFo
rm/login.html"["en",UTF8,parsed] using cached since vfs:/D:/Projects/Magnolia/jboss-eap-6.3/bin/content/magnoliaCms-webapp-1.0-SNAPSHOT.war/WEB-INF/lib/magnolia-ui-admincentral-5.2.8.jar/mgnl-resources/defaultLoginForm/login.html didn't change.[/code]

In the forums I found

* [url]http://wiki.magnolia-cms.com/display/WIKI/Reset+superuser+account[/url]
* [url]https://forum.magnolia-cms.com/forum/thread.html?threadId=59bcd364-43db-404d-82da-3b757f1b68f6[/url]

which both didn't help.

I have a feeling that this is a rather stupid/simple issue. I'd be thankful for any advice / help.

Regards,

Dominik
--
Context is everything: http://forum.magnolia-cms.com/forum/thread.html?threadId=06f605c0-a466-4494-80e6-39054cbc6472


----------------------------------------------------------------
For list details, see http://www.magnolia-cms.com/community/mailing-lists.html
Alternatively, use our forums: http://forum.magnolia-cms.com/
To unsubscribe, E-mail to: <user-list-***@magnolia-cms.com>
----------------------------------------------------------------
Antti Hietala (via Magnolia Forums)
2014-10-16 07:48:01 UTC
Permalink
Hi Dominik,

[quote]deployed the .war in a JBoss 6.3... I've tried logging in as superuser/superuser and the default Eric and Peter, all with no luck.[/quote]

Did you configure Magnolia's login modules in JBoss login-config.xml?

http://documentation.magnolia-cms.com/display/DOCS/JBoss+AS+configuration

--Antti
--
Context is everything: http://forum.magnolia-cms.com/forum/thread.html?threadId=06f605c0-a466-4494-80e6-39054cbc6472


----------------------------------------------------------------
For list details, see http://www.magnolia-cms.com/community/mailing-lists.html
Alternatively, use our forums: http://forum.magnolia-cms.com/
To unsubscribe, E-mail to: <user-list-***@magnolia-cms.com>
----------------------------------------------------------------
Dominik Jednoralski (via Magnolia Forums)
2014-10-16 08:17:16 UTC
Permalink
Hi Antti,

many thanks! Problem solved.

[quote]I have a feeling that this is a rather stupid/simple issue.[/quote]

Well... at least my gut feeling was right... ;)

Dominik
--
Context is everything: http://forum.magnolia-cms.com/forum/thread.html?threadId=06f605c0-a466-4494-80e6-39054cbc6472


----------------------------------------------------------------
For list details, see http://www.magnolia-cms.com/community/mailing-lists.html
Alternatively, use our forums: http://forum.magnolia-cms.com/
To unsubscribe, E-mail to: <user-list-***@magnolia-cms.com>
----------------------------------------------------------------
Loading...