Hi everyone,
i just deleted anonymous user (ok ok i'm an idiot) and i need to recreate it
i tried to follow
http://wiki.magnolia-cms.com/display/WIKI/Recreating+the+anonymous+user
these instructions:
- i removed magnolia filter configuration from my magnoliaAuthor app
- i added a jsp with the wiki's script on my application root
<%@ page contentType="text/plain" %>
<%@ page import="info.magnolia.cms.module.ModuleUtil"%>
<%@ page import="javax.jcr.ImportUUIDBehavior"%>
<%
ModuleUtil.bootstrap(new
String[]{"/mgnl-bootstrap/core/users.system.anonymous.xml"}, true,
ImportUUIDBehavior.IMPORT_UUID_COLLISION_REPLACE_EXISTING);
%>
the jsp is correctly loaded but script doesn't work!
apache throws these exceptions:
ERROR
org.apache.catalina.core.ContainerBase.[Catalina].[localhost].[/magnoliaAuthor].[jsp]
StandardWrapperValve.java(invoke:253) 20.01.2009 13:12:33
Servlet.service() for servlet jsp threw exception
java.lang.IllegalStateException: MgnlContext is not set for this thread
and then this
javax.servlet.ServletException: can't register bootstrap file:
[users.system.anonymous.xml]
any ideas?
thanks!!!
tram
----------------------------------------------------------------
For list details see
http://www.magnolia-cms.com/home/community/mailing-lists.html
To unsubscribe, E-mail to: <[email protected]>
----------------------------------------------------------------