jackrabbit-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Michael Wechner <michael.wech...@wyona.com>
Subject Re: FirstSteps example and permissions
Date Mon, 21 Mar 2005 22:37:18 GMT
Jos Potargent wrote:

>Michi,
>
>when I synchronized today, I found that the project.xml files was
>changed: the classpath has to include now "xmlParserAPIs-2.0.2.jar".
>  
>

I saw that, but I don't think that's actually the problem. I execute the
FirstSteps example as follows:

java -cp 
build/classes:lib/jcr-0.16.2.jar:lib/jackrabbit-0.16.2-dev-LCR158328.jar:lib/runtime/jdom-1.0.jar:lib/runtime/log4j-1.2.8.jar:lib/runtime/commons-collections-2.1.1.jar:lib/runtime/cqfs-3.5.6.jar:lib/runtime/cqfs-jackrabbit-3.5.6.jar:lib/runtime/commons-logging-1.0.4.jar:lib/runtime/xercesImpl-2.6.2.jar:lib/runtime/concurrent-1.3.4.jar:lib/runtime/lucene-1.4.1.jar:lib:/home/michi/.maven/repository/xml-apis/jars/xmlParserAPIs-2.0.2.jar

-Djava.security.auth.login.config==jaas.config 
org.apache.jackrabbit.examples.FirstSteps

and it also finds the config file jaas.config, but I receive the output as
show below.

But does it actually work for you?

Thanks

Michi

>Regards,
>
>Jos
>
>
>On Mon, 21 Mar 2005 00:27:41 +0100, Michael Wechner
><michael.wechner@wyona.com> wrote:
>  
>
>>Hi
>>
>>I have upgraded to the "most" recent Jackrabbit (LCR 158328) version
>>and also compiled the FirstSteps example. After some fiddling I got it
>>running, but receive
>>
>>rep:root
>>creating testnode
>>javax.jcr.AccessDeniedException: /: not allowed to modify item
>>
>>am I missing something on setting permissions somewhere or what
>>else might I be doing wrong?
>>
>>Thanks
>>
>>Michi
>>
>>--
>>Michael Wechner
>>Wyona Inc.  -   Open Source Content Management   -   Apache Lenya
>>http://www.wyona.com                      http://lenya.apache.org
>>michael.wechner@wyona.com                        michi@apache.org
>>
>>
>>    
>>
>
>  
>


-- 
Michael Wechner
Wyona Inc.  -   Open Source Content Management   -   Apache Lenya
http://www.wyona.com                      http://lenya.apache.org
michael.wechner@wyona.com                        michi@apache.org


Mime
View raw message