On Tomcat 4 you need in cocoon.xconf to add a '/' before my.roles:

<cocoon version="2.0" user-roles="/my.roles">

Then place my.roles in the top level directory of your Web app, not in
WEB-INF, or alternatively define the user-roles to be
'/WEB-INF/my.roles'.

Hope this helps,
Ovidiu

On Fri, 29 Mar 2002 16:06:17 +0100, "Rasik Pandey" <[EMAIL PROTECTED]> wrote:

> Hello,
> 
> I am running Coccon 2.0.2 with Tomcat 4.0.3 and not able to start Cocoon
> as a nullpointer is thrown when it is trying to load my "my.roles" file.
> I am attaching the error.log, my WEB-INF/cocoon.xconf (standard xconf
> only added attribute to load user-roles) and WEB-INF/my.roles files. Any
> help would be greatly appreciated!
>  
> Thanks,
> Rasik Pandey

---------------------------------------------------------------------
Please check that your question has not already been answered in the
FAQ before posting. <http://xml.apache.org/cocoon/faqs.html>

To unsubscribe, e-mail: <[EMAIL PROTECTED]>
For additional commands, e-mail: <[EMAIL PROTECTED]>

Reply via email to