Page tree
Skip to end of metadata
Go to start of metadata

Sign up to the Magnolia forum

Everyone working with Magnolia CMS as a developer should join our Forum: http://forums.magnolia-cms.com/forum.html  This is where you get expert advice from Magnolia International and from the Magnolia CMS community.

 
 

Maven 

I am new to Maven and am having problems getting it set up locally.

See: http://wiki.magnolia-cms.com/display/DEV/Maven+setup

I used the magnolia-project-archetype to create a new problem. After a build I get this error-

info.magnolia.module.model.reader.ModuleDependencyException: The following exceptions were found while checking Magnolia modules dependencies (i.e. those in META-INF/magnolia/my-module.xml): Module Magnolia Mail Module (version 5.2.0) is dependent on dam version 2.0/*, which was not found.

Solution

Edit your the webapp pom.xml, adding 
 

<dependency> <groupId>info.magnolia.dam</groupId> <artifactId>magnolia-dam-core</artifactId> </dependency>

See https://forum.magnolia-cms.com/forum/thread.html?threadId=89857e89-ce47-42a1-a83d-f56b6c9a5b69

 Activating content

 I tried to activate some content but got an error message. What is wrong?

When you start up your project, there is only one instance running. If you try to activate content you will see an error message, such as:

error detected:Not able to send the activation request[http://localhost:8080/magnoliaPublic/.magnolia/activation]:http://localhost:8080/magnoliaPublic/.magnolia/activation
 
For a full Magnolia CMS setup there should be an author and at least one public instance. A Public instance is a subscriber to an Author Instance. See: http://academy.magnolia-cms.com/display/MA/U.1+Author+and+public+instances. However, for development purposes you don't need a public instance. These errors are not grave. 

To avoid seeing error messages related to activation, go to Configuration app and under set the subscribers node set the active node to false

Logging in

I deployed the .war in a JBoss EAP container.  When I log in as superuser/superuser or Eric and Peter I see the following error:

Error during login. Please try again.

iou need to configure Magnolia's login modules in JBoss login-config.xml. See  http://documentation.magnolia-cms.com/display/DOCS/JBoss+AS+configuration

Best practice

https://documentation.magnolia-cms.com/display/DOCS/Best+practices


  • No labels